Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:XEX2 (Xbox 360 executable)/struct/Security info

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
Empty array
data
name"XEX2_SECURITY_INFO"
size_min"0x184"
fields
offset"0x0"
size4
type"uint32_be"
name"header_size"
offset"0x4"
size4
type"uint32_be"
name"image_size"
offset"0x8"
size256
type"uint8_t[256]"
name"rsa_signature"
offset"0x108"
size4
type"uint32_be"
name"unk_108"
offset"0x10C"
size4
type"uint32_be"
name"image_flags"
offset"0x110"
size4
type"uint32_be"
name"load_address"
offset"0x114"
size20
type"uint8_t[20]"
name"section_digest"
offset"0x128"
size4
type"uint32_be"
name"import_table_count"
offset"0x12C"
size20
type"uint8_t[20]"
name"import_table_digest"
offset"0x140"
size16
type"uint8_t[16]"
name"xgd2_media_id"
offset"0x150"
size16
type"uint8_t[16]"
name"aes_key"
notes"encrypted image key"
offset"0x160"
size4
type"uint32_be"
name"export_table"
offset"0x164"
size20
type"uint8_t[20]"
name"header_digest"
offset"0x178"
size4
type"uint32_be"
name"region"
offset"0x17C"
size4
type"uint32_be"
name"allowed_media_types"
offset"0x180"
size4
type"uint32_be"
name"page_descriptor_count"
offset"0x184"
size24
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
Empty array
key"Security info"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T13:45:34.616Z"
verifications
Empty array