YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Polar
Detects Polar ransomware
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects Polar ransomware
Familia de malware asociada: Polar.
Objetivos: PE de Windows.
Define 13 patrones (13 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_Polar : FILE
{
meta:
= "Detects Polar ransomware"
= "ditekSHen"
= "ab4e4478-5417-5918-b5df-5b6ffe7438a9"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L2102-L2123"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "4f05a8ace9a03d02f54f0ebdd5349d1d1b23db8e34aa71edd44eebf02b88745c"
= 75
= 75
= "FILE"
= "MALWARE.Win.Ransomware.Polar"
strings:
$s1 = "Encrypt Failed ! ErrorMessage :" wide
$s2 = ".locked" fullword wide
$s3 = ".cryptd" fullword wide
$s4 = "$SysReset" fullword wide
$s5 = "Polar.Properties.Resources" ascii wide
$s6 = "AES_EnDecryptor.Basement" fullword ascii
$s7 = "RunCMDCommand" fullword ascii
$s8 = "killerps_list" fullword ascii
$s9 = "clearlog" fullword ascii
$s10 = "encryptFile" fullword ascii
$s11 = "changeBackPictrue" fullword ascii
$pdb1 = "\\Ransomware_ALL_encode\\dir_file\\obj\\x86\\Release\\Encode.pdb" ascii
$pdb2 = "\\Ransomware_ALL_encode\\dir_file\\obj\\x64\\Release\\Encode.pdb" ascii
condition:
uint16( 0 ) == 0x5a4d and ( 8 of ( $s* ) or ( 1 of ( $pdb* ) and 2 of ( $s* ) ) )
}
Cadenas (13 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "Encrypt Failed ! ErrorMessage :" | wide |
| $s2 | texto | ".locked" | fullword wide |
| $s3 | texto | ".cryptd" | fullword wide |
| $s4 | texto | "$SysReset" | fullword wide |
| $s5 | texto | "Polar.Properties.Resources" | ascii wide |
| $s6 | texto | "AES_EnDecryptor.Basement" | fullword ascii |
| $s7 | texto | "RunCMDCommand" | fullword ascii |
| $s8 | texto | "killerps_list" | fullword ascii |
| $s9 | texto | "clearlog" | fullword ascii |
| $s10 | texto | "encryptFile" | fullword ascii |
| $s11 | texto | "changeBackPictrue" | fullword ascii |
| $pdb1 | texto | "\\Ransomware_ALL_encode\\dir_file\\obj\\x86\\Release\\Encode.pdb" | ascii |
| $pdb2 | texto | "\\Ransomware_ALL_encode\\dir_file\\obj\\x64\\Release\\Encode.pdb" | ascii |
Condición
uint16( 0 ) == 0x5a4d and ( 8 of ( $s* ) or ( 1 of ( $pdb* ) and 2 of ( $s* ) ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 8 patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $pdb* ).
- Deben coincidir al menos 2 patrones de ( $s* ).
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: ab4e4478-5417-5918-b5df-5b6ffe7438a9
Metadatos
| clamav_sig | MALWARE.Win.Ransomware.Polar |
|---|
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