YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_APT_NK_Andariel_Cutiedrop_Magicrat
Detects the MagicRAT variant used by Andariel
- Auteur
- CISA.gov (modified by Florian Roth, Nextron Systems)
- Date
- 2024-07-25
- Modifiée
- 2026-01-29
- Score / Qualité
- 80 / 85
Ce que détecte cette règle
Detects the MagicRAT variant used by Andariel
Cibles : PE Windows.
Elle définit 8 motifs (8 texte, 0 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
mal-apt-nk-andariel-cutiedrop-magicrat.yarDetection Rule License 1.1
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
}
Chaînes (8 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $config_os_w | texte | "os/windows" | ascii |
| $config_os_l | texte | "os/linux" | ascii |
| $config_os_m | texte | "os/mac" | ascii |
| $config_comp_msft | texte | "company/microsoft" | ascii |
| $config_comp_orcl | texte | "company/oracle" | ascii |
| $POST_field_1 | texte | "session=" | ascii |
| $POST_field_2 | texte | "type=" | ascii |
| $command_misspelled | texte | "renmae" | ascii |
Condition
uint16( 0 ) == 0x5a4d and 7 of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 7 motifs de la règle doivent être trouvés.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
Licence et attribution
Auteur : CISA.gov (modified by Florian Roth, Nextron Systems)
Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence : Detection Rule License 1.1 (licence du dépôt)
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: 104244de-83fb-5112-a2b6-e20d38a6ced6
Tags:FILE
Règles liées
- 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