Aller au contenu

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_EXE_Prestigeransomware

Detection for Prestige Ransomware

MalwarePrestigeSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compile avec YARA-X
Auteur
Silas Cutler, modfied by Florian Roth
Date
2023-01-04
Modifiée
2023-01-06
Score / Qualité
80 / 85

Ce que détecte cette règle

Detection for Prestige Ransomware

Famille de malware associée : Prestige.

Cibles : PE Windows.

Elle définit 6 motifs (6 texte, 0 hex, 0 regex). Modules YARA utilisés : pe.

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

Inclut les imports nécessaires pour la compiler seule.

mal-exe-prestigeransomware.yarDetection Rule License 1.1
import "pe"

rule SIGNATURE_BASE_MAL_EXE_Prestigeransomware : FILE
{
	meta:
		description = "Detection for Prestige Ransomware"
		author = "Silas Cutler, modfied by Florian Roth"
		id = "5ac8033a-8b15-5abe-89d5-018a4fef9ab5"
		date = "2023-01-04"
		modified = "2023-01-06"
		reference = "https://www.microsoft.com/en-us/security/blog/2022/10/14/new-prestige-ransomware-impacts-organizations-in-ukraine-and-poland/"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_100days_of_yara_2023.yar#L171-L195"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "5fc44c7342b84f50f24758e39c8848b2f0991e8817ef5465844f5f2ff6085a57"
		logic_hash = "2f51ca71d28c8d0df8de22011e16919672d5f9d3f3d94594c5d0cbf7f1585a1e"
		score = 80
		quality = 85
		tags = "FILE"
		version = "1.0"
		DaysofYARA = "4/100"

	strings:
		$x_ransom_email = "Prestige.ranusomeware@Proton.me" wide
		$x_reg_ransom_note = "C:\\Windows\\System32\\reg.exe add HKCR\\enc\\shell\\open\\command /ve /t REG_SZ /d \"C:\\Windows\\Notepad.exe C:\\Users\\Public\\README\" /f" wide
		$ransom_message01 = "To decrypt all the data, you will need to purchase our decryption software." wide
		$ransom_message02 = "Contact us {}. In the letter, type your ID = {:X}." wide
		$ransom_message03 = "- Do not try to decrypt your data using third party software, it may cause permanent data loss." wide
		$ransom_message04 = "- Do not modify or rename encrypted files. You will lose them." wide

	condition:
		uint16( 0 ) == 0x5A4D and ( 1 of ( $x* ) or 2 of them or pe.imphash ( ) == "a32bbc5df4195de63ea06feb46cd6b55" )
}

Chaînes (6 motifs)

IdentifiantTypeValeurModificateurs
$x_ransom_emailtexte"Prestige.ranusomeware@Proton.me"wide
$x_reg_ransom_notetexte"C:\\Windows\\System32\\reg.exe add HKCR\\enc\\shell\\open\\command /ve /t REG_SZ /d \"C:\\Windows\\Notepad.exe C:\\Users\\Public\\README\" /f"wide
$ransom_message01texte"To decrypt all the data, you will need to purchase our decryption software."wide
$ransom_message02texte"Contact us {}. In the letter, type your ID = {:X}."wide
$ransom_message03texte"- Do not try to decrypt your data using third party software, it may cause permanent data loss."wide
$ransom_message04texte"- Do not modify or rename encrypted files. You will lose them."wide

Condition

uint16( 0 ) == 0x5A4D and ( 1 of ( $x* ) or 2 of them or pe.imphash ( ) == "a32bbc5df4195de63ea06feb46cd6b55" )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 1 motifs de ( $x* ) doivent être trouvés.
  • Au moins 2 motifs de la règle doivent être trouvés.
  • Utilise le module pe.
  • Vérifie le hash des imports PE (imphash).

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

Hashes d’échantillons

Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).

  • 5fc44c7342b84f50f24758e39c8848b2f0991e8817ef5465844f5f2ff6085a57

Licence et attribution

Auteur : Silas Cutler, modfied by Florian Roth

Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence : Detection Rule License 1.1 (licence du dépôt)

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: 5ac8033a-8b15-5abe-89d5-018a4fef9ab5

Métadonnées

version1.0
DaysofYARA4/100

Tags:FILE