The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "SHSH"
Line 33: | Line 33: | ||
| 10.1.1 (14B150) |
| 10.1.1 (14B150) |
||
| {{date|2016|11|09}} |
| {{date|2016|11|09}} |
||
+ | | {{date|2016|12|20}} |
||
− | | - |
||
| {{no|Closed}} |
| {{no|Closed}} |
||
|- |
|- |
||
| 10.1.1 (14B100) |
| 10.1.1 (14B100) |
||
| {{date|2016|10|31}} |
| {{date|2016|10|31}} |
||
+ | | {{date|2016|12|20}} |
||
− | | - |
||
| {{no|Closed}} |
| {{no|Closed}} |
||
|- |
|- |
||
| 10.1 |
| 10.1 |
||
| {{date|2016|10|24}} |
| {{date|2016|10|24}} |
||
+ | | {{date|2016|12|20}} |
||
− | | - |
||
| {{no|Closed}} |
| {{no|Closed}} |
||
|- |
|- |
Revision as of 22:20, 20 December 2016
As the SHSH blob article on Wikipedia summarizes it: "SHSH blob is a jargon term for a small piece of data that is part of Apple's digital signature protocol for iOS restores and updates, designed to control the iOS versions that users can install on their iOS devices (iPhones, iPads, iPod touches, and Apple TVs), generally only allowing the newest iOS version to be installable. "
Technically, the SHSH of a firmware image is a 1024-bit (0x80
bytes) RSA signature. This often also refers to backup files with the signature ("SHSH blobs"). This signature is needed to restore a specific iOS version; it is generated by Apple based on hardware keys of the device and the hash of the firmware. Apple only issues signatures for the currently-available iOS version, which disallows installing older iOS versions. But if you have saved signatures for an older iOS version, you may be able to use a replay attack to restore that version. Therefore it is recommended to save the signature for your device as long as Apple issues it.
With the tools mentioned below it is possible to backup the signature. It is not necessary that the device is jailbroken to do the backup. Usually the SHSH signature file is stored on Saurik's server. If it is stored there, then you can see in the top of Cydia (on jailbroken devices) for which version a backup exists. This moved to TSS Center which can be located on the main page and then they are shown at the top of that.
Users often misunderstand this system and think that the SHSH firmware version they back up depends on the firmware version they have installed on their device. This is the case for iFaith, but not for TinyUmbrella. iFaith dumps the SHSHs from your device's storage (whatever's installed on your device, e.g. 4.3.3), while TinyUmbrella gets SHSHs from Apple's servers (whatever firmwares Apple is currently signing).
Using SHSH
Older devices allow installation of any correctly signed firmware, so no backup of the certificate is necessary. Devices that need Apple signatures are: iPhone 3GS (new Bootrom), iPhone 4, iPod touch 3G, iPad, iPad 2, iPod touch 4G, Apple TV 2G and all newer devices. The iPhone 3G, iPhone 3GS Old Bootrom and iPod touch 2G bootroms do not require these SHSHs; however, newer versions of iOS require them (unless the chain of trust is broken and custom firmwares are installed). To restore to arbitrary versions of iOS 4.0, the SHSH is also needed for the iPod touch 2G and iPhone 3G. not only does DFU Mode require the iBSS/iBEC files to be signed with an SHSH that includes the device's ECID, but the normal boot-chain requires the LLB to be fully signed with an ECID+SHSH, so a downgrade IPSW is not possible without a bootrom exploit of normal boot-chain (e.g. 0x24000 Segment Overflow). See also the Dev Team Blog post about this.
To restore to iOS 3.x or 4.x, change your hosts file to map any request to an Apple server to point to saurik's server instead, if your device's signatures are hosted there. If you have the signature file on your computer, run TinyUmbrella's TSS Server on your local machine.
Since the limera1n Exploit is fixed in the bootrom since version Bootrom 838.3 and because iOS since 5.0 includes a nonce in their SHSH hashes, downgrading newer devices (iPhone 4S, iPad 2, iPad 3, Apple TV 3G) to earlier 5.x firmwares is not as simple. To restore to iOS 5.x on older devices, stitch iOS 5.x blobs into custom firmware (using redsn0w for example) and restore with that firmware. To restore to iOS 5.x on newer devices, use redsn0w's restore method. See the JailbreakQA guide to restoring to iOS 5.x using SHSH blobs (for all devices that can run iOS 5.x except Apple TV 3G).
Timeline
The original iPhone and iPod touch didn't use SHSH blobs.
Apple TV
Marketing Version | OS Version | For Device(s) | From | Until | Status |
---|---|---|---|---|---|
N/A | 10.1 | Apple TV 4G | 12 December 2016 | - | Open |
10.0.1 | 24 October 2016 | - | Open | ||
10.0 | 13 September 2016 | 31 October 2016 | Closed | ||
9.2.2 | 18 July 2016 | 18 October 2016 | Closed | ||
9.2.1 | 16 May 2016 | 23 September 2016 | Closed | ||
9.2 | 21 March 2016 | 10 June 2016 | Closed | ||
9.1.1 | 25 January 2016 | 5 April 2016 | Closed | ||
9.1 | 8 December 2015 | 4 February 2016 | Closed | ||
9.0.1 | 9 November 2015 | 21 December 2015 | Closed | ||
9.0 | 29 October 2015 | 14 December 2015 | Closed | ||
7.2.2 | 8.4.2 | Apple TV 3G | 12 December 2016 | - | Open |
7.2.1 | 8.4.1 | 25 February 2016 | - | Open | |
7.2 | 8.3 | 8 April 2015 | 7 April 2016 | Closed | |
7.1 | 8.2 | 9 March 2015 | 4 May 2015 | Closed | |
7.0.3 | 8.1.3 | 27 January 2015 | 23 March 2015 | Closed | |
7.0.2 | 8.1.1 | 17 November 2014 | 1 April 2015 | Closed | |
7.0.1 | 8.1 | 20 October 2014 | 1 December 2014 | Closed | |
7.0 | 8.0 | 17 September 2014 | 22 October 2014 | Closed | |
6.2.1 | 7.1.2 | Apple TV 2G | 17 September 2014 | - | Open |
6.2 | Apple TV 2G, Apple TV 3G | 30 June 2014 | 26 September 2014 | Closed | |
6.1.1 | 7.1.1 | 22 April 2014 | 11 July 2014 | Closed | |
6.1 | 7.1 | 10 March 2014 | 30 April 2014 | Closed | |
6.0.2 | 7.0.6 | 21 February 2014 | 10 March 2014 | Closed | |
7.0.4 | 14 November 2013 | 21 February 2014 | Closed | ||
6.0.1 | 7.0.3 | 24 October 2013 | 14 November 2013 | Closed | |
6.0 | 7.0.2 | 24 September 2013 | 29 October 2013 | Closed | |
7.0.1 | 20 September 2013 | 24 September 2013 | Closed | ||
5.3 | 6.1.4 | Apple TV 3G (AppleTV3,2) | 19 June 2013 | 21 September 2013 | Closed |
Apple TV 2G, Apple TV 3G (AppleTV3,1) | 19 June 2013 | - | Open | ||
5.2.1 | 6.1.3 | Apple TV 2G, Apple TV 3G | 19 March 2013 | 20 June 2013 | Closed |
5.2 | 6.1 | 28 January 2013 | 20 March 2013 | Closed | |
5.1.1 | 6.0.1 | Apple TV 2G, Apple TV 3G (AppleTV3,1) | 26 November 2012 | 20 March 2013 | Closed |
5.1 | 6.0 | 24 September 2012 | 20 March 2013 | Closed | |
5.0.2 | 5.1.1 | 5 June 2012 | 20 March 2013 | Closed | |
5.0.1 | 10 May 2012 | July 2012 (day unknown) | Closed | ||
5.0 | 5.1 | 7 March 2012 | 14 May 2012 | Closed | |
4.4.4 | 5.0.1 | Apple TV 2G | 15 December 2011 | 8 March 2012 | Closed |
4.4.3 | 17 November 2011 | 11 January 2012(?) | Closed | ||
4.4.2 | 5.0 | 24 October 2011 | 11 January 2012(?) | Closed | |
4.4.1 | 17 October 2011 | ? | Closed | ||
4.4 | 4 October 2011 | ? | Closed | ||
4.3 | 9 March 2011 | ? | Closed | ||
4.2.2 | 4.3 | 11 May 2011 | 18 October 2011 (?) | Closed | |
4.2.1 | 22 March 2011 | 28 May 2011 (?) | Closed | ||
4.2 | 9 March 2011 | 22 March 2011 (?) | Closed | ||
4.1.1 | 4.2.1 | 14 December 2010 | 28 May 2011 (?) | Closed | |
4.1 | 4.2 | 22 November 2010 | 14 December 2010 | Closed | |
4.0 | 4.1 | 29 September 2010 | 2 December 2010 (?) | Closed |
Protocol
To request a SHSH blob from Apple, a simple HTTP request can be made. For a full description, see the separate articles SHSH Protocol and Baseband SHSH Protocol.