Linux Analysis Report
arm7-20231203-0928.elf

Overview

General Information

Sample Name: arm7-20231203-0928.elf
Analysis ID: 1352513
MD5: 8864efb6b67623c9b5296b5218359249
SHA1: 3ec2c5ce91fc19616d1b019e7699432c3527d471
SHA256: 7a1fa85c527a3e1db5c7a6935099ae483e73624a73f91532dcf8eb440acf4351
Infos:

Detection

Mirai
Score: 76
Range: 0 - 100
Whitelisted: false

Signatures

Malicious sample detected (through community Yara rule)
Antivirus / Scanner detection for submitted sample
Yara detected Mirai
Multi AV Scanner detection for submitted file
Contains symbols with names commonly found in malware
Yara signature match
Uses the "uname" system call to query kernel version information (possible evasion)
Enumerates processes within the "proc" file system
Tries to connect to HTTP servers, but all servers are down (expired dropper behavior)
Detected TCP or UDP traffic on non-standard ports
Sample and/or dropped files contains symbols with suspicious names
Sample listens on a socket

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: arm7-20231203-0928.elf Avira: detected
Source: arm7-20231203-0928.elf ReversingLabs: Detection: 67%
Source: arm7-20231203-0928.elf Virustotal: Detection: 67% Perma Link
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: global traffic TCP traffic: 192.168.2.23:56516 -> 112.213.124.199:56999
Source: /tmp/arm7-20231203-0928.elf (PID: 6205) Socket: 127.0.0.1::46157 Jump to behavior
Source: unknown DNS traffic detected: queries for: botnet2.psscc.cn
Source: unknown Network traffic detected: HTTP traffic on port 43928 -> 443
Source: unknown Network traffic detected: HTTP traffic on port 42836 -> 443
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 TCP traffic detected without corresponding DNS query: 91.189.91.43

System Summary

barindex
Source: arm7-20231203-0928.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 6205.1.00007fd34002f000.00007fd340031000.rw-.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 6205.1.00007fd340017000.00007fd340028000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: arm7-20231203-0928.elf PID: 6205, 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_init
Source: ELF static info symbol of initial sample Name: attack_kill_all
Source: ELF static info symbol of initial sample Name: attack_method_nudp
Source: ELF static info symbol of initial sample Name: attack_method_stdhex
Source: ELF static info symbol of initial sample Name: attack_method_tcp
Source: ELF static info symbol of initial sample Name: attack_ongoing
Source: ELF static info symbol of initial sample Name: attack_parse
Source: arm7-20231203-0928.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: 6205.1.00007fd34002f000.00007fd340031000.rw-.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: 6205.1.00007fd340017000.00007fd340028000.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: arm7-20231203-0928.elf PID: 6205, 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: arm7-20231203-0928.elf ELF static info symbol of initial sample: __gnu_unwind_execute
Source: arm7-20231203-0928.elf ELF static info symbol of initial sample: hexPayload
Source: classification engine Classification label: mal76.troj.linELF@0/0@17/0
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/6230/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/6232/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/6231/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/6233/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1582/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/3088/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/230/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/110/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/231/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/111/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/232/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1579/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/112/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/233/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1699/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/113/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/234/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1335/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1698/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/114/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/235/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1334/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1576/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/2302/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/115/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/236/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/116/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/237/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/117/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/118/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/910/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/6227/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/119/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/6226/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/912/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/6229/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/6228/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/10/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/2307/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/11/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/918/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/12/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/13/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/14/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/15/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/16/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/17/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/18/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1594/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/120/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/121/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1349/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/122/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/243/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/123/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/2/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/124/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/3/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/4/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/125/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/126/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1344/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1465/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1586/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/127/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/6/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/248/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/128/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/249/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1463/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/800/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/9/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/801/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/20/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/21/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1900/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/22/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/23/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/24/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/25/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/26/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/27/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/28/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/29/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/491/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/250/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/130/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/251/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/252/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/132/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/253/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/254/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/255/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/256/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1599/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/257/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1477/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/379/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/258/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1476/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/259/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/1475/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/936/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6209) File opened: /proc/30/cmdline Jump to behavior
Source: /tmp/arm7-20231203-0928.elf (PID: 6205) Queries kernel information via 'uname': Jump to behavior
Source: arm7-20231203-0928.elf, 6205.1.00007fff4d665000.00007fff4d686000.rw-.sdmp Binary or memory string: ^x86_64/usr/bin/qemu-arm/tmp/arm7-20231203-0928.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/arm7-20231203-0928.elf
Source: arm7-20231203-0928.elf, 6205.1.00005648568bc000.0000564856a0b000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: arm7-20231203-0928.elf, 6205.1.00007fff4d665000.00007fff4d686000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: arm7-20231203-0928.elf, 6205.1.00005648568bc000.0000564856a0b000.rw-.sdmp Binary or memory string: VHV!/etc/qemu-binfmt/arm

Stealing of Sensitive Information

barindex
Source: Yara match File source: arm7-20231203-0928.elf, type: SAMPLE

Remote Access Functionality

barindex
Source: Yara match File source: arm7-20231203-0928.elf, type: SAMPLE
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs