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
- 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
rule COD3NYM_MAL_NET_Limecrypter_Runpe_Jan24 : FILE
{
meta:
= "Detects LimeCrypter RunPE module. LimeCrypter is an open source .NET based crypter and loader commonly used by threat actors"
= "Jonathan Peters"
= "06ecd638-0102-5762-b363-fdc390dda04b"
= "2024-01-16"
= "2024-01-16"
= "https://github.com/NYAN-x-CAT/Lime-Crypter/tree/master"
= "https://github.com/cod3nym/detection-rules//blob/86a04c4594cb48895192aad4af164f21f568c136/yara/dotnet/mal/mal_net_limecrypter_runpe.yar#L1-L22"
= "https://github.com/cod3nym/detection-rules//blob/86a04c4594cb48895192aad4af164f21f568c136/LICENSE.md"
= "bcc8c679acfc3aabf22ebdb2349b1fabd351a89fd23a716d85154049d352dd12"
= "b01a68c60d62cf94ef16340316acb9b96d1e671c372559b86a8e6a5d8e80f7d9"
= 80
= 80
= "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)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $op1 | hex | { 1F 1A 58 1F 1A 58 28 } | |
| $op2 | hex | { 20 B3 00 00 00 8D ?? 00 00 01 13 ?? 11 ?? 16 20 02 00 01 00 } | |
| $op3 | hex | { 11 0? 11 0? 20 00 30 00 00 1F 40 28 ?? 00 00 06 } | |
| $op4 | hex | { 6E 20 FF 7F 00 00 6A FE 02 } | |
| $s1 | texto | "RawSecurityDescriptor" | ascii |
| $s2 | texto | "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.
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)
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
Reglas relacionadas
- MalwareCod3nym detection-rules· Jonathan Peters· 2024-01-12
- GenéricaCod3nym detection-rules· Jonathan Peters· 2024-01-02
- Sospechoso / huntingCod3nym detection-rules· Jonathan Peters· 2024-01-09
- Sospechoso / huntingCod3nym detection-rules· Jonathan Peters· 2024-01-14
- Sospechoso / huntingCod3nym detection-rules· Jonathan Peters· 2024-01-11
- Sospechoso / huntingCod3nym detection-rules· Jonathan Peters· 2024-01-09
- Sospechoso / huntingCod3nym detection-rules· Jonathan Peters· 2024-01-05