Linux Analysis Report
na.elf

Overview

General Information

Sample name: na.elf
Analysis ID: 1527373
MD5: ca01519bc228ba9dd447e6094c8a1f8a
SHA1: eb2dd72442f3e78f0237eb12e0855d00c56cd51f
SHA256: 01123e09e76c2ef83063676a5b3c684cfb455708797fd1c20c9e54fcc02e8934
Tags: elfMiraiuser-abuse_ch
Infos:

Detection

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

Signatures

Antivirus / Scanner detection for submitted sample
Detected Mirai
Malicious sample detected (through community Yara rule)
Multi AV Scanner detection for submitted file
Suricata IDS alerts for network traffic
Yara detected Gafgyt
Yara detected Mirai
Yara detected Okiru
Connects to many ports of the same IP (likely port scanning)
Uses dynamic DNS services
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
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
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

AV Detection

barindex
Source: na.elf Avira: detected
Source: na.elf ReversingLabs: Detection: 65%
Source: na.elf String: HTTP/1.1 200 OKtop1hbt.armtop1hbt.arm5top1hbt.arm6top1hbt.arm7top1hbt.mipstop1hbt.mpsltop1hbt.x86_64top1hbt.sh4/proc/proc/%d/cmdlinenetstatwgetcurl/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-servershellmnt/sys/boot/media/srv/var/run/sbin/lib/etc/dev/home/Davincitelnetsshwatchdog/var/spool/var/Sofiasshd/usr/compress/bin//compress/bin/compress/usr/bashhttpdtelnetddropbearencodersystem/root/dvr_gui//root/dvr_app//anko-app//opt/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ3f

Networking

barindex
Source: Network traffic Suricata IDS: 2030490 - Severity 1 - ET MALWARE ELF/MooBot Mirai DDoS Variant CnC Checkin M1 (Group String Len 1) : 192.168.2.15:43714 -> 217.15.161.176:43957
Source: Network traffic Suricata IDS: 2030489 - Severity 1 - ET MALWARE ELF/MooBot Mirai DDoS Variant Server Response : 217.15.161.176:43957 -> 192.168.2.15:43714
Source: global traffic TCP traffic: 217.15.161.176 ports 43957,3,4,5,7,9
Source: unknown DNS query: name: bueenotgay.duckdns.org
Source: global traffic TCP traffic: 192.168.2.15:43714 -> 217.15.161.176:43957
Source: global traffic DNS traffic detected: DNS query: bueenotgay.duckdns.org

System Summary

barindex
Source: na.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5552.1.00007f7094001000.00007f7094022000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: na.elf PID: 5552, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Initial sample String containing 'busybox' found: /bin/busybox
Source: Initial sample String containing 'busybox' found: HTTP/1.1 200 OKtop1hbt.armtop1hbt.arm5top1hbt.arm6top1hbt.arm7top1hbt.mipstop1hbt.mpsltop1hbt.x86_64top1hbt.sh4/proc/proc/%d/cmdlinenetstatwgetcurl/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-servershellmnt/sys/boot/media/srv/var/run/sbin/lib/etc/dev/home/Davincitelnetsshwatchdog/var/spool/var/Sofiasshd/usr/compress/bin//compress/bin/compress/usr/bashhttpdtelnetddropbearencodersystem/root/dvr_gui//root/dvr_app//anko-app//opt/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ3f
Source: ELF static info symbol of initial sample .symtab present: no
Source: na.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: 5552.1.00007f7094001000.00007f7094022000.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: na.elf PID: 5552, 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: mal100.troj.linELF@0/1025@1/0
Source: /tmp/na.elf (PID: 5557) File opened: /proc/110/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/231/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/111/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/112/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/233/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/113/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/114/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/235/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/115/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/1333/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/116/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/1695/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/117/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/118/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/119/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/911/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/914/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/10/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/917/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/11/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/12/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/13/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/14/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/15/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/16/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/17/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/18/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/19/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/1591/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/5390/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/120/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/121/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/1/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/122/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/243/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/2/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/123/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/3/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/124/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/1588/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/125/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/4/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/246/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/126/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/5/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/127/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/6/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/1585/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/128/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/7/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/129/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/8/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/800/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/9/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/802/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/803/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/804/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/20/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/3889/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/21/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/3407/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/22/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/23/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/24/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/25/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/26/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/27/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/28/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/29/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/1484/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/490/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/250/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/130/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/251/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/131/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/132/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/133/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/1479/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/378/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/258/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/259/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/931/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/1595/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/812/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/933/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/30/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/3419/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/35/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/3310/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/260/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/261/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/262/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/142/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/263/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/264/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/265/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/145/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/266/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/267/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/268/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/3303/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/269/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/1486/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/1806/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5557) File opened: /proc/3440/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 5552) Queries kernel information via 'uname': Jump to behavior
Source: na.elf, 5552.1.000055c504b61000.000055c504be6000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/m68k
Source: na.elf, 5552.1.00007ffdbcf90000.00007ffdbcfb1000.rw-.sdmp Binary or memory string: /usr/bin/qemu-m68k
Source: na.elf, 5552.1.00007ffdbcf90000.00007ffdbcfb1000.rw-.sdmp Binary or memory string: Tx86_64/usr/bin/qemu-m68k/tmp/na.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/na.elf
Source: na.elf, 5552.1.000055c504b61000.000055c504be6000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/m68k

Stealing of Sensitive Information

barindex
Source: Yara match File source: na.elf, type: SAMPLE
Source: Yara match File source: 5552.1.00007f7094001000.00007f7094022000.r-x.sdmp, type: MEMORY
Source: Yara match File source: na.elf, type: SAMPLE
Source: Yara match File source: 5552.1.00007f7094001000.00007f7094022000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: na.elf PID: 5552, type: MEMORYSTR
Source: Yara match File source: na.elf, type: SAMPLE
Source: Yara match File source: 5552.1.00007f7094001000.00007f7094022000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: na.elf PID: 5552, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Traffic Suricata IDS: ET MALWARE ELF/MooBot Mirai DDoS Variant CnC Checkin M1 (Group String Len 1)
Source: Traffic Suricata IDS: ET MALWARE ELF/MooBot Mirai DDoS Variant Server Response
Source: Traffic Suricata IDS: ET MALWARE ELF/MooBot Mirai DDoS Variant Server Response
Source: Traffic Suricata IDS: ET MALWARE ELF/MooBot Mirai DDoS Variant Server Response
Source: Traffic Suricata IDS: ET MALWARE ELF/MooBot Mirai DDoS Variant Server Response
Source: Traffic Suricata IDS: ET MALWARE ELF/MooBot Mirai DDoS Variant Server Response
Source: Traffic Suricata IDS: ET MALWARE ELF/MooBot Mirai DDoS Variant Server Response
Source: Traffic Suricata IDS: ET MALWARE ELF/MooBot Mirai DDoS Variant Server Response
Source: Yara match File source: na.elf, type: SAMPLE
Source: Yara match File source: 5552.1.00007f7094001000.00007f7094022000.r-x.sdmp, type: MEMORY
Source: Yara match File source: na.elf, type: SAMPLE
Source: Yara match File source: 5552.1.00007f7094001000.00007f7094022000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: na.elf PID: 5552, type: MEMORYSTR
Source: Yara match File source: na.elf, type: SAMPLE
Source: Yara match File source: 5552.1.00007f7094001000.00007f7094022000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: na.elf PID: 5552, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs