YARA · SEKOIA.IO Community
SEKOIA_Apt_Gamaredon_Ddrdoh_Vbs_Downloader_Vbs
Detects malicious VBScript executed by LNK/mshta
- Auteur
- Sekoia.io
- Date
- 2023-01-24
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 78
Ce que détecte cette règle
Detects malicious VBScript executed by LNK/mshta
Famille de malware associée : Vbsdownloader.
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
apt-gamaredon-ddrdoh-vbs-downloader-vbs.yarDetection Rule License 1.1
rule SEKOIA_Apt_Gamaredon_Ddrdoh_Vbs_Downloader_Vbs : FILE
{
meta:
= "Detects malicious VBScript executed by LNK/mshta"
= "Sekoia.io"
= "cc29d5d9-58bd-4f68-8673-daa41abfc7be"
= "2023-01-24"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_gamaredon_ddrdoh_vbs_downloader_vbs.yar#L1-L20"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "c91e1ce26c0735e8c68fe39f2fbeda8aed51cd4f9a0b967b5d184843728dcef4"
= 75
= 78
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "b24gZXJyb3IgcmVzd" ascii
$ = "BinaryStream.readtext" ascii nocase
$ = "createobject(\"msxml2.domdocument.3.0\").createelement(" ascii nocase
$ = "Dim cSecond, cMinute, CHour, cDay, cMonth, cYear" ascii nocase
$ = "tDate & \"T\" & tTime"
$ = "AutoOpen" ascii nocase
condition:
5 of them and filesize < 50KB
}
Chaînes (6 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "b24gZXJyb3IgcmVzd" | ascii |
| $ | texte | "BinaryStream.readtext" | ascii nocase |
| $ | texte | "createobject(\"msxml2.domdocument.3.0\").createelement(" | ascii nocase |
| $ | texte | "Dim cSecond, cMinute, CHour, cDay, cMonth, cYear" | ascii nocase |
| $ | texte | "tDate & \"T\" & tTime" | |
| $ | texte | "AutoOpen" | ascii nocase |
Condition
5 of them and filesize < 50KBEn clair (Heuristique)
- Le fichier doit faire moins de 50KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins 5 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.
Références
Licence et attribution
Auteur : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
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: cc29d5d9-58bd-4f68-8673-daa41abfc7be
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2023-01-25
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-08-02
- MalwareditekSHen detection· ditekShen· 2020-11-06
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27