ATT&CK coverage › Technique

Indicator Removal: Network Share Connection Removal T1070.005

Adversaries may remove share connections that are no longer useful in order to clean up traces of their operation. Windows shared drive and SMB/Windows Admin Shares connections can be removed when no longer needed. Net is an example utility that can be used to remove network share connections with the <code>net use \\system\share /delete</code> command.

Events covered

3 catalog events are tagged with this technique by at least one rule.

ProviderEvent IDTitle
Sysmon1Process creation
Sysmon13RegistryEvent (Value Set)
PowerShell4104Creating Scriptblock text (MessageNumber of MessageTotal).

Authoring guide

Patterns shared across the 4 rules above: which fields they filter on, what specific values they look for, and what they exclude. Field names are normalized across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (6 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
TargetObject2ends_with 2, match 1\AutoShareWks, \AutoShareServer, \Services\LanmanServer\Parameters\, \Services\LanmanServer\Parameters\MaxMpxCt
Details1eq 1DWORD (0x00000000)
ScriptBlockText1match 1Cmdletization.MethodParameter, ROOT/Microsoft/Windows/Storage/MSFT_FileShare, ObjectModelWrapper
Image1ends_with 1\net.exe, \net1.exe
OriginalFileName1eq 1net.exe, net1.exe
CommandLine1match 1/delete, share

Top indicator values (18 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique.

FieldKindValueRules (here)Corpus reach
TargetObjectmatch\Services\LanmanServer\Parameters\1
TargetObjectends_with\AutoShareWks1
DetailseqDWORD (0x00000000)138
TargetObjectends_with\AutoShareServer1
TargetObjectends_with\Services\LanmanServer\Parameters\MaxMpxCt1
ScriptBlockTextmatchFileShare.cdxml1
ScriptBlockTextmatchRemove-FileShare1
ScriptBlockTextmatchMicrosoft.PowerShell.Core\Export-ModuleMember12
ScriptBlockTextmatchCmdletization.MethodParameter1
ScriptBlockTextmatchROOT/Microsoft/Windows/Storage/MSFT_FileShare1
ScriptBlockTextmatchObjectModelWrapper1
ScriptBlockTextmatchRemove-SmbShare1
OriginalFileNameeqnet1.exe116
CommandLinematchshare1
Imageends_with\net.exe127
OriginalFileNameeqnet.exe116
Imageends_with\net1.exe125
CommandLinematch/delete14

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Sigma 4 rules