YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Cicada3301
Detects Cicada3301
- Auteur
- ditekshen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects Cicada3301
Famille de malware associée : Cicada3301.
Cibles : PE Windows.
Elle définit 17 motifs (16 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-cicada3301.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Cicada3301 : FILE
{
meta:
= "Detects Cicada3301"
= "ditekshen"
= "0aebee9f-177d-5a1b-87e0-8797fb6f6823"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L11860-L11885"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "b8b7596bc8ae01b89742e17bd3dbfcc1e2fad486cc6ea19c8de813fc677509f4"
= 75
= 75
= "FILE"
= "MALWARE.Win.Ransomware.Cicada3301"
strings:
$s1 = "cmd/Cchcp 65001 >nulnet view \\\\"
$s2 = "create_file_recovery"
$s3 = "ecnrypted_files_full"
$s4 = "get_excluded_directories"
$s5 = "collect_files_except"
$s6 = ".exe4d5a" ascii
$s7 = "-accepteula -s -d \"\" --" ascii
$s8 = "[*.exe*.EXE*.DLL*.ini*.inf*.pol*.cmd*.ps1*.vbs*.bat*.pagefile.sys*.hiberfil.sys*.drv" ascii
$s9 = "memtasveeamsvc$backupsqlvssmsexchangesql$mysqlmysql$sophosMSExchange" ascii
$s10 = "-DATA.txt" ascii
$s11 = /--no_(local|net|impl)/ fullword ascii
$c1 = "fsutil" ascii
$c2 = "iisreset" ascii
$c3 = "vssadmin" ascii
$c4 = "wmic" ascii
$c5 = "bcdedit" ascii
$c6 = "wevtutil" ascii
condition:
uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or ( 4 of ( $c* ) and 4 of ( $s* ) ) or ( all of ( $c* ) and 2 of ( $s* ) ) or 9 of them )
}
Chaînes (17 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "cmd/Cchcp 65001 >nulnet view \\\\" | |
| $s2 | texte | "create_file_recovery" | |
| $s3 | texte | "ecnrypted_files_full" | |
| $s4 | texte | "get_excluded_directories" | |
| $s5 | texte | "collect_files_except" | |
| $s6 | texte | ".exe4d5a" | ascii |
| $s7 | texte | "-accepteula -s -d \"\" --" | ascii |
| $s8 | texte | "[*.exe*.EXE*.DLL*.ini*.inf*.pol*.cmd*.ps1*.vbs*.bat*.pagefile.sys*.hiberfil.sys*.drv" | ascii |
| $s9 | texte | "memtasveeamsvc$backupsqlvssmsexchangesql$mysqlmysql$sophosMSExchange" | ascii |
| $s10 | texte | "-DATA.txt" | ascii |
| $s11 | regex | /--no_(local|net|impl)/ | fullword ascii |
| $c1 | texte | "fsutil" | ascii |
| $c2 | texte | "iisreset" | ascii |
| $c3 | texte | "vssadmin" | ascii |
| $c4 | texte | "wmic" | ascii |
| $c5 | texte | "bcdedit" | ascii |
| $c6 | texte | "wevtutil" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or ( 4 of ( $c* ) and 4 of ( $s* ) ) or ( all of ( $c* ) and 2 of ( $s* ) ) or 9 of them )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $c* ) doivent être trouvés.
- Au moins 6 motifs de ( $s* ) doivent être trouvés.
- Au moins 4 motifs de ( $c* ) doivent être trouvés.
- Au moins 4 motifs de ( $s* ) doivent être trouvés.
- Au moins 2 motifs de ( $s* ) 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: 0aebee9f-177d-5a1b-87e0-8797fb6f6823
Métadonnées
| clamav1 | MALWARE.Win.Ransomware.Cicada3301 |
|---|
Tags:FILE
Règles liées
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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