Library
My library

+ Add to library

Contact us
24/7 Tech support | Rules regarding submitting

Send a message

Your tickets

Profile

Android.Loki.28

Added to the Dr.Web virus database: 2016-12-01

Virus description added:

SHA1:

  • 83b15e545f96239ef43ff5f94c582e1a3e8361f3

A detect for the component of Android.Loki.16.origin which infects Android devices. Android.Loki.16.origin downloads and unpacks this module together with several exploits. Then it tries to get root privileges. If successful, Android.Loki.28 is run with elevated privileges.

Once launched, Android.Loki.28 checks some arguments and mounts the section /system for a writing process. Then this module loads one of the randomly selected libraries— libz.so, libcutils.so or liblog.so—to the memory.

Then Android.Loki.28 retrieves two malicious components from its body:

  • xalco (Android.Loki.26);
  • lib{NAME}.so (Android.Loki.27), where NAME is a randomly generated string containing the same number of characters as a name of the selected library.

These component are then saved to the system catalogs /system/bin/ and /system/lib/ respectively.

Android.Loki.28 then injects a dependency from the module Android.Loki.27 into the selected library. For this, the module finds a segment table of the library in the memory and searches for the segment PT_DYNAMIC (information about dynamic linking). An example below shows the highlighted necessary segment:

Android.Loki.28 #drweb

Once the necessary segment is found, Android.Loki.28 searches values of the tags DT_STRTAB (table address with strings) and DT_SONAME (an offset in relation to DT_STRTAB used to write the name of the attacked library):

Android.Loki.28 #drweb

Android.Loki.28 #drweb

Once the module finds a necessary string with a name of a targeted library, this name is then modified to the name of the unpacked module Android.Loki.27. Then Android.Loki.28 replaces the tag DT_SONAME to DT_NEEDED. Thus, instead of the name of a system library, one more dependency from the module Android.Loki.27 is stored on its place.

Android.Loki.28 #drweb Android.Loki.28 #drweb

Such modification does not hinder the library’s operation and allows Android.Loki.27 to be run together with the library every time it is called by the system.

However, if Android.Loki.27 is removed, Android will not be booted correctly, and a device will go out of order. To restore the system, the device’s firmware should be updated by using an original system image.

News about the Trojan

Curing recommendations


Android

  1. If the mobile device is operating normally, download and install Dr.Web for Android Light. Run a full system scan and follow recommendations to neutralize the detected threats.
  2. If the mobile device has been locked by Android.Locker ransomware (the message on the screen tells you that you have broken some law or demands a set ransom amount; or you will see some other announcement that prevents you from using the handheld normally), do the following:
    • Load your smartphone or tablet in the safe mode (depending on the operating system version and specifications of the particular mobile device involved, this procedure can be performed in various ways; seek clarification from the user guide that was shipped with the device, or contact its manufacturer);
    • Once you have activated safe mode, install the Dr.Web для Android Light onto the infected handheld and run a full scan of the system; follow the steps recommended for neutralizing the threats that have been detected;
    • Switch off your device and turn it on as normal.

Find out more about Dr.Web for Android