Data from Network Shared Drive T1039

Tactic: Collection

Adversaries may search network shares on computers they have compromised to find files of interest. Sensitive data can be collected from remote systems via shared network drives (host shared directory, network file server, etc.) that are accessible from the current system prior to Exfiltration. Interactive command shells may be in use, and common functionality within cmd may be used to gather information.

Events covered

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

Authoring guide

These 15 rules share fields, values, and exclusions.

Fields filtered most (19 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
CommandLine5regex_match 3, contains 1, in 1, match 1(?i)(((^|\s+)copy|(xcopy|robocopy)(\.exe)?"?)\s+), cp , mi , move-item, (?i)(Copy\-Item|(^|\s)copy|xcopy(\.exe"?)?|[^\-]cp|[^\-]c...
EventID3eq 34103, 4104, 4688, 5143
OriginalFileName3eq 3net.exe, net1.exe, Cmd.Exe, PowerShell.EXE, XCOPY.EXE
EventType2eq 2exec, network-share-object-access-checked
Image2ends_with 2, contains 1/mount, /mount_afp, /mount_nfs, \cmd.exe, \powershell.exe
ScriptBlockText2eq 1, in 1DsEnumerateDomainTrusts, DsGetSiteName, GetComputerNameEx, Invoke-ShareFinder, Invoke-ShareFinderThreaded
event.category2eq 2process
process_basename2eq 2net.exe, net1.exe
src_ip2is_not_null 2, ne 1, 0.0.0.0, 127.0.0.1
Operation1eq 1, ne 1AddedToSecureLink, AnonymousLinkCreated
RelativeTargetName1ends_with 1.bak, .dmp, .edb
ShareName1in 1\\*\ADMIN$, \\*\C$
data_stream.dataset1eq 1network_traffic.nfs
dest_ip1is_not_null 1
esf.event_type1eq 19

Top indicator values (104 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
CommandLineregex_match
(?i)(((^|\s+)copy|(xcopy|robocopy)(\.exe)?"?)\s+)
22
CommandLineregex_match
(?i)(Copy\-Item|(^|\s)copy|xcopy(\.exe"?)?|[^\-]cp|[^\-]cpi|robocopy(\.exe"?)...
1
event.categoryeq
process
2105
process_basenameeq
net.exe
230
process_basenameeq
net1.exe
240
src_ipis_not_null
270
CommandLinecontains
cp
17
CommandLinecontains
mi
12
CommandLinecontains
move-item
1
CommandLinecontains
mv
13
CommandLinecontains
\Sysvol\
14
CommandLinecontains
copy
14
CommandLinecontains
copy
111
CommandLinecontains
copy-item
15
CommandLinecontains
cpi
14
CommandLinecontains
move
12
CommandLinein
*use *
1
CommandLinein
*view*
1
CommandLinematch
\\\\*\\*$
1
EventIDeq
4103
1105
EventIDeq
4104
1269
EventIDeq
4688
1284
EventIDeq
5143
1
EventTypeeq
exec
137
EventTypeeq
network-share-object-access-checked
1
Imagecontains
\powershell.exe
1
Imagecontains
\powershell_ise.exe
1
Imagecontains
\pwsh.exe
1
Imageends_with
/mount
12
Imageends_with
/mount_afp
1

Exclusions (11 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
CommandLineeq
net view \\localhost
1
ScriptBlockTexteq
# Copyright: (c) 2018, Ansible Project
1
ScriptBlockTexteq
#AnsibleRequires -CSharpUtil Ansible.Basic
1
ScriptBlockTexteq
#Requires -Module Ansible.ModuleUtils.AddType
1
ScriptBlockTexteq
Ansible.Windows.Setup
1
ScriptBlockTexteq
DiscoverWindowsComputerProperties.ps1
1
ScriptBlockTexteq
DsGetSiteName
1
ScriptBlockTexteq
NativeMethods.NetWkstaGetInfo(null, 100, out netBuffer);
1
ScriptBlockTexteq
param($SourceType, $SourceId, $ManagedEntityId, $ComputerIdentity)
1
file.directoryeq
C:\Program Files (x86)\Automox\WDK\Win32\WinSession
1
user.ideq
S-1-5-18
1

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 3 rules

Elastic 6 rules

Splunk 4 rules

Kusto 1 rule

Panther 1 rule