Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Crown

Detects Crown Tech Support Scam

MalwareCrownditekSHen 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 Crown Tech Support Scam

Famille de malware associée : Crown.

Cibles : PE Windows.

Elle définit 12 motifs (12 texte, 0 hex, 0 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-crown.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Crown : FILE
{
	meta:
		description = "Detects Crown Tech Support Scam"
		author = "ditekSHen"
		id = "ac4551d0-a574-5287-9b37-899c736db792"
		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#L8191-L8211"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "eeb36993c93d76ed118643ee417f15e1768015f72464dbabca7ae001f64a0aef"
		score = 75
		quality = 75
		tags = "FILE"
		snort_sid = "920251-920261"

	strings:
		$d1 = "//prodownload.live" ascii
		$c1 = "&uid=" ascii
		$c2 = "&ver=" ascii
		$c3 = "&mcid=" ascii
		$c4 = ".php?uid=" ascii
		$c5 = ".php?ip=" ascii
		$s1 = "Operating System Support ID:" ascii
		$s2 = "taskkill /IM explorer.exe -f" ascii nocase
		$s3 = "/C taskkill /IM Taskmgr.exe -f" ascii nocase
		$s4 = "FastSuport" fullword ascii
		$s5 = "Support Override!" fullword wide
		$s6 = "Support Assistance Override Activated!" fullword wide

	condition:
		uint16( 0 ) == 0x5a4d and ( all of ( $c* ) or 4 of ( $s* ) or ( 1 of ( $d* ) and ( 3 of ( $c* ) or 2 of ( $s* ) ) ) )
}

Chaînes (12 motifs)

IdentifiantTypeValeurModificateurs
$d1texte"//prodownload.live"ascii
$c1texte"&uid="ascii
$c2texte"&ver="ascii
$c3texte"&mcid="ascii
$c4texte".php?uid="ascii
$c5texte".php?ip="ascii
$s1texte"Operating System Support ID:"ascii
$s2texte"taskkill /IM explorer.exe -f"ascii nocase
$s3texte"/C taskkill /IM Taskmgr.exe -f"ascii nocase
$s4texte"FastSuport"fullword ascii
$s5texte"Support Override!"fullword wide
$s6texte"Support Assistance Override Activated!"fullword wide

Condition

uint16( 0 ) == 0x5a4d and ( all of ( $c* ) or 4 of ( $s* ) or ( 1 of ( $d* ) and ( 3 of ( $c* ) or 2 of ( $s* ) ) ) )

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 4 motifs de ( $s* ) doivent être trouvés.
  • Au moins 1 motifs de ( $d* ) doivent être trouvés.
  • Au moins 3 motifs de ( $c* ) doivent être trouvés.
  • Au moins 2 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é.

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: ac4551d0-a574-5287-9b37-899c736db792

Métadonnées

snort_sid920251-920261

Tags:FILE