Rebuild data not hosted. This release's .rsr holds pieces of the original files, so it is listed for reference only.files from inside the archiveRelease files: sxs-iqsf.nfo · sxs-iqsf.sfv
______ _____ ______
_____/ / _ _____/ / __ __\___ \__
_ _____ _\ / / _____ / _/ _______ _/ _/_ _____
_____/___ / /__/ / _ \__\__ /__ \ / ____/___
______ / /_ / / _/ / / / / / /___ /
_ / / /________/ _ \____/_____/ / /__/_____/ / /_
_/// / / _ _ / / __ _ / / _ _ / ///_
- /__________/ ---- /_____/_____/ ----- /__________/ ----- /__________/ ---
| |
| - P R O U D L Y P R E S E N T S - |
..:_________________________________________________________________________:..
: :
| Title : Xingji Huohu |
| ------------------------------------------------------------------- |
| |
| Publisher : iQue Platform : iQue Player |
| Developer : Nintendo Origin : China |
| Date : April 2018 Size : 128 Mbit |
| |
:_________________________________________________________________________:
| |
| Summary |
| ------------------------------------------------------------------- |
| |
| It's oldschool time! Almost fifteen years and nobody hacked the iQue |
| Player or decrypted any of its games.. surely that's the longest time |
| for a post-2000 console's protection to hold to date? But perhaps |
| this was because nobody seemed to care that much about the iQue |
| Player, until recently... |
| |
| Reversers/emulator devs surely want more details, so here you go! |
| "Glitching is hard", after all ;) |
| All symmetric encryption of contents/etc is by AES-128-CBC. |
| Common key: b81902767e25db270f3449c5d94b162f |
| Secure Kernel encryption details: |
| Key: a81902767e25db170f3449c5d94b162f |
| IV : a438b3410298747b0c089d8f6d2991a8 |
| (note that the SK key and common key are only different by 1 bit!) |
| |
| Content metadata structure (.cmd files, also included in secure app |
| headers): |
| struct cmd { |
| uint8_t opaque_data[ ( is_secure_app ? 0 : 10240 ) ]; |
| uint32_t padding; |
| uint32_t ca_crl_version; |
| uint32_t cmd_crl_version; |
| uint32_t content_size; |
| uint32_t unused_flags; // bit 0 on if SA; nothing checks it though |
| uint8_t titlekey_iv[0x10]; /* iv used to encrypt titlekey (with |
| common key) |
| */ |
| uint8_t content_hash[0x14]; // sha1 hash of plaintext content |
| uint8_t content_iv[0x10]; // iv used to encrypt content |
| uint32_t recrypt_flag; /* if bit 1 on, content will be re-encrypted |
| * on first launch, using console-unique key |
| * stored in OTP in the SoC |
| */ |
| uint32_t allowed_hardware; /* bitfield, each bit enables access to |
| * some MMIO regs new to iQue Player: |
| * bits 0-7: new PI stuff |
| * bit 0: PI buffer used for aes/NAND |
| * read output and PI DMA |
| * (1KB at PI_BASE+0x10000) |
| * bit 1: NAND flash regs in PI |
| * bit 2: memory mapper for old PI dma |
| * bit 3: hardware AES-engine in PI |
| * bit 4: new PI dma engine, DMAs |
| * from/to PI buffer |
| * bit 5: new GPIO; power + LED |
| * bit 6: external IO bus stuff (debug?) |
| * bit 7: new PI error stuff |
| * |
| * bit 8: enables access to USB regs |
| * bit 9: enables access to internal |
| * ram used for SK stack |
| */ |
| uint32_t allowed_secure_kernel_calls; /* one bit per syscall |
| * bit 0 allows skc 0, etc. |
| */ |
| uint32_t console_id; /* can be zero; if not can only run on certain |
| * console (used for SAs, not games) |
| */ |
| uint8_t signer[64]; // certificate used to sign the cmd |
| uint32_t content_id; |
| uint8_t titlekey[0x10]; /* crypted with common key, and if this is |
| * not an SA, then crypted again with key |
| * derived using ECDH of console's privkey |
| * and pubkey in ticket |
| */ |
| uint8_t signature[0x100]; // RSA-2048 sig on all above elements |
| } |
| |
| Ticket structure (included after a .cmd in ticket.sys): |
| struct ticket { |
| uint32_t console_id; // console id that this ticket is for |
| uint16_t ticket_id; // if bit 15 set then this is a trial ticket |
| uint16_t limit_enum; // 0 or 2 = time, 1 = number of launches |
| uint16_t limit_value; // number of minutes, or number of launches |
| uint16_t padding; |
| uint32_t ticket_crl_version; |
| uint8_t titlekey_iv[0x10]; /* iv used to encrypt titlekey (with |
| * ecdh key) |
| */ |
| uint8_t ecc_pubkey[64]; /* used with console's ECC privkey to |
| * derive unique titlekey encryption key |
| * via ECDH |
| */ |
| uint8_t signer[64]; // certificate used to sign the ticket |
| uint8_t signature[0x100]; // RSA-2048, over rest of tik+all of CMD |
| } |
| |
| ------------------------------------------------------------------- |
| |
| Oh, the game? It's the Chinese localisation of Star Fox 64. |
| Four files are included: the CMDs and decrypted ROMs of both the |
| game, and the manual. CMD is legitimately signed and has no console- |
| unique data (titlekey being encrypted with the common key only). |
| |
:_________________________________________________________________________:
| |
| Greets |
| ------------------------------------------------------------------- |
| |
| Abstrakt - Capital - Caravan - Dual Crew Shining - Eurasia - Legacy |
| Lightforce - Menace - Mode 7 - Nightfall - Oldskool - Paradox |
| Quartex - Quasar - Rising Sun - Squire - Triforce - Venom |
: :
..:_________________________________________________________________________:..
: :