YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Purge
Detects Purge ransomware
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects Purge ransomware
Familia de malware asociada: Purge.
Objetivos: PE de Windows.
Define 16 patrones (16 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_Purge : FILE
{
meta:
= "Detects Purge ransomware"
= "ditekSHen"
= "b3fb9f38-ce12-5e0e-8908-3379b5da3497"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L5178-L5201"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "83d13eca69bc99539e47d6d29689edf2a4fcd2260c6e909582126a490eef8115"
= 75
= 75
= "FILE"
strings:
$n1 = "imagesave/imagesize.php" ascii
$n2 = "imageinfo.html" ascii
$n3 = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" ascii
$n4 = "Content-Type: application/x-www-form-urlencoded" ascii
$m1 = "YOUR_ID: %x%x" wide
$m2 = "Specially for your PC was generated personal" wide
$m3 = "which is on our Secret Server" wide
$m4 = "wait for a miracle and get your price" wide
$s1 = "%s\\SpyHunter Remove Ransomware" wide
$s2 = "$recycle.bin" fullword wide
$s3 = "TheEnd" fullword wide
$s4 = "%s\\HELP_DECRYPT_YOUR_FILES.TXT" fullword wide
$s5 = "%s.id_%x%x_email_" wide
$s6 = "scmd" fullword wide
$s7 = "process call create \"%s\"" wide
$s8 = "FinishEnds" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $s* ) or all of ( $n* ) or 2 of ( $m* ) or ( 3 of ( $s* ) and ( 1 of ( $n* ) or 1 of ( $m* ) ) ) )
}
Cadenas (16 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $n1 | texto | "imagesave/imagesize.php" | ascii |
| $n2 | texto | "imageinfo.html" | ascii |
| $n3 | texto | "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" | ascii |
| $n4 | texto | "Content-Type: application/x-www-form-urlencoded" | ascii |
| $m1 | texto | "YOUR_ID: %x%x" | wide |
| $m2 | texto | "Specially for your PC was generated personal" | wide |
| $m3 | texto | "which is on our Secret Server" | wide |
| $m4 | texto | "wait for a miracle and get your price" | wide |
| $s1 | texto | "%s\\SpyHunter Remove Ransomware" | wide |
| $s2 | texto | "$recycle.bin" | fullword wide |
| $s3 | texto | "TheEnd" | fullword wide |
| $s4 | texto | "%s\\HELP_DECRYPT_YOUR_FILES.TXT" | fullword wide |
| $s5 | texto | "%s.id_%x%x_email_" | wide |
| $s6 | texto | "scmd" | fullword wide |
| $s7 | texto | "process call create \"%s\"" | wide |
| $s8 | texto | "FinishEnds" | fullword ascii |
Condición
uint16( 0 ) == 0x5a4d and ( all of ( $s* ) or all of ( $n* ) or 2 of ( $m* ) or ( 3 of ( $s* ) and ( 1 of ( $n* ) or 1 of ( $m* ) ) ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los patrones de ( $s* ).
- Deben coincidir todos los patrones de ( $n* ).
- Deben coincidir al menos 2 patrones de ( $m* ).
- Deben coincidir al menos 3 patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $n* ).
- Deben coincidir al menos 1 patrones de ( $m* ).
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: b3fb9f38-ce12-5e0e-8908-3379b5da3497
Etiquetas:FILE
Reglas relacionadas
- Sospechoso / huntingditekSHen detection· ditekShen· 2021-01-21
- 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