🤲🏼 NEW | abuse.ch Community Hub! Earn recognition 🏅 for the malware intelligence you share, climb the leaderboards 📈, and connect with like-minded contributors who share your hunting focus 🤝. Ready to unlock your profile? Go to the Community Hub →

MalwareBazaar Database

You are currently viewing the MalwareBazaar entry for SHA256 372488b8cecb45ce03923f19df5d904980761cd8a7f2ca87ce6c5b7fcff0e20a. 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: 10


Intelligence 10 IOCs YARA 7 File information Comments

SHA256 hash: 372488b8cecb45ce03923f19df5d904980761cd8a7f2ca87ce6c5b7fcff0e20a
SHA3-384 hash: 5ff95c9fa89317e7e829073cbba158ae74585f909da55b4b61b64d2090539ab55af6513b9c78d77c4482b775795ceef5
SHA1 hash: 39f8b713d31c70b4d887ef95d347b48c8f68c98e
MD5 hash: 4e71504e4a8a3d4d5c7f60701c4cd36c
humanhash: pasta-vermont-colorado-fruit
File name:hoodlum.mips
Download: download sample
Signature Gafgyt
File size:180'176 bytes
First seen:2025-02-22 17:11:34 UTC
Last seen:Never
File type: elf
MIME type:application/x-executable
ssdeep 3072:XDmNX+56DbtVO4x90ssgy4R695h3W+BTmsj3tKIWe:qZ+56TT0gxR695h3W+BTmsj3oIWe
TLSH T16504956A3712AB7DD26DC2320BFB6FB0D2A525D227D19745E1ACCB181E6038D5C4FB60
telfhash t11621101391b986296fb79d64ad7c06f11261a623b7457fb0ef1ec1848d27002b83dc9b
Magika elf
Reporter abuse_ch
Tags:elf gafgyt

Intelligence


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

Behaviour
Connection attempt
Deletes a file
Removes directories
Removes directories from a subdirectory of a temporary directory
Launching a process
Sends data to a server
Removes directories from a temporary directory
Substitutes an application name
Deleting of the original file
Verdict:
Suspicious
Threat level:
  5/10
Confidence:
100%
Tags:
gcc lolbin masquerade obfuscated remote
Verdict:
Malicious
Uses P2P?:
false
Uses anti-vm?:
false
Architecture:
mips
Packer:
not packed
Botnet:
unknown
Number of open files:
14
Number of processes launched:
17
Processes remaning?
true
Remote TCP ports scanned:
not identified
Behaviour
Process Renaming
Firewall Changes
Botnet C2s
TCP botnet C2(s):
not identified
UDP botnet C2(s):
not identified
Result
Threat name:
Gafgyt, Mirai
Detection:
malicious
Classification:
spre.troj.evad
Score:
100 / 100
Signature
Antivirus / Scanner detection for submitted sample
Deletes all firewall rules
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
Tries to stop the "iptables" service
Yara detected Gafgyt
Yara detected Mirai
Behaviour
Behavior Graph:
behaviorgraph top1 dnsIp2 2 Behavior Graph ID: 1621872 Sample: hoodlum.mips.elf Startdate: 22/02/2025 Architecture: LINUX Score: 100 66 37.44.238.66, 23, 58810 HARMONYHOSTING-ASFR France 2->66 68 Found malware configuration 2->68 70 Malicious sample detected (through community Yara rule) 2->70 72 Antivirus / Scanner detection for submitted sample 2->72 74 3 other signatures 2->74 12 hoodlum.mips.elf 2->12         started        signatures3 process4 signatures5 80 Opens /proc/net/* files useful for finding connected devices and routers 12->80 82 Sample deletes itself 12->82 15 hoodlum.mips.elf 12->15         started        process6 process7 17 hoodlum.mips.elf 15->17         started        process8 19 hoodlum.mips.elf sh 17->19         started        21 hoodlum.mips.elf sh 17->21         started        23 hoodlum.mips.elf sh 17->23         started        25 10 other processes 17->25 process9 27 sh service systemctl 19->27         started        30 sh iptables 21->30         started        32 sh service systemctl 23->32         started        34 sh rm 25->34         started        36 sh rm 25->36         started        38 sh rm 25->38         started        40 7 other processes 25->40 signatures10 76 Tries to stop the "iptables" service 27->76 42 service 27->42         started        44 service basename 27->44         started        46 service basename 27->46         started        48 service systemctl 27->48         started        78 Deletes all firewall rules 30->78 50 service 32->50         started        52 service basename 32->52         started        54 service basename 32->54         started        56 service systemctl 32->56         started        process11 process12 58 service systemctl 42->58         started        60 service sed 42->60         started        62 service systemctl 50->62         started        64 service sed 50->64         started       
Threat name:
Linux.Trojan.Gafgyt
Status:
Malicious
First seen:
2025-02-22 16:24:17 UTC
File Type:
ELF32 Big (Exe)
AV detection:
18 of 24 (75.00%)
Threat level:
  5/5
Result
Malware family:
Score:
  10/10
Tags:
family:gafgyt defense_evasion discovery execution
Behaviour
Command and Scripting Interpreter: Unix Shell
Enumerates kernel/hardware configuration
Reads runtime system information
System Network Configuration Discovery
Changes its process name
Reads CPU attributes
Reads system network configuration
Enumerates running processes
Reads system routing table
Deletes itself
Flushes firewall rules
Writes DNS configuration
Malware Config
C2 Extraction:
37.44.238.66:23
Verdict:
Malicious
Tags:
trojan gafgyt Unix.Dropper.Mirai-7136029-0
YARA:
Linux_Trojan_Gafgyt_28a2fe0c Linux_Gafgyt_May_2024
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: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_Gafgyt_28a2fe0c
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: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 372488b8cecb45ce03923f19df5d904980761cd8a7f2ca87ce6c5b7fcff0e20a

(this sample)

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_NXMissing Non-Executable Memory Protectioncritical
CHECK_PIEMissing Position-Independent Executable (PIE) Protectionhigh

Comments