frida / frida-core

Frida core library intended for static linking into bindings
https://frida.re
Other
609 stars 193 forks source link

Process terminated Error while using the Frida Server #276

Open rk8339811 opened 4 years ago

rk8339811 commented 4 years ago

Hi,

I want to bypass the SSL pinning of an Android app using the Frida Server method.

I have followed the whole process described in this tutorial.

Below are the steps which I have followed/performed:

0) Installed the Frida library and Frida-tools 1) Rooted my Android Device 2) Installed the target app 3) Downloaded the Frida server for my Device architecture 4) Sent the Frida Server to its path in Device 5) Granted the Frida server the necessary permissions 6) Have started the Frida Server 7) Got the Java Script File ready 8) Now when I try to spawn an app it is raising the process is terminating as shown below:

frida

I am trying this from my Windows Laptop with a Real and rooted Android Device running Android lollipop 5.0.

I have tried it on other apps as well but it causes issues on them as well.

In my opinion, the issue is with the code within my JavaScript file.

If my Java Script file is empty it is causing no issue but whenever I add the below line in the file it is causing the process to be terminated.

This is the line that is causing the issue.

Java.perform(function (){ });

The app is the device is getting started and immediately the console is showing the process as terminated. I am using frida-server-12.7.22-android-arm.xz as the server. I am pretty sure that the setup is fully right but the only issue is occurring while adding the above code to the JavaScript file.

Also.Java.IsAvailable returns false.

Thanks for the beautiful and highly useful library.

I hope I will be able to get this working.

Please let me know if any further info is required to debug this issue.

Thanks

RaaGod commented 4 years ago

Hi, I have the same problem, only I use it Genimotion android 6.0 , if you found a solution, please share it, or maybe someone knows a solution to this problem? Screenshot_2

rk8339811 commented 4 years ago

Hi @RaaGod

I think Genymotion with Android 5.0 will work fine. I tried it, did not get this error. Since my system is not powerful enough to run an emulator smoothly hence I was not able to complete the test. But however, I tried it in an Android 9.0 64 bit Stock Android device and did not get this error. I think it should work for you if you use another configuration. Also, if possible try out the different architecture of the device that may be a 64 bit. If you succeed then if possible please update me. A pixel device emulator should be the best option.