YARA · SEKOIA.IO Community
SEKOIA_Malware_Valleyrat_Downloader_Strings
Detects ValleyRat downloader
- Author
- Sekoia.io
- Date
- 2024-06-11
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects ValleyRat downloader
Targets: Windows PE.
It defines 1 patterns (0 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-valleyrat-downloader-strings.yarDetection Rule License 1.1
rule SEKOIA_Malware_Valleyrat_Downloader_Strings : FILE
{
meta:
= "Detects ValleyRat downloader"
= "Sekoia.io"
= "12985f34-f894-402b-80d1-5d6b2486d730"
= "2024-06-11"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/malware_valleyrat_downloader_strings.yar#L1-L20"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "321683ac5bdec626cf140cb50507fb03aea2a32635eb6cec884a3fa43c1a9d91"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = { 43 00 3a 00 5c [0-30]
5c 00 4e 00 54 00 55
00 53 00 45 00 52 00
2e 00 44 00 58 }
condition:
uint16be( 0 ) == 0x4d5a and filesize < 2MB and all of them
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | hex | { 43 00 3a 00 5c [0-30] 5c 00 4e 00 54 00 55 00 53 00 45 00 52 00 2e 00 44 00 58 } |
Condition
uint16be( 0 ) == 0x4d5a and filesize < 2MB and all of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 2MB (a cheap guard that skips large files).
- All 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: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
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: 12985f34-f894-402b-80d1-5d6b2486d730
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20