Linux Analysis Report
na.elf

Overview

General Information

Sample name: na.elf
Analysis ID: 1532520
MD5: d633c03b2d4ba9af334aa99654ea273f
SHA1: 578afe2aaa0c7195f1f7fa698a5f989802293dac
SHA256: ed053f7989c52ff8138a36ad959500bb01cd9dcadfdce5c5033a1d7698c06818
Tags: elfuser-abuse_ch
Infos:

Detection

Score: 60
Range: 0 - 100
Whitelisted: false

Signatures

Antivirus / Scanner detection for submitted sample
Connects to many ports of the same IP (likely port scanning)
Deletes system log files
Sample tries to access files in /etc/config/ (typical for OpenWRT routers)
Creates hidden files and/or directories
Detected TCP or UDP traffic on non-standard ports
Found strings indicative of a multi-platform dropper
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: na.elf Avira: detected
Source: na.elf String: ash|login|wget|curl|tftp|ntpdate
Source: na.elf String: /proc//exe|ash|login|wget|curl|tftp|ntpdate/fdsocket|proc/usr/bin/usr/sbin/system/mnt/mtd/app/org/z/zbin/home/app/dvr/bin/duksan/userfs/mnt/app/usr/etc/dvr/main/usr/local/var/bin/tmp/sqfs/z/bin/dvr/mnt/mtd/zconf/gm/bin/home/process/var/challenge/usr/lib/lib/systemd//usr/lib/systemd/system/system/bin//mnt//home/helper/home/davinci/usr/libexec//sbin//bin/

Networking

barindex
Source: global traffic TCP traffic: 38.60.249.66 ports 1,2,5,6,7,27651
Source: global traffic TCP traffic: 192.168.2.13:59010 -> 38.60.249.66:27651
Source: /tmp/na.elf (PID: 5453) Socket: 127.0.0.1:1234 Jump to behavior
Source: global traffic TCP traffic: 192.168.2.13:48202 -> 185.125.190.26:443
Source: unknown TCP traffic detected without corresponding DNS query: 38.60.249.66
Source: unknown TCP traffic detected without corresponding DNS query: 38.60.249.66
Source: unknown TCP traffic detected without corresponding DNS query: 38.60.249.66
Source: unknown TCP traffic detected without corresponding DNS query: 185.125.190.26
Source: unknown TCP traffic detected without corresponding DNS query: 38.60.249.66
Source: unknown TCP traffic detected without corresponding DNS query: 185.125.190.26
Source: unknown TCP traffic detected without corresponding DNS query: 38.60.249.66
Source: unknown TCP traffic detected without corresponding DNS query: 38.60.249.66
Source: unknown TCP traffic detected without corresponding DNS query: 38.60.249.66
Source: unknown TCP traffic detected without corresponding DNS query: 38.60.249.66
Source: unknown TCP traffic detected without corresponding DNS query: 38.60.249.66
Source: unknown TCP traffic detected without corresponding DNS query: 38.60.249.66
Source: unknown UDP traffic detected without corresponding DNS query: 54.36.111.116
Source: unknown UDP traffic detected without corresponding DNS query: 162.243.19.47
Source: unknown UDP traffic detected without corresponding DNS query: 192.3.165.37
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: global traffic DNS traffic detected: DNS query: nineteen.libre
Source: global traffic DNS traffic detected: DNS query: daisy.ubuntu.com
Source: unknown Network traffic detected: HTTP traffic on port 48202 -> 443
Source: ELF static info symbol of initial sample .symtab present: no
Source: classification engine Classification label: mal60.troj.evad.linELF@0/0@3/0

Data Obfuscation

barindex
Source: /tmp/na.elf (PID: 5463) File: /etc/config Jump to behavior
Source: /tmp/na.elf (PID: 5463) Directory: /root/.cache Jump to behavior
Source: /tmp/na.elf (PID: 5463) Directory: /root/.ssh Jump to behavior
Source: /tmp/na.elf (PID: 5463) Directory: /root/.config Jump to behavior
Source: /tmp/na.elf (PID: 5463) Directory: /root/.local Jump to behavior
Source: /tmp/na.elf (PID: 5463) Directory: /tmp/.X11-unix Jump to behavior
Source: /tmp/na.elf (PID: 5463) Directory: /tmp/.Test-unix Jump to behavior
Source: /tmp/na.elf (PID: 5463) Directory: /tmp/.font-unix Jump to behavior
Source: /tmp/na.elf (PID: 5463) Directory: /tmp/.ICE-unix Jump to behavior
Source: /tmp/na.elf (PID: 5463) Directory: /tmp/.XIM-unix Jump to behavior
Source: /tmp/na.elf (PID: 5463) Directory: /etc/.java Jump to behavior

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/na.elf (PID: 5463) Log files deleted: /var/log/kern.log Jump to behavior
Source: /tmp/na.elf (PID: 5453) Queries kernel information via 'uname': Jump to behavior
Source: na.elf, 5453.1.00007ffdd591a000.00007ffdd593b000.rw-.sdmp Binary or memory string: ,qx86_64/usr/bin/qemu-mips/tmp/na.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/na.elf
Source: na.elf, 5453.1.000055b989e7f000.000055b989f27000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/mips
Source: na.elf, 5453.1.000055b989e7f000.000055b989f27000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/mips
Source: na.elf, 5453.1.00007ffdd591a000.00007ffdd593b000.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