Linux Analysis Report
nshkarm7.elf

Overview

General Information

Sample name: nshkarm7.elf
Analysis ID: 1579349
MD5: 3787a29f90ccc08e39a8e957be61d9aa
SHA1: 6c0c1e80795b8ea76ccf09452120eb801cd1ab55
SHA256: 60e8fe252180f6eed332b8722e756557d765ab99f9d89079138ff6953d2f23cb
Tags: elfuser-abuse_ch
Infos:

Detection

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

Signatures

Antivirus / Scanner detection for submitted sample
Multi AV Scanner detection for submitted file
Yara detected Mirai
Detected TCP or UDP traffic on non-standard ports
Executes the "rm" command used to delete files or directories
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: nshkarm7.elf Avira: detected
Source: nshkarm7.elf ReversingLabs: Detection: 34%
Source: nshkarm7.elf Virustotal: Detection: 31% Perma Link
Source: global traffic TCP traffic: 192.168.2.23:50888 -> 185.72.8.231:13146
Source: /tmp/nshkarm7.elf (PID: 6248) 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: 39.47.218.108
Source: unknown TCP traffic detected without corresponding DNS query: 182.149.68.48
Source: unknown TCP traffic detected without corresponding DNS query: 170.7.254.211
Source: unknown TCP traffic detected without corresponding DNS query: 170.91.157.174
Source: unknown TCP traffic detected without corresponding DNS query: 137.73.190.46
Source: unknown TCP traffic detected without corresponding DNS query: 28.103.84.116
Source: unknown TCP traffic detected without corresponding DNS query: 19.254.15.90
Source: unknown TCP traffic detected without corresponding DNS query: 18.130.34.51
Source: unknown TCP traffic detected without corresponding DNS query: 107.97.118.248
Source: unknown TCP traffic detected without corresponding DNS query: 20.179.224.55
Source: unknown TCP traffic detected without corresponding DNS query: 158.67.137.127
Source: unknown TCP traffic detected without corresponding DNS query: 193.214.122.126
Source: unknown TCP traffic detected without corresponding DNS query: 39.44.27.152
Source: unknown TCP traffic detected without corresponding DNS query: 120.17.209.29
Source: unknown TCP traffic detected without corresponding DNS query: 1.127.149.100
Source: unknown TCP traffic detected without corresponding DNS query: 121.27.196.97
Source: unknown TCP traffic detected without corresponding DNS query: 105.206.74.26
Source: unknown TCP traffic detected without corresponding DNS query: 7.245.194.57
Source: unknown TCP traffic detected without corresponding DNS query: 132.116.0.67
Source: unknown TCP traffic detected without corresponding DNS query: 51.43.133.80
Source: unknown TCP traffic detected without corresponding DNS query: 54.45.150.115
Source: unknown TCP traffic detected without corresponding DNS query: 159.115.233.16
Source: unknown TCP traffic detected without corresponding DNS query: 57.251.5.212
Source: unknown TCP traffic detected without corresponding DNS query: 72.245.221.128
Source: unknown TCP traffic detected without corresponding DNS query: 189.19.215.140
Source: unknown TCP traffic detected without corresponding DNS query: 66.162.153.144
Source: unknown TCP traffic detected without corresponding DNS query: 85.142.181.174
Source: unknown TCP traffic detected without corresponding DNS query: 90.155.90.118
Source: unknown TCP traffic detected without corresponding DNS query: 124.67.13.223
Source: unknown TCP traffic detected without corresponding DNS query: 184.213.49.239
Source: unknown TCP traffic detected without corresponding DNS query: 108.53.45.131
Source: unknown TCP traffic detected without corresponding DNS query: 54.194.50.205
Source: unknown TCP traffic detected without corresponding DNS query: 112.188.56.124
Source: unknown TCP traffic detected without corresponding DNS query: 220.155.95.139
Source: unknown TCP traffic detected without corresponding DNS query: 32.65.93.240
Source: unknown TCP traffic detected without corresponding DNS query: 121.229.94.201
Source: unknown TCP traffic detected without corresponding DNS query: 83.208.131.98
Source: unknown TCP traffic detected without corresponding DNS query: 186.124.36.68
Source: unknown TCP traffic detected without corresponding DNS query: 37.159.215.255
Source: unknown TCP traffic detected without corresponding DNS query: 99.57.120.64
Source: unknown TCP traffic detected without corresponding DNS query: 193.173.8.39
Source: unknown TCP traffic detected without corresponding DNS query: 141.34.114.179
Source: unknown TCP traffic detected without corresponding DNS query: 205.0.16.164
Source: unknown TCP traffic detected without corresponding DNS query: 78.204.81.45
Source: unknown TCP traffic detected without corresponding DNS query: 90.183.154.29
Source: unknown TCP traffic detected without corresponding DNS query: 186.182.59.209
Source: unknown TCP traffic detected without corresponding DNS query: 154.230.84.167
Source: unknown TCP traffic detected without corresponding DNS query: 18.175.34.243
Source: unknown TCP traffic detected without corresponding DNS query: 102.251.226.126
Source: global traffic DNS traffic detected: DNS query: hikvision.geek
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: mal64.troj.linELF@0/0@1/0
Source: /usr/bin/dash (PID: 6220) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.f4gbqBXrd3 /tmp/tmp.fHTFfS47rG /tmp/tmp.k9UPe8arSy Jump to behavior
Source: /usr/bin/dash (PID: 6221) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.f4gbqBXrd3 /tmp/tmp.fHTFfS47rG /tmp/tmp.k9UPe8arSy Jump to behavior
Source: /tmp/nshkarm7.elf (PID: 6248) Queries kernel information via 'uname': Jump to behavior
Source: nshkarm7.elf, 6248.1.00005570cf84a000.00005570cf99f000.rw-.sdmp, nshkarm7.elf, 6250.1.00005570cf84a000.00005570cf99f000.rw-.sdmp, nshkarm7.elf, 6296.1.00005570cf84a000.00005570cf99f000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: nshkarm7.elf, 6248.1.00007ffd83701000.00007ffd83722000.rw-.sdmp, nshkarm7.elf, 6250.1.00007ffd83701000.00007ffd83722000.rw-.sdmp, nshkarm7.elf, 6296.1.00007ffd83701000.00007ffd83722000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: nshkarm7.elf, 6248.1.00005570cf84a000.00005570cf99f000.rw-.sdmp, nshkarm7.elf, 6250.1.00005570cf84a000.00005570cf99f000.rw-.sdmp, nshkarm7.elf, 6296.1.00005570cf84a000.00005570cf99f000.rw-.sdmp Binary or memory string: pU!/etc/qemu-binfmt/arm
Source: nshkarm7.elf, 6248.1.00007ffd83701000.00007ffd83722000.rw-.sdmp, nshkarm7.elf, 6250.1.00007ffd83701000.00007ffd83722000.rw-.sdmp, nshkarm7.elf, 6296.1.00007ffd83701000.00007ffd83722000.rw-.sdmp Binary or memory string: hx86_64/usr/bin/qemu-arm/tmp/nshkarm7.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/nshkarm7.elf
Source: nshkarm7.elf, 6296.1.00007ffd83701000.00007ffd83722000.rw-.sdmp Binary or memory string: qemu: uncaught target signal 11 (Segmentation fault) - core dumped

Stealing of Sensitive Information

barindex
Source: Yara match File source: nshkarm7.elf, type: SAMPLE
Source: Yara match File source: 6296.1.00007f5598017000.00007f559802e000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6250.1.00007f5598017000.00007f559802e000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6248.1.00007f5598017000.00007f559802e000.r-x.sdmp, type: MEMORY

Remote Access Functionality

barindex
Source: Yara match File source: nshkarm7.elf, type: SAMPLE
Source: Yara match File source: 6296.1.00007f5598017000.00007f559802e000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6250.1.00007f5598017000.00007f559802e000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6248.1.00007f5598017000.00007f559802e000.r-x.sdmp, type: MEMORY
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs