Linux Analysis Report
nsharm7.elf

Overview

General Information

Sample name: nsharm7.elf
Analysis ID: 1579332
MD5: 1a4375f6423f0c96f3d2377d1c157595
SHA1: fec7b3bd66d1d4a88b7a22511962007f7b99e34b
SHA256: 4d315e63c562b354627d6b169e197d5cf108f318b446dac59c8edff283314e9d
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
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: nsharm7.elf Avira: detected
Source: nsharm7.elf ReversingLabs: Detection: 36%
Source: nsharm7.elf Virustotal: Detection: 31% Perma Link

Networking

barindex
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 DNS traffic detected: malformed DNS query: catvision.dyn. [malformed]
Source: global traffic TCP traffic: 192.168.2.23:34574 -> 86.107.100.19:12084
Source: global traffic TCP traffic: 192.168.2.23:34788 -> 212.64.215.71:10004
Source: /tmp/nsharm7.elf (PID: 6250) 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: 101.50.82.95
Source: unknown TCP traffic detected without corresponding DNS query: 169.22.205.200
Source: unknown TCP traffic detected without corresponding DNS query: 5.152.137.214
Source: unknown TCP traffic detected without corresponding DNS query: 65.89.242.238
Source: unknown TCP traffic detected without corresponding DNS query: 34.184.186.106
Source: unknown TCP traffic detected without corresponding DNS query: 1.146.100.105
Source: unknown TCP traffic detected without corresponding DNS query: 150.25.88.76
Source: unknown TCP traffic detected without corresponding DNS query: 24.75.162.174
Source: unknown TCP traffic detected without corresponding DNS query: 14.81.217.236
Source: unknown TCP traffic detected without corresponding DNS query: 32.48.0.41
Source: unknown TCP traffic detected without corresponding DNS query: 205.113.212.60
Source: unknown TCP traffic detected without corresponding DNS query: 34.82.192.39
Source: unknown TCP traffic detected without corresponding DNS query: 197.140.109.93
Source: unknown TCP traffic detected without corresponding DNS query: 148.199.40.187
Source: unknown TCP traffic detected without corresponding DNS query: 29.20.48.236
Source: unknown TCP traffic detected without corresponding DNS query: 198.30.146.225
Source: unknown TCP traffic detected without corresponding DNS query: 182.185.28.48
Source: unknown TCP traffic detected without corresponding DNS query: 120.14.188.96
Source: unknown TCP traffic detected without corresponding DNS query: 215.188.0.78
Source: unknown TCP traffic detected without corresponding DNS query: 138.239.91.64
Source: unknown TCP traffic detected without corresponding DNS query: 179.105.237.192
Source: unknown TCP traffic detected without corresponding DNS query: 89.187.65.140
Source: unknown TCP traffic detected without corresponding DNS query: 108.191.92.45
Source: unknown TCP traffic detected without corresponding DNS query: 124.98.86.52
Source: unknown TCP traffic detected without corresponding DNS query: 216.43.129.143
Source: unknown TCP traffic detected without corresponding DNS query: 156.69.237.221
Source: unknown TCP traffic detected without corresponding DNS query: 88.36.55.230
Source: unknown TCP traffic detected without corresponding DNS query: 182.47.32.3
Source: unknown TCP traffic detected without corresponding DNS query: 36.233.106.40
Source: unknown TCP traffic detected without corresponding DNS query: 195.21.89.87
Source: unknown TCP traffic detected without corresponding DNS query: 31.161.171.88
Source: unknown TCP traffic detected without corresponding DNS query: 139.244.25.87
Source: unknown TCP traffic detected without corresponding DNS query: 218.212.94.205
Source: unknown TCP traffic detected without corresponding DNS query: 111.39.7.197
Source: unknown TCP traffic detected without corresponding DNS query: 21.236.131.147
Source: unknown TCP traffic detected without corresponding DNS query: 104.251.91.128
Source: unknown TCP traffic detected without corresponding DNS query: 12.169.156.116
Source: unknown TCP traffic detected without corresponding DNS query: 217.123.243.45
Source: unknown TCP traffic detected without corresponding DNS query: 194.66.133.56
Source: unknown TCP traffic detected without corresponding DNS query: 154.103.172.79
Source: unknown TCP traffic detected without corresponding DNS query: 82.222.192.162
Source: unknown TCP traffic detected without corresponding DNS query: 45.77.184.126
Source: unknown TCP traffic detected without corresponding DNS query: 191.230.22.196
Source: unknown TCP traffic detected without corresponding DNS query: 167.154.19.174
Source: unknown TCP traffic detected without corresponding DNS query: 125.42.221.8
Source: unknown TCP traffic detected without corresponding DNS query: 57.4.214.210
Source: unknown TCP traffic detected without corresponding DNS query: 99.100.16.91
Source: unknown TCP traffic detected without corresponding DNS query: 41.183.160.124
Source: unknown TCP traffic detected without corresponding DNS query: 42.235.39.231
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: global traffic DNS traffic detected: DNS query: catvision.dyn. [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@6/0
Source: /usr/bin/dash (PID: 6222) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.K5KLlKIHcx /tmp/tmp.GpO1acuFux /tmp/tmp.zdKlLUAt0R Jump to behavior
Source: /usr/bin/dash (PID: 6223) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.K5KLlKIHcx /tmp/tmp.GpO1acuFux /tmp/tmp.zdKlLUAt0R Jump to behavior
Source: /tmp/nsharm7.elf (PID: 6250) Queries kernel information via 'uname': Jump to behavior
Source: nsharm7.elf, 6250.1.00007ffcd2fb8000.00007ffcd2fd9000.rw-.sdmp, nsharm7.elf, 6252.1.00007ffcd2fb8000.00007ffcd2fd9000.rw-.sdmp, nsharm7.elf, 6306.1.00007ffcd2fb8000.00007ffcd2fd9000.rw-.sdmp Binary or memory string: !x86_64/usr/bin/qemu-arm/tmp/nsharm7.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/nsharm7.elf
Source: nsharm7.elf, 6306.1.000056305bee4000.000056305c056000.rw-.sdmp Binary or memory string: !/proc/78/exe1/proc/115/exe/arm/Q0A/usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd!/proc/17/exe1/usr/bin/vmtoolsdrm/ro10!/proc/202/exe0!/proc/18/exe1/proc/249/exe/arm/ro10!/proc/201/exe0!/proc/20/exe1/usr/bin/dbus-run-session0!/proc/157/exe0!/proc/21/exe1/proc/250/exe/arm/ro10!/proc/144/exe0!/proc/22/exe1/proc/721/exe/arm/ro10!/proc/141/exe0!/proc/23/exe1/proc/251/exe/arm/ro10!/proc/132/exe0!/proc/24/exe1/proc/1476/exe/arm/ro10!/proc/130/exe0!/proc/25/exe1/proc/252/exe/arm/ro10!/proc/128/exe0!/proc/26/exe1/usr/bin/VGAuthServiceo10!/proc/127/exe0!/proc/27/exe1/proc/253/exe/arm/ro10!/proc/126/exe0!/proc/28/exe1/usr/libexec/gnome-session-binary!/proc/125/exe0!/proc/29/exe1/proc/254/exe/arm/ro10!/proc/124/exe0!/proc/30/exe1/usr/bin'
Source: nsharm7.elf, 6306.1.000056305bee4000.000056305c056000.rw-.sdmp Binary or memory string: /usr/bin/vmtoolsd
Source: nsharm7.elf, 6250.1.000056305bee4000.000056305c056000.rw-.sdmp, nsharm7.elf, 6252.1.000056305bee4000.000056305c056000.rw-.sdmp, nsharm7.elf, 6306.1.000056305bee4000.000056305c056000.rw-.sdmp Binary or memory string: /etc/qemu-binfmtP
Source: nsharm7.elf, 6250.1.000056305bee4000.000056305c056000.rw-.sdmp, nsharm7.elf, 6252.1.000056305bee4000.000056305c056000.rw-.sdmp, nsharm7.elf, 6306.1.000056305bee4000.000056305c056000.rw-.sdmp Binary or memory string: /etc/qemu-binfmtP /proc/4444/exefce4/paneQ
Source: nsharm7.elf, 6250.1.000056305bee4000.000056305c056000.rw-.sdmp, nsharm7.elf, 6252.1.000056305bee4000.000056305c056000.rw-.sdmp, nsharm7.elf, 6306.1.000056305bee4000.000056305c056000.rw-.sdmp Binary or memory string: [0V!/etc/qemu-binfmt/arm
Source: nsharm7.elf, 6250.1.000056305bee4000.000056305c056000.rw-.sdmp, nsharm7.elf, 6252.1.000056305bee4000.000056305c056000.rw-.sdmp, nsharm7.elf, 6306.1.000056305bee4000.000056305c056000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: nsharm7.elf, 6250.1.00007ffcd2fb8000.00007ffcd2fd9000.rw-.sdmp, nsharm7.elf, 6252.1.00007ffcd2fb8000.00007ffcd2fd9000.rw-.sdmp, nsharm7.elf, 6306.1.00007ffcd2fb8000.00007ffcd2fd9000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: nsharm7.elf, 6306.1.00007ffcd2fb8000.00007ffcd2fd9000.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: nsharm7.elf, type: SAMPLE
Source: Yara match File source: 6306.1.00007f2d6c017000.00007f2d6c02f000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6250.1.00007f2d6c017000.00007f2d6c02f000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6252.1.00007f2d6c017000.00007f2d6c02f000.r-x.sdmp, type: MEMORY

Remote Access Functionality

barindex
Source: Yara match File source: nsharm7.elf, type: SAMPLE
Source: Yara match File source: 6306.1.00007f2d6c017000.00007f2d6c02f000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6250.1.00007f2d6c017000.00007f2d6c02f000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6252.1.00007f2d6c017000.00007f2d6c02f000.r-x.sdmp, type: MEMORY
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs