YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Avalon
Avalon infostealer payload
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Avalon infostealer payload
Associated malware family: Avalon.
Targets: Windows PE.
It defines 19 patterns (19 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-avalon.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Avalon : FILE
{
meta:
= "Avalon infostealer payload"
= "ditekSHen"
= "3de01419-9f45-5d82-8391-2e1e41df2b34"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1330-L1359"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "1aa9dc09ec4c8962dee0455dd367e32139e4c03f1b306f17ac6e82d71aacf713"
= 75
= 75
= "FILE"
strings:
$s1 = "Parsecards" fullword ascii
$s2 = "Please_Gofuckyouself" fullword ascii
$s3 = "GetDomainDetect" fullword ascii
$s4 = "GetTotalCommander" fullword ascii
$s5 = "KnownFolder" fullword ascii
$s6 = "set_hidden" fullword ascii
$s7 = "set_system" fullword ascii
$l1 = "\\DomainDetect.txt" wide
$l2 = "\\Grabber_Log.txt" wide
$l3 = "\\Programs.txt" wide
$l4 = "\\Passwords_Edge.txt" wide
$l5 = "\\KL.txt" wide
$w1 = "dont touch" fullword wide
$w2 = "Grabber" fullword wide
$w3 = "Keylogger" fullword wide
$w4 = "password-check" fullword wide
$w5 = "H4sIAAAAAAAEA" wide
$p1 = "^(?!:\\/\\/)([a-zA-Z0-9-_]+\\.)*[a-zA-Z0-9][a-zA-Z0-9-_]+\\.[a-zA-Z]{2,11}?$" wide
$p2 = "^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$" wide
condition:
uint16( 0 ) == 0x5a4d and 8 of them
}
Strings (19 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "Parsecards" | fullword ascii |
| $s2 | text | "Please_Gofuckyouself" | fullword ascii |
| $s3 | text | "GetDomainDetect" | fullword ascii |
| $s4 | text | "GetTotalCommander" | fullword ascii |
| $s5 | text | "KnownFolder" | fullword ascii |
| $s6 | text | "set_hidden" | fullword ascii |
| $s7 | text | "set_system" | fullword ascii |
| $l1 | text | "\\DomainDetect.txt" | wide |
| $l2 | text | "\\Grabber_Log.txt" | wide |
| $l3 | text | "\\Programs.txt" | wide |
| $l4 | text | "\\Passwords_Edge.txt" | wide |
| $l5 | text | "\\KL.txt" | wide |
| $w1 | text | "dont touch" | fullword wide |
| $w2 | text | "Grabber" | fullword wide |
| $w3 | text | "Keylogger" | fullword wide |
| $w4 | text | "password-check" | fullword wide |
| $w5 | text | "H4sIAAAAAAAEA" | wide |
| $p1 | text | "^(?!:\\/\\/)([a-zA-Z0-9-_]+\\.)*[a-zA-Z0-9][a-zA-Z0-9-_]+\\.[a-zA-Z]{2,11}?$" | wide |
| $p2 | text | "^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$" | wide |
Condition
uint16( 0 ) == 0x5a4d and 8 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 8 patterns in the rule 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.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
References
Licence & attribution
Author: ditekSHen
Source repository: ditekSHen detection @ e76c93dcde
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 3de01419-9f45-5d82-8391-2e1e41df2b34
Tags:FILE
Related rules
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06