Linux Analysis Report
na.elf

Overview

General Information

Sample name: na.elf
Analysis ID: 1527361
MD5: 58a4f3082572f89f25797819d367f3cb
SHA1: 99188adb778637a37a98f69afbdef1e796c224a4
SHA256: f8596dec411ddff35b79e14a246483b0c1556da8e46ee676832bcc63eb5c2b9f
Tags: elfMiraiuser-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)
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 ReversingLabs: Detection: 23%
Source: na.elf String: KXN^Nu/proc/wgetinitcurltftp/fdsocket/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/tcpashloginntpdate

Networking

barindex
Source: global traffic TCP traffic: 154.90.62.142 ports 61543,1,3,4,5,6
Source: global traffic TCP traffic: 192.168.2.23:40320 -> 154.90.62.142:61543
Source: /tmp/na.elf (PID: 6267) 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: 91.189.91.42
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.43
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: 192.3.165.37
Source: global traffic DNS traffic detected: DNS query: krddnsnet.dyn
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: mal60.troj.evad.linELF@0/0@1/0

Data Obfuscation

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

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/na.elf (PID: 6271) Log files deleted: /var/log/kern.log Jump to behavior
Source: /tmp/na.elf (PID: 6267) Queries kernel information via 'uname': Jump to behavior
Source: na.elf, 6267.1.00007ffc69600000.00007ffc69621000.rw-.sdmp Binary or memory string: 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, 6267.1.000055af793c9000.000055af7944e000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/m68k
Source: na.elf, 6267.1.00007ffc69600000.00007ffc69621000.rw-.sdmp Binary or memory string: /usr/bin/qemu-m68k
Source: na.elf, 6267.1.000055af793c9000.000055af7944e000.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