YARA · Mandiant red team tool countermeasures
FIREEYE_RT_APT_Loader_Win_MATRYOSHKA_1
matryoshka_process_hollow.rs
- Auteur
- FireEye
- Date
- 2020-12-02
- Modifiée
- 2020-12-09
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
matryoshka_process_hollow.rs
Cibles : PE Windows.
Elle définit 8 motifs (8 texte, 0 hex, 0 regex).
YARA-X indique : warning[duplicate_pattern_value]: duplicate pattern value
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
rule FIREEYE_RT_APT_Loader_Win_MATRYOSHKA_1 : FILE
{
meta:
= "matryoshka_process_hollow.rs"
= "FireEye"
= "c07fb67e-ded5-593d-b5dc-d0e2c3b5a352"
= "2020-12-02"
= "2020-12-02"
= "2020-12-09"
= "https://github.com/mandiant/red_team_tool_countermeasures/"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/MATRYOSHKA/production/yara/APT_Loader_Win_MATRYOSHKA_1.yar#L4-L24"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
= "44887551a47ae272d7873a354d24042d"
= "8f762684ffd3984630bf41ededa78b8993b53b22591a59912cabfe635775de53"
= 75
= 75
= "FILE"
= 1
strings:
$s1 = "ZwQueryInformationProcess" fullword
$s2 = "WriteProcessMemory" fullword
$s3 = "CreateProcessW" fullword
$s4 = "WriteProcessMemory" fullword
$s5 = "\x00Invalid NT Signature!\x00"
$s6 = "\x00Error while creating and mapping section. NTStatus: "
$s7 = "\x00Error no process information - NTSTATUS:"
$s8 = "\x00Error while erasing pe header. NTStatus: "
condition:
( uint16( 0 ) == 0x5A4D ) and ( uint32( uint32( 0x3C ) ) == 0x00004550 ) and ( uint16( uint32( 0x3C ) + 0x18 ) == 0x020B ) and all of them
}
Chaînes (8 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "ZwQueryInformationProcess" | fullword |
| $s2 | texte | "WriteProcessMemory" | fullword |
| $s3 | texte | "CreateProcessW" | fullword |
| $s4 | texte | "WriteProcessMemory" | fullword |
| $s5 | texte | "\x00Invalid NT Signature!\x00" | |
| $s6 | texte | "\x00Error while creating and mapping section. NTStatus: " | |
| $s7 | texte | "\x00Error no process information - NTSTATUS:" | |
| $s8 | texte | "\x00Error while erasing pe header. NTStatus: " |
Condition
( uint16( 0 ) == 0x5A4D ) and ( uint32( uint32( 0x3C ) ) == 0x00004550 ) and ( uint16( uint32( 0x3C ) + 0x18 ) == 0x020B ) and all of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les 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é.
Hashes d’échantillons
Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).
- 44887551a47ae272d7873a354d24042d
Licence et attribution
Auteur : FireEye
Dépôt source : Mandiant red team tool countermeasures @ 3561b71724
Licence : BSD 2-Clause License (licence du dépôt)
Mention de copyright : Copyright (c) 2023, MANDIANT
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: c07fb67e-ded5-593d-b5dc-d0e2c3b5a352
Métadonnées
| rev | 1 |
|---|
Tags:FILE
Règles liées
- APT / acteurMandiant red team tool countermeasures· FireEye· 2020-12-08
- APT / acteurMandiant red team tool countermeasures· FireEye· 2020-12-08
- APT / acteurMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / acteurMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / acteurMandiant red team tool countermeasures· FireEye· 2020-11-27
- APT / acteurMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / acteurMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / acteurMandiant red team tool countermeasures· FireEye· 2020-11-27