Linux Analysis Report
na.elf

Overview

General Information

Sample name: na.elf
Analysis ID: 1532527
MD5: 6a5b750f9f35348ced5d641013c45faf
SHA1: c905e50829ff94c91e78ad541592d1d2af672c5a
SHA256: 0069d1eb1edc8027da14ca7ce9e3d1448688c624a26ec87ee607d48655d784c6
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: 18%
Source: na.elf String: ash|login|wget|curl|tftp|ntpdate
Source: na.elf String: N^Nu/proc/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//proc/net/tcp/proc./.ffdfd/maps/lib/h/proc/self/exe
Source: /tmp/na.elf (PID: 5854) Socket: 127.0.0.1:1234 Jump to behavior
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 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 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 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: global traffic DNS traffic detected: DNS query: daisy.ubuntu.com
Source: ELF static info symbol of initial sample .symtab present: no
Source: classification engine Classification label: mal56.evad.linELF@0/0@2/0

Data Obfuscation

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

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/na.elf (PID: 5858) Log files deleted: /var/log/kern.log Jump to behavior
Source: /tmp/na.elf (PID: 5854) Queries kernel information via 'uname': Jump to behavior
Source: na.elf, 5854.1.00007fff8a7a2000.00007fff8a7c3000.rw-.sdmp Binary or memory string: X2*)x86_64/usr/bin/qemu-m68k/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, 5854.1.000055d2bf2d0000.000055d2bf355000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/m68k
Source: na.elf, 5854.1.00007fff8a7a2000.00007fff8a7c3000.rw-.sdmp Binary or memory string: /usr/bin/qemu-m68k
Source: na.elf, 5854.1.000055d2bf2d0000.000055d2bf355000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/m68k
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs