GhostLock SMB Deny-Share Availability Attack Tool
Score: 9/10

GhostLock SMB Deny-Share Availability Attack Tool

GhostLock leverages standard Windows API calls to acquire exclusive handles on SMB shares, causing ransomware-like availability denial without encryption or file modifications.

Executive Summary

GhostLock is an offensive research tool and technique disclosed by Kim Dvash that demonstrates how a low-privileged domain user can paralyze enterprise file shares (SMB/NAS) without triggering traditional ransomware defenses. Unlike typical ransomware, it does not encrypt, rename, or write any data to disk. Instead, it systematically calls the `CreateFileW` API with a 'deny-share' mode to lock hundreds of thousands of files, rendering them inaccessible to all other users and applications.

Technical analysis shows the tool uses a 32-thread parallel scanner to achieve rapid file discovery, capable of mapping 500,000 files in roughly 6 minutes. Because the attack relies on documented, correct Windows behavior rather than a software defect, there is no CVE or patch available. Standard security controls like EDR, NDR, and canary files currently fail to detect this activity as it lacks the 'write' signals and high-entropy indicators typical of encryption events.

This technique represents a significant risk to business continuity. The impact mirrors a ransomware infection—crashing ERP systems and halting workflows—but recovery is complicated by the need for storage-layer intervention. Security teams must integrate NAS-level session telemetry into their SIEM pipelines to identify anomalous accumulations of exclusive handles.

Key Details

Threat Name

GhostLock SMB Deny-Share Attack Tool

Affects

—

Adversary

—

MITRE Techniques

Malware/Tools

GhostLock

Report Score

9out of 10
Quality Score
Excellent
IOC Quality3
TTP Details10
Detection Guidance9
Enterprise Relevance10
Clarity & Structure10
Technical Depth10

Sources