Linux Analysis Report
na.elf

Overview

General Information

Sample name: na.elf
Analysis ID: 1579299
MD5: b852ccf9f811ed9d1fb4978f44c770b9
SHA1: db50b67add74d12bb291ef3c3c6664d12eae82b8
SHA256: 88194d7e8b4131ded628de436327ecf92580e2b58163e402effeccecf02c60a6
Tags: elfuser-abuse_ch
Infos:

Detection

Mirai
Score: 68
Range: 0 - 100
Whitelisted: false

Signatures

Antivirus / Scanner detection for submitted sample
Multi AV Scanner detection for submitted file
Yara detected Mirai
Sends malformed DNS queries
Detected TCP or UDP traffic on non-standard ports
Enumerates processes within the "proc" file system
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

Name Description Attribution Blogpost URLs Link
Mirai Mirai is one of the first significant botnets targeting exposed networking devices running Linux. Found in August 2016 by MalwareMustDie, its name means "future" in Japanese. Nowadays it targets a wide range of networked embedded devices such as IP cameras, home routers (many vendors involved), and other IoT devices. Since the source code was published on "Hack Forums" many variants of the Mirai family appeared, infecting mostly home networks all around the world. No Attribution https://malpedia.caad.fkie.fraunhofer.de/details/elf.mirai

AV Detection

barindex
Source: na.elf Avira: detected
Source: na.elf Virustotal: Detection: 30% Perma Link
Source: na.elf ReversingLabs: Detection: 28%

Networking

barindex
Source: global traffic DNS traffic detected: malformed DNS query: catvision.dyn. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: shitrocket.dyn. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: hikvision.geek. [malformed]
Source: global traffic DNS traffic detected: malformed DNS query: catlovingfools.geek. [malformed]
Source: global traffic TCP traffic: 192.168.2.23:51324 -> 185.72.8.231:6315
Source: global traffic TCP traffic: 192.168.2.23:55502 -> 212.64.215.71:6315
Source: global traffic TCP traffic: 192.168.2.23:49970 -> 212.192.13.95:19974
Source: global traffic TCP traffic: 192.168.2.23:60056 -> 37.49.226.109:3512
Source: global traffic TCP traffic: 192.168.2.23:42830 -> 37.49.226.105:8541
Source: global traffic TCP traffic: 192.168.2.23:38638 -> 176.32.32.113:14713
Source: global traffic TCP traffic: 192.168.2.23:58488 -> 86.107.100.19:23130
Source: global traffic TCP traffic: 192.168.2.23:43102 -> 212.60.5.153:3801
Source: /tmp/na.elf (PID: 6241) Socket: 127.0.0.1:1172 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: 196.164.11.98
Source: unknown TCP traffic detected without corresponding DNS query: 76.70.228.164
Source: unknown TCP traffic detected without corresponding DNS query: 140.1.174.15
Source: unknown TCP traffic detected without corresponding DNS query: 112.85.98.99
Source: unknown TCP traffic detected without corresponding DNS query: 58.133.56.50
Source: unknown TCP traffic detected without corresponding DNS query: 129.62.188.80
Source: unknown TCP traffic detected without corresponding DNS query: 191.15.243.219
Source: unknown TCP traffic detected without corresponding DNS query: 57.108.101.36
Source: unknown TCP traffic detected without corresponding DNS query: 153.72.113.10
Source: unknown TCP traffic detected without corresponding DNS query: 81.53.232.109
Source: unknown TCP traffic detected without corresponding DNS query: 55.60.34.15
Source: unknown TCP traffic detected without corresponding DNS query: 156.7.4.117
Source: unknown TCP traffic detected without corresponding DNS query: 105.88.34.222
Source: unknown TCP traffic detected without corresponding DNS query: 201.83.224.24
Source: unknown TCP traffic detected without corresponding DNS query: 49.71.176.75
Source: unknown TCP traffic detected without corresponding DNS query: 172.63.145.75
Source: unknown TCP traffic detected without corresponding DNS query: 60.99.213.162
Source: unknown TCP traffic detected without corresponding DNS query: 54.181.11.181
Source: unknown TCP traffic detected without corresponding DNS query: 166.133.142.65
Source: unknown TCP traffic detected without corresponding DNS query: 65.78.249.227
Source: unknown TCP traffic detected without corresponding DNS query: 78.79.170.119
Source: unknown TCP traffic detected without corresponding DNS query: 90.135.254.112
Source: unknown TCP traffic detected without corresponding DNS query: 4.103.113.133
Source: unknown TCP traffic detected without corresponding DNS query: 35.245.4.89
Source: unknown TCP traffic detected without corresponding DNS query: 179.36.131.20
Source: unknown TCP traffic detected without corresponding DNS query: 96.195.24.81
Source: unknown TCP traffic detected without corresponding DNS query: 223.64.187.69
Source: unknown TCP traffic detected without corresponding DNS query: 26.68.143.50
Source: unknown TCP traffic detected without corresponding DNS query: 9.209.187.124
Source: unknown TCP traffic detected without corresponding DNS query: 44.178.250.241
Source: unknown TCP traffic detected without corresponding DNS query: 190.2.247.149
Source: unknown TCP traffic detected without corresponding DNS query: 154.164.153.67
Source: unknown TCP traffic detected without corresponding DNS query: 168.151.33.63
Source: unknown TCP traffic detected without corresponding DNS query: 38.42.134.116
Source: unknown TCP traffic detected without corresponding DNS query: 214.238.23.108
Source: unknown TCP traffic detected without corresponding DNS query: 105.92.100.98
Source: unknown TCP traffic detected without corresponding DNS query: 218.68.200.178
Source: unknown TCP traffic detected without corresponding DNS query: 196.67.39.2
Source: unknown TCP traffic detected without corresponding DNS query: 149.151.54.176
Source: unknown TCP traffic detected without corresponding DNS query: 83.202.223.30
Source: unknown TCP traffic detected without corresponding DNS query: 47.63.137.80
Source: unknown TCP traffic detected without corresponding DNS query: 188.154.134.245
Source: unknown TCP traffic detected without corresponding DNS query: 145.161.244.79
Source: unknown TCP traffic detected without corresponding DNS query: 63.233.150.127
Source: unknown TCP traffic detected without corresponding DNS query: 170.163.168.29
Source: unknown TCP traffic detected without corresponding DNS query: 164.226.239.52
Source: unknown TCP traffic detected without corresponding DNS query: 40.92.155.254
Source: unknown TCP traffic detected without corresponding DNS query: 207.156.16.90
Source: unknown TCP traffic detected without corresponding DNS query: 53.83.42.213
Source: global traffic DNS traffic detected: DNS query: catvision.dyn
Source: global traffic DNS traffic detected: DNS query: shitrocket.dyn
Source: global traffic DNS traffic detected: DNS query: hikvision.geek
Source: global traffic DNS traffic detected: DNS query: catvision.dyn. [malformed]
Source: global traffic DNS traffic detected: DNS query: catlovingfools.geek
Source: global traffic DNS traffic detected: DNS query: shitrocket.dyn. [malformed]
Source: global traffic DNS traffic detected: DNS query: hikvision.geek. [malformed]
Source: global traffic DNS traffic detected: DNS query: catlovingfools.geek. [malformed]
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: mal68.troj.linELF@0/0@27/0
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6069/cmdline Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6410/status Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6421/status Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6420/status Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6412/status Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6423/status Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6411/status Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6422/status Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6414/status Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6413/status Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6416/status Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6415/status Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6407/status Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6418/status Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6417/status Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6409/status Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6408/status Jump to behavior
Source: /tmp/na.elf (PID: 6309) File opened: /proc/6419/status Jump to behavior
Source: /tmp/na.elf (PID: 6241) Queries kernel information via 'uname': Jump to behavior
Source: na.elf, 6241.1.00007ffe90e4a000.00007ffe90e6b000.rw-.sdmp, na.elf, 6243.1.00007ffe90e4a000.00007ffe90e6b000.rw-.sdmp, na.elf, 6244.1.00007ffe90e4a000.00007ffe90e6b000.rw-.sdmp Binary or memory string: x86_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, 6241.1.000055a335ffe000.000055a3360cb000.rw-.sdmp, na.elf, 6243.1.000055a335ffe000.000055a3360cb000.rw-.sdmp, na.elf, 6244.1.000055a335ffe000.000055a3360cb000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/mips
Source: na.elf, 6241.1.000055a335ffe000.000055a3360cb000.rw-.sdmp, na.elf, 6243.1.000055a335ffe000.000055a3360cb000.rw-.sdmp, na.elf, 6244.1.000055a335ffe000.000055a3360cb000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/mips
Source: na.elf, 6244.1.000055a335ffe000.000055a3360cb000.rw-.sdmp Binary or memory string: /usr/bin/vmtoolsd
Source: na.elf, 6241.1.00007ffe90e4a000.00007ffe90e6b000.rw-.sdmp, na.elf, 6243.1.00007ffe90e4a000.00007ffe90e6b000.rw-.sdmp, na.elf, 6244.1.00007ffe90e4a000.00007ffe90e6b000.rw-.sdmp Binary or memory string: /usr/bin/qemu-mips
Source: na.elf, 6244.1.000055a335ffe000.000055a3360cb000.rw-.sdmp Binary or memory string: U!/usr/bin/vmtoolsd

Stealing of Sensitive Information

barindex
Source: Yara match File source: na.elf, type: SAMPLE
Source: Yara match File source: 6241.1.00007fb32c400000.00007fb32c417000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6244.1.00007fb32c400000.00007fb32c417000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6243.1.00007fb32c400000.00007fb32c417000.r-x.sdmp, type: MEMORY

Remote Access Functionality

barindex
Source: Yara match File source: na.elf, type: SAMPLE
Source: Yara match File source: 6241.1.00007fb32c400000.00007fb32c417000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6244.1.00007fb32c400000.00007fb32c417000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6243.1.00007fb32c400000.00007fb32c417000.r-x.sdmp, type: MEMORY
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs