YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_Minimalistic_Backdoor_May26
Detects minimalistic backdoor deployment where a shellcode loader downloads an encrypted payload and executes it in memory after RC4 decryption using a command-line provided key
- Author
- MalGamy
- Date
- 2026-05-05
- Modified
- 2026-05-15
- Score / Quality
- 80 / 85
What this rule detects
Detects minimalistic backdoor deployment where a shellcode loader downloads an encrypted payload and executes it in memory after RC4 decryption using a command-line provided key
Targets: Windows PE.
It defines 6 patterns (6 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_MAL_Minimalistic_Backdoor_May26 : FILE
{
meta:
= "Detects minimalistic backdoor deployment where a shellcode loader downloads an encrypted payload and executes it in memory after RC4 decryption using a command-line provided key"
= "MalGamy"
= "8292161d-8b20-51e0-987a-dd0f4c1cf3e8"
= "2026-05-05"
= "2026-05-15"
= "https://securelist.com/tr/daemon-tools-backdoor/119654/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/threat_compromised_daemon_tools_lite_may26.yar#L68-L92"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "395ec7acd475a8acd358adc75c4615cf41737aed8a96c4f2dd792c8a6af4140c"
= "0f5e1f95d28fe5e45a10d652a11e9940823b4ac113dcf9b547f81d35bcda6cc7"
= 80
= 85
= "FILE"
strings:
$x1 = "Note: if multiple processes load the DLL," wide
$x2 = "Inject (shellcode file is RC4 ciphertext; key is a UTF-8 string" wide
$s1 = "Error: VirtualAllocEx failed, Win" wide
$s2 = "Try running as administrator; " wide
$s3 = ", shellcode size: " wide
$s4 = "input file path cannot be empty." wide
condition:
uint16( 0 ) == 0x5a4d and filesize < 50KB and ( 1 of ( $x* ) or all of ( $s* ) )
}
Strings (6 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "Note: if multiple processes load the DLL," | wide |
| $x2 | text | "Inject (shellcode file is RC4 ciphertext; key is a UTF-8 string" | wide |
| $s1 | text | "Error: VirtualAllocEx failed, Win" | wide |
| $s2 | text | "Try running as administrator; " | wide |
| $s3 | text | ", shellcode size: " | wide |
| $s4 | text | "input file path cannot be empty." | wide |
Condition
uint16( 0 ) == 0x5a4d and filesize < 50KB and ( 1 of ( $x* ) or all of ( $s* ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 50KB (a cheap guard that skips large files).
- All patterns in ( $s* ) must match.
- At least 1 patterns in ( $x* ) must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 395ec7acd475a8acd358adc75c4615cf41737aed8a96c4f2dd792c8a6af4140c
Licence & attribution
Author: MalGamy
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 8292161d-8b20-51e0-987a-dd0f4c1cf3e8
Tags:FILE
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· MalGamy· 2026-05-05
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· MalGamy· 2025-05-20