-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DEV] iOS 10.2.1 #414
Comments
@GusToughSon @Mila432 , i know but if someone can give me them it will be nice. |
iOS 10.2.1 fixes exploits used by Yalu; you cannot add support for it. |
As @lolman8776 stated, you can't use Yalu with 10.2.1, for Apple patched the exploit Yalu used. |
Thanks to @lolman8776 , @TheLukeGuy , @matteyeux |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
//I read the issue posting guidelines.
Hello guys, just to know..
I was looking for
allproc_offset = 0x000000 & rootvnode_offset = 0x00000;
for (iPhone 4.7 10.2.1 [14D27] ).
Then I used lzssdec from xdadevtools to decript the kernelcache.release.n71 but i can't decompile the file using "Hooper Disassembler v4". ( So i can't get the correct offsets ).
( i uploaded the kernelcache.release.n71 -> here )
( bytes [0x1B7] > are this correct ) ?
Can anyone help me find this offsets?
Guide from match_portal
note down the offset of the ff cf fa ed fe byte sequence (in this case it's 0x1b4)
compile lzssdec from http://nah6.com/~itsme/cvs-xdadevtools/iphone/tools/lzssdec.cpp
run a command like: lzssdec -o 0x1b4 < kernel.release.n51 > kernel.decompressed
open the decompressed kernelcache in a recent version of IDA Pro (with support for iOS kextcaches)
say yes when IDA asks to split by kext
let the auto-analysis run - depending on how fast your computer is this might take a while! (it takes my 2013 MBP about 30 minutes)
go view -> open subviews -> segments and find the __TEXT:HEADER segment, the start should be FFFFFFF007004000
if it isn't note this down as you'll need to work out a couple of offsets relative to this
go view -> open subviews -> names and find the kernproc data symbol.
subtract the __TEXT:HEADER value from that, this is the kernproc offset
eg for iPhone 5S 10.1.1 kernproc is at FFFFFFF0075AE0E0 making the offset: 0x5AA0E0
now the harder one! We need to find allproc which isn't exported so is harder to find:
go view -> open subviews -> strings and find the string "pgrp_add : pgrp is dead adding process"
hit 'x' on the autogenerated string symbol name; you should see this symbol referenced from two functions
open the smaller of those functions in the IDA graph view
this is pgrp_add in the XNU source
scroll to the bottom of the CFG, the final three nodes all reference the same global variable with code like this:
ADRP X8, #qword_FFFFFFF0075A8128@PAGE
LDR X9, [X8,#qword_FFFFFFF0075A8128@PAGEOFF]
that's the address of allproc - subtract the kernel base to get the offset, in this case it's: 0x5A4128`
The text was updated successfully, but these errors were encountered: