Giter Club home page Giter Club logo

freethesandbox_lpe_poc_13.7's Introduction

FreeTheSandbox_LPE_POC_13.7

This POC is released for educational purposes only.

(c) All rights reserved - author / FreeTheSandbox.org / ZecOps, Inc.

This code is provided with no warranty. Use at your own risk. Full writeups: This series of posts will be published at blog.zecops.com. The technical iOS writeups will cover the entire chain from user-space to kernel, as well as persistence on the device following a reboot. The full reports are currently available to iOS Threat Intelligence subscribers of ZecOps Mobile Threat Intelligence. "With great power comes great responsibility" - Ben

iOS jailbreak, works on iOS 13.7 and earlier, hardcoded offsets to be added for some devices.

Uploads analytics to https://analytics.freethesandbox.org on each exploit.

Decompress "ios13_app1/jb_resources_compress.zip" to "ios13_app1/jb_resources", make sure the path is "ios13_app1/jb_resources/binpack64". Then delete the jb_resources_compress.zip

Open with XCode, build and run on your iPhone

freethesandbox_lpe_poc_13.7's People

Contributors

perrzick avatar zecops-team avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

freethesandbox_lpe_poc_13.7's Issues

iPhone XS 13.3, found the offsets but failed to finish the exploit

`if(check_if_iOS_version_greater_than_or_equal_to("13.3") && check_if_iOS_version_less_then("13.3.2")){
//57 crash
zone_index_tasks = 58;

    // iOS 13.3/13.3.1
    HARDCODED_infoleak_addr = 0xFFFFFFF00791FA18;
    HARDCODED_allproc = 0xFFFFFFF00934E930;
    HARDCODED_kernel_map = 0xfffffff00787d768;
}`

That's the offset I found. But for zone_index_tasks, I don't know how to find the right one, so I tried 57, 58, 59. But all failed.
Xcode Console prints "kaslr: 0xe00ffc8."
And on the iPhone, it prints "Setting up new kernel r/w primitives"

And computer console prints "kernel AVE ERROR:Enqueue Order Check failed" and "AVEUC ERROR:m_NotificationPort NULL" all the time ~

So what's wrong and how to find the right zone_index_tasks?

AppleAVEDriver port (AppleAVEH8.kext) for A8/A9

Kernel exploit does not work on A8 or A9 devices as those use AppleAVEDriver (AppleAVEH8.kext) instead of AppleAVE2Driver. (Userland exploit works successfully though if I tell it to grab AppleAVEDriver instead)

Kernel exploit will require porting though as AppleAVEDriver takes different parameters compared to AppleAVE2Driver

Offsets not found

Detecting tfp0
Model: iPhone 6S
Version: 13.3.1
require to run exploit first
Execution pause: Not found offsets set for current device(model: iPhone 6S)

Gagdets not found 0x2?

iphone 11 gadgets not found?

also for a13 userspace_pac.c should be compiled right?

instead userspace.c is getting compiled!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.