Open 0xElessar opened 4 years ago
Hi there, we spoke over email. I'll have a look as soon as I get a chance, sorry I know this ticket has been open for almost a year.
Since your also using a Pixel 3a, I'll downgrade my device to Android 9 over the weekend and see if I get the same errors with the same Frida server version. Thanks for reporting the issue and all the information :)
Great. Thank you very much, @CDuPlooy!
Hi @0xElessar thanks again for reporting this. The issue is that the script saves a reference to something that it expects to later still be alive but the GC sweeps the object. Hence the error message points to Java.retain
. I'll submit create a branch with my fix shortly.
I've gotten confirmation from @0xElessar that the changes work for the fingerprint bypass script. There are still other instances of this problem
Thank you for providing such great tooling. Extremely helpful.
However, 2 scripts do not work correctly on Android 9 and newer Frida version (>12.6).
https://github.com/FSecureLABS/android-keystore-audit/blob/master/frida-scripts/fingerprint-bypass-via-exception-handling.js
after running the bypass() command, Frida >= 12.6 throws the following error message:
Do you know how to modify the execute() function to be compatible with newer Frida version, please?
Similarly, the showKeyguard() function of the script https://github.com/FSecureLABS/android-keystore-audit/blob/master/frida-scripts/keyguard-credential-intent.js crashes when executed on newer Frida versions:
It would be great, if you could update the scripts.
Thank you again for great research and scripts.