YARA · SEKOIA.IO Community
SEKOIA_Apt_Lazarus_Vhd_Ransomware_Downloader
Detects VHD ransomware downloader
- Author
- Sekoia.io
- Date
- 2022-11-28
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects VHD ransomware downloader
Associated malware family: Vhd Ransomware.
It defines 5 patterns (5 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-lazarus-vhd-ransomware-downloader.yarDetection Rule License 1.1
rule SEKOIA_Apt_Lazarus_Vhd_Ransomware_Downloader : FILE
{
meta:
= "Detects VHD ransomware downloader"
= "Sekoia.io"
= "edcc9df8-650c-437a-adb8-a671e8b75e64"
= "2022-11-28"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_lazarus_vhd_ransomware_downloader.yar#L1-L20"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "042ab0029d170937af9b9ee6a8e499843532c84cf99faed3d2d47cb18a1500ac"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "rundll32.exe %s #1 %S" wide
$ = "cmd /c timeout /t 10 & Del /f /q \"%s\" & attrib -s -h \"%s\" & rundll32 \"%s\" #1" wide
$ = "cmd /c timeout /t 10 & rundll32 \"%s\" #1" wide
$ = "curl -A cur1-agent -L %s -s -d da"
$ = "curl -A cur1-agent -L %s -s -d dl"
condition:
filesize < 2MB and 3 of them
}
Strings (5 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | text | "rundll32.exe %s #1 %S" | wide |
| $ | text | "cmd /c timeout /t 10 & Del /f /q \"%s\" & attrib -s -h \"%s\" & rundll32 \"%s\" #1" | wide |
| $ | text | "cmd /c timeout /t 10 & rundll32 \"%s\" #1" | wide |
| $ | text | "curl -A cur1-agent -L %s -s -d da" | |
| $ | text | "curl -A cur1-agent -L %s -s -d dl" |
Condition
filesize < 2MB and 3 of themIn plain words (Heuristic)
- The file must be smaller than 2MB (a cheap guard that skips large files).
- At least 3 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: edcc9df8-650c-437a-adb8-a671e8b75e64
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2022-11-28
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-10-05
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-10-05
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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