Difference between revisions of "IPSF"

From The iPhone Wiki
Jump to: navigation, search
Line 10: Line 10:
 
*[http://iphonesimfree.com/ IPSF]
 
*[http://iphonesimfree.com/ IPSF]
 
*[http://lpahome.com/geohot/ipsfserver.rar geohot's IPSF server]
 
*[http://lpahome.com/geohot/ipsfserver.rar geohot's IPSF server]
  +
  +
[[Category:Unlocking Methods]]

Revision as of 21:27, 3 August 2008

IPSF, or iPhone SIM Free, was the first software unlock available for the iPhone. It relied on two exploits, which weren't understood until much later. Both of these were only in Bootloader 3.9

RSA cube root

The first exploit discovered was an exploit in the parsing of decrypted RSA. The padding length just needed to be greater than 0xA. Since the decryption was done using exponent 3, you could create a plaintext message and take the cube root of it. The first 0x28 bytes would decrypt properly, enough to generate a valid token for 3.9.

SHA1 zero

If the last 4 bytes in the SHA1 hash of the uploaded data were zero, the endpack would validate and the first 0x400 bytes would be written. This is a brilliant exploit since it isn't findable by reversing the IPSF software.

Implementations