YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Pwshloader_Runpe01
Detects PowerShell PE loader / executer. Observed Gorgon TTPs
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects PowerShell PE loader / executer. Observed Gorgon TTPs
Famille de malware associée : Pwshloader.
Elle définit 6 motifs (6 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
rule DITEKSHEN_MALWARE_Win_Pwshloader_Runpe01
{
meta:
= "Detects PowerShell PE loader / executer. Observed Gorgon TTPs"
= "ditekSHen"
= "fd44f48c-7a24-512b-8375-c9f978a8b5bd"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4907-L4920"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "7dd377f6a1cc48ef8ab9d53989755fb967c89d3798b721781bc09043ba3d86f4"
= 75
= 75
= ""
strings:
$rp1 = "GetType('RunPe.RunPe'" ascii
$rp2 = "GetType(\"RunPe.RunPe\"" ascii
$rm1 = "GetMethod('Run'" ascii
$rm2 = "GetMethod(\"Run\"" ascii
$s1 = ".Invoke(" ascii
$s2 = "[Reflection.Assembly]::Load(" ascii
condition:
all of ( $s* ) and 1 of ( $rp* ) and 1 of ( $rm* )
}
Chaînes (6 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $rp1 | texte | "GetType('RunPe.RunPe'" | ascii |
| $rp2 | texte | "GetType(\"RunPe.RunPe\"" | ascii |
| $rm1 | texte | "GetMethod('Run'" | ascii |
| $rm2 | texte | "GetMethod(\"Run\"" | ascii |
| $s1 | texte | ".Invoke(" | ascii |
| $s2 | texte | "[Reflection.Assembly]::Load(" | ascii |
Condition
all of ( $s* ) and 1 of ( $rp* ) and 1 of ( $rm* )En clair (Heuristique)
- Tous les motifs de ( $s* ) doivent être trouvés.
- Au moins 1 motifs de ( $rp* ) doivent être trouvés.
- Au moins 1 motifs de ( $rm* ) 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é.
Références
Licence et attribution
Auteur : ditekSHen
Dépôt source : ditekSHen detection @ e76c93dcde
Licence : BSD 2-Clause License (licence du dépôt)
Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
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: fd44f48c-7a24-512b-8375-c9f978a8b5bd
Règles liées
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06