YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_APT_NK_Andariel_Cutiedrop_Magicrat
Detects the MagicRAT variant used by Andariel
- Autor
- CISA.gov (modified by Florian Roth, Nextron Systems)
- Fecha
- 2024-07-25
- Modificada
- 2026-01-29
- Puntuación / Calidad
- 80 / 85
Qué detecta esta regla
Detects the MagicRAT variant used by Andariel
Objetivos: PE de Windows.
Define 8 patrones (8 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
rule SIGNATURE_BASE_MAL_APT_NK_Andariel_Cutiedrop_Magicrat : FILE
{
meta:
= "Detects the MagicRAT variant used by Andariel"
= "CISA.gov (modified by Florian Roth, Nextron Systems)"
= "104244de-83fb-5112-a2b6-e20d38a6ced6"
= "2024-07-25"
= "2026-01-29"
= "https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-207a"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_nk_andariel_jul24.yar#L61-L85"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "f289bbd71bdeaf2c42063642454679ec26de5ed24c020af40db694a0ced54884"
= 80
= 85
= "FILE"
strings:
$config_os_w = "os/windows" ascii
$config_os_l = "os/linux" ascii
$config_os_m = "os/mac" ascii
$config_comp_msft = "company/microsoft" ascii
$config_comp_orcl = "company/oracle" ascii
$POST_field_1 = "session=" ascii
$POST_field_2 = "type=" ascii
$command_misspelled = "renmae" ascii
condition:
uint16( 0 ) == 0x5a4d and 7 of them
}
Cadenas (8 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $config_os_w | texto | "os/windows" | ascii |
| $config_os_l | texto | "os/linux" | ascii |
| $config_os_m | texto | "os/mac" | ascii |
| $config_comp_msft | texto | "company/microsoft" | ascii |
| $config_comp_orcl | texto | "company/oracle" | ascii |
| $POST_field_1 | texto | "session=" | ascii |
| $POST_field_2 | texto | "type=" | ascii |
| $command_misspelled | texto | "renmae" | ascii |
Condición
uint16( 0 ) == 0x5a4d and 7 of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 7 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.
Licencia y atribución
Autor: CISA.gov (modified by Florian Roth, Nextron Systems)
Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: 104244de-83fb-5112-a2b6-e20d38a6ced6
Etiquetas:FILE
Reglas relacionadas
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov (modified by Florian Roth, Nextron Systems)· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov (modified by Florian Roth, Nextron Systems)· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov (modified by Florian Roth, Nextron Systems)· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov (modified by Florian Roth, Nextron Systems)· 2024-07-25