MalwareBazaar Database

You are currently viewing the MalwareBazaar entry for SHA256 b3af2b24fce06e94f7484946a35ee51944676105381934eb74681958ed0b03d2. 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: 8


Intelligence 8 IOCs YARA 10 File information Comments

SHA256 hash: b3af2b24fce06e94f7484946a35ee51944676105381934eb74681958ed0b03d2
SHA3-384 hash: bc665d19c40bed95254d5be72c80e241715e3aa0ed7afc1b8e36ad8bca2b375d5480874c11c6d35d3f66779e4d51028f
SHA1 hash: ac502fae96c8d33c641ed91f368bb6d0780e6445
MD5 hash: d18bcead7a4728ffe3d53187dd12207f
humanhash: william-pluto-river-jig
File name:Demon.sh4
Download: download sample
Signature Gafgyt
File size:171'633 bytes
First seen:2025-12-09 02:41:59 UTC
Last seen:Never
File type: elf
MIME type:application/x-executable
ssdeep 3072:Xn4Ngp0e9HGp1Ya9HF29FrhlLIQG9ZQLUD0afD+tKIj:X4Ngee9H+fHs9hLoZQLUD0afD+tKIj
TLSH T106F3C9968A31D9B7C053E9323A756158B39CBB6A0B0F09CBBE1D75621E1E0CF641F364
telfhash t13931ff5279f6492d6bf3682858ac47611556b9227321afb4bf5e81948933002b871f8e
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 mirai

Intelligence


File Origin
# of uploads :
1
# of downloads :
131
Origin country :
DE DE
Vendor Threat Intelligence
No detections
Verdict:
Unknown
Threat level:
  0/10
Confidence:
100%
Tags:
gcc masquerade
Verdict:
Malicious
File Type:
elf.32.le
First seen:
2025-12-09T00:50:00Z UTC
Last seen:
2025-12-09T03:28:00Z UTC
Hits:
~10
Result
Threat name:
Gafgyt, Mirai
Detection:
malicious
Classification:
spre.troj.evad
Score:
100 / 100
Signature
Antivirus / Scanner detection for submitted sample
Found malware configuration
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
Sample deletes itself
Sample is potentially a Mirai botnet sample
Suricata IDS alerts for network traffic
Tries to stop the "iptables" service
Yara detected Gafgyt
Yara detected Mirai
Behaviour
Behavior Graph:
behaviorgraph top1 dnsIp2 2 Behavior Graph ID: 1829238 Sample: Demon.sh4.elf Startdate: 09/12/2025 Architecture: LINUX Score: 100 73 176.65.149.4, 2545, 54584 PALTEL-ASPALTELAutonomousSystemPS Germany 2->73 75 54.247.62.1, 43392, 443 AMAZON-02US United States 2->75 81 Suricata IDS alerts for network traffic 2->81 83 Found malware configuration 2->83 85 Malicious sample detected (through community Yara rule) 2->85 87 5 other signatures 2->87 13 Demon.sh4.elf 2->13         started        16 dash rm 2->16         started        18 dash rm 2->18         started        signatures3 process4 signatures5 89 Opens /proc/net/* files useful for finding connected devices and routers 13->89 20 Demon.sh4.elf 13->20         started        process6 process7 22 Demon.sh4.elf 20->22         started        process8 24 Demon.sh4.elf 22->24         started        process9 26 Demon.sh4.elf sh 24->26         started        28 Demon.sh4.elf sh 24->28         started        30 Demon.sh4.elf sh 24->30         started        32 10 other processes 24->32 process10 34 sh service systemctl 26->34         started        37 sh rm 28->37         started        39 sh service systemctl 30->39         started        41 sh rm 32->41         started        43 sh rm 32->43         started        45 sh rm 32->45         started        47 5 other processes 32->47 signatures11 77 Tries to stop the "iptables" service 34->77 49 service 34->49         started        51 service basename 34->51         started        53 service basename 34->53         started        55 service systemctl 34->55         started        79 Sample deletes itself 37->79 57 service 39->57         started        59 service basename 39->59         started        61 service basename 39->61         started        63 service systemctl 39->63         started        process12 process13 65 service systemctl 49->65         started        67 service sed 49->67         started        69 service systemctl 57->69         started        71 service sed 57->71         started       
Threat name:
Linux.Trojan.Gafgyt
Status:
Malicious
First seen:
2025-12-09 02:43:15 UTC
File Type:
ELF32 Little (Exe)
AV detection:
18 of 24 (75.00%)
Threat level:
  5/5
Result
Malware family:
Score:
  10/10
Tags:
family:gafgyt linux
Malware Config
C2 Extraction:
176.65.149.4:2545
Verdict:
Malicious
Tags:
trojan mirai Unix.Trojan.Gafgyt-6981154-0
YARA:
Linux_Trojan_Mirai_b9a9d04b
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:DetectEncryptedVariants
Author:Zinyth
Description:Detects 'encrypted' in ASCII, Unicode, base64, or hex-encoded
Rule name:ELF_Mirai
Author:NDA0E
Description:Detects multiple Mirai variants
Rule name:Linux_Gafgyt_Generic
Author:albertzsigovits
Description:Generic Approach to Mirai/Gafgyt samples
Rule name:linux_generic_ipv6_catcher
Author:@_lubiedo
Description:ELF samples using IPv6 addresses
Rule name:Linux_Trojan_Mirai_b9a9d04b
Author:Elastic Security
Rule name:Mal_LNX_Gafgyt_Botnet_ELF
Author:Phatcharadol Thangplub
Description:Use to detect Gafgyt botnet, and there variants.
Rule name:NET
Author:malware-lu
Rule name:RANSOMWARE
Author:ToroGuitar
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 b3af2b24fce06e94f7484946a35ee51944676105381934eb74681958ed0b03d2

(this sample)

  
Delivery method
Distributed via web download

Comments