Linux Analysis Report
ROxR8Lw6ug.elf

Overview

General Information

Sample name: ROxR8Lw6ug.elf
renamed because original name is a hash value
Original sample name: 8ab9e5097af5b534ae8474120c39e41c.elf
Analysis ID: 1428202
MD5: 8ab9e5097af5b534ae8474120c39e41c
SHA1: c6f98430a9e4cc3aa3944210859cbb54b49a2a0d
SHA256: ff67d150e20671b3f93f516f8e3d2164e146b976c725907d9e269971e8f1f40f
Tags: 32armelfmirai
Infos:

Detection

Mirai, Okiru
Score: 80
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
Executes the "rm" command used to delete files or directories
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
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: ROxR8Lw6ug.elf Avira: detected
Source: ROxR8Lw6ug.elf ReversingLabs: Detection: 63%
Source: ROxR8Lw6ug.elf String: HTTP/1.1 200 OKbot.armbot.arm5bot.arm6bot.arm7bot.mipsbot.mpslbot.x86_64bot.sh4/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/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ3f
Source: global traffic TCP traffic: 192.168.2.23:39264 -> 34.249.145.219:443
Source: global traffic TCP traffic: 192.168.2.23:43928 -> 91.189.91.42: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: 34.249.145.219
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown TCP traffic detected without corresponding DNS query: 34.249.145.219
Source: unknown TCP traffic detected without corresponding DNS query: 34.249.145.219
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown TCP traffic detected without corresponding DNS query: 109.202.202.202
Source: unknown TCP traffic detected without corresponding DNS query: 34.249.145.219
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown Network traffic detected: HTTP traffic on port 43928 -> 443
Source: unknown Network traffic detected: HTTP traffic on port 39264 -> 443

System Summary

barindex
Source: ROxR8Lw6ug.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 6330.1.00007fde10017000.00007fde10036000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: ROxR8Lw6ug.elf PID: 6330, 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: HTTP/1.1 200 OKbot.armbot.arm5bot.arm6bot.arm7bot.mipsbot.mpslbot.x86_64bot.sh4/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/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ3f
Source: ELF static info symbol of initial sample .symtab present: no
Source: ROxR8Lw6ug.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: 6330.1.00007fde10017000.00007fde10036000.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: ROxR8Lw6ug.elf PID: 6330, 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: mal80.troj.linELF@0/0@0/0
Source: /usr/bin/dash (PID: 6396) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.v2iLAP30Pe /tmp/tmp.nW8IAxZyVx /tmp/tmp.uLXmnQv5K3 Jump to behavior
Source: /usr/bin/dash (PID: 6397) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.v2iLAP30Pe /tmp/tmp.nW8IAxZyVx /tmp/tmp.uLXmnQv5K3 Jump to behavior
Source: /tmp/ROxR8Lw6ug.elf (PID: 6330) Queries kernel information via 'uname': Jump to behavior
Source: ROxR8Lw6ug.elf, 6330.1.000055a6fd05a000.000055a6fd188000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/arm
Source: ROxR8Lw6ug.elf, 6330.1.00007ffd2a7cb000.00007ffd2a7ec000.rw-.sdmp Binary or memory string: 6x86_64/usr/bin/qemu-arm/tmp/ROxR8Lw6ug.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/ROxR8Lw6ug.elf
Source: ROxR8Lw6ug.elf, 6330.1.000055a6fd05a000.000055a6fd188000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: ROxR8Lw6ug.elf, 6330.1.00007ffd2a7cb000.00007ffd2a7ec000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: ROxR8Lw6ug.elf, 6330.1.00007ffd2a7cb000.00007ffd2a7ec000.rw-.sdmp Binary or memory string: qemu: uncaught target signal 11 (Segmentation fault) - core dumped

Stealing of Sensitive Information

barindex
Source: Yara match File source: ROxR8Lw6ug.elf, type: SAMPLE
Source: Yara match File source: 6330.1.00007fde10017000.00007fde10036000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: ROxR8Lw6ug.elf PID: 6330, type: MEMORYSTR
Source: Yara match File source: ROxR8Lw6ug.elf, type: SAMPLE
Source: Yara match File source: 6330.1.00007fde10017000.00007fde10036000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: ROxR8Lw6ug.elf PID: 6330, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: ROxR8Lw6ug.elf, type: SAMPLE
Source: Yara match File source: 6330.1.00007fde10017000.00007fde10036000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: ROxR8Lw6ug.elf PID: 6330, type: MEMORYSTR
Source: Yara match File source: ROxR8Lw6ug.elf, type: SAMPLE
Source: Yara match File source: 6330.1.00007fde10017000.00007fde10036000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: ROxR8Lw6ug.elf PID: 6330, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs