I want to discover the reads and writes of a process on android.
Is there any tool such as ptrace that can perform this action?
On a rooted android device I tried running the command
# ptrace
/system/bin/sh: ptrace: inaccessible or not found
I want to discover the reads and writes of a process on android.
Is there any tool such as ptrace that can perform this action?
On a rooted android device I tried running the command
# ptrace
/system/bin/sh: ptrace: inaccessible or not found
In order to track file system reads and write you would need to track all functions that interact with the file-system. Luckily, @FrenchYeti from codeshare.frida.re did this for us:
https://codeshare.frida.re/@FrenchYeti/android-file-system-access-hook/
In case the link breaks in the future I'm including the script here (credit to @FrenchYeti and codeshare.frida.re)