YARA · Cod3nym detection-rules
COD3NYM_SUSP_Direct_Syscall_Shellcode_Invocation_Jan24
Detects direct syscall evasion technqiue using NtProtectVirtualMemory to invoke shellcode
- Autor
- Jonathan Peters
- Fecha
- 2024-01-14
- Puntuación / Calidad
- 65 / 80
Qué detecta esta regla
Detects direct syscall evasion technqiue using NtProtectVirtualMemory to invoke shellcode
Define 1 patrones (0 de texto, 1 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule COD3NYM_SUSP_Direct_Syscall_Shellcode_Invocation_Jan24 : FILE
{
meta:
= "Detects direct syscall evasion technqiue using NtProtectVirtualMemory to invoke shellcode"
= "Jonathan Peters"
= "2a0ce887-299d-5aad-bed3-3e698b4dea79"
= "2024-01-14"
= "2024-01-14"
= "https://unprotect.it/technique/evasion-using-direct-syscalls/"
= "https://github.com/cod3nym/detection-rules//blob/86a04c4594cb48895192aad4af164f21f568c136/yara/other/susp_direct_syscall_shellcode_invocation.yar#L1-L14"
= "https://github.com/cod3nym/detection-rules//blob/86a04c4594cb48895192aad4af164f21f568c136/LICENSE.md"
= "f7cd214e7460c539d6f8d02b6650098e3983862ff658b76ea02c33f5a45fc836"
= "b5b0ad86289a4e2af7cdc909192f4dc9325c1763259f40adcc1e60c088c9e4f3"
= 65
= 80
= "FILE"
strings:
$ = { B8 40 00 00 00 67 4C 8D 08 49 89 CA 48 C7 C0 50 00 00 00 0F 05 [4-8] 4C 8D 3D 02 00 00 00 FF E0 }
condition:
all of them and filesize < 2MB
}
Cadenas (1 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $ | hex | { B8 40 00 00 00 67 4C 8D 08 49 89 CA 48 C7 C0 50 00 00 00 0F 05 [4-8] 4C 8D 3D 02 00 00 00 FF E0 } |
Condición
all of them and filesize < 2MBEn palabras sencillas (Heurística)
- El archivo debe ocupar menos de 2MB (un límite barato que descarta archivos grandes).
- Deben coincidir todos los patrones de la regla.
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).
- f7cd214e7460c539d6f8d02b6650098e3983862ff658b76ea02c33f5a45fc836
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: 2a0ce887-299d-5aad-bed3-3e698b4dea79
Etiquetas:FILE
Reglas relacionadas
- Sospechoso / huntingCod3nym detection-rules· Jonathan Peters· 2024-01-09
- 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
- MalwareCod3nym detection-rules· Jonathan Peters· 2024-01-16
- MalwareCod3nym detection-rules· Jonathan Peters· 2024-01-12
- GenéricaCod3nym detection-rules· Jonathan Peters· 2024-01-02