MalwareBazaar Database

You are currently viewing the MalwareBazaar entry for SHA256 371c587b4674f24272269eeac11a8d3956e8ddb6448c13a9037f5d7a206fc16e. While MalwareBazaar tries to identify whether the sample provided is malicious or not, there is no guarantee that a sample in MalwareBazaar is malicious.

Database Entry



Gafgyt


Vendor detections: 12


Intelligence 12 IOCs YARA 30 File information Comments

SHA256 hash: 371c587b4674f24272269eeac11a8d3956e8ddb6448c13a9037f5d7a206fc16e
SHA3-384 hash: 0a16eb060fc2914c703c0f2ab78b87f7b474825e7d61fe47cdf370ee8f3207847fbd3cc800d90b3fff524e072f2d57fd
SHA1 hash: 447fe58c27121c9664724ef491aeb3da261650bb
MD5 hash: 5e260c948af01618253843f0a42a558e
humanhash: mike-freddie-oregon-robin
File name:ssh
Download: download sample
Signature Gafgyt
File size:129'487 bytes
First seen:2025-08-15 13:52:25 UTC
Last seen:Never
File type: elf
MIME type:application/x-executable
ssdeep 3072:KhjexTjDGrDqS9M5IayQh9DAi43C7uICP708hBIib5b6ez:oMi1QYZC7xCP708hBIib5b64
TLSH T134C33A17B2D189BAC09656F527EB91A1D823FC3D0B32714B7390BEA52F399D81D2DB01
telfhash t1b1316512997947242ff69928bcad46b301226b2313562f72af36c5cc48260a1e63dd4b
TrID 50.1% (.) ELF Executable and Linkable format (Linux) (4022/12)
49.8% (.O) ELF Executable and Linkable format (generic) (4000/1)
Magika elf
Reporter abuse_ch
Tags:elf gafgyt

Intelligence


File Origin
# of uploads :
1
# of downloads :
31
Origin country :
DE DE
Vendor Threat Intelligence
Result
Verdict:
Malware
Maliciousness:

Behaviour
Opens a port
Runs as daemon
Connection attempt
Substitutes an application name
Verdict:
Likely Malicious
Threat level:
  7.5/10
Confidence:
100%
Tags:
gcc lolbin obfuscated remote threat
Status:
terminated
Behavior Graph:
%3 guuid=e7d50623-2200-0000-f8bf-0ad7560b0000 pid=2902 /usr/bin/sudo guuid=f013d325-2200-0000-f8bf-0ad75b0b0000 pid=2907 /tmp/sample.bin net guuid=e7d50623-2200-0000-f8bf-0ad7560b0000 pid=2902->guuid=f013d325-2200-0000-f8bf-0ad75b0b0000 pid=2907 execve 8b0a01dc-0728-52c1-8024-c4ba7801b8d6 8.8.8.8:53 guuid=f013d325-2200-0000-f8bf-0ad75b0b0000 pid=2907->8b0a01dc-0728-52c1-8024-c4ba7801b8d6 con guuid=657e2026-2200-0000-f8bf-0ad75c0b0000 pid=2908 /tmp/sample.bin write-file zombie guuid=f013d325-2200-0000-f8bf-0ad75b0b0000 pid=2907->guuid=657e2026-2200-0000-f8bf-0ad75c0b0000 pid=2908 clone guuid=dac32726-2200-0000-f8bf-0ad75d0b0000 pid=2909 /tmp/sample.bin guuid=f013d325-2200-0000-f8bf-0ad75b0b0000 pid=2907->guuid=dac32726-2200-0000-f8bf-0ad75d0b0000 pid=2909 clone guuid=6a4a2c26-2200-0000-f8bf-0ad75e0b0000 pid=2910 /tmp/sample.bin guuid=f013d325-2200-0000-f8bf-0ad75b0b0000 pid=2907->guuid=6a4a2c26-2200-0000-f8bf-0ad75e0b0000 pid=2910 clone guuid=3d2cde27-2200-0000-f8bf-0ad7610b0000 pid=2913 /usr/bin/dash guuid=657e2026-2200-0000-f8bf-0ad75c0b0000 pid=2908->guuid=3d2cde27-2200-0000-f8bf-0ad7610b0000 pid=2913 execve guuid=5527ee2c-2200-0000-f8bf-0ad76c0b0000 pid=2924 /usr/bin/dash guuid=657e2026-2200-0000-f8bf-0ad75c0b0000 pid=2908->guuid=5527ee2c-2200-0000-f8bf-0ad76c0b0000 pid=2924 execve guuid=27ef352f-2200-0000-f8bf-0ad7750b0000 pid=2933 /usr/bin/dash guuid=657e2026-2200-0000-f8bf-0ad75c0b0000 pid=2908->guuid=27ef352f-2200-0000-f8bf-0ad7750b0000 pid=2933 execve guuid=303e4231-2200-0000-f8bf-0ad7770b0000 pid=2935 /usr/bin/dash guuid=657e2026-2200-0000-f8bf-0ad75c0b0000 pid=2908->guuid=303e4231-2200-0000-f8bf-0ad7770b0000 pid=2935 execve guuid=8cb11533-2200-0000-f8bf-0ad7790b0000 pid=2937 /usr/bin/dash guuid=657e2026-2200-0000-f8bf-0ad75c0b0000 pid=2908->guuid=8cb11533-2200-0000-f8bf-0ad7790b0000 pid=2937 execve guuid=d76f9134-2200-0000-f8bf-0ad77e0b0000 pid=2942 /usr/bin/dash guuid=657e2026-2200-0000-f8bf-0ad75c0b0000 pid=2908->guuid=d76f9134-2200-0000-f8bf-0ad77e0b0000 pid=2942 execve guuid=b2b1a436-2200-0000-f8bf-0ad7840b0000 pid=2948 /usr/bin/dash guuid=657e2026-2200-0000-f8bf-0ad75c0b0000 pid=2908->guuid=b2b1a436-2200-0000-f8bf-0ad7840b0000 pid=2948 execve guuid=85e0f738-2200-0000-f8bf-0ad7870b0000 pid=2951 /usr/bin/dash guuid=657e2026-2200-0000-f8bf-0ad75c0b0000 pid=2908->guuid=85e0f738-2200-0000-f8bf-0ad7870b0000 pid=2951 execve guuid=88243526-2200-0000-f8bf-0ad75f0b0000 pid=2911 /tmp/sample.bin net send-data zombie guuid=6a4a2c26-2200-0000-f8bf-0ad75e0b0000 pid=2910->guuid=88243526-2200-0000-f8bf-0ad75f0b0000 pid=2911 clone aa741c27-8342-57db-90e7-58fe0cd14bd8 206.123.128.67:65481 guuid=88243526-2200-0000-f8bf-0ad75f0b0000 pid=2911->aa741c27-8342-57db-90e7-58fe0cd14bd8 send: 14B guuid=0c802328-2200-0000-f8bf-0ad7620b0000 pid=2914 /usr/bin/pgrep guuid=3d2cde27-2200-0000-f8bf-0ad7610b0000 pid=2913->guuid=0c802328-2200-0000-f8bf-0ad7620b0000 pid=2914 execve guuid=5700162d-2200-0000-f8bf-0ad76e0b0000 pid=2926 /usr/bin/killall guuid=5527ee2c-2200-0000-f8bf-0ad76c0b0000 pid=2924->guuid=5700162d-2200-0000-f8bf-0ad76e0b0000 pid=2926 execve guuid=2cf1612f-2200-0000-f8bf-0ad7760b0000 pid=2934 /usr/bin/killall guuid=27ef352f-2200-0000-f8bf-0ad7750b0000 pid=2933->guuid=2cf1612f-2200-0000-f8bf-0ad7760b0000 pid=2934 execve guuid=3983aa31-2200-0000-f8bf-0ad7780b0000 pid=2936 /usr/bin/killall guuid=303e4231-2200-0000-f8bf-0ad7770b0000 pid=2935->guuid=3983aa31-2200-0000-f8bf-0ad7780b0000 pid=2936 execve guuid=ec1f6233-2200-0000-f8bf-0ad77a0b0000 pid=2938 /usr/bin/killall guuid=8cb11533-2200-0000-f8bf-0ad7790b0000 pid=2937->guuid=ec1f6233-2200-0000-f8bf-0ad77a0b0000 pid=2938 execve guuid=f836c034-2200-0000-f8bf-0ad7800b0000 pid=2944 /usr/bin/killall guuid=d76f9134-2200-0000-f8bf-0ad77e0b0000 pid=2942->guuid=f836c034-2200-0000-f8bf-0ad7800b0000 pid=2944 execve guuid=99f3ea36-2200-0000-f8bf-0ad7850b0000 pid=2949 /usr/bin/killall guuid=b2b1a436-2200-0000-f8bf-0ad7840b0000 pid=2948->guuid=99f3ea36-2200-0000-f8bf-0ad7850b0000 pid=2949 execve guuid=96e32a39-2200-0000-f8bf-0ad7880b0000 pid=2952 /usr/bin/killall guuid=85e0f738-2200-0000-f8bf-0ad7870b0000 pid=2951->guuid=96e32a39-2200-0000-f8bf-0ad7880b0000 pid=2952 execve
Result
Threat name:
Detection:
malicious
Classification:
spre.troj.evad
Score:
80 / 100
Signature
Connects to many ports of the same IP (likely port scanning)
Contains symbols with names commonly found in malware
Malicious sample detected (through community Yara rule)
Multi AV Scanner detection for submitted file
Opens /proc/net/* files useful for finding connected devices and routers
Terminates several processes with shell command 'killall'
Yara detected Gafgyt
Behaviour
Behavior Graph:
behaviorgraph top1 dnsIp2 2 Behavior Graph ID: 1757894 Sample: ssh.elf Startdate: 15/08/2025 Architecture: LINUX Score: 80 45 206.123.128.67, 65481 LEASEWEB-USA-NYC-11US United States 2->45 47 169.254.169.254, 80 USDOSUS Reserved 2->47 49 daisy.ubuntu.com 2->49 51 Malicious sample detected (through community Yara rule) 2->51 53 Multi AV Scanner detection for submitted file 2->53 55 Yara detected Gafgyt 2->55 57 2 other signatures 2->57 9 ssh.elf 2->9         started        12 python3.8 dpkg 2->12         started        signatures3 process4 signatures5 59 Opens /proc/net/* files useful for finding connected devices and routers 9->59 14 ssh.elf 9->14         started        16 ssh.elf 9->16         started        18 ssh.elf 9->18         started        process6 process7 20 ssh.elf sh 14->20         started        22 ssh.elf sh 14->22         started        24 ssh.elf sh 14->24         started        28 21 other processes 14->28 26 ssh.elf 16->26         started        process8 30 sh killall 20->30         started        33 sh killall 22->33         started        35 sh killall 24->35         started        37 sh killall 28->37         started        39 sh killall 28->39         started        41 sh killall 28->41         started        43 18 other processes 28->43 signatures9 61 Terminates several processes with shell command 'killall' 30->61
Verdict:
Malicious
Threat:
HEUR:Backdoor.Linux.Gafgyt
Threat name:
Linux.Backdoor.Bashlite
Status:
Malicious
First seen:
2025-08-15 12:27:20 UTC
File Type:
ELF64 Little (Exe)
AV detection:
15 of 23 (65.22%)
Threat level:
  5/5
Result
Malware family:
Score:
  10/10
Tags:
family:gafgyt defense_evasion discovery linux
Behaviour
Enumerates kernel/hardware configuration
Reads runtime system information
Changes its process name
Reads CPU attributes
Reads system network configuration
Enumerates running processes
Reads system routing table
Modifies Watchdog functionality
Writes memory of remote process
Verdict:
Malicious
Tags:
trojan gafgyt mirai Unix.Trojan.Gafgyt-6981154-0
YARA:
Linux_Trojan_Gafgyt_a6a2adb9 Linux_Trojan_Gafgyt_9e9530a7 Linux_Trojan_Gafgyt_f3d83a74 Linux_Trojan_Gafgyt_807911a2 Linux_Trojan_Gafgyt_e0673a90 Linux_Trojan_Gafgyt_a0a4de11 Linux_Trojan_Gafgyt_d4227dbf Linux_Trojan_Gafgyt_09c3070e Linux_Trojan_Gafgyt_46eec778 Linux_Trojan_Gafgyt_d996d335 Linux_Trojan_Gafgyt_d0c57a2e Linux_Trojan_Gafgyt_656bf077 Linux_Trojan_Gafgyt_620087b9 Linux_Trojan_Gafgyt_dd0d6173 Linux_Trojan_Gafgyt_779e142f Linux_Trojan_Gafgyt_cf84c9f2 Linux_Trojan_Gafgyt_0cd591cd Linux_Trojan_Gafgyt_33b4111a Linux_Trojan_Gafgyt_862c4e0e Linux_Trojan_Gafgyt_32eb0c81 Linux_Trojan_Gafgyt_a33a8363 Linux_Trojan_Mirai_3fe3c668 Linux_Trojan_Mirai_637f2c04 elf_bashlite_auto
Please note that we are no longer able to provide a coverage score for Virus Total.

YARA Signatures


MalwareBazaar uses YARA rules from several public and non-public repositories, such as YARAhub and Malpedia. Those are being matched against malware samples uploaded to MalwareBazaar as well as against any suspicious process dumps they may create. Please note that only results from TLP:CLEAR rules are being displayed.

Rule name:ach_202503_elf_Mirai
Author:abuse.ch
Description:Detects Mirai 'TSource' ELF files
Rule name:botnet_plaintext_c2
Author:cip
Description:Attempts to match at least some of the strings used in some botnet variants which use plaintext communication protocols.
Rule name:enterpriseapps2
Author:Tim Brown @timb_machine
Description:Enterprise apps
Rule name:Linux_Gafgyt_Generic
Author:albertzsigovits
Description:Generic Approach to Mirai/Gafgyt samples
Rule name:Linux_Trojan_Gafgyt_09c3070e
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_0cd591cd
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_32eb0c81
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_33b4111a
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_46eec778
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_620087b9
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_656bf077
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_779e142f
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_807911a2
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_862c4e0e
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_9e9530a7
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_a0a4de11
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_a33a8363
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_a6a2adb9
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_cf84c9f2
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_d0c57a2e
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_d4227dbf
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_d996d335
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_dd0d6173
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_e0673a90
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_f3d83a74
Author:Elastic Security
Rule name:Linux_Trojan_Mirai_3fe3c668
Author:Elastic Security
Rule name:Linux_Trojan_Mirai_637f2c04
Author:Elastic Security
Rule name:Mal_LNX_Gafgyt_Botnet_ELF
Author:Phatcharadol Thangplub
Description:Use to detect Gafgyt botnet, and there variants.
Rule name:setsockopt
Author:Tim Brown @timb_machine
Description:Hunts for setsockopt() red flags
Rule name:unixredflags3
Author:Tim Brown @timb_machine
Description:Hunts for UNIX red flags

File information


The table below shows additional information about this malware sample such as delivery method and external references.

Web download

Gafgyt

elf 371c587b4674f24272269eeac11a8d3956e8ddb6448c13a9037f5d7a206fc16e

(this sample)

  
Delivery method
Distributed via web download

BLint


The following table provides more information about this file using BLint. BLint is a Binary Linter to check the security properties, and capabilities in executables.

Findings
IDTitleSeverity
CHECK_PIEMissing Position-Independent Executable (PIE) Protectionhigh

Comments