🤲🏼 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 bef49b6194de69c6a390caead8ec74e6c0641b911699b3ffb9c9856509883c8e. 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 15 File information Comments

SHA256 hash: bef49b6194de69c6a390caead8ec74e6c0641b911699b3ffb9c9856509883c8e
SHA3-384 hash: 3eed93d36e8e8202e6520b539eaf8834ae39f1bb0830bdef2626e0f2044eb49385ac346d2c73745e7e3b927bbad0374d
SHA1 hash: 2d3c691ccadaa36f4ac4383b9131707d03dfdc84
MD5 hash: b8860e33ab9767d7cc38e10dda5ffcad
humanhash: golf-quebec-victor-oklahoma
File name:hoodlum.i586
Download: download sample
Signature Gafgyt
File size:110'401 bytes
First seen:2025-02-22 17:11:37 UTC
Last seen:Never
File type: elf
MIME type:application/x-executable
ssdeep 3072:E/opUnUp90MjphxhZsd18tl3xzELtpD5hqYkWmu80CjKaIU:L0690MjphxDsdklhzELD5hqY9mu80C+E
TLSH T160B35B85D390C0B7C1B71AB6059BDF2620B3F6EB075B5A13E3581EF07E09990B066F89
telfhash t12c21101291b986296fb79d64ad7c0bf11261a62377457fb0ef1ec1848d27002b83dd9b
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 :
12
Origin country :
US US
Vendor Threat Intelligence
Result
Verdict:
Malware
Maliciousness:

Behaviour
Removes directories
Deletes a file
Removes directories from a temporary directory
Connection attempt
Launching a process
Removes directories from a subdirectory of a temporary directory
Substitutes an application name
Performs a bruteforce attack in the network
Deleting of the original file
Verdict:
Likely Malicious
Threat level:
  7.5/10
Confidence:
100%
Tags:
gcc lolbin masquerade obfuscated remote
Verdict:
Malicious
Uses P2P?:
false
Uses anti-vm?:
false
Architecture:
x86
Packer:
not packed
Botnet:
unknown
Number of open files:
18
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: 1621869 Sample: hoodlum.i586.elf Startdate: 22/02/2025 Architecture: LINUX Score: 100 66 37.44.238.66, 23, 58808 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.i586.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.i586.elf 12->15         started        process6 process7 17 hoodlum.i586.elf 15->17         started        process8 19 hoodlum.i586.elf sh 17->19         started        21 hoodlum.i586.elf sh 17->21         started        23 hoodlum.i586.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 Little (Exe)
AV detection:
20 of 24 (83.33%)
Threat level:
  5/5
Result
Malware family:
Score:
  10/10
Tags:
family:gafgyt defense_evasion discovery linux privilege_escalation rootkit
Behaviour
Enumerates kernel/hardware configuration
Reads runtime system information
System Network Configuration Discovery
Reads CPU attributes
Abuse Elevation Control Mechanism: Sudo and Sudo Caching
Deletes log files
Enumerates running processes
Deletes Audit logs
Deletes journal logs
Flushes firewall rules
Loads a kernel module
Malware Config
C2 Extraction:
37.44.238.66:23
Verdict:
Malicious
Tags:
trojan mirai gafgyt Unix.Dropper.Mirai-7136029-0
YARA:
Linux_Trojan_Gafgyt_28a2fe0c Linux_Trojan_Gafgyt_c573932b Linux_Trojan_Gafgyt_750fe002 Linux_Trojan_Gafgyt_e6d75e6f Linux_Trojan_Gafgyt_7167d08f Linux_Trojan_Gafgyt_20f5e74f Linux_Trojan_Mirai_122ff2e6 Linux_Trojan_Mirai_fa48b592 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:elf_bashlite_auto
Author:Felix Bilstein - yara-signator at cocacoding dot com
Description:Detects elf.bashlite.
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_20f5e74f
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_28a2fe0c
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_7167d08f
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_750fe002
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_c573932b
Author:Elastic Security
Rule name:Linux_Trojan_Gafgyt_e6d75e6f
Author:Elastic Security
Rule name:Linux_Trojan_Mirai_122ff2e6
Author:Elastic Security
Rule name:Linux_Trojan_Mirai_fa48b592
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 bef49b6194de69c6a390caead8ec74e6c0641b911699b3ffb9c9856509883c8e

(this sample)

  
Delivery method
Distributed via web download

Comments