Jailbreak detection with installed xCon

余生长醉 提交于 2019-12-10 19:25:47

问题


I have question about detecting Jailbreak on iOS. I used a couple things to detect it and they are working fine but when I’m installing xCon my app is not detecting Jailbreak any more. I've used the following techniques:

  • checking if cydia exists
  • checking for cydia app scheme
  • checking for writing outside sandbox
  • checking for existence of symbolic links
  • checking fork() function
  • checking dyld functions How can I protect my app from xCon tweaks? Is there anything that I can do?

回答1:


Is there anything what I can do?

Not really.

In a jailbroken environment, any part of your app can be rewritten on the fly. So any detection you implement can just be jumped over.

You can certainly try to make it harder for them to find and circumvent such check by making your app more obscure, employing obfuscation, using syscalls directly rather than relying on host libraries, etc, etc, but as long as the system can execute your checks, someone with enough time and willpower can track them down, reverse engineer how they work, and neuter them.



来源:https://stackoverflow.com/questions/40697765/jailbreak-detection-with-installed-xcon

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!