YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_MB150
Detects MB150? Go ransomware
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects MB150? Go ransomware
Associated malware family: MB150.
Targets: Windows PE.
It defines 19 patterns (17 text, 0 hex, 2 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-mb150.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_MB150 : FILE
{
meta:
= "Detects MB150? Go ransomware"
= "ditekSHen"
= "9688974b-ccf9-59ea-bb31-e46c63f021bf"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7376-L7402"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "a07535fc53912ddde6a0bed187c21ecdb2701d317d7de0cbdd2db37071bc9a21"
= 75
= 75
= "FILE"
strings:
$x1 = /main\.evade_(clicks_count|cpu_count|disk_size|foreground_window|hostname|mac|printer|screen_size|system_memory|time_acceleration|tmp|utc)/ fullword ascii
$x2 = /main\.sandbox_(hostname|mac_addresses)/ fullword ascii
$x3 = "main.drop_ransom_note" fullword ascii
$x4 = "main.ransom_amount" fullword ascii
$x5 = "main.create_encryption_key" fullword ascii
$x6 = "main.encrypt" fullword ascii
$x7 = "main.encrypt_encryption_key" fullword ascii
$x8 = "main.encrypt_file" fullword ascii
$x9 = "main.ext_blacklist" fullword ascii
$mac1 = "00:03:FF00:05:6900:0C:2900:16:3E00:1C:1400:1C:4200:50:56" ascii nocase
$mac2 = "00-03-FF00-05-6900-0C-2900-16-3E00-1C-1400-1C-4200-50-56" ascii nocase
$mac3 = "0003FF000569000C2900163E001C14001C42005056" ascii nocase
$go = "Go build ID:" ascii
$s1 = "main.MB150" ascii
$s2 = "http://1.1.1.1" ascii
$s3 = "your personnal ID" ascii
$s4 = "ransom amount" ascii
$s5 = "binance.com" ascii
$s6 = "getmonero.org" ascii
condition:
uint16( 0 ) == 0x5a4d and ( 4 of ( $x* ) or ( $go and 4 of ( $s* ) ) or ( 1 of ( $mac* ) and ( 2 of ( $x* ) or 3 of ( $s* ) ) ) )
}
Strings (19 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | regex | /main\.evade_(clicks_count|cpu_count|disk_size|foreground_window|hostname|mac|printer|screen_size|system_memory|time_acceleration|tmp|utc)/ | fullword ascii |
| $x2 | regex | /main\.sandbox_(hostname|mac_addresses)/ | fullword ascii |
| $x3 | text | "main.drop_ransom_note" | fullword ascii |
| $x4 | text | "main.ransom_amount" | fullword ascii |
| $x5 | text | "main.create_encryption_key" | fullword ascii |
| $x6 | text | "main.encrypt" | fullword ascii |
| $x7 | text | "main.encrypt_encryption_key" | fullword ascii |
| $x8 | text | "main.encrypt_file" | fullword ascii |
| $x9 | text | "main.ext_blacklist" | fullword ascii |
| $mac1 | text | "00:03:FF00:05:6900:0C:2900:16:3E00:1C:1400:1C:4200:50:56" | ascii nocase |
| $mac2 | text | "00-03-FF00-05-6900-0C-2900-16-3E00-1C-1400-1C-4200-50-56" | ascii nocase |
| $mac3 | text | "0003FF000569000C2900163E001C14001C42005056" | ascii nocase |
| $go | text | "Go build ID:" | ascii |
| $s1 | text | "main.MB150" | ascii |
| $s2 | text | "http://1.1.1.1" | ascii |
| $s3 | text | "your personnal ID" | ascii |
| $s4 | text | "ransom amount" | ascii |
| $s5 | text | "binance.com" | ascii |
| $s6 | text | "getmonero.org" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( 4 of ( $x* ) or ( $go and 4 of ( $s* ) ) or ( 1 of ( $mac* ) and ( 2 of ( $x* ) or 3 of ( $s* ) ) ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 4 patterns in ( $x* ) must match.
- At least 4 patterns in ( $s* ) must match.
- At least 1 patterns in ( $mac* ) must match.
- At least 2 patterns in ( $x* ) must match.
- At least 3 patterns in ( $s* ) must match.
- Pattern $go 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: 9688974b-ccf9-59ea-bb31-e46c63f021bf
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