Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Rapid

Detects Rapid ransomware

MalwareRapidditekSHen 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 Rapid ransomware

Famille de malware associée : Rapid.

Cibles : PE Windows.

Elle définit 15 motifs (14 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-rapid.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Rapid : FILE
{
	meta:
		description = "Detects Rapid ransomware"
		author = "ditekSHen"
		id = "3a23f344-8345-5ae8-aacb-f2f422d3fc9d"
		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#L8563-L8585"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "c3f1bffeb402951da8bcccc899b2cdeb3c218b342d8338c750b9ff275537b4b5"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "encblklen" fullword ascii
		$s2 = ".rapid" fullword ascii
		$s3 = "BgIAAACkAABSU0E" ascii
		$s4 = "IFdlIHNlbmQ" ascii
		$s5 = "Software\\EncryptKeys" fullword ascii
		$s6 = "local_enc_private_key" fullword ascii
		$s7 = "local_public_key" fullword ascii
		$s8 = "How Recovery Files.txt" ascii
		$s9 = "recovery.txt" ascii
		$s10 = "thr %i run %s" fullword ascii
		$s11 = " /TN Encrypter" ascii
		$s12 = /Encrypter_\d+/ fullword ascii
		$s13 = "BleepingComputer_rapid" ascii wide
		$m1 = "tell us your unique ID - ID-" ascii
		$m2 = "really want to restore your files?" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or ( 1 of ( $m* ) and 4 of ( $s* ) ) )
}

Chaînes (15 motifs)

IdentifiantTypeValeurModificateurs
$s1texte"encblklen"fullword ascii
$s2texte".rapid"fullword ascii
$s3texte"BgIAAACkAABSU0E"ascii
$s4texte"IFdlIHNlbmQ"ascii
$s5texte"Software\\EncryptKeys"fullword ascii
$s6texte"local_enc_private_key"fullword ascii
$s7texte"local_public_key"fullword ascii
$s8texte"How Recovery Files.txt"ascii
$s9texte"recovery.txt"ascii
$s10texte"thr %i run %s"fullword ascii
$s11texte" /TN Encrypter"ascii
$s12regex/Encrypter_\d+/fullword ascii
$s13texte"BleepingComputer_rapid"ascii wide
$m1texte"tell us your unique ID - ID-"ascii
$m2texte"really want to restore your files?"ascii

Condition

uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or ( 1 of ( $m* ) and 4 of ( $s* ) ) )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 6 motifs de ( $s* ) doivent être trouvés.
  • Au moins 1 motifs de ( $m* ) doivent être trouvés.
  • Au moins 4 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: 3a23f344-8345-5ae8-aacb-f2f422d3fc9d

Tags:FILE