Linux Analysis Report
eGjHpgUwlt.elf

Overview

General Information

Sample name: eGjHpgUwlt.elf
renamed because original name is a hash value
Original sample name: 0d4427021e9e77d0c1e9a1c16068bb4e.elf
Analysis ID: 1428668
MD5: 0d4427021e9e77d0c1e9a1c16068bb4e
SHA1: 80121e456c1ec9f1bf065dedd5a6b88254ba5fe2
SHA256: cb53eb65e9c8c50aa981115e5780bb47bef8d9c62032f345881cfff37649df22
Tags: 32elfmiraisparc
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
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: eGjHpgUwlt.elf Avira: detected
Source: eGjHpgUwlt.elf ReversingLabs: Detection: 50%
Source: eGjHpgUwlt.elf Virustotal: Detection: 43% Perma Link
Source: eGjHpgUwlt.elf String: HTTP/1.1 200 OKcundi.armcundi.arm5cundi.arm6cundi.arm7cundi.mipscundi.mpslcundi.x86_64cundi.sh4/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/bin/busybox/usr/lib/systemd/systemd/usr/libexec/openssh/sftp-serverusr/shellmnt/sys/bin/boot/run/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/wgetcurlbusyboxecho/proc/proc/%d/cmdlinerabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ3f
Source: unknown TCP traffic detected without corresponding DNS query: 185.125.190.26
Source: unknown TCP traffic detected without corresponding DNS query: 34.254.182.186
Source: unknown TCP traffic detected without corresponding DNS query: 34.254.182.186
Source: unknown TCP traffic detected without corresponding DNS query: 185.125.190.26
Source: unknown DNS traffic detected: queries for: daisy.ubuntu.com
Source: unknown Network traffic detected: HTTP traffic on port 48202 -> 443
Source: unknown Network traffic detected: HTTP traffic on port 443 -> 54634
Source: unknown Network traffic detected: HTTP traffic on port 54634 -> 443

System Summary

barindex
Source: eGjHpgUwlt.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5488.1.00007fde78011000.00007fde78031000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: eGjHpgUwlt.elf PID: 5488, 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: busybox
Source: Initial sample String containing 'busybox' found: HTTP/1.1 200 OKcundi.armcundi.arm5cundi.arm6cundi.arm7cundi.mipscundi.mpslcundi.x86_64cundi.sh4/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/bin/busybox/usr/lib/systemd/systemd/usr/libexec/openssh/sftp-serverusr/shellmnt/sys/bin/boot/run/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/wgetcurlbusyboxecho/proc/proc/%d/cmdlinerabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ3f
Source: ELF static info symbol of initial sample .symtab present: no
Source: eGjHpgUwlt.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: 5488.1.00007fde78011000.00007fde78031000.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: eGjHpgUwlt.elf PID: 5488, 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@2/0
Source: /usr/bin/dash (PID: 5551) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.P5kaU2NLuV /tmp/tmp.9vsx89EluS /tmp/tmp.7kQWejhKmo Jump to behavior
Source: /usr/bin/dash (PID: 5552) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.P5kaU2NLuV /tmp/tmp.9vsx89EluS /tmp/tmp.7kQWejhKmo Jump to behavior
Source: /tmp/eGjHpgUwlt.elf (PID: 5488) Queries kernel information via 'uname': Jump to behavior
Source: eGjHpgUwlt.elf, 5488.1.00005610cfc2d000.00005610cfc92000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/sparc
Source: eGjHpgUwlt.elf, 5488.1.00005610cfc2d000.00005610cfc92000.rw-.sdmp Binary or memory string: V!/etc/qemu-binfmt/sparc
Source: eGjHpgUwlt.elf, 5488.1.00007ffe5e340000.00007ffe5e361000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-sparc/tmp/eGjHpgUwlt.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/eGjHpgUwlt.elf
Source: eGjHpgUwlt.elf, 5488.1.00007ffe5e340000.00007ffe5e361000.rw-.sdmp Binary or memory string: /usr/bin/qemu-sparc

Stealing of Sensitive Information

barindex
Source: Yara match File source: eGjHpgUwlt.elf, type: SAMPLE
Source: Yara match File source: 5488.1.00007fde78011000.00007fde78031000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: eGjHpgUwlt.elf PID: 5488, type: MEMORYSTR
Source: Yara match File source: eGjHpgUwlt.elf, type: SAMPLE
Source: Yara match File source: 5488.1.00007fde78011000.00007fde78031000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: eGjHpgUwlt.elf PID: 5488, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: eGjHpgUwlt.elf, type: SAMPLE
Source: Yara match File source: 5488.1.00007fde78011000.00007fde78031000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: eGjHpgUwlt.elf PID: 5488, type: MEMORYSTR
Source: Yara match File source: eGjHpgUwlt.elf, type: SAMPLE
Source: Yara match File source: 5488.1.00007fde78011000.00007fde78031000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: eGjHpgUwlt.elf PID: 5488, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs