YARA · SEKOIA.IO Community
SEKOIA_Apt_Gamaredon_Ddrdoh_Vbs_Downloader
Detects the core of the VBS Gamaredon's Telegram Downloader
- Author
- Sekoia.io
- Date
- 2023-01-25
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects the core of the VBS Gamaredon's Telegram Downloader
Associated malware family: Vbsdownloader.
It defines 12 patterns (12 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-gamaredon-ddrdoh-vbs-downloader.yarDetection Rule License 1.1
rule SEKOIA_Apt_Gamaredon_Ddrdoh_Vbs_Downloader : FILE
{
meta:
= "Detects the core of the VBS Gamaredon's Telegram Downloader"
= "Sekoia.io"
= "c934b95d-d81d-4f58-a752-1bb31ba8593d"
= "2023-01-25"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_gamaredon_ddrdoh_vbs_downloader.yar#L1-L26"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "940635313b23e29ac98310fc0f20352405c96190d56cd36ef028bf4d6e77fa6b"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$a1 = "==([0-9\\@]+)==" ascii
$a2 = "data\"\":\"\"(.*?)" ascii
$a3 = ", vbcr ,\"\")" ascii
$a4 = ", vblf ,\"\")" ascii
$a5 = ", \"&&\" ,\"\")" ascii
$a6 = "ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4" ascii
$b1 = "==([0-9\\@]+)==" base64
$b2 = "data\"\":\"\"(.*?)" base64
$b3 = ", vbcr ,\"\")" base64
$b4 = ", vblf ,\"\")" base64
$b5 = ", \"&&\" ,\"\")" base64
$b6 = "ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4" base64
condition:
(4 of ( $a* ) or 4 of ( $b* ) ) and filesize < 50KB
}
Strings (12 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $a1 | text | "==([0-9\\@]+)==" | ascii |
| $a2 | text | "data\"\":\"\"(.*?)" | ascii |
| $a3 | text | ", vbcr ,\"\")" | ascii |
| $a4 | text | ", vblf ,\"\")" | ascii |
| $a5 | text | ", \"&&\" ,\"\")" | ascii |
| $a6 | text | "ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4" | ascii |
| $b1 | text | "==([0-9\\@]+)==" | base64 |
| $b2 | text | "data\"\":\"\"(.*?)" | base64 |
| $b3 | text | ", vbcr ,\"\")" | base64 |
| $b4 | text | ", vblf ,\"\")" | base64 |
| $b5 | text | ", \"&&\" ,\"\")" | base64 |
| $b6 | text | "ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4" | base64 |
Condition
(4 of ( $a* ) or 4 of ( $b* ) ) and filesize < 50KBIn plain words (Heuristic)
- The file must be smaller than 50KB (a cheap guard that skips large files).
- At least 4 patterns in ( $a* ) must match.
- At least 4 patterns in ( $b* ) 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: c934b95d-d81d-4f58-a752-1bb31ba8593d
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2023-01-24
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-08-02
- MalwareditekSHen detection· ditekShen· 2020-11-06
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27