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...
Article Link: https://blog.fortinet.com/2017/07/09/unmasking-android-malware-a-deep-dive-into-a-new-rootnik-variant-part-iii