YARA · SEKOIA.IO Community
SEKOIA_Wiper_Hermeticwiper_Variants
Matches HermeticWiper and possible variants
- Auteur
- Sekoia.io
- Date
- 2022-02-24
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Matches HermeticWiper and possible variants
Famille de malware associée : Hermeticwiper.
Cibles : PE Windows.
Elle définit 4 motifs (4 texte, 0 hex, 0 regex). Modules YARA utilisés : pe.
YARA-X indique : warning[deprecated_field]: field `number_of_signatures` is deprecated
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
Inclut les imports nécessaires pour la compiler seule.
import "pe"
rule SEKOIA_Wiper_Hermeticwiper_Variants
{
meta:
= "Matches HermeticWiper and possible variants"
= "Sekoia.io"
= "102ecf15-167e-49e4-932c-6334e3cdcc69"
= "2022-02-24"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/wiper_hermeticwiper_variants.yar#L3-L26"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "d0c358517b0a6334d430d3bd75d6c58243ce84e0f90afe48a5069a1e1954119c"
= 75
= 80
= ""
= "1.0"
= "TLP:CLEAR"
strings:
$ = "SeLoadDriverPrivilege" wide
$ = "\\\\.\\PhysicalDrive" wide
$ = "::$INDEX_ALLOCATION" wide
$ = "CrashDumpEnabled" wide
condition:
2 of them and pe.characteristics and pe.number_of_signatures == 1 and pe.number_of_resources > 2 and for 2 i in ( 0 .. pe.number_of_resources - 1 ) : ( uint32be( pe.resources [ i ] . offset + 15 ) == 0x4D5A9000 and uint16be( pe.resources [ i ] . offset ) == 0x535A )
}
Chaînes (4 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "SeLoadDriverPrivilege" | wide |
| $ | texte | "\\\\.\\PhysicalDrive" | wide |
| $ | texte | "::$INDEX_ALLOCATION" | wide |
| $ | texte | "CrashDumpEnabled" | wide |
Condition
2 of them and pe.characteristics and pe.number_of_signatures == 1 and pe.number_of_resources > 2 and for 2 i in ( 0 .. pe.number_of_resources - 1 ) : ( uint32be( pe.resources [ i ] . offset + 15 ) == 0x4D5A9000 and uint16be( pe.resources [ i ] . offset ) == 0x535A )En clair (Heuristique)
- Au moins 2 motifs de la règle doivent être trouvés.
- Une boucle for vérifie une propriété sur plusieurs occurrences ou éléments.
- Utilise le module pe.
- Vérifie la signature Authenticode.
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 : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
Licence : Detection Rule License 1.1 (licence du dépôt)
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: 102ecf15-167e-49e4-932c-6334e3cdcc69
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Règles liées
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareTrellix Advanced Research Center· cb @ Trellix ATR· 2022-02-24
- CLUSTER25_UNC1222_Hermeticwiper_23433_10001Métadonnées seulesMalwareCluster25 (via Open-Source-YARA-rules)· Cluster25· 2022-02-23
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-24
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23