Linux Analysis Report
sMmzRMu1P6.elf

Overview

General Information

Sample name: sMmzRMu1P6.elf
renamed because original name is a hash value
Original sample name: 38e8a7ad78afc948164bae1f1cbbcd26.elf
Analysis ID: 1427653
MD5: 38e8a7ad78afc948164bae1f1cbbcd26
SHA1: b363ce25f3cf549544252cc51122d8bbbcc9b8f0
SHA256: cba079fbaa1ebedbb75d9c0dc4e013c63c7ff0a62aac7dde7cb605a4324b5d56
Tags: 32armelfmirai
Infos:

Detection

Mirai
Score: 88
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
Contains symbols with names commonly found in malware
Performs DNS queries to domains with low reputation
Queries the IP of a very long domain name
Sample deletes itself
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 and/or dropped files contains symbols with suspicious names
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: sMmzRMu1P6.elf Avira: detected
Source: sMmzRMu1P6.elf ReversingLabs: Detection: 55%
Source: sMmzRMu1P6.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.Y; f66a0PV!E(Yj%5AY; fOOPV!a0EAuH@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.Y; fxP66a0PV!E(^:5Y.AY; fQOOPV!a0EAuP@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.Y; f66a0PV!E(:5AY; f]OOPV!a0EAud@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.Y; f66a0PV!E(7:vU52UAY; fOOPV!a0EAuy@@l
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.Y; f66a0PV!E(:5b(%AY; fJJPV!a0E<n@@k
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.v; f+66a0PV!E(:5A@v; f,OOPV!a0EA}@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.v; f266a0PV!E(^:5..Z@v; fOOPV!a0EA~@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.v; f]66a0PV!E(E-:h5,@v; fT_OOPV!a0EA~@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.v; f~66a0PV!E(X?9V5vF@v; fOOPV!a0EA~@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.v; f66a0PV!E(k:BU5G[A@v; fJJPV!a0E<@@+
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.; fB66a0PV!E(95B; f%DOOPV!a0EA?@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.; f66a0PV!E(9]5B; fOOPV!a0EAJ@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.; ft66a0PV!E(I9e75B; fSuOOPV!a0EAO@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.; f66a0PV!E(-9-5yB; f>OOPV!a0EAS@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.; fc66a0PV!E(H*j5U5B; fdJJPV!a0E<@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.; f}66a0PV!E(:c59; fOOPV!a0EA@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.; fx66a0PV!E(:5"; fOOPV!a0EA@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.; f66a0PV!E(?mj>5t; fOOPV!a0EA@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.; fL66a0PV!E(Z&:S5; fMOOPV!a0EA)@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.; f66a0PV!E(`:Ml5D; fxJJPV!a0E<@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.; fv66a0PV!E(:-52V; fwOOPV!a0EA{@@j
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.; f66a0PV!E(_:N}52V; f}OOPV!a0EA@@[
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.; fe66a0PV!E(:5e2V; fgOOPV!a0EA@@H
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.; f66a0PV!E(4jH5|2V; fOOPV!a0EA@@=
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.; f66a0PV!E(:j5y2V; fJJPV!a0E<w@@/
Source: global traffic TCP traffic: 192.168.2.14:40928 -> 45.131.111.219:33966
Source: global traffic TCP traffic: 192.168.2.14:57248 -> 89.190.156.145:7733
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: sMmzRMu1P6.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5513.1.00007f5730017000.00007f5730031000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: sMmzRMu1P6.elf PID: 5513, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: ELF static info symbol of initial sample Name: attack.c
Source: ELF static info symbol of initial sample Name: attack_get_opt_int
Source: ELF static info symbol of initial sample Name: attack_get_opt_ip
Source: ELF static info symbol of initial sample Name: attack_gre.c
Source: ELF static info symbol of initial sample Name: attack_gre_eth
Source: ELF static info symbol of initial sample Name: attack_gre_ip
Source: ELF static info symbol of initial sample Name: attack_init
Source: sMmzRMu1P6.elf ELF static info symbol of initial sample: __gnu_unwind_execute
Source: /tmp/sMmzRMu1P6.elf (PID: 5518) SIGKILL sent: pid: 888, result: successful Jump to behavior
Source: sMmzRMu1P6.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: 5513.1.00007f5730017000.00007f5730031000.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: sMmzRMu1P6.elf PID: 5513, 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: mal88.troj.evad.linELF@0/1@26/0
Source: /tmp/sMmzRMu1P6.elf (PID: 5518) File opened: /proc/11/cmdline Jump to behavior
Source: /tmp/sMmzRMu1P6.elf (PID: 5518) File opened: /proc/22/cmdline Jump to behavior
Source: /tmp/sMmzRMu1P6.elf (PID: 5518) File opened: /proc/55/cmdline Jump to behavior
Source: /tmp/sMmzRMu1P6.elf (PID: 5518) File opened: /proc/66/cmdline Jump to behavior
Source: /tmp/sMmzRMu1P6.elf (PID: 5518) File opened: /proc/88/cmdline Jump to behavior
Source: /tmp/sMmzRMu1P6.elf (PID: 5518) File opened: /proc/99/cmdline Jump to behavior
Source: /tmp/sMmzRMu1P6.elf (PID: 5518) File opened: /proc/111/cmdline Jump to behavior
Source: /tmp/sMmzRMu1P6.elf (PID: 5518) File opened: /proc/222/cmdline Jump to behavior
Source: /tmp/sMmzRMu1P6.elf (PID: 5518) File opened: /proc/333/cmdline Jump to behavior
Source: /tmp/sMmzRMu1P6.elf (PID: 5518) File opened: /proc/33333/\xab/cmdline Jump to behavior
Source: /tmp/sMmzRMu1P6.elf (PID: 5518) File opened: /proc/777/cmdline Jump to behavior
Source: /tmp/sMmzRMu1P6.elf (PID: 5518) File opened: /proc/888/cmdline Jump to behavior
Source: /tmp/sMmzRMu1P6.elf (PID: 5518) File opened: /proc/999/cmdline Jump to behavior

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/sMmzRMu1P6.elf (PID: 5516) File: /tmp/sMmzRMu1P6.elf Jump to behavior
Source: /tmp/sMmzRMu1P6.elf (PID: 5513) Queries kernel information via 'uname': Jump to behavior
Source: sMmzRMu1P6.elf, 5513.1.00007ffc12fe1000.00007ffc13002000.rw-.sdmp Binary or memory string: U/tmp/qemu-open.uOrfn6:e
Source: sMmzRMu1P6.elf, 5513.1.00007ffc12fe1000.00007ffc13002000.rw-.sdmp Binary or memory string: /tmp/qemu-open.uOrfn6
Source: sMmzRMu1P6.elf, 5513.1.000055ef5599e000.000055ef55aef000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/arm
Source: sMmzRMu1P6.elf, 5513.1.000055ef5599e000.000055ef55aef000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: sMmzRMu1P6.elf, 5513.1.00007ffc12fe1000.00007ffc13002000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: sMmzRMu1P6.elf, 5513.1.00007ffc12fe1000.00007ffc13002000.rw-.sdmp Binary or memory string: J7x86_64/usr/bin/qemu-arm/tmp/sMmzRMu1P6.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/sMmzRMu1P6.elf

Stealing of Sensitive Information

barindex
Source: Yara match File source: sMmzRMu1P6.elf, type: SAMPLE
Source: Yara match File source: 5513.1.00007f5730017000.00007f5730031000.r-x.sdmp, type: MEMORY

Remote Access Functionality

barindex
Source: Yara match File source: sMmzRMu1P6.elf, type: SAMPLE
Source: Yara match File source: 5513.1.00007f5730017000.00007f5730031000.r-x.sdmp, type: MEMORY
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs