YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Nermer
Detects Nermer ransomware
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects Nermer ransomware
Familia de malware asociada: Nermer.
Objetivos: PE de Windows.
Define 19 patrones (19 de texto, 0 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule DITEKSHEN_MALWARE_Win_Nermer : FILE
{
meta:
= "Detects Nermer ransomware"
= "ditekSHen"
= "fce4f178-8e98-53b0-ae09-2ce876ad524e"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L6036-L6062"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "e885b1b908b256ee07f5cb144d63f5ad65e5bf746b70efe168b0ac742a246ab3"
= 75
= 75
= "FILE"
strings:
$x1 = "gPROTECT_INFO.TXT" fullword wide
$x2 = ".nermer" fullword wide
$s1 = "db_journal" fullword wide
$s2 = "quicken2015backup" fullword wide
$s3 = "mysql" fullword wide
$s4 = "sas7bdat" fullword wide
$s5 = "httpd.exe" fullword wide
$s6 = "Intuit.QuickBooks.FCS" fullword wide
$s7 = "convimage" fullword wide
$s8 = ".?AV?$_Binder@U_Unforced@std@@P8shares_t@" ascii
$s9 = "BgIAAACkAABSU0ExAAgAAAEAAQCt" ascii
$m1 = "YOUR FILES WERE ENCRYPTED" ascii
$m2 = "MARKED BY EXTENSION .nermer" ascii
$m3 = "send us your id: >> {id} <<" ascii
$m4 = "email us: >> {email} <<" ascii
$c1 = "/repeater.php" ascii
$c2 = "HTTPClient/0.1" fullword ascii
$c3 = "94.156.35.227" ascii
$c4 = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $m* ) or all of ( $c* ) or all of ( $s* ) or ( 4 of ( $s* ) and ( 1 of ( $x* ) or 1 of ( $m* ) or 2 of ( $c* ) ) ) or 14 of them )
}
Cadenas (19 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "gPROTECT_INFO.TXT" | fullword wide |
| $x2 | texto | ".nermer" | fullword wide |
| $s1 | texto | "db_journal" | fullword wide |
| $s2 | texto | "quicken2015backup" | fullword wide |
| $s3 | texto | "mysql" | fullword wide |
| $s4 | texto | "sas7bdat" | fullword wide |
| $s5 | texto | "httpd.exe" | fullword wide |
| $s6 | texto | "Intuit.QuickBooks.FCS" | fullword wide |
| $s7 | texto | "convimage" | fullword wide |
| $s8 | texto | ".?AV?$_Binder@U_Unforced@std@@P8shares_t@" | ascii |
| $s9 | texto | "BgIAAACkAABSU0ExAAgAAAEAAQCt" | ascii |
| $m1 | texto | "YOUR FILES WERE ENCRYPTED" | ascii |
| $m2 | texto | "MARKED BY EXTENSION .nermer" | ascii |
| $m3 | texto | "send us your id: >> {id} <<" | ascii |
| $m4 | texto | "email us: >> {email} <<" | ascii |
| $c1 | texto | "/repeater.php" | ascii |
| $c2 | texto | "HTTPClient/0.1" | fullword ascii |
| $c3 | texto | "94.156.35.227" | ascii |
| $c4 | texto | "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36" | fullword ascii |
Condición
uint16( 0 ) == 0x5a4d and ( all of ( $m* ) or all of ( $c* ) or all of ( $s* ) or ( 4 of ( $s* ) and ( 1 of ( $x* ) or 1 of ( $m* ) or 2 of ( $c* ) ) ) or 14 of them )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los patrones de ( $m* ).
- Deben coincidir todos los patrones de ( $c* ).
- Deben coincidir todos los patrones de ( $s* ).
- Deben coincidir al menos 4 patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $x* ).
- Deben coincidir al menos 1 patrones de ( $m* ).
- Deben coincidir al menos 2 patrones de ( $c* ).
- Deben coincidir al menos 14 patrones de la regla.
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: fce4f178-8e98-53b0-ae09-2ce876ad524e
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