Techniques › T1070.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 source | Channel | Data component |
|---|---|---|
| WinEventLog:Security | EventCode=4624, 4648 | DC0067 Logon Session Creation |
| WinEventLog:Sysmon | EventCode=1 | DC0032 Process Creation |
| WinEventLog:PowerShell | EventCode=4103, 4104, 4105, 4106 | DC0064 Command Execution |
| NSM:Flow | SMB2_LOGOFF/SMB_TREE_DISCONNECT | DC0085 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.
| Field | Description |
|---|---|
TimeWindow | Adjustable window to correlate CLI disconnection command with SMB session teardown (e.g., 5 mins) |
UserContext | Used to filter on non-interactive users or highly privileged accounts |
ProcessCommandLineRegex | Patterns to match `net use \\host\share /delete`, `Remove-SmbMapping`, or suspicious batched disconnections |
NetworkShareNamePattern | Tunable list of shares likely targeted (e.g., ADMIN$, C$, IPC$) |