Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Linux_Ransomexx

Detects RansomEXX ransomware

MalwareRansomexxditekSHen detectionBSD 2-Clause LicenseCompila con YARA-X
Autor
ditekshen
Fecha
2020-11-06
Modificada
2024-11-01
Puntuación / Calidad
75 / 75

Qué detecta esta regla

Detects RansomEXX ransomware

Familia de malware asociada: Ransomexx.

Define 15 patrones (15 de texto, 0 hex, 0 regex).

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

Código de la regla

malware-linux-ransomexx.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Linux_Ransomexx : FILE
{
	meta:
		description = "Detects RansomEXX ransomware"
		author = "ditekshen"
		id = "b449afc7-9055-55ed-a876-316d1aea8fee"
		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#L3834-L3858"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "c233ccc3e741cb2c53f182c48093e41595a82a3f4e5bdb1dc0204f1f57b96c2a"
		score = 75
		quality = 75
		tags = "FILE"
		clamav_sig = "MALWARE.Linux.Ransomware.RansomEXX"

	strings:
		$c1 = "crtstuff.c" fullword ascii
		$c2 = "cryptor.c" fullword ascii
		$c3 = "ransomware.c" fullword ascii
		$c4 = "logic.c" fullword ascii
		$c5 = "enum_files.c" fullword ascii
		$c6 = "readme.c" fullword ascii
		$c7 = "ctr_drbg.c" fullword ascii
		$s1 = "regenerate_pre_data" fullword ascii
		$s2 = "g_RansomHeader" fullword ascii
		$s3 = "CryptOneBlock" fullword ascii
		$s4 = "RansomLogic" fullword ascii
		$s5 = "CryptOneFile" fullword ascii
		$s6 = "encrypt_worker" fullword ascii
		$s7 = "list_dir" fullword ascii
		$s8 = "ctr_drbg_update_internal" fullword ascii

	condition:
		uint16( 0 ) == 0x457f and ( 5 of ( $c* ) or 6 of ( $s* ) or ( 3 of ( $c* ) and 3 of ( $s* ) ) )
}

Cadenas (15 patrones)

IdentificadorTipoValorModificadores
$c1texto"crtstuff.c"fullword ascii
$c2texto"cryptor.c"fullword ascii
$c3texto"ransomware.c"fullword ascii
$c4texto"logic.c"fullword ascii
$c5texto"enum_files.c"fullword ascii
$c6texto"readme.c"fullword ascii
$c7texto"ctr_drbg.c"fullword ascii
$s1texto"regenerate_pre_data"fullword ascii
$s2texto"g_RansomHeader"fullword ascii
$s3texto"CryptOneBlock"fullword ascii
$s4texto"RansomLogic"fullword ascii
$s5texto"CryptOneFile"fullword ascii
$s6texto"encrypt_worker"fullword ascii
$s7texto"list_dir"fullword ascii
$s8texto"ctr_drbg_update_internal"fullword ascii

Condición

uint16( 0 ) == 0x457f and ( 5 of ( $c* ) or 6 of ( $s* ) or ( 3 of ( $c* ) and 3 of ( $s* ) ) )

En palabras sencillas (Heurística)

  • Deben coincidir al menos 5 patrones de ( $c* ).
  • Deben coincidir al menos 6 patrones de ( $s* ).
  • Deben coincidir al menos 3 patrones de ( $c* ).
  • Deben coincidir al menos 3 patrones de ( $s* ).

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

Licencia y atribución

Autor: ditekshen

Repositorio de origen: ditekSHen detection @ e76c93dcde

Licencia: BSD 2-Clause License (licencia del repositorio)

Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

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: b449afc7-9055-55ed-a876-316d1aea8fee

Metadatos

clamav_sigMALWARE.Linux.Ransomware.RansomEXX

Etiquetas:FILE

Más reglas de Ransomexx