YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_MB150
Detects MB150? Go ransomware
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects MB150? Go ransomware
Familia de malware asociada: MB150.
Objetivos: PE de Windows.
Define 19 patrones (17 de texto, 0 hex, 2 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
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* ) ) ) )
}
Cadenas (19 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $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 | texto | "main.drop_ransom_note" | fullword ascii |
| $x4 | texto | "main.ransom_amount" | fullword ascii |
| $x5 | texto | "main.create_encryption_key" | fullword ascii |
| $x6 | texto | "main.encrypt" | fullword ascii |
| $x7 | texto | "main.encrypt_encryption_key" | fullword ascii |
| $x8 | texto | "main.encrypt_file" | fullword ascii |
| $x9 | texto | "main.ext_blacklist" | fullword ascii |
| $mac1 | texto | "00:03:FF00:05:6900:0C:2900:16:3E00:1C:1400:1C:4200:50:56" | ascii nocase |
| $mac2 | texto | "00-03-FF00-05-6900-0C-2900-16-3E00-1C-1400-1C-4200-50-56" | ascii nocase |
| $mac3 | texto | "0003FF000569000C2900163E001C14001C42005056" | ascii nocase |
| $go | texto | "Go build ID:" | ascii |
| $s1 | texto | "main.MB150" | ascii |
| $s2 | texto | "http://1.1.1.1" | ascii |
| $s3 | texto | "your personnal ID" | ascii |
| $s4 | texto | "ransom amount" | ascii |
| $s5 | texto | "binance.com" | ascii |
| $s6 | texto | "getmonero.org" | ascii |
Condición
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* ) ) ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 4 patrones de ( $x* ).
- Deben coincidir al menos 4 patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $mac* ).
- Deben coincidir al menos 2 patrones de ( $x* ).
- Deben coincidir al menos 3 patrones de ( $s* ).
- El patrón $go debe estar presente.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Referencias
Licencia y atribución
Autor: ditekSHen
Repositorio de origen: ditekSHen detection @ e76c93dcde
Licencia: BSD 2-Clause License (licencia del repositorio)
Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: 9688974b-ccf9-59ea-bb31-e46c63f021bf
Etiquetas:FILE
Reglas relacionadas
- 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