← Back to SOC feed Coverage →

Detects VSSown.vbs script - used to export shadow copy elements like NTDS to take away and crack elsewhere

yara HIGH Yara-Rules
community
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at Yara-Rules →
Retrieved: 2026-07-31T11:00:00Z · Confidence: medium

Hunt Hypothesis

This detection identifies adversaries executing the VSSown.vbs script to leverage Volume Shadow Copy (VSC) for exporting critical data artifacts, such as the NTDS.dit file, enabling offline password cracking and credential theft. A proactive hunt is essential in Azure Sentinel because this technique allows attackers to silently extract sensitive credentials from shadow copies before they can be detected by standard real-time monitoring tools.

YARA Rule

rule VSSown_VBS {
	meta:
		description = "Detects VSSown.vbs script - used to export shadow copy elements like NTDS to take away and crack elsewhere"
		author = "Florian Roth"
		date = "2015-10-01"
		score = 75
	strings:
		$s0 = "Select * from Win32_Service Where Name ='VSS'" ascii
		$s1 = "Select * From Win32_ShadowCopy" ascii
		$s2 = "cmd /C mklink /D " ascii
		$s3 = "ClientAccessible" ascii
		$s4 = "WScript.Shell" ascii
		$s5 = "Win32_Process" ascii
	condition:
		all of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 6 string patterns in its detection logic.

False Positive Guidance

Here are 3-5 specific false positive scenarios for the VSSown.vbs detection rule, including suggested filters or exclusions:

Original source: https://github.com/Yara-Rules/rules/blob/main/malware/TOOLKIT_THOR_HackTools.yar