MalwareBazaar Database
You are currently viewing the MalwareBazaar entry for SHA256 cf3893de2ad8e5d68069e8603346117a9e4e4d80593cf99877bc5051d6840f21. 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
BatRatStealer
Vendor detections: 16
| SHA256 hash: | cf3893de2ad8e5d68069e8603346117a9e4e4d80593cf99877bc5051d6840f21 |
|---|---|
| SHA3-384 hash: | 5d6d9faaea3e2e22d042b715aef8b5eb96abbb6688569f153ba7622394f8334a50707d7864c91682c921920bd64b6ab4 |
| SHA1 hash: | 1c11c06651633681505bd2f3a89a5794139d47fe |
| MD5 hash: | 1846ce1776f38359cf5eb06f422dbc0d |
| humanhash: | lithium-magazine-bluebird-queen |
| File name: | 1846ce1776f38359cf5eb06f422dbc0d.exe |
| Download: | download sample |
| Signature | BatRatStealer |
| File size: | 6'511'104 bytes |
| First seen: | 2026-12-05 13:18:49 UTC |
| Last seen: | Never |
| File type: | |
| MIME type: | application/vnd.microsoft.portable-executable |
| imphash | d42595b695fc008ef2c56aabd8efd68e (1'530 x Vidar, 376 x RemusStealer, 142 x Stealc) |
| ssdeep | 49152:UYlDKBNOIB4DyMATUZY7EnRg9IIIqV4LuThi5+rXD3scMQ+6hezxIkxcZN/swKzV:U5j0MGos44LuJXD8owD4shNEw |
| TLSH | T13D664A43EC9515E9C1EAE23186629253BA717C486B3123D73F60F3392F76BD06AB9704 |
| TrID | 33.1% (.EXE) Win64 Executable (generic) (6522/11/2) 25.6% (.EXE) Win16 NE executable (generic) (5038/12/1) 10.4% (.ICL) Windows Icons Library (generic) (2059/9) 10.3% (.EXE) OS/2 Executable (generic) (2029/13) 10.1% (.EXE) Generic Win/DOS Executable (2002/3) |
| Magika | pebin |
| Reporter | |
| Tags: | BatRatStealer exe |
Intelligence
File Origin
FRVendor Threat Intelligence
Result
Behaviour
Result
Signature
Behaviour
Result
Behaviour
Unpacked files
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: | command_and_control |
|---|---|
| Author: | CD_R0M_ |
| Description: | This rule searches for common strings found by malware using C2. Based on a sample used by a Ransomware group |
| Rule name: | CP_Script_Inject_Detector |
|---|---|
| Author: | DiegoAnalytics |
| Description: | Detects attempts to inject code into another process across PE, ELF, Mach-O binaries |
| Rule name: | data_manipulation |
|---|---|
| Author: | Serhii Kocherhan |
| Description: | Detects data manipulation routines including XOR encoding, Base64 references, and RC4 PRGA encryption |
| Rule name: | DebuggerCheck__API |
|---|---|
| Reference: | https://github.com/naxonez/yaraRules/blob/master/AntiDebugging.yara |
| Rule name: | DebuggerCheck__RemoteAPI |
|---|---|
| Reference: | https://github.com/naxonez/yaraRules/blob/master/AntiDebugging.yara |
| Rule name: | DebuggerException__SetConsoleCtrl |
|---|---|
| Reference: | https://github.com/naxonez/yaraRules/blob/master/AntiDebugging.yara |
| Rule name: | dependsonpythonailib |
|---|---|
| Author: | Tim Brown |
| Description: | Hunts for dependencies on Python AI libraries |
| Rule name: | DetectEncryptedVariants |
|---|---|
| Author: | Zinyth |
| Description: | Detects 'encrypted' in ASCII, Unicode, base64, or hex-encoded |
| Rule name: | DetectGoMethodSignatures |
|---|---|
| Author: | Wyatt Tauber |
| Description: | Detects Go method signatures in unpacked Go binaries |
| Rule name: | Detect_Go_GOMAXPROCS |
|---|---|
| Author: | Obscurity Labs LLC |
| Description: | Detects Go binaries by the presence of runtime.GOMAXPROCS in the runtime metadata |
| Rule name: | Detect_PowerShell_Obfuscation |
|---|---|
| Author: | daniyyell |
| Description: | Detects obfuscated PowerShell commands commonly used in malicious scripts. |
| Rule name: | dgaaga |
|---|---|
| Author: | Harshit |
| Description: | Detects suspicious PowerShell or registry activity |
| Rule name: | Disable_Defender |
|---|---|
| Author: | iam-py-test |
| Description: | Detect files disabling or modifying Windows Defender, Windows Firewall, or Microsoft Smartscreen |
| Rule name: | exploit_any_poppopret |
|---|---|
| Author: | Jeff White [karttoon@gmail.com] @noottrak |
| Description: | Identify POP -> POP -> RET opcodes for quick ROP Gadget creation in target binaries. |
| Rule name: | FreddyBearDropper |
|---|---|
| Author: | Dwarozh Hoshiar |
| Description: | Freddy Bear Dropper is dropping a malware through base63 encoded powershell scrip. |
| Rule name: | Gentlemen_Ransomware_Binary |
|---|---|
| Author: | Bedrock Safeguard Inc. |
| Description: | Detects The Gentlemen ransomware binary (Go/Garble) |
| Reference: | https://github.com/Bedrock-Safeguard/gentlemen-decryptor |
| Rule name: | GoBinTest |
|---|
| Rule name: | golang |
|---|
| Rule name: | Golangmalware |
|---|---|
| Author: | Dhanunjaya |
| Description: | Malware in Golang |
| Rule name: | golang_binary_string |
|---|---|
| Description: | Golang strings present |
| Rule name: | golang_bin_JCorn_CSC846 |
|---|---|
| Author: | Justin Cornwell |
| Description: | CSC-846 Golang detection ruleset |
| Rule name: | golang_duffcopy_amd64 |
|---|
| Rule name: | Golang_Find_CSC846 |
|---|---|
| Author: | Ashar Siddiqui |
| Description: | Find Go Signatuers |
| Rule name: | Golang_Find_CSC846_Simple |
|---|---|
| Author: | Ashar Siddiqui |
| Description: | Find Go Signatuers |
| Rule name: | HiveRansomware |
|---|---|
| Author: | Dhanunjaya |
| Description: | Yara Rule To Detect Hive V4 Ransomware |
| Rule name: | identity_golang |
|---|---|
| Author: | Eric Yocam |
| Description: | find Golang malware |
| Rule name: | INDICATOR_SUSPICIOUS_References_SecTools |
|---|---|
| Author: | ditekSHen |
| Description: | Detects executables referencing many IR and analysis tools |
| Rule name: | MALWARE_Win_EXEPWSH_DLAgent |
|---|---|
| Author: | ditekSHen |
| Description: | Detects SystemBC |
| Rule name: | MD5_Constants |
|---|---|
| Author: | phoul (@phoul) |
| Description: | Look for MD5 constants |
| Rule name: | ProgramLanguage_Golang |
|---|---|
| Author: | albertzsigovits |
| Description: | Application written in Golang programming language |
| Rule name: | RANSOMWARE |
|---|---|
| Author: | ToroGuitar |
| Rule name: | RemusStealer_GoPayload |
|---|---|
| Author: | burger |
| Description: | Detects RemusStealer Go-compiled payload |
| Rule name: | RIPEMD160_Constants |
|---|---|
| Author: | phoul (@phoul) |
| Description: | Look for RIPEMD-160 constants |
| Rule name: | SEH__vectored |
|---|---|
| Reference: | https://github.com/naxonez/yaraRules/blob/master/AntiDebugging.yara |
| Rule name: | SHA1_Constants |
|---|---|
| Author: | phoul (@phoul) |
| Description: | Look for SHA1 constants |
| Rule name: | SHA512_Constants |
|---|---|
| Author: | phoul (@phoul) |
| Description: | Look for SHA384/SHA512 constants |
| Rule name: | Suspicious_Golang_Binary |
|---|---|
| Author: | Tim Machac |
| Description: | Triage: Golang-compiled binary with suspicious OS/persistence/network strings (not family-specific) |
| Rule name: | Suspicious_Process |
|---|---|
| Author: | Security Research Team |
| Description: | Suspicious process creation |
| Rule name: | Sus_CMD_Powershell_Usage |
|---|---|
| Author: | XiAnzheng |
| Description: | May Contain(Obfuscated or no) Powershell or CMD Command that can be abused by threat actor(can create FP) |
| Rule name: | ThreadControl__Context |
|---|---|
| Reference: | https://github.com/naxonez/yaraRules/blob/master/AntiDebugging.yara |
| Rule name: | TH_Win_ETW_Bypass_2025_CYFARE |
|---|---|
| Author: | CYFARE |
| Description: | Windows ETW Bypass Detection Rule - 2025 |
| Reference: | https://cyfare.net/ |
| Rule name: | WIN_Malware_Fantom_ForgeAuto_98e6f354_Extrait |
|---|---|
| Author: | Marjoriefort |
| Description: | Detects Fantom (pe, etat extrait) |
| Rule name: | WIN_Malware_Unknown_ForgeAuto_30f84f37 |
|---|---|
| Author: | Marjoriefort |
| Description: | Detects Unknown (pe, etat binaire) |
File information
The table below shows additional information about this malware sample such as delivery method and external references.
Comments
Login required
You need to login to in order to write a comment. Login with your abuse.ch account.Cryptographic analysis addendum for this 64-bit Go 1.24.4 BatRatStealer sample (SHA-256 hash cf3893de2ad8e5d68069e8603346117a9e4e4d80593cf99877bc5051d6840f21, module batrat/gostub). Static disassembly of main.decryptHexPayload (source file crypto.go line 24) and the five global configuration byte arrays (virtual addresses 0x9c8e70, 0x9c91a0, 0x9c8df0, 0x9c8e30, and 0x9c8db0) shows reuse of the identical period-7 stream cipher (byte exclusive-or key exclusive-or ((index modulo 7) plus 1)) across all five secrets. Cross-slice many-time-pad reuse directly leaks shared prefixes (the first 8 bytes of 0x9c8e70 and 0x9c91a0 exclusive-or to all zeros, uniform null probability 2^-64), and taking ciphertext[index] exclusive-or ciphertext[index plus 7] cancels the secret key byte identically. Ciphertext-only 256-key sieving uniquely recovers key 0xc8 and all five plaintext secrets without disassembly. In main.buildHandshake (virtual address 0x67ad00, source file ws.go line 211), client authentication formats <account_identifier>|<hardware_identifier>|<timestamp>|<signature_hexadecimal>|<hardware_proof_hexadecimal> using Hash-Based Message Authentication Code SHA-256 keyed with recovered secret BatRat_SecKey_v2_9f83a71b4028e over account_identifier:hardware_identifier:timestamp (account identifier acc_a29fac8f87b1b59656502abd) plus the first 16 hexadecimal characters of SHA-256 over hardware_identifier:timestamp:secret:HW_PROOF_V2, allowing defenders and researchers to construct valid handshakes offline. In main.(*wsConn).writeFrame (source file ws.go line 111), post-handshake WebSocket command frames apply only standard RFC-6455 4-byte masking with no application-layer encryption or per-frame message authentication code. Separately, main.websocketKey (virtual address 0x679100, source file ws.go line 29) exhibits a static error-handling defect: if crypto/rand.Read returns an error, it silently falls back to hardcoded 16-byte literal 0123456789abcdef at virtual address 0x770e47 (Sec-WebSocket-Key MDEyMzQ1Njc4OWFiY2RlZg==) instead of failing closed.
Static analysis of this 6,511,104-byte unstripped Go 1.24.4 64-bit Windows executable (module batrat/gostub, 186 main package functions across 16 source files) recovered all five encrypted global configuration slices decoded via exclusive-or with ((index modulo 7) plus 1) exclusive-or 0xc8: primary command-and-control https://1.b95541987.workers[.]dev (live over Tor on 2026-12-05 returning status 405 with Allow GET on Cloudflare Workers), Pastebin dead-drop address https://pastebin[.]com/raw/2KcWuJNK (hexadecimal decoded and exclusive-or 0x5a), account identifier acc_a29fac8f87b1b59656502abd, secret key BatRat_SecKey_v2_9f83a71b4028e, and header token MyUltraSecretToken998877!. Capabilities include WebSocket remote administration, Antimalware Scan Interface bypass, User Account Control ms-settings hijack, critical process protection, and webcam, microphone, screen, and input control.