Saltar al contenido

YARA · Cod3nym detection-rules

COD3NYM_MAL_NET_Limecrypter_Runpe_Jan24

Detects LimeCrypter RunPE module. LimeCrypter is an open source .NET based crypter and loader commonly used by threat actors

MalwareCod3nym detection-rulesDetection Rule License 1.1Compila con YARA-X
Autor
Jonathan Peters
Fecha
2024-01-16
Puntuación / Calidad
80 / 80

Qué detecta esta regla

Detects LimeCrypter RunPE module. LimeCrypter is an open source .NET based crypter and loader commonly used by threat actors

Objetivos: PE de Windows.

Define 6 patrones (2 de texto, 4 hex, 0 regex).

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

Código de la regla

mal-net-limecrypter-runpe-jan24.yarDetection Rule License 1.1
rule COD3NYM_MAL_NET_Limecrypter_Runpe_Jan24 : FILE
{
	meta:
		description = "Detects LimeCrypter RunPE module. LimeCrypter is an open source .NET based crypter and loader commonly used by threat actors"
		author = "Jonathan Peters"
		id = "06ecd638-0102-5762-b363-fdc390dda04b"
		date = "2024-01-16"
		modified = "2024-01-16"
		reference = "https://github.com/NYAN-x-CAT/Lime-Crypter/tree/master"
		source_url = "https://github.com/cod3nym/detection-rules//blob/86a04c4594cb48895192aad4af164f21f568c136/yara/dotnet/mal/mal_net_limecrypter_runpe.yar#L1-L22"
		license_url = "https://github.com/cod3nym/detection-rules//blob/86a04c4594cb48895192aad4af164f21f568c136/LICENSE.md"
		hash = "bcc8c679acfc3aabf22ebdb2349b1fabd351a89fd23a716d85154049d352dd12"
		logic_hash = "b01a68c60d62cf94ef16340316acb9b96d1e671c372559b86a8e6a5d8e80f7d9"
		score = 80
		quality = 80
		tags = "FILE"

	strings:
		$op1 = { 1F 1A 58 1F 1A 58 28 }
		$op2 = { 20 B3 00 00 00 8D ?? 00 00 01 13 ?? 11 ?? 16 20 02 00 01 00 }
		$op3 = { 11 0? 11 0? 20 00 30 00 00 1F 40 28 ?? 00 00 06 }
		$op4 = { 6E 20 FF 7F 00 00 6A FE 02 }
		$s1 = "RawSecurityDescriptor" ascii
		$s2 = "CommonAce" ascii

	condition:
		uint16( 0 ) == 0x5a4d and all of ( $s* ) and 2 of ( $op* )
}

Cadenas (6 patrones)

IdentificadorTipoValorModificadores
$op1hex{ 1F 1A 58 1F 1A 58 28 }
$op2hex{ 20 B3 00 00 00 8D ?? 00 00 01 13 ?? 11 ?? 16 20 02 00 01 00 }
$op3hex{ 11 0? 11 0? 20 00 30 00 00 1F 40 28 ?? 00 00 06 }
$op4hex{ 6E 20 FF 7F 00 00 6A FE 02 }
$s1texto"RawSecurityDescriptor"ascii
$s2texto"CommonAce"ascii

Condición

uint16( 0 ) == 0x5a4d and all of ( $s* ) and 2 of ( $op* )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir todos los patrones de ( $s* ).
  • Deben coincidir al menos 2 patrones de ( $op* ).

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).

  • bcc8c679acfc3aabf22ebdb2349b1fabd351a89fd23a716d85154049d352dd12

Licencia y atribución

Autor: Jonathan Peters

Repositorio de origen: Cod3nym detection-rules @ 86a04c4594

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: 06ecd638-0102-5762-b363-fdc390dda04b

Etiquetas:FILE