Similarities and Differences between QuickPwn and ZiPhone

Posted by planetbeing on under th phase, th problem, cpu clock, clock cycle, random moments, bootstrapper, pseudo device, fashi, root filesystem, random data, random processes, iphe, aced, comete, iboot, own software, safe way, porti, copyright laws, qa |

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.
Tagi: th phase, th problem, cpu clock, clock cycle, random moments, bootstrapper, pseudo device, fashi, root filesystem, random data, random processes, iphe, aced, comete, iboot, own software, safe way, porti, copyright laws, qa

Ingersoll Rand Cash Back Stimulus – Round 2

Posted by on under ingersoll rand air tool, ingersoll rand air tools, nbsp nbsp nbsp nbsp nbsp, ingersoll rand, mail, rebate program, comete, power tool, stimulus, december 31, lt |

Many of you took advantage of the Ingersoll Rand air tool stimulus plan rebate program that ran back in April, well guess what we are doing it again from Now until December 31st. The deal applies to many of the most popular Ingersoll Rand Air Tools. Get up to 15% off current deals and other promotions. Check out the mail-in rebate for full details and the complete list of tools that apply. If you have any questions, the pros at Ohio Power Tool (800-242-4424) are happy to help, also you can email any questions to sales@ohiopowertool.com for a quick answer.   

   


Tagi: ingersoll rand air tool, ingersoll rand air tools, nbsp nbsp nbsp nbsp nbsp, ingersoll rand, mail, rebate program, comete, power tool, stimulus, december 31, lt

Incredible Textured Kitchen Countertops

Posted by on under countertop material, kitchen countertop, kitchen countertops, comete, jasper, granite, quartz, north america |

Even better than granite? That’s a tall order for any kitchen countertop material. Cosentino North America has quarried and extracted semi-precious stones like amethyst, jasper, quartz and more, and they are ready for just that – orders. Their certified fabricators and installers complete over 1,000 installations a day across the continent. And their commitment [...]
Tagi: countertop material, kitchen countertop, kitchen countertops, comete, jasper, granite, quartz, north america

Waxy: List of all 22,802 spawnable objects in Scribblenauts

Posted by on under comete, lt |

and the developer says it's not even a complete list  
Tagi: comete, lt

New iPhone Firmware 3.1.2

Posted by on under cross fingers, 3gs, support manuals, cellular network, iphone, comete, software update, iphe, bug fixes, bugs, improvements, crash, sleep |

Well it's mostly bug fixing, so we will see, I actually experienced some bugs reported, so cross fingers now... Official information about it: "iPhone OS 3.1.2 Software Update This update contains bug fixes and improvements, including the following: • Resolves sporadic issue that may cause iPhone to not wake from sleep • Resolves intermittent issue that may interrupt cellular network services until restart • Fixes bug that could cause occasional crash during video streaming Products compatible with this software update: • iPhone • iPhone 3G • iPhone 3GS For feature descriptions and complete instructions, see the user guide for your iPhone at: http://www.apple.com/support/manuals/iphone For more information about iPhone, go to: http://www.apple.com/iphone To troubleshoot your iPhone, or to view additional support information go to: http://www.apple.com/support/iphone This update contains security content originally included...
Tagi: cross fingers, 3gs, support manuals, cellular network, iphone, comete, software update, iphe, bug fixes, bugs, improvements, crash, sleep