YARA · Mandiant red team tool countermeasures
FIREEYE_RT_APT_Builder_Win64_MATRYOSHKA_1
matryoshka_pe_to_shellcode.rs
- Auteur
- FireEye
- Date
- 2020-12-02
- Modifiée
- 2020-12-09
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
matryoshka_pe_to_shellcode.rs
Cibles : PE Windows.
Elle définit 4 motifs (3 texte, 1 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
rule FIREEYE_RT_APT_Builder_Win64_MATRYOSHKA_1 : FILE
{
meta:
= "matryoshka_pe_to_shellcode.rs"
= "FireEye"
= "0afcf13e-5cd3-5c1c-897e-b6d0c283ab0f"
= "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_Builder_Win64_MATRYOSHKA_1.yar#L4-L20"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
= "8d949c34def898f0f32544e43117c057"
= "b370d7dea44bccc92fc8dbd4ea0ee9bec523820108bf8bc67acb17ebf9835f74"
= 75
= 75
= "FILE"
= 1
strings:
$sb1 = { 4D 5A 45 52 [0-32] E8 [0-32] 00 00 00 00 [0-32] 5B 48 83 EB 09 53 48 81 [0-32] C3 [0-32] FF D3 [0-32] C3 }
$ss1 = "\x00Stub Size: "
$ss2 = "\x00Executable Size: "
$ss3 = "\x00[+] Writing out to file"
condition:
( uint16( 0 ) == 0x5A4D ) and ( uint32( uint32( 0x3C ) ) == 0x00004550 ) and ( uint16( uint32( 0x3C ) + 0x18 ) == 0x020B ) and all of them
}
Chaînes (4 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $sb1 | hex | { 4D 5A 45 52 [0-32] E8 [0-32] 00 00 00 00 [0-32] 5B 48 83 EB 09 53 48 81 [0-32] C3 [0-32] FF D3 [0-32] C3 } | |
| $ss1 | texte | "\x00Stub Size: " | |
| $ss2 | texte | "\x00Executable Size: " | |
| $ss3 | texte | "\x00[+] Writing out to file" |
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).
- 8d949c34def898f0f32544e43117c057
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: 0afcf13e-5cd3-5c1c-897e-b6d0c283ab0f
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-11-27
- APT / acteurMandiant red team tool countermeasures· FireEye· 2020-11-27