Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Purge

Detects Purge ransomware

MalwarePurgeditekSHen 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 Purge ransomware

Famille de malware associée : Purge.

Cibles : PE Windows.

Elle définit 16 motifs (16 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-purge.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Purge : FILE
{
	meta:
		description = "Detects Purge ransomware"
		author = "ditekSHen"
		id = "b3fb9f38-ce12-5e0e-8908-3379b5da3497"
		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#L5178-L5201"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "83d13eca69bc99539e47d6d29689edf2a4fcd2260c6e909582126a490eef8115"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$n1 = "imagesave/imagesize.php" ascii
		$n2 = "imageinfo.html" ascii
		$n3 = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" ascii
		$n4 = "Content-Type: application/x-www-form-urlencoded" ascii
		$m1 = "YOUR_ID: %x%x" wide
		$m2 = "Specially for your PC was generated personal" wide
		$m3 = "which is on our Secret Server" wide
		$m4 = "wait for a miracle and get your price" wide
		$s1 = "%s\\SpyHunter Remove Ransomware" wide
		$s2 = "$recycle.bin" fullword wide
		$s3 = "TheEnd" fullword wide
		$s4 = "%s\\HELP_DECRYPT_YOUR_FILES.TXT" fullword wide
		$s5 = "%s.id_%x%x_email_" wide
		$s6 = "scmd" fullword wide
		$s7 = "process call create \"%s\"" wide
		$s8 = "FinishEnds" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( all of ( $s* ) or all of ( $n* ) or 2 of ( $m* ) or ( 3 of ( $s* ) and ( 1 of ( $n* ) or 1 of ( $m* ) ) ) )
}

Chaînes (16 motifs)

IdentifiantTypeValeurModificateurs
$n1texte"imagesave/imagesize.php"ascii
$n2texte"imageinfo.html"ascii
$n3texte"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"ascii
$n4texte"Content-Type: application/x-www-form-urlencoded"ascii
$m1texte"YOUR_ID: %x%x"wide
$m2texte"Specially for your PC was generated personal"wide
$m3texte"which is on our Secret Server"wide
$m4texte"wait for a miracle and get your price"wide
$s1texte"%s\\SpyHunter Remove Ransomware"wide
$s2texte"$recycle.bin"fullword wide
$s3texte"TheEnd"fullword wide
$s4texte"%s\\HELP_DECRYPT_YOUR_FILES.TXT"fullword wide
$s5texte"%s.id_%x%x_email_"wide
$s6texte"scmd"fullword wide
$s7texte"process call create \"%s\""wide
$s8texte"FinishEnds"fullword ascii

Condition

uint16( 0 ) == 0x5a4d and ( all of ( $s* ) or all of ( $n* ) or 2 of ( $m* ) or ( 3 of ( $s* ) and ( 1 of ( $n* ) or 1 of ( $m* ) ) ) )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Tous les motifs de ( $s* ) doivent être trouvés.
  • Tous les motifs de ( $n* ) doivent être trouvés.
  • Au moins 2 motifs de ( $m* ) doivent être trouvés.
  • Au moins 3 motifs de ( $s* ) doivent être trouvés.
  • Au moins 1 motifs de ( $n* ) doivent être trouvés.
  • Au moins 1 motifs de ( $m* ) 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: b3fb9f38-ce12-5e0e-8908-3379b5da3497

Tags:FILE