Linux Analysis Report
FwLad7Fxwv.elf

Overview

General Information

Sample name: FwLad7Fxwv.elf
renamed because original name is a hash value
Original sample name: 413fedc45da2ad408f91fe2d6ecc830a.elf
Analysis ID: 1427649
MD5: 413fedc45da2ad408f91fe2d6ecc830a
SHA1: 4d78c79c811b3fd8b9f1ee2c6c57e8e2d5508dfd
SHA256: f80cd3259f269a6a1b266178c8d3cb9b4d5774427a67371d382adcffa53f98af
Tags: 32elfmipsmirai
Infos:

Detection

Mirai
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
Performs DNS queries to domains with low reputation
Sample deletes itself
Detected TCP or UDP traffic on non-standard ports
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: FwLad7Fxwv.elf Avira: detected
Source: FwLad7Fxwv.elf ReversingLabs: Detection: 39%

Networking

barindex
Source: DNS query: kovey.mezo-api.xyz
Source: DNS query: kovey.mezo-api.xyz
Source: DNS query: kovey.mezo-api.xyz
Source: DNS query: kovey.mezo-api.xyz
Source: DNS query: kovey.mezo-api.xyz
Source: DNS query: kovey.mezo-api.xyz
Source: DNS query: kovey.mezo-api.xyz
Source: DNS query: kovey.mezo-api.xyz
Source: DNS query: kovey.mezo-api.xyz
Source: DNS query: kovey.mezo-api.xyz
Source: global traffic TCP traffic: 192.168.2.23:40172 -> 45.131.111.219:33966
Source: global traffic TCP traffic: 192.168.2.23:42836 -> 91.189.91.43:443
Source: global traffic TCP traffic: 192.168.2.23:42516 -> 109.202.202.202:80
Source: global traffic TCP traffic: 192.168.2.23:43928 -> 91.189.91.42:443
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.43
Source: unknown TCP traffic detected without corresponding DNS query: 109.202.202.202
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.43
Source: unknown TCP traffic detected without corresponding DNS query: 109.202.202.202
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown DNS traffic detected: queries for: kovey.mezo-api.xyz
Source: unknown Network traffic detected: HTTP traffic on port 43928 -> 443
Source: unknown Network traffic detected: HTTP traffic on port 42836 -> 443

System Summary

barindex
Source: FwLad7Fxwv.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 6236.1.00007f3000400000.00007f3000413000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: FwLad7Fxwv.elf PID: 6236, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: ELF static info symbol of initial sample .symtab present: no
Source: FwLad7Fxwv.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: 6236.1.00007f3000400000.00007f3000413000.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: FwLad7Fxwv.elf PID: 6236, 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.evad.linELF@0/1@10/0

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/FwLad7Fxwv.elf (PID: 6238) File: /tmp/FwLad7Fxwv.elf Jump to behavior
Source: /tmp/FwLad7Fxwv.elf (PID: 6236) Queries kernel information via 'uname': Jump to behavior
Source: FwLad7Fxwv.elf, 6236.1.00007ffe50a96000.00007ffe50ab7000.rw-.sdmp Binary or memory string: U/tmp/qemu-open.AaDJZI\d
Source: FwLad7Fxwv.elf, 6236.1.00005584a634a000.00005584a63d1000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/mipsel
Source: FwLad7Fxwv.elf, 6236.1.00007ffe50a96000.00007ffe50ab7000.rw-.sdmp Binary or memory string: /qemu-open.XXXXX
Source: FwLad7Fxwv.elf, 6236.1.00007ffe50a96000.00007ffe50ab7000.rw-.sdmp Binary or memory string: /tmp/qemu-open.AaDJZI
Source: FwLad7Fxwv.elf, 6236.1.00005584a634a000.00005584a63d1000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/mipsel
Source: FwLad7Fxwv.elf, 6236.1.00007ffe50a96000.00007ffe50ab7000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-mipsel/tmp/FwLad7Fxwv.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/FwLad7Fxwv.elf
Source: FwLad7Fxwv.elf, 6236.1.00007ffe50a96000.00007ffe50ab7000.rw-.sdmp Binary or memory string: /usr/bin/qemu-mipsel

Stealing of Sensitive Information

barindex
Source: Yara match File source: FwLad7Fxwv.elf, type: SAMPLE
Source: Yara match File source: 6236.1.00007f3000400000.00007f3000413000.r-x.sdmp, type: MEMORY

Remote Access Functionality

barindex
Source: Yara match File source: FwLad7Fxwv.elf, type: SAMPLE
Source: Yara match File source: 6236.1.00007f3000400000.00007f3000413000.r-x.sdmp, type: MEMORY
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs