Linux Analysis Report
3UPhJmQfMS.elf

Overview

General Information

Sample name: 3UPhJmQfMS.elf
renamed because original name is a hash value
Original sample name: 50c35894ce2bae983c1fb02fcb6cebc2.elf
Analysis ID: 1430210
MD5: 50c35894ce2bae983c1fb02fcb6cebc2
SHA1: 8cfdb745fc42aaba05a179b7c2bf028f10098578
SHA256: 5131e38271b160de1385fffcffa15d1aac1445c9173363a0d1edd7da9d80237b
Tags: 32elfgafgytintel
Infos:

Detection

Gafgyt, Mirai
Score: 84
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
Connects to many ports of the same IP (likely port scanning)
Machine Learning detection for sample
Opens /proc/net/* files useful for finding connected devices and routers
Detected TCP or UDP traffic on non-standard ports
ELF contains segments with high entropy indicating compressed/encrypted content
Executes the "rm" command used to delete files or directories
Sample contains only a LOAD segment without any section mappings
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: 3UPhJmQfMS.elf ReversingLabs: Detection: 34%
Source: 3UPhJmQfMS.elf Virustotal: Detection: 40% Perma Link
Source: 3UPhJmQfMS.elf Joe Sandbox ML: detected

Spreading

barindex
Source: /tmp/3UPhJmQfMS.elf (PID: 5426) Opens: /proc/net/route Jump to behavior

Networking

barindex
Source: global traffic TCP traffic: 193.35.18.127 ports 19286,1,2,6,8,9
Source: global traffic TCP traffic: 192.168.2.13:51220 -> 193.35.18.127:19286
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.127
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.127
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.127
Source: unknown TCP traffic detected without corresponding DNS query: 54.247.62.1
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.127
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.127
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.127
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.127
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.127
Source: unknown TCP traffic detected without corresponding DNS query: 193.35.18.127
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 HTTP traffic detected: GET / HTTP/1.1User-Agent: wget/1.20.3-1ubuntu1 Ubuntu/20.04.2/LTS GNU/Linux/5.4.0-72-generic/x86_64 Intel(R)/Xeon(R)/Silver/4210/CPU/@/2.20GHz cloud_id/noneAccept: */*Accept-Encoding: identityHost: motd.ubuntu.comConnection: Keep-Alive
Source: unknown DNS traffic detected: queries for: daisy.ubuntu.com
Source: 3UPhJmQfMS.elf, 5427.1.0000000008048000.0000000008079000.r-x.sdmp String found in binary or memory: http://code.google.com/appengine;
Source: 3UPhJmQfMS.elf, 5427.1.0000000008048000.0000000008079000.r-x.sdmp String found in binary or memory: http://majestic12.co.uk/bot.php?
Source: 3UPhJmQfMS.elf, 5427.1.0000000008048000.0000000008079000.r-x.sdmp String found in binary or memory: http://wortschatz.uni-leipzig.de/findlinks/)
Source: 3UPhJmQfMS.elf, 5426.1.0000000008048000.0000000008079000.r-x.sdmp, 3UPhJmQfMS.elf, 5427.1.0000000008048000.0000000008079000.r-x.sdmp String found in binary or memory: http://www.brandwatch.net)
Source: 3UPhJmQfMS.elf, 5427.1.0000000008048000.0000000008079000.r-x.sdmp String found in binary or memory: http://www.majestic12.co.uk/bot.php?
Source: 3UPhJmQfMS.elf, 5426.1.0000000008048000.0000000008079000.r-x.sdmp, 3UPhJmQfMS.elf, 5427.1.0000000008048000.0000000008079000.r-x.sdmp String found in binary or memory: http://www.mojeek.com/bot.html)
Source: unknown Network traffic detected: HTTP traffic on port 37688 -> 443
Source: unknown Network traffic detected: HTTP traffic on port 443 -> 37688
Source: unknown Network traffic detected: HTTP traffic on port 57214 -> 443

System Summary

barindex
Source: 5427.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5427.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: 5427.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Mirai_122ff2e6 Author: unknown
Source: 5427.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Mirai_fa48b592 Author: unknown
Source: 5426.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5426.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: 5426.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Mirai_122ff2e6 Author: unknown
Source: 5426.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Mirai_fa48b592 Author: unknown
Source: Process Memory Space: 3UPhJmQfMS.elf PID: 5426, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: 3UPhJmQfMS.elf PID: 5426, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: Process Memory Space: 3UPhJmQfMS.elf PID: 5427, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: 3UPhJmQfMS.elf PID: 5427, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: LOAD without section mappings Program segment: 0x8048000
Source: 5427.1.0000000008048000.0000000008079000.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: 5427.1.0000000008048000.0000000008079000.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: 5427.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Mirai_122ff2e6 reference_sample = c7dd999a033fa3edc1936785b87cd69ce2f5cac5a084ddfaf527a1094e718bc4, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Mirai, fingerprint = 3c9ffd7537e30a21eefa6c174f801264b92a85a1bc73e34e6dc9e29f84658348, id = 122ff2e6-56e6-4aa8-a3ec-c19d31eb1f80, last_modified = 2021-09-16
Source: 5427.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Mirai_fa48b592 reference_sample = c9e33befeec133720b3ba40bb3cd7f636aad80f72f324c5fe65ac7af271c49ee, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Mirai, fingerprint = 8838d2752b310dbf7d12f6cf023244aaff4fdf5b55cf1e3b71843210df0fcf88, id = fa48b592-8d80-45af-a3e4-232695b8f5dd, last_modified = 2021-09-16
Source: 5426.1.0000000008048000.0000000008079000.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: 5426.1.0000000008048000.0000000008079000.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: 5426.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Mirai_122ff2e6 reference_sample = c7dd999a033fa3edc1936785b87cd69ce2f5cac5a084ddfaf527a1094e718bc4, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Mirai, fingerprint = 3c9ffd7537e30a21eefa6c174f801264b92a85a1bc73e34e6dc9e29f84658348, id = 122ff2e6-56e6-4aa8-a3ec-c19d31eb1f80, last_modified = 2021-09-16
Source: 5426.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Mirai_fa48b592 reference_sample = c9e33befeec133720b3ba40bb3cd7f636aad80f72f324c5fe65ac7af271c49ee, os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Mirai, fingerprint = 8838d2752b310dbf7d12f6cf023244aaff4fdf5b55cf1e3b71843210df0fcf88, id = fa48b592-8d80-45af-a3e4-232695b8f5dd, last_modified = 2021-09-16
Source: Process Memory Space: 3UPhJmQfMS.elf PID: 5426, 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: 3UPhJmQfMS.elf PID: 5426, 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: 3UPhJmQfMS.elf PID: 5427, 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: 3UPhJmQfMS.elf PID: 5427, 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: mal84.spre.troj.linELF@0/0@2/0
Source: /usr/bin/dash (PID: 5466) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.ealSxqo2Xg /tmp/tmp.HCC54RocfC /tmp/tmp.03p31RU5X2 Jump to behavior
Source: /usr/bin/dash (PID: 5475) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.ealSxqo2Xg /tmp/tmp.HCC54RocfC /tmp/tmp.03p31RU5X2 Jump to behavior
Source: 3UPhJmQfMS.elf Submission file: segment LOAD with 7.9827 entropy (max. 8.0)

Stealing of Sensitive Information

barindex
Source: Yara match File source: 5427.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5426.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5427.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5426.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: 3UPhJmQfMS.elf PID: 5426, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: 3UPhJmQfMS.elf PID: 5427, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: 5427.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5426.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5427.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5426.1.0000000008048000.0000000008079000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: 3UPhJmQfMS.elf PID: 5426, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: 3UPhJmQfMS.elf PID: 5427, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs