Advertising (This ad goes away for registered users. You can Login or Register)

Search found 8 matches

by hitchhikr
Mon Jan 17, 2011 11:44 pm
Forum: Programming and Security
Topic: PS3 packages and how it leads to PSP signing
Replies: 318
Views: 161861

Re: PS3 packages and how it leads to PSP signing

Maybe alignment issues ? (like prx sections addresses and sizes which have be aligned on greater bytes boundaries and the firmware loader being picky about it or stuff like that ?)
by hitchhikr
Mon Jan 17, 2011 3:53 pm
Forum: Programming and Security
Topic: PS3 packages and how it leads to PSP signing
Replies: 318
Views: 161861

Re: PS3 packages and how it leads to PSP signing

We conveniently happen to have the keys for both npdrm isos and UMD prxs
Now what is the format of these files ? (beside the usual PBP data segments which apparently can't even be moved).
by hitchhikr
Mon Jan 17, 2011 3:48 pm
Forum: Programming and Security
Topic: PS3 packages and how it leads to PSP signing
Replies: 318
Views: 161861

Re: PS3 packages and how it leads to PSP signing

Draan: sorry my bad i must have been using an older version but you implemented it meanwhile. Still, i tested the SHA1 again and the result is different from Openssl implementation, also you only copy 16 bytes to the output buffer but SHA1 digests are 20 bytes. Btw, I was wondering if all the KIRK k...
by hitchhikr
Mon Jan 17, 2011 1:15 pm
Forum: Programming and Security
Topic: PS3 packages and how it leads to PSP signing
Replies: 318
Views: 161861

Re: PS3 packages and how it leads to PSP signing

Draan: the SHA1 implementation you're using seems to be bogus (doesn't give the same result as openssl's which is correct) also the insize is used not the outsize value (which makes sense since the output is always 20 bytes). Also KIRK_CMD_ENCRYPT_IV_0 expects 4 as first value (something like: #defi...
by hitchhikr
Sat Jan 15, 2011 9:39 pm
Forum: Programming and Security
Topic: PS3 packages and how it leads to PSP signing
Replies: 318
Views: 161861

Re: PS3 packages and how it leads to PSP signing

is the decryptMode supposed to match the last param passed to sceUtilsBufferCopyWithRange, or is it something else? That's something else entirely, it's used to determine which file type and where if it can be run depending on where it's located (it's also linked to the mod_attribute field). kgsws ...
by hitchhikr
Thu Jan 13, 2011 3:12 am
Forum: Programming and Security
Topic: PS3 packages and how it leads to PSP signing
Replies: 318
Views: 161861

Re: PS3 packages and how it leads to PSP signing

And the structure of your PSPHEADER contains errors, here is a correct and more accurate one: typedef struct { u8 signature[4]; u16 mod_attribute; u16 comp_attribute; u8 module_ver_lo; u8 module_ver_hi; char modname[28]; u8 mod_version; u8 nsegments; u32 elf_size; u32 psp_size; u32 boot_entry; u32 m...
by hitchhikr
Thu Jan 13, 2011 12:44 am
Forum: Programming and Security
Topic: PS3 packages and how it leads to PSP signing
Replies: 318
Views: 161861

Re: PS3 packages and how it leads to PSP signing

Here's my (working) version of CMD11: typedef struct { int data_size; u8 data[]; } KIRK_SHA1_HEADER, *LPKIRK_SHA1_HEADER; int kirk_CMD11(u8 *outbuff, u8 *inbuff, int size) { KIRK_SHA1_HEADER *header; SHA_CTX Sha1_Ctx; char SHA1_Key[SHA_DIGEST_LENGTH]; size <<= 4; size >>= 4; header = (KIRK_SHA1_HEAD...
by hitchhikr
Tue Jan 11, 2011 11:43 pm
Forum: Programming and Security
Topic: PS3 packages and how it leads to PSP signing
Replies: 318
Views: 161861

Re: PS3 packages and how it leads to PSP signing

I also made a prx encrypter but it's completely useless of course as only the only encrypted executables allowed to run from the memory stick are made with keys 0x4f & 0x60 (or 0x4e for firmwares) and those aren't in the list, there's a few unknown ones in it & i tried them all without any success e...

Go to advanced search