forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Native PBP Unpacking Method?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Pikoro



Joined: 13 Jan 2005
Posts: 56

PostPosted: Fri May 13, 2005 9:10 am    Post subject: Native PBP Unpacking Method? Reply with quote

Not sure if anyone has tried this yet, I haven't seen any mention on the forums:

What about a psp program that reads and unpacks the pbp from a firmware update and, using the on-board prx files from the flash, decrypts the raw image and then dumps it to the memory stick?

Basically, the method i'm thinking goes like this:

1. Copy the firmware update to the PSP.
2. Execute another program (the unpacker) and have it dump the extracted files to another folder on the MS.
3. Use in-flash .prx utilities to access or decrypt the encrypted flash image.
4. Decrypt the flash image using in-flash .prx
5. Dump resulting un-encrypted rom image back to the memory stick

Possible? Does it even make sense?
Back to top
View user's profile Send private message
Kysen



Joined: 05 May 2005
Posts: 6

PostPosted: Fri May 13, 2005 9:16 am    Post subject: Reply with quote

i think that you would want the v1 firmware to stay encrypted because it would only run on v1.5 this way
Back to top
View user's profile Send private message
Pikoro



Joined: 13 Jan 2005
Posts: 56

PostPosted: Fri May 13, 2005 12:54 pm    Post subject: Reply with quote

What I mean this for is to get access to the part of the flash rom that we cannot access with any of the pspdump type programs.

This would give us a "Clean" image. And instead of trying to reverse the signing or encryption, make the psp work FOR us. It already has the information in the firmware to decode/decrypt the firmware. I think all we need to do is find it.

Just a thought anyways.
Back to top
View user's profile Send private message
pyrosama



Joined: 13 May 2005
Posts: 66

PostPosted: Fri May 13, 2005 1:11 pm    Post subject: Reply with quote

Ok so with that same concept in hand... If there is an encryption function (IE saved games are encrypted... firmware or umd function?) you could then encrypt the v1 dump for 1.5/1.51 systems.

Likely a bit more to it. You would likely need to examine 1.5 and or 1.51 to be able to create a flasher. But who needs the v1 then? Just write a varient of it that will allow any home brew to run.

P.Sama
Back to top
View user's profile Send private message
steddy



Joined: 04 Apr 2005
Posts: 139

PostPosted: Sat May 14, 2005 4:10 am    Post subject: Reply with quote

No pyrosama, I think that Pikoro is onto something here.

There are no functions in the firmware which will encrypt / sign an executable with the Sony private key. Thats why developers have to sent it to Sony to be done and why there is both a BOOT.BIN and EBOOT.BIN on retail UMD's.

However, we know the function to decrypt the firmware exists because thats what happens when you run it on the device.

I would only be useful for looking at the file though. There would be no way to reflash it to a 1.5 device without an exploit of some form, since the 1.5 device will require that both the ROM and Flash executable are both encrypted/signed.

Out of interest, has anyone with a 1.0 PSP tried changing a file in the Flash which isn't encrypted (there are some, look for .PRX files which don't start ~PSP). Even just changing one byte of text? It would be interesting to learn if unencrypted files are still signed.

Steddy
Back to top
View user's profile Send private message
pokesomi



Joined: 11 May 2005
Posts: 14

PostPosted: Tue May 24, 2005 5:59 pm    Post subject: So why cant this be done Reply with quote

I think we are looking at this the wrong way. Why not capture the data after the decyrption and upacking are finished, like spyware only the capture happpends after everything is decoded?
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
pyrosama



Joined: 13 May 2005
Posts: 66

PostPosted: Tue May 24, 2005 6:25 pm    Post subject: Reply with quote

But if it decypts as it needs that file (IE doesnt decryped the entire file) The eboot contains the data file and if it is an archive file of some sort rather than just an executable then it wouldnt decrypt every thing at once it would decypt as needed so it decrypts say file a in folder 1 to be placed in flash1 then you would have to install the update to capture all of the files as they are installed - Just my thought.


PyroSama
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group