Linux Analysis Report
na.elf

Overview

General Information

Sample name: na.elf
Analysis ID: 1543687
MD5: 773f482f8fc04e6f49d5f0e44c6ffcfc
SHA1: 91054143fd1b7a8c81f4cf8a881de24e6c91f78c
SHA256: 8d10a95e25f986f6b9b0589c3544476e0017caac85fcf8a656245226b1ea32ca
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
Contains symbols with names commonly found in malware
Machine Learning detection for sample
Opens /proc/net/* files useful for finding connected devices and routers
Detected TCP or UDP traffic on non-standard ports
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)
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: na.elf Avira: detected
Source: na.elf Malware Configuration Extractor: Gafgyt {"C2 url": "93.123.85.205:7777"}
Source: na.elf ReversingLabs: Detection: 68%
Source: na.elf Joe Sandbox ML: detected

Spreading

barindex
Source: /tmp/na.elf (PID: 5430) 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.13:39750 -> 93.123.85.205:7777
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.13:39744 -> 93.123.85.205:7777
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.13:39748 -> 93.123.85.205:7777
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.13:39746 -> 93.123.85.205:7777
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.13:39760 -> 93.123.85.205:7777
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.13:39752 -> 93.123.85.205:7777
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.13:39758 -> 93.123.85.205:7777
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.13:39756 -> 93.123.85.205:7777
Source: Network traffic Suricata IDS: 2846526 - Severity 1 - ETPRO MALWARE ELF/BASHLITE Variant CnC Checkin : 192.168.2.13:39754 -> 93.123.85.205:7777
Source: global traffic TCP traffic: 192.168.2.13:39744 -> 93.123.85.205:7777
Source: global traffic TCP traffic: 192.168.2.13:48202 -> 185.125.190.26:443
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 185.125.190.26
Source: unknown TCP traffic detected without corresponding DNS query: 185.125.190.26
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.205
Source: global traffic DNS traffic detected: DNS query: daisy.ubuntu.com
Source: unknown Network traffic detected: HTTP traffic on port 48202 -> 443

System Summary

barindex
Source: na.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: na.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_6122acdf Author: unknown
Source: na.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_1b2e2a3a Author: unknown
Source: na.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_9127f7be Author: unknown
Source: 5431.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5431.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_6122acdf Author: unknown
Source: 5431.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_1b2e2a3a Author: unknown
Source: 5431.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_9127f7be Author: unknown
Source: 5430.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5430.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_6122acdf Author: unknown
Source: 5430.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_1b2e2a3a Author: unknown
Source: 5430.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_9127f7be Author: unknown
Source: Process Memory Space: na.elf PID: 5430, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: na.elf PID: 5431, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: ELF static info symbol of initial sample Name: vseattack
Source: na.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: na.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_6122acdf os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = 283275705c729be23d7dc75056388ecae00390bd25ee7b66b0cfc9b85feee212, id = 6122acdf-1eef-45ea-83ea-699d21c2dc20, last_modified = 2021-09-16
Source: na.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_1b2e2a3a reference_sample = 899c072730590003b98278bdda21c15ecaa2f49ad51e417ed59e88caf054a72d, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = 6f24b67d0a6a4fc4e1cfea5a5414b82af1332a3e6074eb2178aee6b27702b407, id = 1b2e2a3a-1302-41c7-be99-43edb5563294, last_modified = 2021-09-16
Source: na.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_9127f7be reference_sample = 899c072730590003b98278bdda21c15ecaa2f49ad51e417ed59e88caf054a72d, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = 72c742cb8b11ddf030e10f67e13c0392748dcd970394ec77ace3d2baa705a375, id = 9127f7be-6e82-46a1-9f11-0b3570b0cd76, last_modified = 2021-09-16
Source: 5431.1.0000000008048000.0000000008057000.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: 5431.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_6122acdf os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = 283275705c729be23d7dc75056388ecae00390bd25ee7b66b0cfc9b85feee212, id = 6122acdf-1eef-45ea-83ea-699d21c2dc20, last_modified = 2021-09-16
Source: 5431.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_1b2e2a3a reference_sample = 899c072730590003b98278bdda21c15ecaa2f49ad51e417ed59e88caf054a72d, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = 6f24b67d0a6a4fc4e1cfea5a5414b82af1332a3e6074eb2178aee6b27702b407, id = 1b2e2a3a-1302-41c7-be99-43edb5563294, last_modified = 2021-09-16
Source: 5431.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_9127f7be reference_sample = 899c072730590003b98278bdda21c15ecaa2f49ad51e417ed59e88caf054a72d, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = 72c742cb8b11ddf030e10f67e13c0392748dcd970394ec77ace3d2baa705a375, id = 9127f7be-6e82-46a1-9f11-0b3570b0cd76, last_modified = 2021-09-16
Source: 5430.1.0000000008048000.0000000008057000.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: 5430.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_6122acdf os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = 283275705c729be23d7dc75056388ecae00390bd25ee7b66b0cfc9b85feee212, id = 6122acdf-1eef-45ea-83ea-699d21c2dc20, last_modified = 2021-09-16
Source: 5430.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_1b2e2a3a reference_sample = 899c072730590003b98278bdda21c15ecaa2f49ad51e417ed59e88caf054a72d, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = 6f24b67d0a6a4fc4e1cfea5a5414b82af1332a3e6074eb2178aee6b27702b407, id = 1b2e2a3a-1302-41c7-be99-43edb5563294, last_modified = 2021-09-16
Source: 5430.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_9127f7be reference_sample = 899c072730590003b98278bdda21c15ecaa2f49ad51e417ed59e88caf054a72d, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = 72c742cb8b11ddf030e10f67e13c0392748dcd970394ec77ace3d2baa705a375, id = 9127f7be-6e82-46a1-9f11-0b3570b0cd76, last_modified = 2021-09-16
Source: Process Memory Space: na.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: Process Memory Space: na.elf PID: 5431, 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: na.elf ELF static info symbol of initial sample: libc/sysdeps/linux/i386/crt1.S
Source: na.elf ELF static info symbol of initial sample: libc/sysdeps/linux/i386/crti.S
Source: na.elf ELF static info symbol of initial sample: libc/sysdeps/linux/i386/crtn.S
Source: na.elf ELF static info symbol of initial sample: libc/sysdeps/linux/i386/mmap.S

Stealing of Sensitive Information

barindex
Source: Yara match File source: na.elf, type: SAMPLE
Source: Yara match File source: na.elf, type: SAMPLE
Source: Yara match File source: 5431.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5430.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: na.elf PID: 5430, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: na.elf PID: 5431, 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: na.elf, type: SAMPLE
Source: Yara match File source: na.elf, type: SAMPLE
Source: Yara match File source: 5431.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5430.1.0000000008048000.0000000008057000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: na.elf PID: 5430, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: na.elf PID: 5431, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs