Console Security Certificate: Difference between revisions

From Xenon Wiki
Jump to navigation Jump to search
imported>Stoker25
mNo edit summary
imported>Stoker25
Line 67: Line 67:
The console type field can be very strange, especially with older pre-1888 dashboards, for example two different 1838 keyvaults identify their console type as 0x80000002. If you want to check if something is devkit or retail, I'd suggest something like:
The console type field can be very strange, especially with older pre-1888 dashboards, for example two different 1838 keyvaults identify their console type as 0x80000002. If you want to check if something is devkit or retail, I'd suggest something like:
<pre>
<pre>
if(consoletype == 0x01)
if(consoletype == 0x02)
     return retail;
     return retail;
else
else

Revision as of 16:02, 30 July 2011

The Console Security Certificate is used by the Xbox 360 as the format of all RSA signatures generated by it. The total length of the certificate is 552 (0x228) bytes.

Structure

Offset Length Type Information
0x0 0x2 bytes Public Key Certificate Size
0x2 0x5 bytes Console ID
0x7 0xB ascii string Console Part Number
0x12 0x4 int Reserved
0x16 0x2 short Privileges
0x18 0x4 int Console Type (0x00000002 for retail, 0xXX000001 for devkit)
0x1C 0x8 ascii string Certificate Date of Generation
0x24 0x4 bytes Public Exponent
0x28 0x80 bytes Public Modulus
0xA8 0x100 bytes Certificate Signature
0x1A8 0x80 bytes Signature

Notes

The console type field can be very strange, especially with older pre-1888 dashboards, for example two different 1838 keyvaults identify their console type as 0x80000002. If you want to check if something is devkit or retail, I'd suggest something like:

if(consoletype == 0x02)
    return retail;
else
    return devkit;