Linux Analysis Report
armv5l.elf

Overview

General Information

Sample name: armv5l.elf
Analysis ID: 1554989
MD5: c17f6ede5284118cdddee2154d3d348a
SHA1: e2ea776da861fc1a49284d34f90fa5ddb99ed991
SHA256: c31500df8bbcc2c602ce32c743c493c44b4936b6c6c150a1891b8ac379acbdb4
Tags: elfuser-abuse_ch
Infos:

Detection

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

Signatures

Malicious sample detected (through community Yara rule)
Multi AV Scanner detection for submitted file
Yara detected Gafgyt
Yara detected Mirai
Opens /proc/net/* files useful for finding connected devices and routers
Sample is packed with UPX
Detected TCP or UDP traffic on non-standard ports
ELF contains segments with high entropy indicating compressed/encrypted content
Sample contains only a LOAD segment without any section mappings
Suricata IDS alerts with low severity for network traffic
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
Bashlite, Gafgyt Bashlite is a malware family which infects Linux systems in order to launch distributed denial-of-service attacks (DDoS). Originally it was also known under the name Bashdoor, but this term now refers to the exploit method used by the malware. It has been used to launch attacks of up to 400 Gbps. No Attribution https://malpedia.caad.fkie.fraunhofer.de/details/elf.bashlite
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: armv5l.elf ReversingLabs: Detection: 34%

Spreading

barindex
Source: /tmp/armv5l.elf (PID: 6240) Opens: /proc/net/route Jump to behavior
Source: global traffic TCP traffic: 192.168.2.23:45650 -> 181.214.231.152:31130
Source: Network traffic Suricata IDS: 2848448 - Severity 1 - ETPRO MALWARE Possible ELF/Various IoT Bot Style Device Checkin (unknown) : 192.168.2.23:45650 -> 181.214.231.152:31130
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: 181.214.231.152
Source: unknown TCP traffic detected without corresponding DNS query: 181.214.231.152
Source: unknown TCP traffic detected without corresponding DNS query: 181.214.231.152
Source: unknown TCP traffic detected without corresponding DNS query: 181.214.231.152
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: armv5l.elf, 6240.1.00007f86c0017000.00007f86c0064000.r-x.sdmp, armv5l.elf, 6242.1.00007f86c0017000.00007f86c0064000.r-x.sdmp String found in binary or memory: http://help.yahoo.com/help/us/ysearch/slurp)
Source: armv5l.elf String found in binary or memory: http://upx.sf.net
Source: armv5l.elf, 6242.1.00007f86c0017000.00007f86c0064000.r-x.sdmp String found in binary or memory: http://www.google.com/bot.html)
Source: armv5l.elf, 6242.1.00007f86c0017000.00007f86c0064000.r-x.sdmp String found in binary or memory: http://www.google.com/mobile/adsbot.html)
Source: armv5l.elf, 6240.1.00007f86c0017000.00007f86c0064000.r-x.sdmp, armv5l.elf, 6242.1.00007f86c0017000.00007f86c0064000.r-x.sdmp String found in binary or memory: http://www.spidersoft.com)
Source: armv5l.elf, 6242.1.00007f86c0017000.00007f86c0064000.r-x.sdmp String found in binary or memory: https://developers.google.com/search/docs/advanced/crawling/overview-google-crawlers)
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: 6240.1.00007f86c0017000.00007f86c0064000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 6240.1.00007f86c0017000.00007f86c0064000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: 6242.1.00007f86c0017000.00007f86c0064000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 6242.1.00007f86c0017000.00007f86c0064000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: Process Memory Space: armv5l.elf PID: 6240, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: armv5l.elf PID: 6240, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: Process Memory Space: armv5l.elf PID: 6242, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: armv5l.elf PID: 6242, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: LOAD without section mappings Program segment: 0x8000
Source: 6240.1.00007f86c0017000.00007f86c0064000.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: 6240.1.00007f86c0017000.00007f86c0064000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_ea92cca8 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = aa4aee9f3d6bedd8234eaf8778895a0f5d71c42b21f2a428f01f121e85704e8e, id = ea92cca8-bba7-4a1c-9b88-a2d051ad0021, last_modified = 2021-09-16
Source: 6242.1.00007f86c0017000.00007f86c0064000.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: 6242.1.00007f86c0017000.00007f86c0064000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_ea92cca8 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = aa4aee9f3d6bedd8234eaf8778895a0f5d71c42b21f2a428f01f121e85704e8e, id = ea92cca8-bba7-4a1c-9b88-a2d051ad0021, last_modified = 2021-09-16
Source: Process Memory Space: armv5l.elf PID: 6240, 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: Process Memory Space: armv5l.elf PID: 6240, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_ea92cca8 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = aa4aee9f3d6bedd8234eaf8778895a0f5d71c42b21f2a428f01f121e85704e8e, id = ea92cca8-bba7-4a1c-9b88-a2d051ad0021, last_modified = 2021-09-16
Source: Process Memory Space: armv5l.elf PID: 6242, 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: Process Memory Space: armv5l.elf PID: 6242, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_ea92cca8 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = aa4aee9f3d6bedd8234eaf8778895a0f5d71c42b21f2a428f01f121e85704e8e, id = ea92cca8-bba7-4a1c-9b88-a2d051ad0021, last_modified = 2021-09-16
Source: classification engine Classification label: mal80.spre.troj.evad.linELF@0/1@0/0

Data Obfuscation

barindex
Source: initial sample String containing UPX found: $Info: This file is packed with the UPX executable packer http://upx.sf.net $
Source: initial sample String containing UPX found: $Info: This file is packed with the UPX executable packer http://upx.sf.net $
Source: initial sample String containing UPX found: $Id: UPX 3.94 Copyright (C) 1996-2017 the UPX Team. All Rights Reserved. $
Source: /tmp/armv5l.elf (PID: 6240) Log file created: /tmp/Infected.log Jump to dropped file
Source: armv5l.elf Submission file: segment LOAD with 7.9862 entropy (max. 8.0)
Source: /tmp/armv5l.elf (PID: 6240) Queries kernel information via 'uname': Jump to behavior
Source: armv5l.elf, 6240.1.0000560932b43000.0000560932cf1000.rw-.sdmp, armv5l.elf, 6242.1.0000560932b43000.0000560932cf1000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: armv5l.elf, 6240.1.00007fffc3899000.00007fffc38ba000.rw-.sdmp, armv5l.elf, 6242.1.00007fffc3899000.00007fffc38ba000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: armv5l.elf, 6240.1.00007fffc3899000.00007fffc38ba000.rw-.sdmp, armv5l.elf, 6242.1.00007fffc3899000.00007fffc38ba000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-arm/tmp/armv5l.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/armv5l.elf
Source: armv5l.elf, 6240.1.0000560932b43000.0000560932cf1000.rw-.sdmp, armv5l.elf, 6242.1.0000560932b43000.0000560932cf1000.rw-.sdmp Binary or memory string: 2V!/etc/qemu-binfmt/arm

Stealing of Sensitive Information

barindex
Source: Yara match File source: 6240.1.00007f86c0017000.00007f86c0064000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6242.1.00007f86c0017000.00007f86c0064000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6240.1.00007f86c0017000.00007f86c0064000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6242.1.00007f86c0017000.00007f86c0064000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: armv5l.elf PID: 6240, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: armv5l.elf PID: 6242, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: 6240.1.00007f86c0017000.00007f86c0064000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6242.1.00007f86c0017000.00007f86c0064000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6240.1.00007f86c0017000.00007f86c0064000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6242.1.00007f86c0017000.00007f86c0064000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: armv5l.elf PID: 6240, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: armv5l.elf PID: 6242, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs