Account
The Account file is stored in the profile XContent package. It was orginally encrypted to ensure that no LIVE data was compromised.
General
Encrypted
Name |
Data Type |
Position |
Length |
Hash |
SHA-1 |
0 |
0x14 |
Data |
Byte Array |
0x14 |
0x184 |
'Data' is encrypted with RC4. The key to decrypt is created by using HMAC SHA-1 on 'Hash' and truncating it to 0x10 bytes of length.
To encrypt the file, use HMAC SHA-1 on everything but 'Hash', and then replacing 'Hash' with the just generated one. Use HMAC SHA-1 on the new hash(and truncate to 0x10) to create the RC4 key.
HMAC SHA-1 Keys
Regular:
{ 0xE1, 0xBC, 0x15, 0x9C, 0x73, 0xB1, 0xEA, 0xE9, 0xAB, 0x31, 0x70, 0xF3, 0xAD, 0x47, 0xEB, 0xF3 }
Developer:
{ 0xDA, 0xB6, 0x9A, 0xD9, 0x8E, 0x28, 0x76, 0x4F, 0x97, 0x7E, 0xE2, 0x48, 0x7E, 0x4F, 0x3F, 0x68 }
Decrypted
Name |
Data Type |
Position |
Length |
Hash |
SHA-1 |
0 |
0x14 |
Profile ID |
Byte Array |
0x14 |
0x8 |
Flags |
Flags |
0x1C |
0x4 |
Live Flags |
Integer |
0x20 |
0x4 |
Gamertag |
Unicode String |
0x24 |
0x20 |
XUID |
Long |
0x44 |
0x8 |
Cached User Flags |
Integer |
0x4C |
0x4 |
Xbox LIVE Service Provider |
String |
0x50 |
0x4 |
Passcode |
Passcode |
0x54 |
0x4 |
Service Domain |
String |
0x58 |
0x14 |
Kerberos Realm |
String |
0x6C |
0x18 |
Service Key |
Byte Array |
0x84 |
0x10 |
Passport User |
String |
0x94 |
0x72 |
Passport Password |
String |
0x106 |
0x20 |
Passport Owner |
String |
0x126 |
0x72 |
Flags
Name |
Flag |
Passcode Enabled |
0x10000000 |
LIVE Enabled |
0x20000000 |
Recovered |
0x40000000 |
XUID
Name |
Flag |
True Value |
LIVE Disabled |
17293822569102704640 |
16140901064495857664 |
LIVE Enabled |
18446462598732840960 |
2533274790395904 |
Recovered |
18374686479671624000 |
18302628885633696000 |
Cached User Flags
Name |
Bit |
Payment Instrument Credit Card |
0 |
Unknown |
1 - 7 |
Country |
8 - 15 |
Subscription Tier |
16 - 19 |
Uknown |
20-24 |
Parental Controls Enabled |
24 |
Language |
25 - 29 |
Unknown |
30-31 |
Subscription Tier
Name |
Value |
Silver |
0x3 |
Gold |
0x6 |
Family Gold |
0x9 |
Language
Name |
Value |
None |
0 |
English |
0x1 |
Japanese |
0x2 |
German |
0x3 |
French |
0x4 |
Spanish |
0x5 |
Italian |
0x6 |
Korean |
0x7 |
TChinese |
0x8 |
Portuguese |
0x9 |
SChinese |
0xA |
Polish |
0xB |
Russian |
0xC |
Passcode
Name |
Value |
Null |
0 |
D-PAD Up |
0x1 |
D-PAD Down |
0x2 |
D-PAD Left |
0x3 |
D-PAD Right |
0x4 |
X |
0x5 |
Y |
0x6 |
A |
0x7 |
B |
0x8 |
Left Trigger |
0x9 |
Right Trigger |
0xA |
Left Bumper |
0xB |
Right Bumper |
0xC |