Git Product home page Git Product logo

Comments (7)

jakeajames avatar jakeajames commented on July 24, 2024 2

It was a wrong offset, (t_flags) which was breaking platformization. And also added a method to init with kernel base.

from jelbreklib.

jakeajames avatar jakeajames commented on July 24, 2024 1

task_for_pid() was fixed.

Developer Image is not put in FS but mounted after doing checks.

Attaching to amfid is not possible because it lacks get-task-allow (but you can always add it, but why even attach?)

from jelbreklib.

jakeajames avatar jakeajames commented on July 24, 2024

from jelbreklib.

TrungNguyen1909 avatar TrungNguyen1909 commented on July 24, 2024

Well, kernel_slide_init() from voucher_swap can get you the kernel_slide peacefully(maybe we don't really need to find a new method?), I put it just before the voucher_swap exploit return with tfp0 and put a few line to stop jeilbreaklib from trying to FindKernelBase() again.

Also, not until patchfinder works well, we still have lots of thing to do. I tried KPP bypassed in yalu102 but the offset completely failed with some 0 in result (kernel_pmap, cpu_list,...)

from jelbreklib.

jakeajames avatar jakeajames commented on July 24, 2024

from jelbreklib.

TrungNguyen1909 avatar TrungNguyen1909 commented on July 24, 2024

Maybe AMFID task port is invalid? please check out IP_VALID macro, which is check by the XNU kernel for invalid argument.
How funny is that we have task_for_pid(0) but not task_for_pid(pidof("amfid")) :)
Maybe entitlement missing? or OS Boolean True offset is not right????
task_for_pid_in_kernel() have the same behavior. Seems like most of the mach call are failure now :(

from jelbreklib.

TrungNguyen1909 avatar TrungNguyen1909 commented on July 24, 2024

Impressive, Could you please tell me what was wrong with task_for_pid()?
I spent hours tried to find any logic/typo or any parameters order that was messed up.
Although I have some exploitation background in linux but I'm just a noob in mach.
Thank you.
EDIT: Why did you disable amfid patch for 12? amfid_payload.dylib was too old?

from jelbreklib.

Related Issues (9)

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.