Linux Analysis Report
spc.elf

Overview

General Information

Sample name: spc.elf
Analysis ID: 1544036
MD5: 0cb246f109532cfec8aa67da6d0f5c54
SHA1: ad0fc6cccff795498ae761ccda571a13c8d44ff9
SHA256: 10c43645d2242f9f5f489d63249aead93241b59ea31d0a970914e4e934ec99e5
Tags: elfuser-abuse_ch
Infos:

Detection

Score: 60
Range: 0 - 100
Whitelisted: false

Signatures

Multi AV Scanner detection for submitted file
Deletes system log files
Sample tries to access files in /etc/config/ (typical for OpenWRT routers)
Sends malformed DNS queries
Creates hidden files and/or directories
Enumerates processes within the "proc" file system
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: spc.elf ReversingLabs: Detection: 13%
Source: spc.elf String: ash|login|wget|curl|tftp|ntpdate|ftp
Source: spc.elf String: /proc//exe|ash|login|wget|curl|tftp|ntpdate|ftp/lib//lib64/

Networking

barindex
Source: global traffic DNS traffic detected: malformed DNS query: 2joints.libre. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: www.codingdrunk.in. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: nineteen.libre. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: imaverygoodbadboy.libre. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: 21savage.dyn. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: f.codingdrunk. . [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: eighteen.pirate. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: ru.coziest.lol. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: 75cents.libre. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: fortyfivehundred.dyn. [malformed]
Source: /tmp/spc.elf (PID: 6218) Socket: 127.0.0.1:1234 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: 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: 54.36.111.116
Source: unknown UDP traffic detected without corresponding DNS query: 161.97.219.84
Source: unknown UDP traffic detected without corresponding DNS query: 63.231.92.27
Source: unknown UDP traffic detected without corresponding DNS query: 63.231.92.27
Source: unknown UDP traffic detected without corresponding DNS query: 161.97.219.84
Source: unknown UDP traffic detected without corresponding DNS query: 192.3.165.37
Source: unknown UDP traffic detected without corresponding DNS query: 130.61.64.122
Source: unknown UDP traffic detected without corresponding DNS query: 54.36.111.116
Source: unknown UDP traffic detected without corresponding DNS query: 130.61.69.123
Source: unknown UDP traffic detected without corresponding DNS query: 130.61.64.122
Source: unknown UDP traffic detected without corresponding DNS query: 63.231.92.27
Source: unknown UDP traffic detected without corresponding DNS query: 54.36.111.116
Source: unknown UDP traffic detected without corresponding DNS query: 130.61.69.123
Source: unknown UDP traffic detected without corresponding DNS query: 161.97.219.84
Source: unknown UDP traffic detected without corresponding DNS query: 116.203.104.203
Source: unknown UDP traffic detected without corresponding DNS query: 116.203.104.203
Source: unknown UDP traffic detected without corresponding DNS query: 185.84.81.194
Source: unknown UDP traffic detected without corresponding DNS query: 130.61.64.122
Source: unknown UDP traffic detected without corresponding DNS query: 161.97.219.84
Source: unknown UDP traffic detected without corresponding DNS query: 130.61.64.122
Source: unknown UDP traffic detected without corresponding DNS query: 130.61.64.122
Source: unknown UDP traffic detected without corresponding DNS query: 63.231.92.27
Source: unknown UDP traffic detected without corresponding DNS query: 130.61.69.123
Source: unknown UDP traffic detected without corresponding DNS query: 63.231.92.27
Source: unknown UDP traffic detected without corresponding DNS query: 130.61.64.122
Source: unknown UDP traffic detected without corresponding DNS query: 192.3.165.37
Source: unknown UDP traffic detected without corresponding DNS query: 192.3.165.37
Source: unknown UDP traffic detected without corresponding DNS query: 116.203.104.203
Source: unknown UDP traffic detected without corresponding DNS query: 54.36.111.116
Source: unknown UDP traffic detected without corresponding DNS query: 54.36.111.116
Source: unknown UDP traffic detected without corresponding DNS query: 185.84.81.194
Source: unknown UDP traffic detected without corresponding DNS query: 116.203.104.203
Source: unknown UDP traffic detected without corresponding DNS query: 162.243.19.47
Source: unknown UDP traffic detected without corresponding DNS query: 54.36.111.116
Source: unknown UDP traffic detected without corresponding DNS query: 116.203.104.203
Source: unknown UDP traffic detected without corresponding DNS query: 130.61.64.122
Source: unknown UDP traffic detected without corresponding DNS query: 63.231.92.27
Source: unknown UDP traffic detected without corresponding DNS query: 116.203.104.203
Source: unknown UDP traffic detected without corresponding DNS query: 192.3.165.37
Source: unknown UDP traffic detected without corresponding DNS query: 63.231.92.27
Source: unknown UDP traffic detected without corresponding DNS query: 162.243.19.47
Source: unknown UDP traffic detected without corresponding DNS query: 130.61.64.122
Source: global traffic DNS traffic detected: DNS query: nineteen.libre
Source: global traffic DNS traffic detected: DNS query: fortyfivehundred.dyn
Source: global traffic DNS traffic detected: DNS query: 2joints.libre. [malformed]
Source: global traffic DNS traffic detected: DNS query: www.codingdrunk.in. [malformed]
Source: global traffic DNS traffic detected: DNS query: nineteen.libre. [malformed]
Source: global traffic DNS traffic detected: DNS query: imaverygoodbadboy.libre. [malformed]
Source: global traffic DNS traffic detected: DNS query: 21savage.dyn. [malformed]
Source: global traffic DNS traffic detected: DNS query: f.codingdrunk. . [malformed]
Source: global traffic DNS traffic detected: DNS query: eighteen.pirate. [malformed]
Source: global traffic DNS traffic detected: DNS query: ru.coziest.lol. [malformed]
Source: global traffic DNS traffic detected: DNS query: 75cents.libre. [malformed]
Source: global traffic DNS traffic detected: DNS query: ru.coziest.lol
Source: global traffic DNS traffic detected: DNS query: eighteen.pirate
Source: global traffic DNS traffic detected: DNS query: www.codingdrunk.in
Source: global traffic DNS traffic detected: DNS query: fortyfivehundred.dyn. [malformed]
Source: global traffic DNS traffic detected: DNS query: imaverygoodbadboy.libre
Source: global traffic DNS traffic detected: DNS query: 2joints.libre
Source: global traffic DNS traffic detected: DNS query: f.codingdrunk.
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/spc.elf (PID: 6220) SIGKILL sent: pid: 936, result: successful Jump to behavior
Source: classification engine Classification label: mal60.troj.evad.linELF@0/0@201/0

Data Obfuscation

barindex
Source: /tmp/spc.elf (PID: 6222) File: /etc/config Jump to behavior
Source: /tmp/spc.elf (PID: 6222) Directory: /root/.cache Jump to behavior
Source: /tmp/spc.elf (PID: 6222) Directory: /root/.ssh Jump to behavior
Source: /tmp/spc.elf (PID: 6222) Directory: /root/.config Jump to behavior
Source: /tmp/spc.elf (PID: 6222) Directory: /root/.local Jump to behavior
Source: /tmp/spc.elf (PID: 6222) Directory: /tmp/.X11-unix Jump to behavior
Source: /tmp/spc.elf (PID: 6222) Directory: /tmp/.Test-unix Jump to behavior
Source: /tmp/spc.elf (PID: 6222) Directory: /tmp/.font-unix Jump to behavior
Source: /tmp/spc.elf (PID: 6222) Directory: /tmp/.ICE-unix Jump to behavior
Source: /tmp/spc.elf (PID: 6222) Directory: /tmp/.XIM-unix Jump to behavior
Source: /tmp/spc.elf (PID: 6222) Directory: /etc/.java Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/230/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/110/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/231/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/111/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/232/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/112/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/233/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/113/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/234/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/114/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/235/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/115/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/236/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/116/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/237/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/117/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/118/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/910/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/119/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/912/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/10/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/11/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/918/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/12/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/13/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/14/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/15/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/16/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/17/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/18/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/120/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/121/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/1/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/122/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/243/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/123/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/2/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/124/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/3/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/4/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/125/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/126/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/127/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/6/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/248/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/128/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/249/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/800/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/9/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/801/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/20/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/21/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/22/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/23/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/24/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/25/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/26/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/27/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/28/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/29/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/491/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/250/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/130/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/251/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/252/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/132/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/253/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/254/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/255/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/256/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/257/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/379/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/258/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/259/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/936/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/30/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/35/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/260/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/261/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/141/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/262/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/263/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/264/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/144/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/265/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/266/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/267/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/269/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/270/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/272/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/274/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/278/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/157/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/281/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/286/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/720/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/721/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/847/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/77/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/78/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/79/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/80/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/81/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/82/fd Jump to behavior
Source: /tmp/spc.elf (PID: 6220) File opened: /proc/83/fd Jump to behavior

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/spc.elf (PID: 6222) Log files deleted: /var/log/kern.log Jump to behavior
Source: /tmp/spc.elf (PID: 6218) Queries kernel information via 'uname': Jump to behavior
Source: spc.elf, 6218.1.000055821d19d000.000055821d223000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/sparc
Source: spc.elf, 6218.1.000055821d19d000.000055821d223000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/sparc
Source: spc.elf, 6218.1.00007ffe07906000.00007ffe07927000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-sparc/tmp/spc.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/spc.elf
Source: spc.elf, 6218.1.00007ffe07906000.00007ffe07927000.rw-.sdmp Binary or memory string: /usr/bin/qemu-sparc
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs