Linux Analysis Report
dvwkja7.elf

Overview

General Information

Sample name: dvwkja7.elf
Analysis ID: 1544642
MD5: 935c5217e4b8d284884403edab2f5d0f
SHA1: d1a7049fff4718d13b304b4c952268b7a02498e2
SHA256: 558a32ed6c5dcd3588c5a0e15279bbcf56183b5258d6f5d847a8b52ef25e3d9f
Tags: elfMiraiuser-abuse_ch
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.15:49924 -> 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: 5515.1.00007fd984017000.00007fd984033000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: dvwkja7.elf PID: 5515, 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: 5515.1.00007fd984017000.00007fd984033000.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: 5515, 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@31/0
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/88/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/111116/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/111/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/4444/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/999/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/8888/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/11/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/99/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/888/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/11111/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/22/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/777/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/1111/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/5555/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/9999/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/33/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/22222/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/44/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/33333/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/2222/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/6666/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/55/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/66/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/44444/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/333334/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/333333/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/333/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/3333/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/7777/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/77/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/222/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/333332/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/333331/cmdline Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5520) File opened: /proc/55555/cmdline Jump to behavior

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/dvwkja7.elf (PID: 5518) File: /tmp/dvwkja7.elf Jump to behavior
Source: /tmp/dvwkja7.elf (PID: 5515) Queries kernel information via 'uname': Jump to behavior
Source: dvwkja7.elf, 5515.1.00007ffcb1f5b000.00007ffcb1f7c000.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, 5515.1.000055d16f1af000.000055d16f301000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/arm
Source: dvwkja7.elf, 5515.1.000055d16f1af000.000055d16f301000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: dvwkja7.elf, 5515.1.00007ffcb1f5b000.00007ffcb1f7c000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: dvwkja7.elf, 5515.1.00007ffcb1f5b000.00007ffcb1f7c000.rw-.sdmp Binary or memory string: U/tmp/qemu-open.0T5UCc:
Source: dvwkja7.elf, 5515.1.00007ffcb1f5b000.00007ffcb1f7c000.rw-.sdmp Binary or memory string: /tmp/qemu-open.0T5UCc

Stealing of Sensitive Information

barindex
Source: Yara match File source: dvwkja7.elf, type: SAMPLE
Source: Yara match File source: 5515.1.00007fd984017000.00007fd984033000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: dvwkja7.elf PID: 5515, type: MEMORYSTR
Source: Yara match File source: dvwkja7.elf, type: SAMPLE
Source: Yara match File source: 5515.1.00007fd984017000.00007fd984033000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: dvwkja7.elf PID: 5515, type: MEMORYSTR

Remote Access Functionality

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