Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Apt_Gamaredon_Ddrdoh_Vbs_Downloader_Vbs

Detects malicious VBScript executed by LNK/mshta

APT / actorVbsdownloaderSEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
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:
		description = "Detects malicious VBScript executed by LNK/mshta"
		author = "Sekoia.io"
		id = "cc29d5d9-58bd-4f68-8673-daa41abfc7be"
		date = "2023-01-24"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_gamaredon_ddrdoh_vbs_downloader_vbs.yar#L1-L20"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "c91e1ce26c0735e8c68fe39f2fbeda8aed51cd4f9a0b967b5d184843728dcef4"
		score = 75
		quality = 78
		tags = "FILE"
		version = "1.0"
		classification = "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)

IdentificadorTipoValorModificadores
$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 < 50KB

En 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.

Abrir en el editor

Referencias

Licencia y atribución

Autor: Sekoia.io

Repositorio de origen: SEKOIA.IO Community @ a438a5901a

Licencia: Detection Rule License 1.1 (licencia del repositorio)

Regla original

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

version1.0
classificationTLP:CLEAR

Etiquetas:FILE

Más reglas de Vbsdownloader