Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_VBS_Dlagent01

Detects VBS MSHTA downloader

MalwareDlagent01ditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekSHen
Date
2020-11-06
Modified
2024-11-01
Score / Quality
75 / 75

What this rule detects

Detects VBS MSHTA downloader

Associated malware family: Dlagent01.

It defines 4 patterns (4 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

malware-win-vbs-dlagent01.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_VBS_Dlagent01
{
	meta:
		description = "Detects VBS MSHTA downloader"
		author = "ditekSHen"
		id = "447ea323-ecab-5f6b-b13e-0690254c754e"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L5384-L5395"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "0e47839a55773764aca0aebcf1078c06c729b86d1e2f18d7d64e3bb11e87f3eb"
		score = 75
		quality = 75
		tags = ""

	strings:
		$s1 = "llehS.tpircsW" ascii
		$s2 = ".Run" ascii
		$s3 = "mshta http" ascii nocase
		$s4 = "StrReverse" ascii

	condition:
		all of them
}

Strings (4 patterns)

IdentifierTypeValueModifiers
$s1text"llehS.tpircsW"ascii
$s2text".Run"ascii
$s3text"mshta http"ascii nocase
$s4text"StrReverse"ascii

Condition

all of them

In plain words (Heuristic)

  • All patterns in the rule must match.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Licence & attribution

Author: ditekSHen

Source repository: ditekSHen detection @ e76c93dcde

Licence: BSD 2-Clause License (repository licence)

Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 447ea323-ecab-5f6b-b13e-0690254c754e