jjolano / shadow

A jailbreak detection bypass for modern iOS jailbreaks.
https://ios.jjolano.me
BSD 3-Clause "New" or "Revised" License
792 stars 131 forks source link

More Anti Debugging Checks. #152

Open Rednick16 opened 1 year ago

Rednick16 commented 1 year ago

Sources:

I have successfully bypassed most of the anti-debugging checks mentioned in the provided sources while running in the Xcode debugger and under LLDB. However, I have not included a patch for the svc stuff; it might be possible to implement some kind of pattern scan for that.

I also implemented a hook for the task_get_exception_ports function and set *masksCnt to 0, effectively bypassing its behavior.

btw for the ptrace checks, they can still retrieve the function address from dlsym, and it ignores the current hook you have implemented.

Syntax errors have been fixed in the code.