Skip to content
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

[Bug] Cannt run any frida script when Shadow option "Dynamic Libraries" enabled #157

Open
MrR1p opened this issue Aug 16, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@MrR1p
Copy link

MrR1p commented Aug 16, 2023

Description
When enable option to bypass "Dynamic Libraries" in Essential Hooks section any Frida script failed execution to bypass or monitor something.
Maybe it is problem in a way how hooks loaded in Frida or how Shadow try to hide dynamic modules loaded into the process.

To Reproduce
Steps to reproduce the behavior:

  1. Enable Shadow for any user installed Application with "Dynamic Libraries" option enabled (for example application https://apps.apple.com/ru/app/%D0%B8%D0%BD%D0%B3%D0%BE%D1%81%D1%81%D1%82%D1%80%D0%B0%D1%85-ingomobile-%D0%BE%D0%BD%D0%BB%D0%B0%D0%B9%D0%BD/id1319319386)
  2. Spawn this application with Frida (frida -U -f ru.ingos.ingomobile)
  3. Try to run any script (for example simple var current_window = ObjC.classes.UIWindow.keyWindow()
  4. See error:
TypeError: cannot read property 'objc_lookUpClass' of null
    at o (frida/node_modules/frida-objc-bridge/index.js:179)
    at get (frida/node_modules/frida-objc-bridge/index.js:149)
    at <eval> (<input>:1)
    at eval (native)

Expected behavior
Frida script sucessfully loaded and execute

Device Information (please complete the following information):

@MrR1p MrR1p added the bug Something isn't working label Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants