Linux Analysis Report
armv7l.elf

Overview

General Information

Sample name: armv7l.elf
Analysis ID: 1541807
MD5: 706768b292e17a77deeccc7c6abe5191
SHA1: 9eb46ece03182210efcd10c535931d7d947eec82
SHA256: 32af747bf4b6d75279fa94ccf0c5106f3690c70c549d325a4838d6a878df51d8
Tags: elfuser-abuse_ch
Infos:

Detection

Gafgyt, Mirai
Score: 100
Range: 0 - 100
Whitelisted: false

Signatures

Antivirus / Scanner detection for submitted sample
Found malware configuration
Malicious sample detected (through community Yara rule)
Multi AV Scanner detection for submitted file
Suricata IDS alerts for network traffic
Yara detected Gafgyt
Yara detected Mirai
Opens /proc/net/* files useful for finding connected devices and routers
Detected TCP or UDP traffic on non-standard ports
Sample and/or dropped files contains symbols with suspicious names
Sample contains strings that are user agent strings indicative of HTTP manipulation
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
Bashlite, Gafgyt Bashlite is a malware family which infects Linux systems in order to launch distributed denial-of-service attacks (DDoS). Originally it was also known under the name Bashdoor, but this term now refers to the exploit method used by the malware. It has been used to launch attacks of up to 400 Gbps. No Attribution https://malpedia.caad.fkie.fraunhofer.de/details/elf.bashlite
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: armv7l.elf Avira: detected
Source: armv7l.elf Malware Configuration Extractor: Gafgyt {"C2 url": "150.241.88.132:25565"}
Source: armv7l.elf Virustotal: Detection: 65% Perma Link
Source: armv7l.elf ReversingLabs: Detection: 65%

Spreading

barindex
Source: /tmp/armv7l.elf (PID: 5483) Opens: /proc/net/route Jump to behavior

Networking

barindex
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42178 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42166 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42164 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42194 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42162 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42172 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42170 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42196 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42174 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42160 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42168 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42180 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42176 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42206 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42184 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42198 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42186 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42188 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42208 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42210 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42200 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42204 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42190 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42202 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42182 -> 150.241.88.132:25565
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.14:42192 -> 150.241.88.132:25565
Source: global traffic TCP traffic: 192.168.2.14:42160 -> 150.241.88.132:25565
Source: global traffic TCP traffic: 192.168.2.14:46540 -> 185.125.190.26:443
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 185.125.190.26
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 185.125.190.26
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.88.132
Source: global traffic DNS traffic detected: DNS query: daisy.ubuntu.com
Source: unknown Network traffic detected: HTTP traffic on port 46540 -> 443

System Summary

barindex
Source: armv7l.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5483.1.00007f6958017000.00007f695802f000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5485.1.00007f6958017000.00007f695802f000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: armv7l.elf PID: 5483, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: armv7l.elf PID: 5485, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: armv7l.elf ELF static info symbol of initial sample: __gnu_unwind_execute
Source: armv7l.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: 5483.1.00007f6958017000.00007f695802f000.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: 5485.1.00007f6958017000.00007f695802f000.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: armv7l.elf PID: 5483, 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: Process Memory Space: armv7l.elf PID: 5485, 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: mal100.spre.troj.linELF@0/0@2/0
Source: /tmp/armv7l.elf (PID: 5483) Queries kernel information via 'uname': Jump to behavior
Source: armv7l.elf, 5483.1.00007ffeff093000.00007ffeff0b4000.rw-.sdmp, armv7l.elf, 5485.1.00007ffeff093000.00007ffeff0b4000.rw-.sdmp Binary or memory string: bx86_64/usr/bin/qemu-arm/tmp/armv7l.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/armv7l.elf
Source: armv7l.elf, 5483.1.000055e5eb6c9000.000055e5eb7f7000.rw-.sdmp, armv7l.elf, 5485.1.000055e5eb6c9000.000055e5eb7f7000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/arm
Source: armv7l.elf, 5483.1.000055e5eb6c9000.000055e5eb7f7000.rw-.sdmp, armv7l.elf, 5485.1.000055e5eb6c9000.000055e5eb7f7000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: armv7l.elf, 5483.1.00007ffeff093000.00007ffeff0b4000.rw-.sdmp, armv7l.elf, 5485.1.00007ffeff093000.00007ffeff0b4000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm

Stealing of Sensitive Information

barindex
Source: Yara match File source: armv7l.elf, type: SAMPLE
Source: Yara match File source: armv7l.elf, type: SAMPLE
Source: Yara match File source: 5483.1.00007f6958017000.00007f695802f000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5485.1.00007f6958017000.00007f695802f000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: armv7l.elf PID: 5483, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: armv7l.elf PID: 5485, type: MEMORYSTR
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 5.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36

Remote Access Functionality

barindex
Source: Yara match File source: armv7l.elf, type: SAMPLE
Source: Yara match File source: armv7l.elf, type: SAMPLE
Source: Yara match File source: 5483.1.00007f6958017000.00007f695802f000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5485.1.00007f6958017000.00007f695802f000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: armv7l.elf PID: 5483, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: armv7l.elf PID: 5485, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs