PlanetBeing (DevTeam Mitglied) postete auf seinem Blog einen interessanten Beitrag über “Similarities and differences between QuickPwn and ZiPhone” Er ist schon ein bisschen online und die meisten kennen ihn evtl. schon, aber dennoch lesens’ und nennenswert.
Hier könnt ihr ihn durchlesen. Oder einfach diesen Post aufklappen…
Similarities
Jailbreak
Both utilities jailbreak.
Payload medium
Primary jailbreak payload is placed into iPhone memory for both jailbreaks
Differences
Technique
ZiPhone uses, as the root filesystem device, a pseudo-device that provides a window to an arbitrary section of memory. This memory is not allocated or otherwise reserved by the operating system and hence will be used by other random processes in other random ways and will become more and more corrupted with every CPU clock cycle. The only safe way to use this is to mlock all memory used by the jailbreak binary as soon as possible, and then use data previously uploaded to flash. Anything else will cause either the jailbreak binary to crash at random moments or cause random data to be written to flash. I am not sure why Zibri elected not to implement ZiPhone in a safer fashion.
QuickPwn uses the same mechanism that Apple uses to send its update ramdisk. This memory is both allocated and reserved. It will not crash at random moments, or give you repeating BSD root errors. This is the way the XNU kernel is designed to use ramdisks.
Longevity
ZiPhone hinges on a BUG in iBoot that was quickly fixed by Apple.
QuickPwn uses an iBoot FEATURE that Apple cannot remove without rewriting their own software and undergoing lengthy QA. Even if Apple did change the architecture, it would be straight-forward to simply mimic what they do and adapt to it. The reason QuickPwn can do this is because it relies on a hardware exploit to bootstrap into this phase. Apple cannot fix this problem without changing the manufactured hardware.
Elegance
ZiPhone modifies an existing Apple ramdisk and ships it as a complete set.
QuickPwn contains all-original code and features a very tiny bootstrapper that allows it to use libraries and code that’s already on the iPhone.
Not only does ZiPhone’s distribution of Apple’s binaries violate copyright laws, it also takes up a large portion of room on the ramdisk that could be used for the payload. Keeping its existing algorithm, ZiPhone would never have been able to install Cydia, for example. The maximum feasible ramdisk size is 32 MB; Cydia takes 13 and Apple’s library take up a significant amount. With some work, Zibri could possibly make it just under the 32 MB limit, but with the large number of files in Cydia, and the large size of the corruptible area of memory, corruption would be inevitable.
Some history / A personal note
Zibri claims to have “invented the ramdisk jailbreak”. Even if this were true, it would have as much relevance to QuickPwn as the 1.0.2 jailbreak does: The techniques used are entirely dissimilar. Not a single step in the process is the same.
However, this is not even true. Before Zibri left, we already had a prototype ramdisk jailbreak in our SVN (which Zibri later leaked parts of). It was written by myself and stored under the very obvious name of “ramdisk-jb” and it contained a modified version of a launchd written by Turbo (who should be considered the father of the ramdisk payload). It basically untarred a SSH installation onto the rootfs. It was rudimentary, and required a lot of work to get up to production standards.
While it’s obvious that Zibri has picked every bone of that SVN repository clean, I am puzzled why he did not learn from that example source code. It had mlock and it was written in proper C, unlike the rather make-do replacement of launchd with sh. Perhaps he did not understand the code.
A week before his release, we became aware that Zibri was going to write a ramdisk exploit. We considered racing him to it, but we were constrained by the fact that we had already publicized one working method of jailbreaking: The oft-loathed 1.1.3 soft-jailbreak, which we considered perfectly acceptable until the release of the SDK (we were not aware at the time the SDK release would take so long). In addition, 1.1.3 was a minor update and there was no reason people could not stay on 1.1.2 for awhile longer. The issue is that while a ramdisk jailbreak would certainly be easier and better, we would be burning this great exploit that allowed us to reliably decrypt ramdisks (which we had no other way of doing at the time).
Therefore, we chose not to build our own implementation and instead pursue Pwnage, a longer term project. It was ironic months later that Zibri came to flame us out about releasing the dual-boot method, accusing us of burning the exploit. It was amusing because it was so much lower value than the ramdisk exploit, which he was responsible for burning and really had no future prospects because of pwnagetool.
We are aware that the dual-boot method was the last remaining bit of non-public knowledge from our SVN that he had, and my belief was that the flame was caused by his soreness at losing his last chance at remaining relevant after the pmd (”ramdisk”) vulnerability was patched.
Diesen Artikel drucken










wow… warum der ganze “beef” wenn doch ALLE nur das eine wollen?!?
aber trotzdem sehr interessant. weiter so… # 1
Ich hoffe, jetzt hat endlich auch der letzte Depp begriffen, dass Zibri’s Software totale Kacke ist.
weiss garnicht was du hast amigo,
zibri war halt der erste der die oneklick lösung herausbrachte und ich bin mir sicher das du auch einer der anwender warst, oder hattest du nach zibri´s ziphone immernoch deinen simadapter drin? einst als iphonegott gefeiert und seitdem es iliberty und co gab als abgef*** verspottet. ein wenig respekt ist meiner meinung nach dem entgegen zu bringen. allein schon weil es kostenlos zu verfügung gestellt wird, oder hast du was anderes auf lager? wenn ja dann bitte nur her damit anstatt hier den moralapostel der falschen fünfziger zu spielen.
Es mag zwar sehr schlecht sein, aber die funktionen iPhone ins. DFÜ und recovery mode usw haben schon oft Mein iPhone gerettet.
wenn man es selber nicht kann..
ANGEBER!
ja is aber so. hier ein tool gut reden nur weil man damit gemütlicher in den dfu und reconvery modus kommt ist einfach falsch!
Wiso?
Ziphone ist nun mal eindeutig bedienerfreundlich und hat bisher bei mir immer funktioniert, selbst wenn das iPhone hoffnungslos funktionslos war.
Die Diskussion auf den Zibri Blog und beim Dev Team ist bestenfalls amüsant, manchmal vermutete ich bloße Profilneurose dahinter.
Aber - Wettbewerb ist gut für uns, also weiter so!
Daumen hoch!
Hab min 3 mal geziphoned ohne jegliches Problem! Aber auf einmal ist ziphone der böse! Komisch nur das man mit ziphone sowas wie Fehler 16xx nicht kannte!
Naja mal sehen was winpwn 2.5 so zu bieten hat!!!
16xx ist billig. Wenn du wüsstest was ZiPhone manch iPhone angerichtet hat… ich sag nur comboard…
versteh auch nicht, warum alle auf zibree rumhacken.
bei mir haben seine tools immer super funktioniert.
ich hab geohot und ihm donated
ausserdem nach nem blogpost von nem devteam mitglied zu sagen ich habs immer gewusst, der zibree ist sch….
sollte mal langsam erwachsen werden und überlegen aus welchen quellen er
seine meinung bezieht.
und die Schlammschlacht geht weiter..
http://status.ziphone.org/2008/08/some-more-drama.html