kevmap

TechniquesT1070.005 › AN0286

AN0286 Analytic 0286

Windows · attack.mitre.org · ATT&CK Enterprise v19.2

<p>Detects network share disconnection attempts using command-line tools like net use /delete, PowerShell Remove-SmbMapping, and correlation with process lineage and SMB session teardown activity.</p>
Detects
T1070.005 Network Share Connection Removal
Part of
DET0103 Behavioral Detection of Network Share Connection Removal via CLI and SMB Disconnects

Log sources and channels

Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.

Log sourceChannelData component
WinEventLog:SecurityEventCode=4624, 4648DC0067 Logon Session Creation
WinEventLog:SysmonEventCode=1DC0032 Process Creation
WinEventLog:PowerShellEventCode=4103, 4104, 4105, 4106DC0064 Command Execution
NSM:FlowSMB2_LOGOFF/SMB_TREE_DISCONNECTDC0085 Network Traffic Content

Mutable elements

Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.

FieldDescription
TimeWindowAdjustable window to correlate CLI disconnection command with SMB session teardown (e.g., 5 mins)
UserContextUsed to filter on non-interactive users or highly privileged accounts
ProcessCommandLineRegexPatterns to match `net use \\host\share /delete`, `Remove-SmbMapping`, or suspicious batched disconnections
NetworkShareNamePatternTunable list of shares likely targeted (e.g., ADMIN$, C$, IPC$)