MalwareBazaar Database

You are currently viewing the MalwareBazaar entry for SHA256 a899671be9a1656cc7fe4b632fe3dc0131adfd4d9ca4ad91f32e2171fd4ba9f2. 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 12 File information Comments

SHA256 hash: a899671be9a1656cc7fe4b632fe3dc0131adfd4d9ca4ad91f32e2171fd4ba9f2
SHA3-384 hash: 4f25366373c9f2cb9c1a39ca1966f3cd052744e1a24e36a882a0e3be39a6e7304d427c731b8373c83bd05ea95800e16c
SHA1 hash: 79c0fbe1dacf4947f452f6ec0504498a22cefb4e
MD5 hash: b6106983342493cf85736ecc9364110c
humanhash: aspen-ack-cola-hydrogen
File name:x-3.2-.Sakura
Download: download sample
Signature Gafgyt
File size:232'233 bytes
First seen:2025-06-28 16:26:44 UTC
Last seen:2025-06-29 12:45:23 UTC
File type: elf
MIME type:application/x-executable
ssdeep 6144:2Er7KQug/pTlShclqGWIP5wGtwifITbWwUjAD0F3p9/WKlRRRCV:2TQP/l5wGtwbbgjAD0F3p9/WKlRRRCV
TLSH T1F7344C16E603C1F3DC030AF1126BAB994625B77B4A6B5AC6F7543DB0EB1088E3259FD1
telfhash t1cc51b726d9f98e3d27a349648c7d4ff11167521272723d70bf39c080957b00a6924e8f
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 :
3
# of downloads :
80
Origin country :
DE DE
Vendor Threat Intelligence
Detection(s):
Sanesecurity.Malware.30395.LC.UNOFFICIAL
SecuriteInfo.com.Linux.Siggen.2205.UNOFFICIAL
Sanesecurity.Malware.29052.TSource.UNOFFICIAL
Sanesecurity.Malware.29325.LC.Pl.UNOFFICIAL
SecuriteInfo.com.Linux.Mirai-81.UNOFFICIAL
Sanesecurity.Malware.30420.LX.BOT.UNOFFICIAL
Sanesecurity.Malware.32134.LX.BOT.UNOFFICIAL
Unix.Trojan.Gafgyt-6981154-0
Unix.Trojan.Tsunami-6981155-0
Unix.Trojan.Gafgyt-6981156-0
Unix.Trojan.Tsunami-6981163-0
Unix.Trojan.Gafgyt-6981165-0
Unix.Trojan.Mirai-6981169-0
Unix.Dropper.Mirai-7135935-0
Unix.Dropper.Mirai-7135940-0
Unix.Dropper.Mirai-7135945-0
Unix.Dropper.Mirai-7135968-0
Unix.Dropper.Mirai-7136011-0
Unix.Dropper.Mirai-7136072-0
Unix.Dropper.Mirai-7136105-0
Unix.Dropper.Mirai-7139223-0
Unix.Dropper.Mirai-7139232-0
Unix.Trojan.Gafgyt-7643791-0
Unix.Proxy.Mirai-7844054-0
Unix.Trojan.Gafgyt-9396656-0
Unix.Dropper.Gafgyt-9762292-0
Unix.Trojan.Gafgyt-9762295-0
Unix.Trojan.Gafgyt-9809564-0
Unix.Trojan.Mirai-9847812-0
Unix.Trojan.Mirai-9864781-0
Unix.Trojan.Gafgyt-9879277-0
Unix.Trojan.Mirai-9943729-0
Unix.Trojan.Mirai-9951087-0
Unix.Trojan.Mirai-5607483-0
Result
Verdict:
Malware
Maliciousness:

Behaviour
Kills processes
Creating a process from a recently created file
Runs as daemon
Mounts file systems
Manages services
Sets a written file as executable
Launching a process
Collects information on the CPU
Creating a file in the %temp% directory
Creating a file
Connection attempt
Deleting a recently created file
DNS request
Changes the time when the file was created, accessed, or modified
Collects information on the OS
Substitutes an application name
Kills critical processes
Deletes a system binary file
Writes files to system directory
Replaces system binary files
Creates or modifies files to set up autorun
Verdict:
Unknown
Threat level:
  2.5/10
Confidence:
100%
Tags:
gcc lolbin remote
Verdict:
Malicious
Uses P2P?:
false
Uses anti-vm?:
false
Architecture:
x86
Packer:
not packed
Botnet:
unknown
Number of open files:
6
Number of processes launched:
4
Processes remaning?
true
Remote TCP ports scanned:
not identified
Behaviour
Persistence
Process Renaming
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
Antivirus detection for dropped file
Connects to many ports of the same IP (likely port scanning)
Contains symbols with names commonly found in malware
Drops files in suspicious directories
Drops invisible ELF files
Malicious sample detected (through community Yara rule)
Modifies the '.bashrc' or '.bash_profile' file typically for persisting actions
Multi AV Scanner detection for submitted file
Opens /proc/net/* files useful for finding connected devices and routers
Protects files from modification
Sample deletes itself
Sample is potentially a Mirai botnet sample
Uses dynamic DNS services
Writes identical ELF files to multiple locations
Yara detected Gafgyt
Yara detected Mirai
Behaviour
Behavior Graph:
behaviorgraph top1 dnsIp2 2 Behavior Graph ID: 1724739 Sample: x-3.2-.Sakura.elf Startdate: 28/06/2025 Architecture: LINUX Score: 100 46 rootsec.duckdns.org 2->46 48 lunluo.duckdns.org 2->48 50 3 other IPs or domains 2->50 52 Malicious sample detected (through community Yara rule) 2->52 54 Antivirus detection for dropped file 2->54 56 Antivirus / Scanner detection for submitted sample 2->56 60 6 other signatures 2->60 8 x-3.2-.Sakura.elf 2->8         started        signatures3 58 Uses dynamic DNS services 48->58 process4 file5 40 /usr/lib/.qsxCllLR, ELF 8->40 dropped 42 /root/.bashrc, ASCII 8->42 dropped 44 /root/.bash_profile, ASCII 8->44 dropped 70 Drops invisible ELF files 8->70 72 Modifies the '.bashrc' or '.bash_profile' file typically for persisting actions 8->72 74 Opens /proc/net/* files useful for finding connected devices and routers 8->74 12 x-3.2-.Sakura.elf sh 8->12         started        14 x-3.2-.Sakura.elf sh 8->14         started        16 x-3.2-.Sakura.elf sh 8->16         started        18 64 other processes 8->18 signatures6 process7 process8 20 sh cp 12->20         started        24 sh cp 14->24         started        26 sh cp 16->26         started        28 sh dd 18->28         started        30 sh dd 18->30         started        32 sh dd 18->32         started        34 59 other processes 18->34 file9 36 /usr/sbin/init, ELF 20->36 dropped 62 Writes identical ELF files to multiple locations 20->62 64 Drops files in suspicious directories 20->64 38 /usr/bin/systemctl, ELF 26->38 dropped 66 Protects files from modification 34->66 68 Sample deletes itself 34->68 signatures10
Threat name:
Linux.Trojan.Gafgyt
Status:
Malicious
First seen:
2025-06-28 16:20:42 UTC
File Type:
ELF32 Little (Exe)
AV detection:
19 of 24 (79.17%)
Threat level:
  5/5
Result
Malware family:
Score:
  10/10
Tags:
family:gafgyt botnet credential_access defense_evasion discovery linux persistence privilege_escalation rootkit
Behaviour
Enumerates kernel/hardware configuration
Reads runtime system information
Writes file to tmp directory
Reads CPU attributes
Modifies Bash startup script
Creates/modifies environment variables
Enumerates running processes
Write file to user bin folder
Writes file to system bin folder
File and Directory Permissions Modification
Executes dropped EXE
Loads a kernel module
OS Credential Dumping
Unexpected DNS network traffic destination
Detected Gafgyt variant
Gafgyt family
Gafgyt/Bashlite
Malware Config
C2 Extraction:
239.255.255.250:1900
Verdict:
Malicious
Tags:
botnet trojan gafgyt tsunami Unix.Trojan.Gafgyt-6981154-0
YARA:
botnet_dayzddos Linux_Trojan_Gafgyt_28a2fe0c Linux_Trojan_Tsunami_0fa3a6e9 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:ach_202503_elf_Mirai
Author:abuse.ch
Description:Detects Mirai 'TSource' ELF files
Rule name:botnet_dayzddos
Author:NDA0E
Description:dayzddos botnet
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:ELF_Mirai
Author:NDA0E
Description:Detects multiple Mirai variants
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_generic_ipv6_catcher
Author:@_lubiedo
Description:ELF samples using IPv6 addresses
Rule name:Linux_Trojan_Gafgyt_28a2fe0c
Author:Elastic Security
Rule name:Linux_Trojan_Tsunami_0fa3a6e9
Author:Elastic Security
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 a899671be9a1656cc7fe4b632fe3dc0131adfd4d9ca4ad91f32e2171fd4ba9f2

(this sample)

  
Delivery method
Distributed via web download

Comments