From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:XEX2 (Xbox 360 executable)" |
|---|
| claim | "The XEX2 security block (at header offset security_offset) holds image size, RSA signature, image flags, load address, digests, the encrypted image key, region, allowed media and page descriptors." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:XEX2 (Xbox 360 executable)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "XEX2_SECURITY_INFO" |
|---|
| size_min | "0x184" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 4 |
|---|
| type | "uint32_be" |
|---|
| name | "header_size" |
|---|
|
| offset | "0x4" |
|---|
| size | 4 |
|---|
| type | "uint32_be" |
|---|
| name | "image_size" |
|---|
|
| offset | "0x8" |
|---|
| size | 256 |
|---|
| type | "uint8_t[256]" |
|---|
| name | "rsa_signature" |
|---|
|
| offset | "0x108" |
|---|
| size | 4 |
|---|
| type | "uint32_be" |
|---|
| name | "unk_108" |
|---|
|
| offset | "0x10C" |
|---|
| size | 4 |
|---|
| type | "uint32_be" |
|---|
| name | "image_flags" |
|---|
|
| offset | "0x110" |
|---|
| size | 4 |
|---|
| type | "uint32_be" |
|---|
| name | "load_address" |
|---|
|
| offset | "0x114" |
|---|
| size | 20 |
|---|
| type | "uint8_t[20]" |
|---|
| name | "section_digest" |
|---|
|
| offset | "0x128" |
|---|
| size | 4 |
|---|
| type | "uint32_be" |
|---|
| name | "import_table_count" |
|---|
|
| offset | "0x12C" |
|---|
| size | 20 |
|---|
| type | "uint8_t[20]" |
|---|
| name | "import_table_digest" |
|---|
|
| offset | "0x140" |
|---|
| size | 16 |
|---|
| type | "uint8_t[16]" |
|---|
| name | "xgd2_media_id" |
|---|
|
| offset | "0x150" |
|---|
| size | 16 |
|---|
| type | "uint8_t[16]" |
|---|
| name | "aes_key" |
|---|
| notes | "encrypted image key" |
|---|
|
| offset | "0x160" |
|---|
| size | 4 |
|---|
| type | "uint32_be" |
|---|
| name | "export_table" |
|---|
|
| offset | "0x164" |
|---|
| size | 20 |
|---|
| type | "uint8_t[20]" |
|---|
| name | "header_digest" |
|---|
|
| offset | "0x178" |
|---|
| size | 4 |
|---|
| type | "uint32_be" |
|---|
| name | "region" |
|---|
|
| offset | "0x17C" |
|---|
| size | 4 |
|---|
| type | "uint32_be" |
|---|
| name | "allowed_media_types" |
|---|
|
| offset | "0x180" |
|---|
| size | 4 |
|---|
| type | "uint32_be" |
|---|
| name | "page_descriptor_count" |
|---|
|
| offset | "0x184" |
|---|
| size | 24 |
|---|
| type | "struct { uint32_be info_and_page_count; uint8_t digest[20]; }[page_descriptor_count]" |
|---|
| name | "page_descriptors" |
|---|
| notes | "top 4 bits type (1 code, 2 data, 3 read-only data), low 28 bits page count" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "xex2_page_descriptor and xex2_security_info (offsets in comments; a gap between 0x128 and 0x140 is not named there)" |
|---|
| repo | "https://github.com/xenia-project/xenia" |
|---|
| commit | "95a5c3ee250f80c3b9d139658649d9ffb6db3eec" |
|---|
| path | "src/xenia/kernel/util/xex2_info.h" |
|---|
| lines | "559-590" |
|---|
|
|
|---|
| confidence | "medium" |
|---|
| related | |
|---|
| key | "Security info" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T13:45:34.616Z" |
|---|
| verifications | |
|---|