Jump to content

43 posts in this topic

Recommended Posts

  • Replies 42
  • Created
  • Last Reply

Top Posters In This Topic

Posted

If you're removing ASLR on a ARMv7 binary, it should work. ARM64 it will just crash.

If it still crashes after signing, then you will just have to bypass it manually as ARMKing linked above.

Posted
40 minutes ago, DiDA said:

If you're removing ASLR on a ARMv7 binary, it should work. ARM64 it will just crash.

If it still crashes after signing, then you will just have to bypass it manually as ARMKing linked above.

I am not sure which method to use because I am using the IDA 7.0 IOS debugger and I don't know if it is related to GDB or LLDB

Posted
1 minute ago, steelabood said:

I am not sure which method to use because I am using the IDA 7.0 IOS debugger and I don't know if it is related to GDB or LLDB

I think you should use LLDB first since there are more tutorials on that than the new IDA debugger. :)

Posted
1 hour ago, DiDA said:

ARMKing

emphAsis on ARM i lik it 

 

 

41 minutes ago, steelabood said:

I am not sure which method to use because I am using the IDA 7.0 IOS debugger and I don't know if it is related to GDB or LLDB

its not related , but it needs ASLR removed , so just use lldb isntead 
 

 

like both need the aslr gone , but lldb is less painful than IDA

Posted

Also, try this (if ARMv7. If it's 64 then don't bother, you should use image list to defeat ASLR)

1) Open the binary in a hex editor. 

2) Go to 1A. The code should be "20" or "21" or so. Change the 2 to 0.

3) sign with ldid. Set perm as 755/777. Put binary in app

4) ???

5) Profit.

 

Posted (edited)
12 hours ago, Archangel04 said:

Also, try this (if ARMv7. If it's 64 then don't bother, you should use image list to defeat ASLR)

1) Open the binary in a hex editor. 

2) Go to 1A. The code should be "20" or "21" or so. Change the 2 to 0.

3) sign with ldid. Set perm as 755/777. Put binary in app

4) ???

5) Profit.

 

should I do it with the binary that is "thinned and aslr removed" or just "thinned"?

Nevermind I just saw that it just needs to be thinned

Updated by steelabood
Posted
12 hours ago, Archangel04 said:

Also, try this (if ARMv7. If it's 64 then don't bother, you should use image list to defeat ASLR)

1) Open the binary in a hex editor. 

2) Go to 1A. The code should be "20" or "21" or so. Change the 2 to 0.

3) sign with ldid. Set perm as 755/777. Put binary in app

4) ???

5) Profit.

 

Unfortunately doesn't work.... :( 

Posted
1 hour ago, steelabood said:

Unfortunately doesn't work.... :( 

Only other way is to use gdb and use the command "info address _mh_execute_header" then subtract 0x4000 from it. Thats your ASLR and you need to add/subtract that depending on usage. For ex, if you get offset from IDA, you add. If offset from gdb, then subtract

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines