Linux Analysis Report
dvwkja7.elf

Overview

General Information

Sample name: dvwkja7.elf
Analysis ID: 1541230
MD5: e6a1cf30adaca2f2dd0884f23922783a
SHA1: 5cdc187b0fef004465be726d02d5c9b595a1a205
SHA256: e72a32e5ee2d171eb2af61eae86d371020ad2ec17ab04236558d009e43b44106
Tags: user-elfdigest
Infos:

Detection

Mirai, Okiru
Score: 88
Range: 0 - 100
Whitelisted: false

Signatures

Antivirus / Scanner detection for submitted sample
Malicious sample detected (through community Yara rule)
Multi AV Scanner detection for submitted file
Yara detected Mirai
Yara detected Okiru
Sample deletes itself
Sends malformed DNS queries
Detected TCP or UDP traffic on non-standard ports
Enumerates processes within the "proc" file system
Found strings indicative of a multi-platform dropper
Sample and/or dropped files contains symbols with suspicious names
Sample contains strings indicative of BusyBox which embeds multiple Unix commands in a single executable
Uses the "uname" system call to query kernel version information (possible evasion)
Yara signature match

Classification

Name Description Attribution Blogpost URLs Link
Mirai Mirai is one of the first significant botnets targeting exposed networking devices running Linux. Found in August 2016 by MalwareMustDie, its name means "future" in Japanese. Nowadays it targets a wide range of networked embedded devices such as IP cameras, home routers (many vendors involved), and other IoT devices. Since the source code was published on "Hack Forums" many variants of the Mirai family appeared, infecting mostly home networks all around the world. No Attribution https://malpedia.caad.fkie.fraunhofer.de/details/elf.mirai

AV Detection

barindex
Source: dvwkja7.elf Avira: detected
Source: dvwkja7.elf ReversingLabs: Detection: 44%
Source: dvwkja7.elf String: /proc/proc/%d/cmdlinenetstatwgetcurlbusybox/bin/busybox/proc//proc/%s/exe/proc/self/exevar/Challengeapp/hi3511gmDVRiboxusr/dvr_main _8182T_1108mnt/mtd/app/guivar/Kylinl0 c/udevdanko-app/ankosample _8182T_1104var/tmp/soniahicorestm_hi3511_dvr/usr/lib/systemd/systemd/usr/libexec/openssh/sftp-serverusr/shellmnt/sys/bin/boot/media/srv/var/run/sbin/lib/etc/dev/home/Davincitelnetsshwatchdog/var/spool/var/Sofiasshd/usr/compress/bin//compress/bin/compress/usr/bashhttpdtelnetddropbearropbearencodersystem/root/dvr_gui//root/dvr_app//anko-app//opt/raw.eye-network.ruabcdefghijklmnopqrstuvwxyz/proc/%d/proc/self/usr/sbin/reboot/usr/bin/reboot/usr/sbin/shutdown/usr/bin/shutdown/usr/sbin/poweroff/usr/bin/poweroff/usr/sbin/halt/usr/bin/halt

Networking

barindex
Source: global traffic DNS traffic detected: malformed DNS query: raw.eye-network.ru. [malformed]
Source: global traffic TCP traffic: 192.168.2.14:43268 -> 213.232.235.18:33966
Source: global traffic DNS traffic detected: DNS query: raw.eye-network.ru
Source: global traffic DNS traffic detected: DNS query: raw.eye-network.ru. [malformed]

System Summary

barindex
Source: dvwkja7.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5492.1.00007fc750017000.00007fc750033000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: dvwkja7.elf PID: 5492, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: dvwkja7.elf ELF static info symbol of initial sample: __gnu_unwind_execute
Source: Initial sample String containing 'busybox' found: busybox
Source: Initial sample String containing 'busybox' found: /bin/busybox
Source: Initial sample String containing 'busybox' found: /proc/proc/%d/cmdlinenetstatwgetcurlbusybox/bin/busybox/proc//proc/%s/exe/proc/self/exevar/Challengeapp/hi3511gmDVRiboxusr/dvr_main _8182T_1108mnt/mtd/app/guivar/Kylinl0 c/udevdanko-app/ankosample _8182T_1104var/tmp/soniahicorestm_hi3511_dvr/usr/lib/systemd/systemd/usr/libexec/openssh/sftp-serverusr/shellmnt/sys/bin/boot/media/srv/var/run/sbin/lib/etc/dev/home/Davincitelnetsshwatchdog/var/spool/var/Sofiasshd/usr/compress/bin//compress/bin/compress/usr/bashhttpdtelnetddropbearropbearencodersystem/root/dvr_gui//root/dvr_app//anko-app//opt/raw.eye-network.ruabcdefghijklmnopqrstuvwxyz/proc/%d/proc/self/usr/sbin/reboot/usr/bin/reboot/usr/sbin/shutdown/usr/bin/shutdown/usr/sbin/poweroff/usr/bin/poweroff/usr/sbin/halt/usr/bin/halt
Source: dvwkja7.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = a2c6beaec18ca876e8487c11bcc7a29279669588aacb7d3027d8d8df8f5bcead, id = 28a2fe0c-eed5-4c79-81e6-3b11b73a4ebd, last_modified = 2021-09-16
Source: 5492.1.00007fc750017000.00007fc750033000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = a2c6beaec18ca876e8487c11bcc7a29279669588aacb7d3027d8d8df8f5bcead, id = 28a2fe0c-eed5-4c79-81e6-3b11b73a4ebd, last_modified = 2021-09-16
Source: Process Memory Space: dvwkja7.elf PID: 5492, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = a2c6beaec18ca876e8487c11bcc7a29279669588aacb7d3027d8d8df8f5bcead, id = 28a2fe0c-eed5-4c79-81e6-3b11b73a4ebd, last_modified = 2021-09-16
Source: classification engine Classification label: mal88.troj.evad.linELF@0/1@26/0
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/88/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/111115/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/111/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/4444/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/999/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/8888/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/11/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/99/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/888/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/11111/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/111110/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/22/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/777/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/1111/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/5555/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/9999/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/33/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/22222/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/44/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/33333/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/2222/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/6666/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/55/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/66/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/333336/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/333/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/3333/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/7777/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/77/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/333330/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/222/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5497) File opened: /proc/55555/cmdline Jump to behavior

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/dvwkja7.elf (PID: 5495) File: /tmp/dvwkja7.elf Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5492) Queries kernel information via 'uname': Jump to behavior
Source: dvwkja7.elf, 5492.1.00007ffe6dc88000.00007ffe6dca9000.rw-.sdmp Binary or memory string: )V/tmp/qemu-open.7GJa3r:
Source: dvwkja7.elf, 5492.1.00007ffe6dc88000.00007ffe6dca9000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-arm/tmp/dvwkja7.elfSUDO_USER=saturninoPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/binDISPLAY=:1.0XAUTHORITY=/run/user/1000/gdm/XauthoritySUDO_UID=1000TERM=xterm-256colorCOLORTERM=truecolorLOGNAME=rootUSER=rootLANG=en_US.UTF-8SUDO_COMMAND=/bin/bashHOME=/rootMAIL=/var/mail/rootSUDO_GID=1000SHELL=/bin/bash/tmp/dvwkja7.elf
Source: dvwkja7.elf, 5492.1.00007ffe6dc88000.00007ffe6dca9000.rw-.sdmp Binary or memory string: /tmp/qemu-open.7GJa3r
Source: dvwkja7.elf, 5492.1.00005629f2f22000.00005629f3074000.rw-.sdmp Binary or memory string: )V!/etc/qemu-binfmt/arm
Source: dvwkja7.elf, 5492.1.00005629f2f22000.00005629f3074000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: dvwkja7.elf, 5492.1.00007ffe6dc88000.00007ffe6dca9000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm

Stealing of Sensitive Information

barindex
Source: Yara match File source: dvwkja7.elf, type: SAMPLE
Source: Yara match File source: 5492.1.00007fc750017000.00007fc750033000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: dvwkja7.elf PID: 5492, type: MEMORYSTR
Source: Yara match File source: dvwkja7.elf, type: SAMPLE
Source: Yara match File source: 5492.1.00007fc750017000.00007fc750033000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: dvwkja7.elf PID: 5492, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: dvwkja7.elf, type: SAMPLE
Source: Yara match File source: 5492.1.00007fc750017000.00007fc750033000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: dvwkja7.elf PID: 5492, type: MEMORYSTR
Source: Yara match File source: dvwkja7.elf, type: SAMPLE
Source: Yara match File source: 5492.1.00007fc750017000.00007fc750033000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: dvwkja7.elf PID: 5492, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs