Saltar al contenido

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_EXE_Prestigeransomware

Detection for Prestige Ransomware

MalwarePrestigeSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compila con YARA-X
Autor
Silas Cutler, modfied by Florian Roth
Fecha
2023-01-04
Modificada
2023-01-06
Puntuación / Calidad
80 / 85

Qué detecta esta regla

Detection for Prestige Ransomware

Familia de malware asociada: Prestige.

Objetivos: PE de Windows.

Define 6 patrones (6 de texto, 0 hex, 0 regex). Módulos YARA usados: pe.

Resumen generado a partir de los metadatos y la condición de la regla.

Código de la regla

Incluye los imports necesarios para compilarla por sí sola.

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" )
}

Cadenas (6 patrones)

IdentificadorTipoValorModificadores
$x_ransom_emailtexto"Prestige.ranusomeware@Proton.me"wide
$x_reg_ransom_notetexto"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_message01texto"To decrypt all the data, you will need to purchase our decryption software."wide
$ransom_message02texto"Contact us {}. In the letter, type your ID = {:X}."wide
$ransom_message03texto"- Do not try to decrypt your data using third party software, it may cause permanent data loss."wide
$ransom_message04texto"- Do not modify or rename encrypted files. You will lose them."wide

Condición

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

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir al menos 1 patrones de ( $x* ).
  • Deben coincidir al menos 2 patrones de la regla.
  • Usa el módulo pe.
  • Comprueba el hash de importaciones PE (imphash).

Prueba esta regla en tu navegador

Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.

Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.

Abrir en el editor

Referencias

Hashes de muestras

Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).

  • 5fc44c7342b84f50f24758e39c8848b2f0991e8817ef5465844f5f2ff6085a57

Licencia y atribución

Autor: Silas Cutler, modfied by Florian Roth

Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licencia: Detection Rule License 1.1 (licencia del repositorio)

Regla original

Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.

Id de la regla: 5ac8033a-8b15-5abe-89d5-018a4fef9ab5

Metadatos

version1.0
DaysofYARA4/100

Etiquetas:FILE