YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_STOP
Detects STOP ransomware
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 73
Ce que détecte cette règle
Detects STOP ransomware
Famille de malware associée : Stop.
Cibles : PE Windows.
Elle définit 13 motifs (12 texte, 0 hex, 1 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-stop.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_STOP : FILE
{
meta:
= "Detects STOP ransomware"
= "ditekSHen"
= "e928d917-a9d9-5830-938a-59b62608e84c"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L3286-L3309"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "61f7e7c1139c56088b2f58b78ae132ffcfef0f931c15b67ea775b0d5e51d189d"
= 75
= 73
= "FILE"
= "920113"
= "920111"
= "MALWARE.Win.Ransomware.STOP"
strings:
$x1 = "C:\\SystemID\\PersonalID.txt" fullword wide
$x2 = "/deny *S-1-1-0:(OI)(CI)(DE,DC)" wide
$x3 = "e:\\doc\\my work (c++)\\_git\\encryption\\" ascii wide nocase
$s1 = "\" --AutoStart" fullword ascii wide
$s2 = "--ForNetRes" fullword wide
$s3 = "--Admin" fullword wide
$s4 = "%username%" fullword wide
$s5 = "?pid=" fullword wide
$s6 = /&first=(true|false)/ fullword wide
$s7 = "delself.bat" ascii
$mutex1 = "{1D6FC66E-D1F3-422C-8A53-C0BBCF3D900D}" fullword ascii
$mutex2 = "{FBB4BCC6-05C7-4ADD-B67B-A98A697323C1}" fullword ascii
$mutex3 = "{36A698B9-D67C-4E07-BE82-0EC5B14B4DF5}" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( ( 2 of ( $x* ) and 1 of ( $mutex* ) ) or ( all of ( $x* ) ) or ( 6 of ( $s* ) and ( 1 of ( $x* ) or 1 of ( $mutex* ) ) ) or ( 9 of them ) )
}
Chaînes (13 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $x1 | texte | "C:\\SystemID\\PersonalID.txt" | fullword wide |
| $x2 | texte | "/deny *S-1-1-0:(OI)(CI)(DE,DC)" | wide |
| $x3 | texte | "e:\\doc\\my work (c++)\\_git\\encryption\\" | ascii wide nocase |
| $s1 | texte | "\" --AutoStart" | fullword ascii wide |
| $s2 | texte | "--ForNetRes" | fullword wide |
| $s3 | texte | "--Admin" | fullword wide |
| $s4 | texte | "%username%" | fullword wide |
| $s5 | texte | "?pid=" | fullword wide |
| $s6 | regex | /&first=(true|false)/ | fullword wide |
| $s7 | texte | "delself.bat" | ascii |
| $mutex1 | texte | "{1D6FC66E-D1F3-422C-8A53-C0BBCF3D900D}" | fullword ascii |
| $mutex2 | texte | "{FBB4BCC6-05C7-4ADD-B67B-A98A697323C1}" | fullword ascii |
| $mutex3 | texte | "{36A698B9-D67C-4E07-BE82-0EC5B14B4DF5}" | fullword ascii |
Condition
uint16( 0 ) == 0x5a4d and ( ( 2 of ( $x* ) and 1 of ( $mutex* ) ) or ( all of ( $x* ) ) or ( 6 of ( $s* ) and ( 1 of ( $x* ) or 1 of ( $mutex* ) ) ) or ( 9 of them ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $x* ) doivent être trouvés.
- Au moins 2 motifs de ( $x* ) doivent être trouvés.
- Au moins 1 motifs de ( $mutex* ) doivent être trouvés.
- Au moins 6 motifs de ( $s* ) doivent être trouvés.
- Au moins 1 motifs de ( $x* ) doivent être trouvés.
- Au moins 9 motifs de la règle 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: e928d917-a9d9-5830-938a-59b62608e84c
Métadonnées
| snort2_sid | 920113 |
|---|---|
| snort3_sid | 920111 |
| clamav_sig | MALWARE.Win.Ransomware.STOP |
Tags:FILE
Règles liées
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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