Linux Analysis Report
na.elf

Overview

General Information

Sample name: na.elf
Analysis ID: 1528909
MD5: 7f64d5cfe31c881cdfb8d769a0bc5486
SHA1: 3d3cf5fb24181255ecf26a8677b5c7a35a2a9769
SHA256: 647d662239d43d32b2d930036b95f45dfa7cda64e4237d184088548f78c2437c
Tags: elfuser-abuse_ch
Infos:

Detection

Score: 52
Range: 0 - 100
Whitelisted: false

Signatures

Opens /sys/class/net/* files useful for querying network interface information
Performs DNS TXT record lookups
Sample deletes itself
Detected TCP or UDP traffic on non-standard ports
Executes the "rm" command used to delete files or directories
Sample has stripped symbol table
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

Networking

barindex
Source: /tmp/na.elf (PID: 6234) Opens: /sys/class/net/ Jump to behavior
Source: /tmp/na.elf (PID: 6234) Opens: /sys/class/net/ens160/address Jump to behavior
Source: /tmp/na.elf (PID: 6234) Opens: /sys/class/net/ens160/flags Jump to behavior
Source: /tmp/na.elf (PID: 6234) Opens: /sys/class/net/ens160/carrier Jump to behavior
Source: global traffic TCP traffic: 192.168.2.23:60844 -> 5.230.122.82:3074
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: 5.230.122.82
Source: unknown TCP traffic detected without corresponding DNS query: 5.230.122.82
Source: unknown TCP traffic detected without corresponding DNS query: 5.230.122.82
Source: unknown TCP traffic detected without corresponding DNS query: 5.230.122.82
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 TCP traffic detected without corresponding DNS query: 5.230.122.82
Source: unknown TCP traffic detected without corresponding DNS query: 5.230.122.82
Source: unknown UDP traffic detected without corresponding DNS query: 172.217.192.127
Source: unknown UDP traffic detected without corresponding DNS query: 202.61.197.122
Source: global traffic DNS traffic detected: DNS query: iranistrash.libre
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: mal52.spyw.evad.linELF@0/0@1/0
Source: /usr/bin/dash (PID: 6217) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.IemHT51aKE /tmp/tmp.ovgany5aq2 /tmp/tmp.NIDgLiYqT8 Jump to behavior
Source: /usr/bin/dash (PID: 6218) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.IemHT51aKE /tmp/tmp.ovgany5aq2 /tmp/tmp.NIDgLiYqT8 Jump to behavior

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/na.elf (PID: 6230) File: /tmp/na.elf Jump to behavior
Source: /tmp/na.elf (PID: 6230) Queries kernel information via 'uname': Jump to behavior
Source: /tmp/na.elf (PID: 6234) Queries kernel information via 'uname': Jump to behavior
Source: na.elf, 6230.1.00007fff858f4000.00007fff85915000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-arm/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, 6230.1.000056344804c000.000056344819b000.rw-.sdmp Binary or memory string: H4V!/etc/qemu-binfmt/arm
Source: na.elf, 6230.1.000056344804c000.000056344819b000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: na.elf, 6230.1.00007fff858f4000.00007fff85915000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm

HIPS / PFW / Operating System Protection Evasion

barindex
Source: Traffic DNS traffic detected: queries for: iranistrash.libre
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs