YARA · SEKOIA.IO Community
SEKOIA_Apt_Gamaredon_Ddrdoh_Vbs_Downloader_Vbs
Detects malicious VBScript executed by LNK/mshta
- Autor
- Sekoia.io
- Fecha
- 2023-01-24
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 78
Qué detecta esta regla
Detects malicious VBScript executed by LNK/mshta
Familia de malware asociada: Vbsdownloader.
Define 6 patrones (6 de texto, 0 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
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
}
Cadenas (6 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $ | texto | "b24gZXJyb3IgcmVzd" | ascii |
| $ | texto | "BinaryStream.readtext" | ascii nocase |
| $ | texto | "createobject(\"msxml2.domdocument.3.0\").createelement(" | ascii nocase |
| $ | texto | "Dim cSecond, cMinute, CHour, cDay, cMonth, cYear" | ascii nocase |
| $ | texto | "tDate & \"T\" & tTime" | |
| $ | texto | "AutoOpen" | ascii nocase |
Condición
5 of them and filesize < 50KBEn palabras sencillas (Heurística)
- El archivo debe ocupar menos de 50KB (un límite barato que descarta archivos grandes).
- Deben coincidir al menos 5 patrones de la regla.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.
Referencias
Licencia y atribución
Autor: Sekoia.io
Repositorio de origen: SEKOIA.IO Community @ a438a5901a
Licencia: Detection Rule License 1.1 (licencia del repositorio)
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: cc29d5d9-58bd-4f68-8673-daa41abfc7be
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- APT / actorSEKOIA.IO Community· Sekoia.io· 2023-01-25
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-08-02
- MalwareditekSHen detection· ditekShen· 2020-11-06
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-09-27