Linux Analysis Report
vqsjh4.elf

Overview

General Information

Sample name: vqsjh4.elf
Analysis ID: 1541236
MD5: 8afbd79437bab8f6cab856538e79cb56
SHA1: b024eae5376d838a11f95085a2bb095d257409c1
SHA256: d2911331e063a88a1818abfcb50e899e906abbb113b25f49e650aa727727d280
Tags: elfuser-abuse_ch
Infos:

Detection

Gafgyt, Mirai, Okiru
Score: 96
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 Gafgyt
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 contains strings indicative of BusyBox which embeds multiple Unix commands in a single executable
Sample has stripped symbol table
Tries to connect to HTTP servers, but all servers are down (expired dropper behavior)
Uses the "uname" system call to query kernel version information (possible evasion)
Yara signature match

Classification

Name Description Attribution Blogpost URLs Link
Bashlite, Gafgyt Bashlite is a malware family which infects Linux systems in order to launch distributed denial-of-service attacks (DDoS). Originally it was also known under the name Bashdoor, but this term now refers to the exploit method used by the malware. It has been used to launch attacks of up to 400 Gbps. No Attribution https://malpedia.caad.fkie.fraunhofer.de/details/elf.bashlite
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: vqsjh4.elf Avira: detected
Source: vqsjh4.elf ReversingLabs: Detection: 52%
Source: vqsjh4.elf String: A/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.23:59016 -> 213.232.235.18:33966
Source: global traffic TCP traffic: 192.168.2.23:43928 -> 91.189.91.42:443
Source: global traffic TCP traffic: 192.168.2.23:42836 -> 91.189.91.43:443
Source: global traffic TCP traffic: 192.168.2.23:42516 -> 109.202.202.202:80
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.43
Source: unknown TCP traffic detected without corresponding DNS query: 109.202.202.202
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.43
Source: unknown TCP traffic detected without corresponding DNS query: 109.202.202.202
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
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]
Source: unknown Network traffic detected: HTTP traffic on port 43928 -> 443
Source: unknown Network traffic detected: HTTP traffic on port 42836 -> 443

System Summary

barindex
Source: vqsjh4.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 6214.1.00007f7298400000.00007f729841b000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: vqsjh4.elf PID: 6214, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Initial sample String containing 'busybox' found: busybox
Source: Initial sample String containing 'busybox' found: /bin/busybox
Source: Initial sample String containing 'busybox' found: A/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: ELF static info symbol of initial sample .symtab present: no
Source: vqsjh4.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: 6214.1.00007f7298400000.00007f729841b000.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: vqsjh4.elf PID: 6214, 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: mal96.troj.evad.linELF@0/1026@41/0
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1582/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/3088/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/230/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/110/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/231/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/111/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/232/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1579/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/112/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/233/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1699/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/113/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/234/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1335/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1698/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/114/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/235/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1334/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1576/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/2302/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/115/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/236/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/116/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/237/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/117/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/118/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/910/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/119/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/912/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/10/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/2307/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/11/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/918/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/12/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/13/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/14/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/15/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/16/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/17/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/18/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1594/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/120/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/121/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1349/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/122/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/243/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/123/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/2/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/124/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/3/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/4/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/125/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/126/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1344/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1465/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1586/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/127/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/6/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/248/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/128/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/249/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1463/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/800/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/9/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/801/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/20/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/21/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1900/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/22/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/23/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/24/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/25/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/26/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/27/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/28/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/29/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/491/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/250/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/130/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/251/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/252/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/132/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/253/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/254/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/255/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/256/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1599/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/257/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1477/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/379/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/258/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1476/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/259/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1475/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/936/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/30/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/2208/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/35/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1809/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/4520/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/1494/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/260/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/261/cmdline Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6218) File opened: /proc/141/cmdline Jump to behavior

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/vqsjh4.elf (PID: 6216) File: /tmp/vqsjh4.elf Jump to behavior
Source: /tmp/vqsjh4.elf (PID: 6214) Queries kernel information via 'uname': Jump to behavior
Source: vqsjh4.elf, 6214.1.00005621f74df000.00005621f7542000.rw-.sdmp Binary or memory string: !V5!/etc/qemu-binfmt/sh4
Source: vqsjh4.elf, 6214.1.00007ffd08617000.00007ffd08638000.rw-.sdmp Binary or memory string: /tmp/qemu-open.czGur3
Source: vqsjh4.elf, 6214.1.00007ffd08617000.00007ffd08638000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-sh4/tmp/vqsjh4.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/vqsjh4.elf
Source: vqsjh4.elf, 6214.1.00007ffd08617000.00007ffd08638000.rw-.sdmp Binary or memory string: /qemu-open.XXXXX
Source: vqsjh4.elf, 6214.1.00007ffd08617000.00007ffd08638000.rw-.sdmp Binary or memory string: /usr/bin/qemu-sh4
Source: vqsjh4.elf, 6214.1.00007ffd08617000.00007ffd08638000.rw-.sdmp Binary or memory string: !V/tmp/qemu-open.czGur3\tJ
Source: vqsjh4.elf, 6214.1.00005621f74df000.00005621f7542000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/sh4

Stealing of Sensitive Information

barindex
Source: Yara match File source: vqsjh4.elf, type: SAMPLE
Source: Yara match File source: 6214.1.00007f7298400000.00007f729841b000.r-x.sdmp, type: MEMORY
Source: Yara match File source: vqsjh4.elf, type: SAMPLE
Source: Yara match File source: 6214.1.00007f7298400000.00007f729841b000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: vqsjh4.elf PID: 6214, type: MEMORYSTR
Source: Yara match File source: vqsjh4.elf, type: SAMPLE
Source: Yara match File source: 6214.1.00007f7298400000.00007f729841b000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: vqsjh4.elf PID: 6214, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: vqsjh4.elf, type: SAMPLE
Source: Yara match File source: 6214.1.00007f7298400000.00007f729841b000.r-x.sdmp, type: MEMORY
Source: Yara match File source: vqsjh4.elf, type: SAMPLE
Source: Yara match File source: 6214.1.00007f7298400000.00007f729841b000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: vqsjh4.elf PID: 6214, type: MEMORYSTR
Source: Yara match File source: vqsjh4.elf, type: SAMPLE
Source: Yara match File source: 6214.1.00007f7298400000.00007f729841b000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: vqsjh4.elf PID: 6214, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs