Linux Analysis Report
NvmCe2XrqN.elf

Overview

General Information

Sample name: NvmCe2XrqN.elf
renamed because original name is a hash value
Original sample name: 0da42df48a7be5bf214fecc9a1fbeb51.elf
Analysis ID: 1427654
MD5: 0da42df48a7be5bf214fecc9a1fbeb51
SHA1: 24c740cf9b659f260059090ff401c223936aaff4
SHA256: 1a839b2b4269727dbe79fdabab344b96396a03a94404ff9f94d40b8673db396e
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
Executes the "rm" command used to delete files or directories
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: NvmCe2XrqN.elf Avira: detected
Source: NvmCe2XrqN.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:40186 -> 45.131.111.219:33966
Source: global traffic TCP traffic: 192.168.2.23:43928 -> 91.189.91.42:443
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: 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 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: NvmCe2XrqN.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 6232.1.00007f63fc400000.00007f63fc412000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: NvmCe2XrqN.elf PID: 6232, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: ELF static info symbol of initial sample .symtab present: no
Source: NvmCe2XrqN.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: 6232.1.00007f63fc400000.00007f63fc412000.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: NvmCe2XrqN.elf PID: 6232, 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
Source: /usr/bin/dash (PID: 6213) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.iJLtKB5QY8 /tmp/tmp.dt7IYfcmuf /tmp/tmp.sKYu2lEDt7 Jump to behavior
Source: /usr/bin/dash (PID: 6222) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.iJLtKB5QY8 /tmp/tmp.dt7IYfcmuf /tmp/tmp.sKYu2lEDt7 Jump to behavior

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/NvmCe2XrqN.elf (PID: 6234) File: /tmp/NvmCe2XrqN.elf Jump to behavior
Source: /tmp/NvmCe2XrqN.elf (PID: 6232) Queries kernel information via 'uname': Jump to behavior
Source: NvmCe2XrqN.elf, 6232.1.0000559bb9e13000.0000559bb9e9a000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/mips
Source: NvmCe2XrqN.elf, 6232.1.0000559bb9e13000.0000559bb9e9a000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/mips
Source: NvmCe2XrqN.elf, 6232.1.00007ffc1d708000.00007ffc1d729000.rw-.sdmp Binary or memory string: /tmp/qemu-open.tn6Ngr
Source: NvmCe2XrqN.elf, 6232.1.00007ffc1d708000.00007ffc1d729000.rw-.sdmp Binary or memory string: %s/qemu-op
Source: NvmCe2XrqN.elf, 6232.1.00007ffc1d708000.00007ffc1d729000.rw-.sdmp Binary or memory string: U/tmp/qemu-open.tn6Ngr\4
Source: NvmCe2XrqN.elf, 6232.1.00007ffc1d708000.00007ffc1d729000.rw-.sdmp Binary or memory string: /usr/bin/qemu-mips
Source: NvmCe2XrqN.elf, 6232.1.00007ffc1d708000.00007ffc1d729000.rw-.sdmp Binary or memory string: MPDIR%s/qemu-op
Source: NvmCe2XrqN.elf, 6232.1.00007ffc1d708000.00007ffc1d729000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-mips/tmp/NvmCe2XrqN.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/NvmCe2XrqN.elf

Stealing of Sensitive Information

barindex
Source: Yara match File source: NvmCe2XrqN.elf, type: SAMPLE
Source: Yara match File source: 6232.1.00007f63fc400000.00007f63fc412000.r-x.sdmp, type: MEMORY

Remote Access Functionality

barindex
Source: Yara match File source: NvmCe2XrqN.elf, type: SAMPLE
Source: Yara match File source: 6232.1.00007f63fc400000.00007f63fc412000.r-x.sdmp, type: MEMORY
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs