Linux Analysis Report
na.elf

Overview

General Information

Sample name: na.elf
Analysis ID: 1530542
MD5: 79e1b7a6f4ff8a0eae6d7793bce8539d
SHA1: 496403b3364313651db9893f5f0350d2fae6e4d0
SHA256: c61bd0162e75d14d14741c52d76f1c61d0ae8fa5c6e3e2b394ba7d939596fb7e
Tags: elfuser-abuse_ch
Infos:

Detection

Score: 56
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)
Creates hidden files and/or directories
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: na.elf ReversingLabs: Detection: 26%
Source: na.elf String: ash|login|wget|curl|tftp|ntpdate
Source: na.elf String: /proc//exe|ash|login|wget|curl|tftp|ntpdate/fd/socket|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/
Source: /tmp/na.elf (PID: 6209) Socket: 127.0.0.1:1234 Jump to behavior
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: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.43
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 109.202.202.202
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.43
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
Source: unknown TCP traffic detected without corresponding DNS query: 199.59.243.227
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: classification engine Classification label: mal56.evad.linELF@0/0@0/0

Data Obfuscation

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

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/na.elf (PID: 6212) Log files deleted: /var/log/kern.log Jump to behavior
Source: /tmp/na.elf (PID: 6209) Queries kernel information via 'uname': Jump to behavior
Source: na.elf, 6209.1.00005626a0f99000.00005626a1022000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/sparc
Source: na.elf, 6209.1.00005626a0f99000.00005626a1022000.rw-.sdmp Binary or memory string: &V!/etc/qemu-binfmt/sparc
Source: na.elf, 6209.1.00007ffe72363000.00007ffe72384000.rw-.sdmp Binary or memory string: /usr/bin/qemu-sparc
Source: na.elf, 6209.1.00007ffe72363000.00007ffe72384000.rw-.sdmp Binary or memory string: Rx86_64/usr/bin/qemu-sparc/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
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs