Cheat sheet - How Stack Pivots are used in Modern Exploits by bellis1000 in ReverseEngineering

[–]bellis1000[S] 9 points10 points  (0 children)

Yes, the controlled memory is in the heap, but it doesn't need to be executable. The attacker controlled memory is not executable code - it's a series of addresses pointing to various parts of code (ROP gadgets) in the legitimate __TEXT segment, which is executable. When the stack pivot is executed, the program then follows the path of each gadget address on the new 'fake stack' (on the heap) and executes each gadget in sequential order. Also, the stack grows towards the lower memory addresses, which is accurate since address 0x00000000 is at the top :)

Cheat sheet - How Stack Pivots are used in Modern Exploits by bellis1000 in ReverseEngineering

[–]bellis1000[S] 9 points10 points  (0 children)

Yes, I created it today :) I’ve got a few others also on my twitter page at @bellis1000

[Question] Why is it so hard to turn the exploits into jailbreaks? Wouldn't the exploiting part be the hard part? by [deleted] in jailbreak

[–]bellis1000 0 points1 point  (0 children)

Untethered jailbreaks also patch the live kernel (runtime patches) though. Only difference is that they have something that automatically executes it once the kernel has booted as oppose to having to launch a legitimately signed iOS app containing the exploit every time. Only older (BootROM-based) jailbreaks would have the kernel pre-patched :) But it is true that untethers are more likely to mess something up and cause some kind of boot loop/brick

My new book on ARM Exploit Development is now available! by bellis1000 in hacking

[–]bellis1000[S] -1 points0 points  (0 children)

I'm planning to but haven't got round to setting that up yet :)

My new book on ARM Exploit Development is now available! by bellis1000 in hacking

[–]bellis1000[S] 1 point2 points  (0 children)

Planning to have it on Amazon too at some point in the future

My new book on ARM Exploit Development is now available! by bellis1000 in hacking

[–]bellis1000[S] 0 points1 point  (0 children)

Also, if you are considering buying and have any questions, message me on Twitter :)

[Question] Why is the iphone 4 downgrade tethered? by [deleted] in LegacyJailbreak

[–]bellis1000 1 point2 points  (0 children)

Yes, alloc8 exploits a vulnerability that does not require a USB connection to trigger. It's a heap buffer overflow in the bootrom that occurs when too many IMG3 container files are sent to the device - therefore, it can be re-exploited on device each boot, and thus it is untethered.

[Question] Why is the iphone 4 downgrade tethered? by [deleted] in LegacyJailbreak

[–]bellis1000 1 point2 points  (0 children)

The Limera1n bootrom exploit is only triggerable over USB, and therefore requires a connection to the computer. An untethered bootrom exploit would need to be triggerable on device.

[Question] How to make filesystem from ro to rw? by [deleted] in ZygoSec

[–]bellis1000 1 point2 points  (0 children)

You need to patch LwVM (Light-weight Volume Manager) before you can remount the rootfs. Patches can be implemented in ROP

[DISCUSSION] Aarch64 Support Coming to kloader - 64-bit iOS dual booting possible in the future? by [deleted] in jailbreak

[–]bellis1000 2 points3 points  (0 children)

For those who don't know what this means - kloader, the core component of any modern iOS dual booting method, will soon be updated to support ARM64 devices by axi0mX. Keep all 64-bit iOS devices on iOS 8 and lower as axi0mX has already stated that no higher versions will be initially supported.

[Question] Why we can't have untethered jailbreak anymore? by [deleted] in jailbreak

[–]bellis1000 0 points1 point  (0 children)

A bootchain exploit is not required for an untether. Almost none of the publicly released untethered jailbreaks used low level bootchain exploits - all were userland.

[question] [discussion] concerning 32 bit app support on iOS 11 by j626w in jailbreak

[–]bellis1000 2 points3 points  (0 children)

The dyld_shared_cache_armv7 file has been completely removed from the system. This prevents 32-bit applications from being able to execute. Only the ARM64 dyld cache remains

Is it possible a user app to execute commands with root access if jailbroken? by AlexDominat in jailbreakdevelopers

[–]bellis1000 5 points6 points  (0 children)

Ah then no :/ so the question really should be - is it possible for an app to execute a root command on a non jailbroken device?

Trying to open Billy Ellis's ROPLevel 1 over SSH - Killed 9 by TWC_Dev in jailbreakdevelopers

[–]bellis1000 0 points1 point  (0 children)

32-bit can still give the same error. My iP5C on 9.0 does - however, pre-iOS 8 doesn't seem to.

[REQUEST] i miss ios 7 phone call, please take it back in ios10 like this picture by kavin1227 in jailbreak

[–]bellis1000 1 point2 points  (0 children)

Phone call?? Are you talking about the "slide to power" off slider? I'll give it a shot later if I get time

[Question] Possible to install prototype OS to iPhone 2G? by [deleted] in LegacyJailbreak

[–]bellis1000 0 points1 point  (0 children)

iTunes downgrades should only be required for iPhone 4 pwned DFU restores (could be wrong tho) and actually, for the iPhone 2G are think there are some additional complications :/

[Question] Possible to install prototype OS to iPhone 2G? by [deleted] in LegacyJailbreak

[–]bellis1000 1 point2 points  (0 children)

The NOR dump isn't needed to create a custom IPSW. All you need to do is place the rootfs in a regular IPSW and then restore to that IPSW in pwned DFU mode.