iOS Kernel Heap Armageddon - Hakim

iOS Kernel Heap Armageddon - Hakim iOS Kernel Heap Armageddon - Hakim

28.11.2014 Views

zprint vs. iOS 6 • zprint is based on the host_zone_info / mach_zone_info • in iOS 6 Apple has locked down this API with PE_I_can_haz_debugger • can only be used on jailbroken devices (or Apple‘s own debugging hardware) • no longer usable for kernel heap exploits Stefan Esser • iOS Kernel Heap Armageddon REVISITED • July 2012 • 8

iOS Kernel Zone Allocator 101 • kernel heap is divided into so called zones • each zone starts with a first chunk of memory (usually 1 page) 0x000 0x1000 Stefan Esser • iOS Kernel Heap Armageddon REVISITED • July 2012 • 9

<strong>iOS</strong> <strong>Kernel</strong> Zone Allocator 101<br />

• kernel heap is divided into so called zones<br />

• each zone starts with a first chunk of memory (usually 1 page)<br />

0x000<br />

0x1000<br />

Stefan Esser • <strong>iOS</strong> <strong>Kernel</strong> <strong>Heap</strong> <strong>Armageddon</strong> REVISITED • July 2012 •<br />

9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!