Linux Analysis Report
8fbWZ1ZeKa.elf

Overview

General Information

Sample name: 8fbWZ1ZeKa.elf
renamed because original name is a hash value
Original sample name: 891a4a5767f9232e24d1ac14bba548fd.elf
Analysis ID: 1527559
MD5: 891a4a5767f9232e24d1ac14bba548fd
SHA1: 2cd76c21731bbf5be3cf09bae93d989089b212d6
SHA256: 33bc9c032ff2d2e76353ff2f18bb27226707dbcec4b3cba5b38dceb757836253
Tags: 32armelfmirai
Infos:

Detection

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

Signatures

Malicious sample detected (through community Yara rule)
Multi AV Scanner detection for submitted file
Yara detected Mirai
Sample is packed with UPX
ELF contains segments with high entropy indicating compressed/encrypted content
Sample contains only a LOAD segment without any section mappings
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: 8fbWZ1ZeKa.elf Virustotal: Detection: 47% Perma Link
Source: unknown UDP traffic detected without corresponding DNS query: 1.1.1.1
Source: unknown UDP traffic detected without corresponding DNS query: 1.1.1.1
Source: global traffic DNS traffic detected: DNS query: daisy.ubuntu.com
Source: 8fbWZ1ZeKa.elf String found in binary or memory: http://upx.sf.net

System Summary

barindex
Source: 5501.1.00007fa9c4017000.00007fa9c4027000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5501.1.00007fa9c4017000.00007fa9c4027000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: Process Memory Space: 8fbWZ1ZeKa.elf PID: 5501, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: 8fbWZ1ZeKa.elf PID: 5501, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: LOAD without section mappings Program segment: 0x8000
Source: 5501.1.00007fa9c4017000.00007fa9c4027000.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: 5501.1.00007fa9c4017000.00007fa9c4027000.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: 8fbWZ1ZeKa.elf PID: 5501, 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: 8fbWZ1ZeKa.elf PID: 5501, 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: mal68.troj.evad.linELF@0/0@2/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: 8fbWZ1ZeKa.elf Submission file: segment LOAD with 7.9424 entropy (max. 8.0)
Source: /tmp/8fbWZ1ZeKa.elf (PID: 5501) Queries kernel information via 'uname': Jump to behavior
Source: 8fbWZ1ZeKa.elf, 5501.1.00007fffc71db000.00007fffc71fc000.rw-.sdmp Binary or memory string: {x86_64/usr/bin/qemu-arm/tmp/8fbWZ1ZeKa.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/8fbWZ1ZeKa.elf
Source: 8fbWZ1ZeKa.elf, 5501.1.000055da2cfbd000.000055da2d16b000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/arm
Source: 8fbWZ1ZeKa.elf, 5501.1.000055da2cfbd000.000055da2d16b000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: 8fbWZ1ZeKa.elf, 5501.1.00007fffc71db000.00007fffc71fc000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: 8fbWZ1ZeKa.elf, 5501.1.00007fffc71db000.00007fffc71fc000.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: 5501.1.00007fa9c4017000.00007fa9c4027000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: 8fbWZ1ZeKa.elf PID: 5501, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: 5501.1.00007fa9c4017000.00007fa9c4027000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: 8fbWZ1ZeKa.elf PID: 5501, type: MEMORYSTR
No contacted IP infos