Защити созданное

Другие наши ресурсы

  • free.drweb.uz — бесплатные утилиты, плагины, информеры
  • av-desk.com — интернет-сервис для поставщиков услуг Dr.Web AV-Desk
  • curenet.drweb.uz — сетевая лечащая утилита Dr.Web CureNet!
  • www.drweb.uz/web-iq — ВебIQметр
Закрыть

Библиотека
Моя библиотека

Чтобы добавить ресурс в библиотеку, войдите в аккаунт.

+ Добавить в библиотеку

Ресурсов: -

Последний: -

Моя библиотека

Поддержка
Круглосуточная поддержка | Правила обращения

Позвоните

Бесплатно по России:
8-800-333-79-32

ЧаВо | Форум

Ваши запросы

  • Все: -
  • Незакрытые: -
  • Последний: -

Позвоните

Бесплатно по России:
8-800-333-79-32

Свяжитесь с нами Незакрытые запросы: 

Профиль

Профиль

Android.Loki.3

Добавлен в вирусную базу Dr.Web: 2016-02-02

Описание добавлено:

SHA1:

  • 4af24c9f6815c8b0f5d0b44cc9040cdd7d828d96

It is a Trojan for Android whose examined sample looks as follows:

/data/system/.loki/loki32

The Trojan’s main purpose is to incorporate the liblokih.so library into the system_server process and execute commands using root privileges.

Along with the system, the loki32 process is launched and waits until the system is completely booted up. After that, the malicious application scans the /proc directory, which contains information about processes, state and configuration of the system and the kernel, and searches for a process whose value is set to "system_server" in the /proc/<pid>/cmdline file.

The Trojan then receives relative function addresses necessary for the injection:

libcAddr = getAddressFromMaps(v1, "/system/lib/libc.so");
linkerAddr = getAddressFromMaps(v0, "/system/bin/linker");
mallocAddr = (int)&malloc - libcAddr;
dlopenAddr = (int)&dlopen - linkerAddr;
dlcloseAddr = (int)&dlclose - linkerAddr;
dlsymAddr = (int)&dlsym - linkerAddr;
dlerrorAddr = (int)&dlerror – linkerAddr.

The getAddressFromMaps function parses the /proc/self/maps file, which contains a process memory map, and finds the first line that corresponds to the required library. It may look as follows:

40020000-40065000 r-xp 00000000 1f:00 363        /system/lib/libc.so

It extracts the first number from this line, and the injection procedure is then executed:

inject(ss_pid, "/data/system/.loki/liblokih.so", "load_loki", "");

This function receives the PID value of a process into which the injection will be performed, a path to a library that needs to be downloaded, and a name of a function in this library that needs to be executed. The injection procedure is carried out using the ptrace system call that is mainly implemented by debuggers. Once the process is “killed” with the help of the PTRACE_ATTACH function, the Trojan connects to it and can read and modify the state of its memory and registers. The PTRACE_GETREGS function helps the Trojan receive the registers values. Then, using PTRACE_SETREGS, the malicious program modifies them to perform the necessary function. After that, the process is started once again using PTRACE_CONT.

Moreover, if Android.Loki.3 gets root privileges, it can execute commands received from Android.Loki.1.origin and Android.Loki.2.origin. Thus, Android.Loki.3 is, in fact, a server that launches shell scripts—the Trojan receives a path to a script, which needs to be executed, via a local socket, and Android.Loki.3 launches this script.

News about the Trojan

Рекомендации по лечению


Android

  1. Если мобильное устройство функционирует в штатном режиме, загрузите и установите на него бесплатный антивирусный продукт Dr.Web для Android Light. Выполните полную проверку системы и используйте рекомендации по нейтрализации обнаруженных угроз.
  2. Если мобильное устройство заблокировано троянцем-вымогателем семейства Android.Locker (на экране отображается обвинение в нарушении закона, требование выплаты определенной денежной суммы или иное сообщение, мешающее нормальной работе с устройством), выполните следующие действия:
    • загрузите свой смартфон или планшет в безопасном режиме (в зависимости от версии операционной системы и особенностей конкретного мобильного устройства эта процедура может быть выполнена различными способами; обратитесь за уточнением к инструкции, поставляемой вместе с приобретенным аппаратом, или напрямую к его производителю);
    • после активации безопасного режима установите на зараженное устройство бесплатный антивирусный продукт Dr.Web для Android Light и произведите полную проверку системы, выполнив рекомендации по нейтрализации обнаруженных угроз;
    • выключите устройство и включите его в обычном режиме.

Подробнее о Dr.Web для Android

Демо бесплатно на 14 дней

Выдаётся при установке