Linux Analysis Report
EOtMo9xTFK.elf

Overview

General Information

Sample name: EOtMo9xTFK.elf
renamed because original name is a hash value
Original sample name: 6c3a700a58d2e98fc03e53ce0eef9e38.elf
Analysis ID: 1427667
MD5: 6c3a700a58d2e98fc03e53ce0eef9e38
SHA1: 48bd6184c08d72c98d89fd5f077194e6c25bb7da
SHA256: f79aeac6047bf28872231a7c92c0e6bdb5648fca032a4485d6370625e021a646
Tags: 32elfmiraimotorola
Infos:

Detection

Mirai
Score: 84
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
Performs DNS queries to domains with low reputation
Queries the IP of a very long domain name
Sample deletes itself
Creates hidden files and/or directories
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 has stripped symbol table
Sample tries to kill a process (SIGKILL)
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: EOtMo9xTFK.elf Avira: detected
Source: EOtMo9xTFK.elf ReversingLabs: Detection: 39%
Source: EOtMo9xTFK.elf String: EOF/proc//proc/%s/cmdlinewgetcurlftpechokillbashrebootshutdownhaltpoweroff[locker] killed process: %s ;; pid: %d

Networking

barindex
Source: DNS query: kovey.mezo-api.xyz
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.b> f:66a0PV!E(R:[5Yb> fc<OOPV!a0EA
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.b> f66a0PV!E(-:5hYb> fOOPV!a0EA
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.b> fp66a0PV!E(:5I%Yb> frOOPV!a0EA
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.b> f66a0PV!E(95Yb> fOOPV!a0EA
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.b> f66a0PV!E(e:H5PYb> fNNPV!a0E@
Source: global traffic TCP traffic: 192.168.2.14:57258 -> 89.190.156.145:7733
Source: global traffic TCP traffic: 192.168.2.14:40942 -> 45.131.111.219:33966
Source: unknown TCP traffic detected without corresponding DNS query: 89.190.156.145
Source: unknown TCP traffic detected without corresponding DNS query: 89.190.156.145
Source: unknown TCP traffic detected without corresponding DNS query: 89.190.156.145
Source: unknown TCP traffic detected without corresponding DNS query: 89.190.156.145
Source: unknown TCP traffic detected without corresponding DNS query: 89.190.156.145
Source: unknown TCP traffic detected without corresponding DNS query: 89.190.156.145
Source: unknown TCP traffic detected without corresponding DNS query: 89.190.156.145
Source: unknown DNS traffic detected: queries for: kovey.mezo-api.xyz

System Summary

barindex
Source: EOtMo9xTFK.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5536.1.00007f1100001000.00007f1100018000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: EOtMo9xTFK.elf PID: 5536, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: ELF static info symbol of initial sample .symtab present: no
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) SIGKILL sent: pid: 1639, result: successful Jump to behavior
Source: EOtMo9xTFK.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: 5536.1.00007f1100001000.00007f1100018000.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: EOtMo9xTFK.elf PID: 5536, 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: mal84.troj.evad.linELF@0/1@6/0
Source: /usr/libexec/gsd-rfkill (PID: 5545) Directory: <invalid fd (9)>/.. Jump to behavior
Source: /usr/libexec/gsd-rfkill (PID: 5545) Directory: <invalid fd (8)>/.. Jump to behavior
Source: /lib/systemd/systemd-hostnamed (PID: 5550) Directory: <invalid fd (10)>/.. Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/1583/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/110/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/111/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/112/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/113/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/234/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/1577/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/114/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/235/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/115/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/116/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/117/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/118/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/119/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/10/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/917/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/11/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/12/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/13/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/14/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/15/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/16/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/17/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/18/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/19/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/1593/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/240/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/120/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/121/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/242/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/122/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/243/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/2/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/123/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/244/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/1589/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/3/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/124/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/245/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/1588/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/125/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/4/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/246/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/126/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/5/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/247/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/127/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/6/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/248/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/128/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/7/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/249/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/8/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/129/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/800/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/9/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/801/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/803/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/20/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/806/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/21/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/807/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/928/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/22/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/23/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/24/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/25/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/26/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/27/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/28/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/29/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/490/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/250/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/130/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/251/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/131/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/252/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/132/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/253/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/254/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/255/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/135/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/256/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/1599/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/257/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/378/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/258/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/259/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/30/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/35/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/1371/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/260/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/261/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/262/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/142/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/263/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/264/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/265/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/145/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/266/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/1369/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/267/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/268/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/269/cmdline Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5540) File opened: /proc/940/cmdline Jump to behavior

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/EOtMo9xTFK.elf (PID: 5538) File: /tmp/EOtMo9xTFK.elf Jump to behavior
Source: /tmp/EOtMo9xTFK.elf (PID: 5536) Queries kernel information via 'uname': Jump to behavior
Source: /lib/systemd/systemd-hostnamed (PID: 5550) Queries kernel information via 'uname': Jump to behavior
Source: EOtMo9xTFK.elf, 5536.1.00007ffee87db000.00007ffee87fc000.rw-.sdmp Binary or memory string: rax86_64/usr/bin/qemu-m68k/tmp/EOtMo9xTFK.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/EOtMo9xTFK.elf
Source: EOtMo9xTFK.elf, 5536.1.00007ffee87db000.00007ffee87fc000.rw-.sdmp Binary or memory string: /qemu-open.XXXXX
Source: EOtMo9xTFK.elf, 5536.1.000055fa24121000.000055fa241a6000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/m68k
Source: EOtMo9xTFK.elf, 5536.1.00007ffee87db000.00007ffee87fc000.rw-.sdmp Binary or memory string: /tmp/qemu-open.sQEKTP
Source: EOtMo9xTFK.elf, 5536.1.00007ffee87db000.00007ffee87fc000.rw-.sdmp Binary or memory string: /usr/bin/qemu-m68k
Source: EOtMo9xTFK.elf, 5536.1.000055fa24121000.000055fa241a6000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/m68k
Source: EOtMo9xTFK.elf, 5536.1.00007ffee87db000.00007ffee87fc000.rw-.sdmp Binary or memory string: U/tmp/qemu-open.sQEKTP\

Stealing of Sensitive Information

barindex
Source: Yara match File source: EOtMo9xTFK.elf, type: SAMPLE
Source: Yara match File source: 5536.1.00007f1100001000.00007f1100018000.r-x.sdmp, type: MEMORY

Remote Access Functionality

barindex
Source: Yara match File source: EOtMo9xTFK.elf, type: SAMPLE
Source: Yara match File source: 5536.1.00007f1100001000.00007f1100018000.r-x.sdmp, type: MEMORY
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs