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 

PSP's security

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
andbna



Joined: 21 Nov 2005
Posts: 2

PostPosted: Mon Nov 21, 2005 3:13 pm    Post subject: PSP's security Reply with quote

Just wondering a few things:

1. What does the PSP use to determin weather a program is official or not. (the reason why we cant play homebre games on 1.51 or later)
I heard it was a 128-bit RSA encryption am i wrong?

2. What file would contain the key (EBOOT.pbp?), and is there any documentation on its format?

Thanks
Back to top
View user's profile Send private message
Jim



Joined: 02 Jul 2005
Posts: 487
Location: Sydney

PostPosted: Tue Nov 22, 2005 7:22 am    Post subject: Reply with quote

Google for public key cryptography. There you will find that the PSP BIOS holds half the key and Sony hold the other half. Without Sony's half of the key, there's no way to sign an executable that the PSP will run.

Jim
_________________
http://www.dbfinteractive.com
Back to top
View user's profile Send private message Visit poster's website
andbna



Joined: 21 Nov 2005
Posts: 2

PostPosted: Tue Nov 22, 2005 8:12 am    Post subject: Reply with quote

Ok, so the programs are encrypted with an RSA algorithm? using a key soney has, and decrypted using a key stored in the BIOS.

I found a bunch of info on the RSA algorithm here:
http://world.std.com/~franl/crypto/rsa-guts.html

So, the BIOS has the modulus and the public exponant and uses it to decrypt files encrypted with the private exponant.

So; has anyone gotten or is there a way to get the public exponant and the modulus from the BIOS?
Assuming these are found, could someone not edit the firmware to include a check to see if its encrypted or not? Alternativly brute force the private key.
Back to top
View user's profile Send private message
PSP250



Joined: 19 Nov 2005
Posts: 12

PostPosted: Wed Nov 23, 2005 2:33 am    Post subject: Reply with quote

Checkout this for more informations:

- PSAR Dumper Source / Decrypts files using the PSP
- http://www.psphacks.net/forums/viewtopic.php?t=406 / Section about Security

Bruteforce the complete private key would prolly take a few years to succeed.

However, I think the only possible bruteforce is to try to write a VERY small piece of code (few bytes that start something unsigned) and try to create an encrypted version of these few bytes using a homebrew that uses some bruteforce method on the decrypting procs. (Brute force some bytes -> Let PSP decrypt -> Compare if decrypted version matches our file etc.)
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 -> General Discussion 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