YARA · ditekSHen detection
DITEKSHEN_MALWARE_Linux_Buhti
Detects Buhti Ransomware
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects Buhti Ransomware
Associated malware family: Buhti.
It defines 6 patterns (6 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-linux-buhti.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Linux_Buhti : FILE
{
meta:
= "Detects Buhti Ransomware"
= "ditekSHen"
= "a50b8c34-e9e2-5466-80a1-b0ab805c68be"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9630-L9643"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "1bab3202dbeaf088b233c3ab1056c357d156b7eef3111bea997b1c610a27f561"
= 75
= 75
= "FILE"
strings:
$x1 = "buhtiRansom" ascii
$x2 = "://satoshidisk.com/pay/" ascii
$s1 = "main.encrypt_file" fullword ascii
$s2 = "/path/to/be/encrypted" ascii
$s3 = "Restore-My-Files.txt" ascii
$s4 = ".buhti390625" ascii
condition:
uint16( 0 ) == 0x457f and ( all of ( $x* ) or ( 1 of ( $x* ) and 3 of ( $s* ) ) or 5 of them )
}
Strings (6 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "buhtiRansom" | ascii |
| $x2 | text | "://satoshidisk.com/pay/" | ascii |
| $s1 | text | "main.encrypt_file" | fullword ascii |
| $s2 | text | "/path/to/be/encrypted" | ascii |
| $s3 | text | "Restore-My-Files.txt" | ascii |
| $s4 | text | ".buhti390625" | ascii |
Condition
uint16( 0 ) == 0x457f and ( all of ( $x* ) or ( 1 of ( $x* ) and 3 of ( $s* ) ) or 5 of them )In plain words (Heuristic)
- All patterns in ( $x* ) must match.
- At least 1 patterns in ( $x* ) must match.
- At least 3 patterns in ( $s* ) must match.
- At least 5 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: a50b8c34-e9e2-5466-80a1-b0ab805c68be
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