Im running Android within an Anbox setup, I downloaded the frida-server version for Anbox the android-x86_64.
I followed this steps
adb push frida-server-12.11.18-android-x86_64
/data/local/tmp/
adb shell "chmod 755 /data/local/tmp/frida-server-12.11.18-android-x86_64
"
adb shell "/data/local/tmp/frida-server-12.11.18-android-x86_64
&"
Ok now comes my issue if I try to
# frida-ps -Uai
Failed to enumerate applications: unable to find process with name 'system_server'
But without the ai works, the problem is that does not have visibility of running applications
frida-ps -U
PID Name
---- ------------------------------------
2333 frida-server-12.11.18-android-x86_64
1571 logcat
2335 logcat
48 sh
My guess is that this is related to permissions of the frida-server running inside the Anbox, I have tried to launch it as root but it crashes the whole environment.
x86_64:/data/local/tmp $ ls -ll
total 110648
-rwxr-xr-x 1 u1_root u1_root 56645256 2020-10-15 16:11 frida-server-12.11.18-android-x86_64
drwxr-xr-x 2 root root 4096 2020-10-17 07:41 re.frida.server
Any clue on how to give visibility to the frida-server ?
You have to be a sudo user
Note: Make sure Frida-Server is the same version as your Frida install. You can safely run a newer version on the host side though, as long as the major version is the same.
Tested