In this final blog in the Rootnik series we will finish our analysis of this new variant.
Let’s start by looking into the script shell rsh.
Analysis of the script shell
Through our investigation we are able to see how the script shell works:
First, it writes the content of the file .ir into /system/etc/install-recovery.sh. The file install-recovery.sh is a startup script. When the android device is booted, the script can be executed.
The following is the content of the file .ir.
Next, it writes some files…
from Unmasking Android Malware: A Deep Dive into a New Rootnik Variant, Part III