YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Polar
Detects Polar ransomware
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects Polar ransomware
Famille de malware associée : Polar.
Cibles : PE Windows.
Elle définit 13 motifs (13 texte, 0 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
malware-win-polar.yarBSD 2-Clause License
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* ) ) )
}
Chaînes (13 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "Encrypt Failed ! ErrorMessage :" | wide |
| $s2 | texte | ".locked" | fullword wide |
| $s3 | texte | ".cryptd" | fullword wide |
| $s4 | texte | "$SysReset" | fullword wide |
| $s5 | texte | "Polar.Properties.Resources" | ascii wide |
| $s6 | texte | "AES_EnDecryptor.Basement" | fullword ascii |
| $s7 | texte | "RunCMDCommand" | fullword ascii |
| $s8 | texte | "killerps_list" | fullword ascii |
| $s9 | texte | "clearlog" | fullword ascii |
| $s10 | texte | "encryptFile" | fullword ascii |
| $s11 | texte | "changeBackPictrue" | fullword ascii |
| $pdb1 | texte | "\\Ransomware_ALL_encode\\dir_file\\obj\\x86\\Release\\Encode.pdb" | ascii |
| $pdb2 | texte | "\\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* ) ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 8 motifs de ( $s* ) doivent être trouvés.
- Au moins 1 motifs de ( $pdb* ) doivent être trouvés.
- Au moins 2 motifs de ( $s* ) doivent être trouvés.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
Références
Licence et attribution
Auteur : ditekSHen
Dépôt source : ditekSHen detection @ e76c93dcde
Licence : BSD 2-Clause License (licence du dépôt)
Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: ab4e4478-5417-5918-b5df-5b6ffe7438a9
Métadonnées
| clamav_sig | MALWARE.Win.Ransomware.Polar |
|---|
Tags:FILE
Règles liées
- 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