Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Cicada3301

Detects Cicada3301

MalwareCicada3301ditekSHen detectionBSD 2-Clause LicenseCompile avec YARA-X
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:
		description = "Detects Cicada3301"
		author = "ditekshen"
		id = "0aebee9f-177d-5a1b-87e0-8797fb6f6823"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L11860-L11885"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "b8b7596bc8ae01b89742e17bd3dbfcc1e2fad486cc6ea19c8de813fc677509f4"
		score = 75
		quality = 75
		tags = "FILE"
		clamav1 = "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)

IdentifiantTypeValeurModificateurs
$s1texte"cmd/Cchcp 65001 >nulnet view \\\\"
$s2texte"create_file_recovery"
$s3texte"ecnrypted_files_full"
$s4texte"get_excluded_directories"
$s5texte"collect_files_except"
$s6texte".exe4d5a"ascii
$s7texte"-accepteula -s -d \"\" --"ascii
$s8texte"[*.exe*.EXE*.DLL*.ini*.inf*.pol*.cmd*.ps1*.vbs*.bat*.pagefile.sys*.hiberfil.sys*.drv"ascii
$s9texte"memtasveeamsvc$backupsqlvssmsexchangesql$mysqlmysql$sophosMSExchange"ascii
$s10texte"-DATA.txt"ascii
$s11regex/--no_(local|net|impl)/fullword ascii
$c1texte"fsutil"ascii
$c2texte"iisreset"ascii
$c3texte"vssadmin"ascii
$c4texte"wmic"ascii
$c5texte"bcdedit"ascii
$c6texte"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.

Ouvrir dans l’éditeur

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).

Règle d’origine

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

clamav1MALWARE.Win.Ransomware.Cicada3301

Tags:FILE