Linux Analysis Report
mipsel.elf

Overview

General Information

Sample name: mipsel.elf
Analysis ID: 1541806
MD5: 68a629fd1882ecc9e907cc4addf19f61
SHA1: 57219792977c31653983e3bc601375f20047d2dc
SHA256: 354e6d9b9ad69f0ed1bdd72be49ac483f13b6de7d88a590afa8ec80ae4f2d271
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
Opens /proc/net/* files useful for finding connected devices and routers
Detected TCP or UDP traffic on non-standard ports
Executes the "rm" command used to delete files or directories
Sample contains strings that are user agent strings indicative of HTTP manipulation
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: mipsel.elf Avira: detected
Source: mipsel.elf Malware Configuration Extractor: Gafgyt {"C2 url": "150.241.95.250:25565"}
Source: mipsel.elf ReversingLabs: Detection: 60%
Source: mipsel.elf Virustotal: Detection: 64% Perma Link

Spreading

barindex
Source: /tmp/mipsel.elf (PID: 5427) 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:45276 -> 150.241.95.250:25565
Source: global traffic TCP traffic: 192.168.2.13:45276 -> 150.241.95.250:25565
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.95.250
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.95.250
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.95.250
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.95.250
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.95.250
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.95.250
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.95.250
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.95.250
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.95.250
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.95.250
Source: unknown TCP traffic detected without corresponding DNS query: 150.241.95.250
Source: global traffic DNS traffic detected: DNS query: daisy.ubuntu.com
Source: unknown Network traffic detected: HTTP traffic on port 443 -> 37678
Source: unknown Network traffic detected: HTTP traffic on port 37678 -> 443

System Summary

barindex
Source: mipsel.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5427.1.00007f2594400000.00007f2594418000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5429.1.00007f2594400000.00007f2594418000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: mipsel.elf PID: 5427, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: mipsel.elf PID: 5429, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: ELF static info symbol of initial sample Name: vseattack
Source: mipsel.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: 5427.1.00007f2594400000.00007f2594418000.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: 5429.1.00007f2594400000.00007f2594418000.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: mipsel.elf PID: 5427, 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: mipsel.elf PID: 5429, 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: mipsel.elf ELF static info symbol of initial sample: libc/string/mips/memcpy.S
Source: mipsel.elf ELF static info symbol of initial sample: libc/string/mips/memset.S
Source: mipsel.elf ELF static info symbol of initial sample: libc/sysdeps/linux/mips/crt1.S
Source: mipsel.elf ELF static info symbol of initial sample: libc/sysdeps/linux/mips/crti.S
Source: mipsel.elf ELF static info symbol of initial sample: libc/sysdeps/linux/mips/crtn.S
Source: /usr/bin/dash (PID: 5473) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.JIoHd9xZjv /tmp/tmp.asTIyI3yLq /tmp/tmp.yRuiqGAoTH Jump to behavior
Source: /usr/bin/dash (PID: 5474) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.JIoHd9xZjv /tmp/tmp.asTIyI3yLq /tmp/tmp.yRuiqGAoTH Jump to behavior
Source: /tmp/mipsel.elf (PID: 5427) Queries kernel information via 'uname': Jump to behavior
Source: mipsel.elf, 5427.1.000055d940e15000.000055d940e9c000.rw-.sdmp, mipsel.elf, 5429.1.000055d940e15000.000055d940e9c000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/mipsel
Source: mipsel.elf, 5427.1.000055d940e15000.000055d940e9c000.rw-.sdmp, mipsel.elf, 5429.1.000055d940e15000.000055d940e9c000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/mipsel
Source: mipsel.elf, 5427.1.00007fff98ae4000.00007fff98b05000.rw-.sdmp, mipsel.elf, 5429.1.00007fff98ae4000.00007fff98b05000.rw-.sdmp Binary or memory string: /usr/bin/qemu-mipsel
Source: mipsel.elf, 5427.1.00007fff98ae4000.00007fff98b05000.rw-.sdmp, mipsel.elf, 5429.1.00007fff98ae4000.00007fff98b05000.rw-.sdmp Binary or memory string: lx86_64/usr/bin/qemu-mipsel/tmp/mipsel.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/mipsel.elf

Stealing of Sensitive Information

barindex
Source: Yara match File source: mipsel.elf, type: SAMPLE
Source: Yara match File source: mipsel.elf, type: SAMPLE
Source: Yara match File source: 5427.1.00007f2594400000.00007f2594418000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5429.1.00007f2594400000.00007f2594418000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: mipsel.elf PID: 5427, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: mipsel.elf PID: 5429, 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: mipsel.elf, type: SAMPLE
Source: Yara match File source: mipsel.elf, type: SAMPLE
Source: Yara match File source: 5427.1.00007f2594400000.00007f2594418000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5429.1.00007f2594400000.00007f2594418000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: mipsel.elf PID: 5427, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: mipsel.elf PID: 5429, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs