Linux Analysis Report
LPXP6wFUyX.elf

Overview

General Information

Sample name: LPXP6wFUyX.elf
renamed because original name is a hash value
Original sample name: e1d44bc6111278af4f31a7c324af0ee1.elf
Analysis ID: 1427648
MD5: e1d44bc6111278af4f31a7c324af0ee1
SHA1: 9dfba52d304084f13ac1dfd638864e9abf3f56d4
SHA256: ee752222618e6beaa0d4ecfb7357af87082268ea3ca6611663a7f5da445391b7
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
Sample and/or dropped files contains symbols with suspicious names
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: LPXP6wFUyX.elf Avira: detected
Source: LPXP6wFUyX.elf ReversingLabs: Detection: 44%

Networking

barindex
Source: DNS query: kovey.mezo-api.xyz
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz._: fw66a/PV!E(R95=c_: fOOPV!a/EA@@YE
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.`: fU66a/PV!E(:+e5ac`: fWOOPV!a/EA@@Y+
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.`: fU66a/PV!E(":75&\@c`: fOOPV!a/EA@@Y
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.`: f66a/PV!E(h,:E5B.$c`: fWOOPV!a/EA@@Y
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.`: f)66a/PV!E(:w5uc`: f,JJPV!a/E<m @@m
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.f: f>O66a/PV!E([W:R5,7f: fPOOPV!a/EAO@@W
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.f: f 66a/PV!E(D:5y9of: fOOPV!a/EAe@@W
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.f: f366a/PV!E(\:5(@f: fOOPV!a/EAv@@Wq
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.f: f66a/PV!E(:5hf: fOOPV!a/EA@@Wg
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.g: fq66a/PV!E(:5CWg: f^sJJPV!a/E<~8@@\p
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.{: f66a/PV!E(:59{: fOOPV!a/EA"@@Ec
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.{: fJS66a/PV!E(ju5ps9{: fTOOPV!a/EA"@@E`
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.{: f66a/PV!E(Q9]B5.9{: fOOPV!a/EA"@@EP
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.{: f66a/PV!E(L9bJ5-9{: fOOPV!a/EA"@@EO
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.|: f66a/PV!E(5jG5F9|: fJJPV!a/E<@@
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.: f66a/PV!E(9^5G+: f^OOPV!a/EA)(@@>
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.: f<66a/PV!E(oK:>5N6P+: f>OOPV!a/EA)5@@>
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.: f66a/PV!E(t:5+: fOOPV!a/EA)J@@>
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.: fVr66a/PV!E(jh5YD+: fWtOOPV!a/EA)e@@>
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.: fk66a/PV!E(R:[r5*)t+: fJJPV!a/E<~@@\
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.: f566a/PV!E(935wh: fJOOPV!a/EA,v@@;q
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.: fm66a/PV!E(g9G}5#e: f*nOOPV!a/EA,@@;g
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.: fc66a/PV!E(?95X: fOOPV!a/EA,@@;`
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.: f^66a/PV!E(:5fy: f`OOPV!a/EA,@@;U
Source: unknown DNS traffic detected: query: kovey.mezo-api.xyz.: f66a/PV!E(:5g: f>JJPV!a/E<@@I
Source: global traffic TCP traffic: 192.168.2.13:44672 -> 45.131.111.219:33966
Source: unknown DNS traffic detected: queries for: kovey.mezo-api.xyz

System Summary

barindex
Source: LPXP6wFUyX.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5430.1.00007f4450017000.00007f445002d000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: LPXP6wFUyX.elf PID: 5430, 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: ELF static info symbol of initial sample Name: attack_method_nudp
Source: ELF static info symbol of initial sample Name: attack_method_randhex
Source: ELF static info symbol of initial sample Name: attack_method_stdhex
Source: LPXP6wFUyX.elf ELF static info symbol of initial sample: __gnu_unwind_execute
Source: LPXP6wFUyX.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: 5430.1.00007f4450017000.00007f445002d000.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: LPXP6wFUyX.elf PID: 5430, 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

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/LPXP6wFUyX.elf (PID: 5433) File: /tmp/LPXP6wFUyX.elf Jump to behavior
Source: /tmp/LPXP6wFUyX.elf (PID: 5430) Queries kernel information via 'uname': Jump to behavior
Source: LPXP6wFUyX.elf, 5430.1.00007fffaaa4c000.00007fffaaa6d000.rw-.sdmp Binary or memory string: /tmp/qemu-open.CSoa7O
Source: LPXP6wFUyX.elf, 5430.1.0000564a62a63000.0000564a62bb4000.rw-.sdmp Binary or memory string: bJV!/etc/qemu-binfmt/arm
Source: LPXP6wFUyX.elf, 5430.1.0000564a62a63000.0000564a62bb4000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: LPXP6wFUyX.elf, 5430.1.00007fffaaa4c000.00007fffaaa6d000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: LPXP6wFUyX.elf, 5430.1.00007fffaaa4c000.00007fffaaa6d000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-arm/tmp/LPXP6wFUyX.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/LPXP6wFUyX.elf
Source: LPXP6wFUyX.elf, 5430.1.00007fffaaa4c000.00007fffaaa6d000.rw-.sdmp Binary or memory string: NR`JV/tmp/qemu-open.CSoa7O:

Stealing of Sensitive Information

barindex
Source: Yara match File source: LPXP6wFUyX.elf, type: SAMPLE
Source: Yara match File source: 5430.1.00007f4450017000.00007f445002d000.r-x.sdmp, type: MEMORY

Remote Access Functionality

barindex
Source: Yara match File source: LPXP6wFUyX.elf, type: SAMPLE
Source: Yara match File source: 5430.1.00007f4450017000.00007f445002d000.r-x.sdmp, type: MEMORY
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs