Linux Analysis Report
jnJdG31oiA.elf

Overview

General Information

Sample name: jnJdG31oiA.elf
renamed because original name is a hash value
Original sample name: 50e701ebd8d7c4c4e5890949265512ce.elf
Analysis ID: 1417442
MD5: 50e701ebd8d7c4c4e5890949265512ce
SHA1: bc8c1999d30cb818483efb57975d90066cb65d53
SHA256: 384d255d231690c7255a6310f75ae8249ee02ddd63bd0acc0e8333c189fa5796
Tags: 32elfgafgytrenesas
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
Yara detected Gafgyt
Yara detected Mirai
Connects to many ports of the same IP (likely port scanning)
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
Sample contains strings indicative of BusyBox which embeds multiple Unix commands in a single executable
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: jnJdG31oiA.elf Avira: detected
Source: jnJdG31oiA.elf Malware Configuration Extractor: Gafgyt {"C2 url": "193.35.18.56:65490"}
Source: jnJdG31oiA.elf ReversingLabs: Detection: 47%
Source: jnJdG31oiA.elf Virustotal: Detection: 53% Perma Link

Spreading

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

Networking

barindex
Source: global traffic TCP traffic: 193.35.18.56 ports 0,4,5,6,9,65490
Source: global traffic TCP traffic: 192.168.2.15:49570 -> 193.35.18.56:65490
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.56
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.56
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.56
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.56
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.56
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.56
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.56
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.56
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.56
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.56
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.56
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.56
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.56
Source: unknown DNS traffic detected: queries for: daisy.ubuntu.com

System Summary

barindex
Source: jnJdG31oiA.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5652.1.00007f3a00400000.00007f3a00415000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5654.1.00007f3a00400000.00007f3a00415000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: jnJdG31oiA.elf PID: 5652, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: jnJdG31oiA.elf PID: 5654, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: ELF static info symbol of initial sample Name: vseattack
Source: Initial sample String containing 'busybox' found: /bin/busybox
Source: Initial sample String containing 'busybox' found: lLZRDskidx86?-_-=1IObeENwjmipsvlxx.arm6vlxx.armvlxx.x86_64vlxx.mipsvlxx.arm7vlxx.m68kvlxx.mpslvlxx.ppcvlxx.sh4vlxx.x86vlxx.arm5sys64.m68ksys64.x86sys64.x86_64sys64.arm6sys64.mpslsys64.spcsys64.ar64besys64.sh4sys64.aarch64sys64.i686sys64.arm7sys64.armsys64.mipssys64.arm5IObeENwjmpslIObeENwjarmIObeENwjarm4IObeENwjarm5IObeENwjarm6IObeENwjarm7.x86.x86_64.arm.arm5.arm6.arm7.mips.mipsel.sh4.ppcdvrhelperhuhudvrsupportmiraiArceusla.bot.0xc2sfuckjewishpeople.mipsfuckjewishpeoplessh.mipsHadesboatnetloligangSakuraDemonbladedemonhohohakaisoramessiahmipsmipselsh4superhx86armv7armv6i686campnig.x86nigpercx86dosbotBOTDOS@DOSBOTDOSBOTperci5perci6percmipspercmpslpercsparkpercm68kpercppcpercsh4percshpercoarmperceightysixpercmips&lperc.shCronx86anacronCronarmCronmipsCronmpslCronspcCronm68kCronppcCronsh4Cronshcnrpox(deleted)killpstreekillallbgpmaplsofarmUser-Agent:/dev/nullSTD/etc/rc.conf/proc/net/tcp/proc/self/exeUPX!/proc/net/route/etc/rc.d/rc.local/bin/shtophtopgrepbashcatnanopssshtelnetdpcbashdvarsshdcurltftpdtelnetvar/Chall
Source: jnJdG31oiA.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: 5652.1.00007f3a00400000.00007f3a00415000.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: 5654.1.00007f3a00400000.00007f3a00415000.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: jnJdG31oiA.elf PID: 5652, 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: jnJdG31oiA.elf PID: 5654, 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/jnJdG31oiA.elf (PID: 5652) Queries kernel information via 'uname': Jump to behavior
Source: jnJdG31oiA.elf, 5652.1.00007ffe8fe0c000.00007ffe8fe2d000.rw-.sdmp, jnJdG31oiA.elf, 5654.1.00007ffe8fe0c000.00007ffe8fe2d000.rw-.sdmp Binary or memory string: Hix86_64/usr/bin/qemu-sh4/tmp/jnJdG31oiA.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/jnJdG31oiA.elf
Source: jnJdG31oiA.elf, 5652.1.00007ffe8fe0c000.00007ffe8fe2d000.rw-.sdmp, jnJdG31oiA.elf, 5654.1.00007ffe8fe0c000.00007ffe8fe2d000.rw-.sdmp Binary or memory string: /usr/bin/qemu-sh4
Source: jnJdG31oiA.elf, 5652.1.000055b75250a000.000055b75256d000.rw-.sdmp, jnJdG31oiA.elf, 5654.1.000055b75250a000.000055b75256d000.rw-.sdmp Binary or memory string: U5!/etc/qemu-binfmt/sh4
Source: jnJdG31oiA.elf, 5652.1.000055b75250a000.000055b75256d000.rw-.sdmp, jnJdG31oiA.elf, 5654.1.000055b75250a000.000055b75256d000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/sh4

Stealing of Sensitive Information

barindex
Source: Yara match File source: jnJdG31oiA.elf, type: SAMPLE
Source: Yara match File source: jnJdG31oiA.elf, type: SAMPLE
Source: Yara match File source: 5652.1.00007f3a00400000.00007f3a00415000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5654.1.00007f3a00400000.00007f3a00415000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: jnJdG31oiA.elf PID: 5652, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: jnJdG31oiA.elf PID: 5654, type: MEMORYSTR
Source: Initial sample User agent string found: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1.2 Safari/605.1.1 31.5
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.3 17.34
Source: Initial sample User agent string found: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.1 11.27
Source: Initial sample User agent string found: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Safari/605.1.1 9.83
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.3 9.25
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120. 6.94
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117. 2.31
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0. 2.31
Source: Initial sample User agent string found: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.3 1.16
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115. 1.16
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.3 1.16
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Herring/90.1.9310.1 1.16
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 OPR/105.0.0. 1.16
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.4 1.16
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.3 1.16
Source: Initial sample User agent string found: Mozilla/5.0 (iPhone; CPU iPhone OS 17_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/119.0.6045.169 Mobile/15E148 Safari/604.
Source: Initial sample User agent string found: Mozilla/5.0 (iPhone; CPU iPhone OS 17_1_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1.2 Mobile/15E148 Safari/604.

Remote Access Functionality

barindex
Source: Yara match File source: jnJdG31oiA.elf, type: SAMPLE
Source: Yara match File source: jnJdG31oiA.elf, type: SAMPLE
Source: Yara match File source: 5652.1.00007f3a00400000.00007f3a00415000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5654.1.00007f3a00400000.00007f3a00415000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: jnJdG31oiA.elf PID: 5652, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: jnJdG31oiA.elf PID: 5654, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs