| View previous topic :: View next topic |
| Author |
Message |
andbna
Joined: 21 Nov 2005 Posts: 2
|
Posted: Mon Nov 21, 2005 3:13 pm Post subject: PSP's security |
|
|
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 |
|
 |
Jim

Joined: 02 Jul 2005 Posts: 487 Location: Sydney
|
Posted: Tue Nov 22, 2005 7:22 am Post subject: |
|
|
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 |
|
 |
andbna
Joined: 21 Nov 2005 Posts: 2
|
Posted: Tue Nov 22, 2005 8:12 am Post subject: |
|
|
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 |
|
 |
PSP250
Joined: 19 Nov 2005 Posts: 12
|
Posted: Wed Nov 23, 2005 2:33 am Post subject: |
|
|
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 |
|
 |
|