YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Buran
Buran ransomware payload
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 73
What this rule detects
Buran ransomware payload
Associated malware family: Buran.
Targets: Windows PE.
It defines 22 patterns (22 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-buran.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Buran : FILE
{
meta:
= "Buran ransomware payload"
= "ditekSHen"
= "1433bac5-2ece-54bb-8e57-b5834fffc719"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L871-L903"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "eaf50d824dbade0ca63fafc5b4a376553039de9b51a0f6387cb28c8f91a7e0b9"
= 75
= 73
= "FILE"
= "MALWARE.Win.Ransomware.Buran"
strings:
$v1_1 = "U?$error_info_injector@V" ascii
$v1_2 = "Browse for Folder (FTP)" fullword ascii
$v1_3 = "Find/Replace in Files" fullword ascii
$v1_4 = "PAHKLM" fullword ascii
$v1_5 = "PAHKCR" fullword ascii
$v1_6 = "chkOpt_" ascii
$h1 = "Search <a href=\"location\" class=\"menu\">in this folder</a>" ascii
$h2 = "<br>to find where the text below" ascii
$h3 = "</a> files with these extensions (separate with semi-colons)" ascii
$h4 = "Need help with <a href=\"" ascii
$path = "\\work\\cr\\nata\\libs\\boost_" wide
$v2_1 = "(ShlObj" fullword ascii
$v2_2 = "\\StreamUnit" fullword ascii
$v2_3 = "TReadme" fullword ascii
$v2_4 = "TDrivesAndShares" fullword ascii
$v2_5 = "TCustomMemoryStreamD" fullword ascii
$v2_6 = "OpenProcessToken" fullword ascii
$v2_7 = "UrlMon" fullword ascii
$v2_8 = "HttpSendRequestA" fullword ascii
$v2_9 = "InternetConnectA" fullword ascii
$v2_10 = "FindFiles" fullword ascii
$v2_12 = "$*@@@*$@@@$" ascii
condition:
uint16( 0 ) == 0x5a4d and ( ( ( all of ( $v1* ) and 1 of ( $h* ) ) or ( $path and 2 of ( $v1* ) and 1 of ( $h* ) ) or 10 of them ) or all of ( $v2* ) )
}
Strings (22 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $v1_1 | text | "U?$error_info_injector@V" | ascii |
| $v1_2 | text | "Browse for Folder (FTP)" | fullword ascii |
| $v1_3 | text | "Find/Replace in Files" | fullword ascii |
| $v1_4 | text | "PAHKLM" | fullword ascii |
| $v1_5 | text | "PAHKCR" | fullword ascii |
| $v1_6 | text | "chkOpt_" | ascii |
| $h1 | text | "Search <a href=\"location\" class=\"menu\">in this folder</a>" | ascii |
| $h2 | text | "<br>to find where the text below" | ascii |
| $h3 | text | "</a> files with these extensions (separate with semi-colons)" | ascii |
| $h4 | text | "Need help with <a href=\"" | ascii |
| $path | text | "\\work\\cr\\nata\\libs\\boost_" | wide |
| $v2_1 | text | "(ShlObj" | fullword ascii |
| $v2_2 | text | "\\StreamUnit" | fullword ascii |
| $v2_3 | text | "TReadme" | fullword ascii |
| $v2_4 | text | "TDrivesAndShares" | fullword ascii |
| $v2_5 | text | "TCustomMemoryStreamD" | fullword ascii |
| $v2_6 | text | "OpenProcessToken" | fullword ascii |
| $v2_7 | text | "UrlMon" | fullword ascii |
| $v2_8 | text | "HttpSendRequestA" | fullword ascii |
| $v2_9 | text | "InternetConnectA" | fullword ascii |
| $v2_10 | text | "FindFiles" | fullword ascii |
| $v2_12 | text | "$*@@@*$@@@$" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( ( ( all of ( $v1* ) and 1 of ( $h* ) ) or ( $path and 2 of ( $v1* ) and 1 of ( $h* ) ) or 10 of them ) or all of ( $v2* ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in ( $v1* ) must match.
- All patterns in ( $v2* ) must match.
- At least 1 patterns in ( $h* ) must match.
- At least 2 patterns in ( $v1* ) must match.
- At least 10 patterns in the rule must match.
- Pattern $path must be present.
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: 1433bac5-2ece-54bb-8e57-b5834fffc719
Metadata
| clamav_sig | MALWARE.Win.Ransomware.Buran |
|---|
Tags:FILE
Related rules
- ARKBIRD_SOLG_Ran_Buran_Oct_2020_1Metadata onlyMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2020-11-05
- 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