YARA · Embee Research
EMBEERESEARCH_Win_Gracewire_Loader_Dec_2022
Yara rule to detect GraceWireLoader via usage of Stack Strings
- Auteur
- Embee_Research @ Huntress
- Date
- 2022-12-12
- Modifiée
- 2023-10-18
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Yara rule to detect GraceWireLoader via usage of Stack Strings
Elle définit 4 motifs (0 texte, 4 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
win-gracewire-loader-dec-2022.yarDetection Rule License 1.1
rule EMBEERESEARCH_Win_Gracewire_Loader_Dec_2022 : FILE
{
meta:
= "Yara rule to detect GraceWireLoader via usage of Stack Strings"
= "Embee_Research @ Huntress"
= "63d0cd9f-34f7-5ec4-8061-66d36859bd0c"
= "2022-12-12"
= "2023-10-18"
= "https://github.com/embee-research/Yara-detection-rules/"
= "https://github.com/embee-research/Yara-detection-rules//blob/ac56d6f6fd2a30c8cb6e5c0455d6519210a8b0f4/Rules/2022/win_gracewire_loader_dec_2022.yar#L2-L24"
= "N/A"
= "168af6d24c0646e90717f27e6ba4a18da8e92950ffa7a881243860305037da48"
= 75
= 75
= "FILE"
strings:
$ZwAllocateVirtualMemory = {c6 44 24 48 5a c6 44 24 49 77 c6 44 24 4a 41 c6 44 24 4b 6c c6 44 24 4c 6c c6 44 24 4d 6f c6 44 24 4e 63 c6 44 24 4f 61 c6 44 24 50 74 c6 44 24 51 65 c6 44 24 52 56 c6 44 24 53 69 c6 44 24 54 72 c6 44 24 55 74 c6 44 24 56 75 c6 44 24 57 61 c6 44 24 58 6c c6 44 24 59 4d c6 44 24 5a 65 c6 44 24 5b 6d c6 44 24 5c 6f}
$LdrGetProcedureAddress = {c6 44 24 50 4c c6 44 24 51 64 c6 44 24 52 72 c6 44 24 53 47 c6 44 24 54 65 c6 44 24 55 74 c6 44 24 56 50 c6 44 24 57 72 c6 44 24 58 6f c6 44 24 59 63 c6 44 24 5a 65 c6 44 24 5b 64 c6 44 24 5c 75 c6 44 24 5d 72 c6 44 24 5e 65 c6 44 24 5f 41 c6 44 24 60 64 c6 44 24 61 64 c6 44 24 62 72 c6 44 24 63 65 c6 44 24 64 73 c6 44 24 65 73 c6 44 24 66 00}
$LdrLoadDLL = {c6 44 24 50 4c c6 44 24 51 64 c6 44 24 52 72 c6 44 24 53 4c c6 44 24 54 6f c6 44 24 55 61 c6 44 24 56 64 c6 44 24 57 44 c6 44 24 58 6c c6 44 24 59 6c}
$ZwFreeVirtualMemory = {c6 44 24 30 5a c6 44 24 31 77 c6 44 24 32 46 c6 44 24 33 72 c6 44 24 34 65 c6 44 24 35 65 c6 44 24 36 56 c6 44 24 37 69 c6 44 24 38 72 c6 44 24 39 74 c6 44 24 3a 75 c6 44 24 3b 61 c6 44 24 3c 6c c6 44 24 3d 4d c6 44 24 3e 65 c6 44 24 3f 6d c6 44 24 40 6f c6 44 24 41 72 c6 44 24 42 79}
condition:
3 of them
}
Chaînes (4 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ZwAllocateVirtualMemory | hex | {c6 44 24 48 5a c6 44 24 49 77 c6 44 24 4a 41 c6 44 24 4b 6c c6 44 24 4c 6c c6 44 24 4d 6f c6 44 24 4e 63 c6 44 24 4f 61 c6 44 24 50 74 c6 44 24 51 65 c6 44 24 … | |
| $LdrGetProcedureAddress | hex | {c6 44 24 50 4c c6 44 24 51 64 c6 44 24 52 72 c6 44 24 53 47 c6 44 24 54 65 c6 44 24 55 74 c6 44 24 56 50 c6 44 24 57 72 c6 44 24 58 6f c6 44 24 59 63 c6 44 24 … | |
| $LdrLoadDLL | hex | {c6 44 24 50 4c c6 44 24 51 64 c6 44 24 52 72 c6 44 24 53 4c c6 44 24 54 6f c6 44 24 55 61 c6 44 24 56 64 c6 44 24 57 44 c6 44 24 58 6c c6 44 24 59 6c} | |
| $ZwFreeVirtualMemory | hex | {c6 44 24 30 5a c6 44 24 31 77 c6 44 24 32 46 c6 44 24 33 72 c6 44 24 34 65 c6 44 24 35 65 c6 44 24 36 56 c6 44 24 37 69 c6 44 24 38 72 c6 44 24 39 74 c6 44 24 … |
Condition
3 of themEn clair (Heuristique)
- Au moins 3 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 : Embee_Research @ Huntress
Dépôt source : Embee Research @ ac56d6f6fd
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: 63d0cd9f-34f7-5ec4-8061-66d36859bd0c
Tags:FILE
Règles liées
- MalwareEmbee Research· Embee_Research @ Huntress· 2022-10-14
- MalwareEmbee Research· Embee_Research @ Huntress· 2022-11-14
- GénériqueEmbee Research· Embee_Research @ Huntress· 2022-10-14