Code Monkey home page Code Monkey logo

tq-pre-jailbreak's Introduction

TQ-pre-jailbreak

A PRE-jailbreak for iOS 14.0 ~ iOS 14.3 on all devices.

Generally speaking, jailbreak starts from an arbitrary kernel r/w vulnerability, so I name it pre-jailbreak. Actually, CVE-2021-1782(cicuta_virosa) is the pre-jailbreak thing.

Implemented an arbitrary r/w primitive based on cicuta_virosa. Useful to security researchers, and jailbreak developers.

Warranty

Use it on your own risk. I build it for security researchers only. MEAN NOTHING to normal users.

DO NOT RUN IT on you main device. I can not promise WHAT WILL HAPPEN!

Current state

  • make the exploit faster (iPhone 12: 65s -> 10s, iPhone 6s: 188s -> 68s)
  • stable kernel r/w primitives
  • amfid bypass

Tested on iPhone 12 pro (iOS 14.3).

Tested on iPhone 11 (iOS 14.0).

Tested on iPhone 6s (iOS 14.0). Maybe helpful to A11 devices. I note that checkra1n said "Limited support for A11 devices on iOS 14.x". I have upgraded the phone to iOS 15.0 beta.

For other devices/iOSs, add kernel offsets yourself in k_offsets.c

Eliminate hardcoded variable offsets from kernelcache. No need to care about the offset things. Theoretically, works on every iOS [14.0 ~ 14.3] device.

Credits

  • @ModernPwner: CVE-2021-1782, exploitation technique
  • Brandon Azad (@_bazad): Almost everything starts from oob_timestamp
  • @chenliang0817: paper "Exploiting IOSurface 0"
  • Jailbreak knowledge from unc0ver
  • #FreeTheSandbox: post-exploit tech & binpack
  • etc.

License

GPL-3.0 License

inherited from cicuta_virosa

Misc

my twitter @pattern_F_

English is hard for me... I'm learning it.

英语太难了...

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.