YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Mystic
Hunt for Mystic Infostealer
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Hunt for Mystic Infostealer
Famille de malware associée : Mystic.
Cibles : PE Windows.
Elle définit 7 motifs (6 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
rule DITEKSHEN_MALWARE_Win_Mystic : FILE
{
meta:
= "Hunt for Mystic Infostealer"
= "ditekSHen"
= "959eceab-0a2c-5361-b8f4-6739033ffae5"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9614-L9628"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "26e0b85141df818d70124c0b19b5b6a05ac24ae679724d7a8ad94415a6462d17"
= 75
= 75
= "FILE"
strings:
$s1 = "LaStFiLe:)" ascii wide
$s2 = "LaStPrOcEsS:)" ascii wide
$s3 = "credit_cards" ascii wide
$s4 = "number_of_processors" ascii wide
$s5 = "computername" ascii wide
$p1 = "G:\\Projects\\Python\\morpher\\" ascii wide
$p2 = /G:\\Projects\\stealer\\.{15}\\Release\\.{5,25}\.pdb/ ascii wide
condition:
( uint16( 0 ) == 0x5a4d and ( 4 of ( $s* ) or ( 1 of ( $p* ) and 3 of ( $s* ) ) ) ) or ( all of ( $s* ) )
}
Chaînes (7 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "LaStFiLe:)" | ascii wide |
| $s2 | texte | "LaStPrOcEsS:)" | ascii wide |
| $s3 | texte | "credit_cards" | ascii wide |
| $s4 | texte | "number_of_processors" | ascii wide |
| $s5 | texte | "computername" | ascii wide |
| $p1 | texte | "G:\\Projects\\Python\\morpher\\" | ascii wide |
| $p2 | regex | /G:\\Projects\\stealer\\.{15}\\Release\\.{5,25}\.pdb/ | ascii wide |
Condition
( uint16( 0 ) == 0x5a4d and ( 4 of ( $s* ) or ( 1 of ( $p* ) and 3 of ( $s* ) ) ) ) or ( all of ( $s* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $s* ) doivent être trouvés.
- Au moins 4 motifs de ( $s* ) doivent être trouvés.
- Au moins 1 motifs de ( $p* ) doivent être trouvés.
- Au moins 3 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é.
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: 959eceab-0a2c-5361-b8f4-6739033ffae5
Tags:FILE
Règles liées
- MalwareEmbee Research· Matthew @ Embee_reserch· 2023-09-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