Random Homebrew: Snake
Friends: Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita

PS3 packages and how it leads to PSP signing

Forum rules
Any post not directly related to programming will be moderated.
Do not request people to code something for you.
Avoid posting messages that do not bring anything to the conversation. We want the threads in this subforum to stay focused.

Re: PS3 packages and how it leads to PSP signing

Postby Mathieulh » Sun Jan 16, 2011 6:24 am

VllnHalf wrote:Okay, I think we've confirmed it probably works on all PSPs; So let's let the developers get back to work.

m0skit0; being people like to talk about this. Do you think it would be cool if I made a decision topic about it in the homebrew, general, or offtopic section? That would probably keep the spam down.


I think that's a good idea, we need to keep this topic as development related as possible.
Mathieulh
Guru
 
Posts: 30
Joined: Thu Jan 06, 2011 6:17 am

Re: PS3 packages and how it leads to PSP signing

Postby coyotebean » Sun Jan 16, 2011 10:20 am

kgsws wrote:
coyotebean wrote:Since 6.30, I believe the only files left with CMAC "signature" are games, for compatibility reason. All firmware files are signed with ECDSA and CMAC files will not load. And the irony about kernel modules is: you need kernel access to replace a kernel module
Yes, but 6.20 can be used as base. I think there is downgrader for 6.35, ins't it?

If it works on 6.20, it will bring back old times where custom firmware used 1.50 kernel as base to load newer one :)

Just remember, for 6.20 and lower, we can hijack updater EBOOT to have kernel access just like Datel's Action Replay does.
GBASP x1, GBM x2, NDSL x2, PSP 100X x3, PSP 200X x6, PSP 300X x5, PSP Go x4, Wii x1
coyotebean
Guru
 
Posts: 98
Joined: Mon Sep 27, 2010 3:22 pm

Re: PS3 packages and how it leads to PSP signing

Postby JJS » Sun Jan 16, 2011 10:33 am

Posts not directly related to development will again be deleted from now on. Nothing personal.
JJS
Big Beholder
 
Posts: 1516
Joined: Mon Sep 27, 2010 2:18 pm

Re: PS3 packages and how it leads to PSP signing

Postby m0skit0 » Sun Jan 16, 2011 12:28 pm

VllnHalf wrote:m0skit0; being people like to talk about this. Do you think it would be cool if I made a decision topic about it in the homebrew, general, or offtopic section? That would probably keep the spam down.

Yes, PLEASE do so :lol:
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: PS3 packages and how it leads to PSP signing

Postby minhjirachi » Sun Jan 16, 2011 1:46 pm

How to find the PSP key and how to encrypted the eboot to see the sign key? Which soft I have to use?
minhjirachi
 
Posts: 24
Joined: Wed Jan 12, 2011 11:02 am

Re: PS3 packages and how it leads to PSP signing

Postby Cloudy » Sun Jan 16, 2011 2:02 pm

coyotebean wrote:
kgsws wrote:This trick might be possible on firmware kernel modules to get permanent HEN on non-pandrorable PSPs, i was not able to do it but i was not trying that much.

Since 6.30, I believe the only files left with CMAC "signature" are games, for compatibility reason. All firmware files are signed with ECDSA and CMAC files will not load. And the irony about kernel modules is: you need kernel access to replace a kernel module


Is it too much to hope that Sony fucked up the ECDSA implementation just like on the PS3? :p Although that algorithm is done in software, and they can always change it next firmware version without much effort - they'd just need to change the signing of all their modules. Games are still signed the old way.

Great work. Even if it is just pure usermode homebrew, it will still be sufficient for most homebrew purposes :-)
Cloudy
 
Posts: 4
Joined: Sat Jan 15, 2011 12:21 am

Re: PS3 packages and how it leads to PSP signing

Postby m0skit0 » Sun Jan 16, 2011 2:17 pm

Removed useless/off-topic posts.

minhjirachi wrote:How to find the PSP key and how to encrypted the eboot to see the sign key? Which soft I have to use?

Already answered, read the thread.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: PS3 packages and how it leads to PSP signing

Postby kgsws » Sun Jan 16, 2011 2:30 pm

I am still not able to run "signed" homebrews with bigger executable size. It runs in CFW but not in OFW. I tried to copy module info block, still nothing. That is strange, why it works in CFW?

It returns error 0x80020148, that is not helpful.
kgsws
Guru
 
Posts: 77
Joined: Wed Jan 05, 2011 9:51 am

Re: PS3 packages and how it leads to PSP signing

Postby chapix » Sun Jan 16, 2011 2:32 pm

kgsws wrote:It is easy to craft last 16 bytes of encrypted data block to match header CMAC - yes, that's the trick :)


How did you generate the last 16 bytes?

http://www.mediafire.com/?bxytl2pb8e0uys3 is modified prxdecrypt (jas0nuk) in order to get Encrypt AES_game and Encrypt CMAC game_key ( game_key:0x00 -0x10 and CMAC KEY:0x10 - 0x20 )
This prxdecrypt save file in PSP/GAME/prxdecryptfolder.

PS:
You can decrypt these two keys with AES_cbc_decrypt(&KirKMasterKey,EncryptKeys,DecryptKeys,2*16);
After getting DecryptKeys you can encrypt your own Elf file.
Last edited by chapix on Sun Jan 16, 2011 2:53 pm, edited 2 times in total.
chapix
 
Posts: 6
Joined: Sat Jan 15, 2011 7:26 pm

Re: PS3 packages and how it leads to PSP signing

Postby The Lemon Man » Sun Jan 16, 2011 2:33 pm

I keep getting cmac hashes error for data block, does the buffer needs to get padded to 0x40 boundary or something ?

EDIT : The header CMAC hash is ok
EDIT2 : After a bit more searching i found that my block differs from original one of 0xF bytes, is that normal ?
Last edited by The Lemon Man on Sun Jan 16, 2011 2:42 pm, edited 1 time in total.
The Lemon Man
 
Posts: 10
Joined: Sun Jan 16, 2011 1:35 pm

PreviousNext

Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests