Anyone seen any retail-signed XBEs that're signed for media types besides hard drive and DVD-X2 (Xbox disk)? I've only ever seen three such executables, the ones on the Xbox Live Arcade launcher disk, and I'm curious whether anyone's seen others.
The Xbox Live Arcade launcher was a CD rather than a DVD-X2, and it had Ms. Pac-Man on it. Ms. Pac-Man was installed to the hard drive as a hard drive-signed XBE. The disk's three executables signed for CD use were default.xbe, dashupdate.xbe, and update.xbe.
Yes, if you copy this disk to CD-RW, it works on an unmodded retail system. However, the XBEs were designed very carefully such that the three XBEs were the only files on the CD - all their data was embedded as sections, whose hash gets validated at load time, and the list of hashes is incorporated into the RSA signature. Ms. Pac-Man was embedded as one of the sections in default.xbe. This meant that all you could do is copy the disk -- you wouldn't get any benefit but a pirated Ms. Pac-Man I suppose. Another interesting tidbit is that the filesystem is UDF instead of GDFX. They could've used GDFX, but since the Xbox kernel accepted either filesystem for all purposes, it didn't matter.
Certificate Details
----------------------------------
Xbox Live Arcade
** Certificate size is unusual!
Certificate Size: 0x000001EC (492 bytes)
Title ID: 0x4D5300C8 (MS-00200)
Allowed Media: 0x00000008 (unknown)
Game Region: 0x00000007 (unknown)
Game Rating: 0x00000004 (Everyone)
Here's is caustik's media type list. Type 4 (DVD_CD) means basically "any of the below"; any CD or DVD format other than DVD-X2 will match that type. "Dongle" is what the pseudo-XBE header on the DVD video infrared receiver DLL uses as its media type, and I assume "media board" is for Chihiro games. "Nonsecure mode" means that the executable is allowed to run without forcing a reset to occur if the user ejects the disk. The nonsecure flag is set on the Dashboard and XOnlineDash; it's also set on at least one game, Xbox Music Mixer, to allow you to swap it out and insert music CDs.
"Nonsecure hard disk" means that the XBE is allowed to run on retail firmware even if the hard disk is not locked and the region code is not 0x80000000 (manufacturing). Kernel 3944 did not understand this flag, but later ones do. My educated guess is that the lack of this flag was causing problems for refurbishing, because if the hard drive had to be replaced when the EEPROM still had valid data, there was no way to boot anything. They would've had to clear the EEPROM first somehow. This new flag looks like Microsoft's solution to that problem for later kernels.
#define XBEIMAGE_MEDIA_TYPE_HARD_DISK 0x00000001
#define XBEIMAGE_MEDIA_TYPE_DVD_X2 0x00000002
#define XBEIMAGE_MEDIA_TYPE_DVD_CD 0x00000004
#define XBEIMAGE_MEDIA_TYPE_CD 0x00000008
#define XBEIMAGE_MEDIA_TYPE_DVD_5_RO 0x00000010
#define XBEIMAGE_MEDIA_TYPE_DVD_9_RO 0x00000020
#define XBEIMAGE_MEDIA_TYPE_DVD_5_RW 0x00000040
#define XBEIMAGE_MEDIA_TYPE_DVD_9_RW 0x00000080
#define XBEIMAGE_MEDIA_TYPE_DONGLE 0x00000100
#define XBEIMAGE_MEDIA_TYPE_MEDIA_BOARD 0x00000200
#define XBEIMAGE_MEDIA_TYPE_NONSECURE_HARD_DISK 0x40000000
#define XBEIMAGE_MEDIA_TYPE_NONSECURE_MODE 0x80000000
#define XBEIMAGE_MEDIA_TYPE_MEDIA_MASK 0x00FFFFFF
The Xbox Live Arcade launcher was a CD rather than a DVD-X2, and it had Ms. Pac-Man on it. Ms. Pac-Man was installed to the hard drive as a hard drive-signed XBE. The disk's three executables signed for CD use were default.xbe, dashupdate.xbe, and update.xbe.
Yes, if you copy this disk to CD-RW, it works on an unmodded retail system. However, the XBEs were designed very carefully such that the three XBEs were the only files on the CD - all their data was embedded as sections, whose hash gets validated at load time, and the list of hashes is incorporated into the RSA signature. Ms. Pac-Man was embedded as one of the sections in default.xbe. This meant that all you could do is copy the disk -- you wouldn't get any benefit but a pirated Ms. Pac-Man I suppose. Another interesting tidbit is that the filesystem is UDF instead of GDFX. They could've used GDFX, but since the Xbox kernel accepted either filesystem for all purposes, it didn't matter.
Certificate Details
----------------------------------
Xbox Live Arcade
** Certificate size is unusual!
Certificate Size: 0x000001EC (492 bytes)
Title ID: 0x4D5300C8 (MS-00200)
Allowed Media: 0x00000008 (unknown)
Game Region: 0x00000007 (unknown)
Game Rating: 0x00000004 (Everyone)
Here's is caustik's media type list. Type 4 (DVD_CD) means basically "any of the below"; any CD or DVD format other than DVD-X2 will match that type. "Dongle" is what the pseudo-XBE header on the DVD video infrared receiver DLL uses as its media type, and I assume "media board" is for Chihiro games. "Nonsecure mode" means that the executable is allowed to run without forcing a reset to occur if the user ejects the disk. The nonsecure flag is set on the Dashboard and XOnlineDash; it's also set on at least one game, Xbox Music Mixer, to allow you to swap it out and insert music CDs.
"Nonsecure hard disk" means that the XBE is allowed to run on retail firmware even if the hard disk is not locked and the region code is not 0x80000000 (manufacturing). Kernel 3944 did not understand this flag, but later ones do. My educated guess is that the lack of this flag was causing problems for refurbishing, because if the hard drive had to be replaced when the EEPROM still had valid data, there was no way to boot anything. They would've had to clear the EEPROM first somehow. This new flag looks like Microsoft's solution to that problem for later kernels.
#define XBEIMAGE_MEDIA_TYPE_HARD_DISK 0x00000001
#define XBEIMAGE_MEDIA_TYPE_DVD_X2 0x00000002
#define XBEIMAGE_MEDIA_TYPE_DVD_CD 0x00000004
#define XBEIMAGE_MEDIA_TYPE_CD 0x00000008
#define XBEIMAGE_MEDIA_TYPE_DVD_5_RO 0x00000010
#define XBEIMAGE_MEDIA_TYPE_DVD_9_RO 0x00000020
#define XBEIMAGE_MEDIA_TYPE_DVD_5_RW 0x00000040
#define XBEIMAGE_MEDIA_TYPE_DVD_9_RW 0x00000080
#define XBEIMAGE_MEDIA_TYPE_DONGLE 0x00000100
#define XBEIMAGE_MEDIA_TYPE_MEDIA_BOARD 0x00000200
#define XBEIMAGE_MEDIA_TYPE_NONSECURE_HARD_DISK 0x40000000
#define XBEIMAGE_MEDIA_TYPE_NONSECURE_MODE 0x80000000
#define XBEIMAGE_MEDIA_TYPE_MEDIA_MASK 0x00FFFFFF

![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/LvcWrMPl.jpg)