Automated Collection T1119

Tactic: Collection

Once established within a system or network, an adversary may use automated techniques for collecting internal data. Methods for performing this technique could include use of a Command and Scripting Interpreter to search for and copy information fitting set criteria such as file type, location, or name at specific time intervals.

Events covered

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

Authoring guide

These 41 rules share fields, values, and exclusions.

Fields filtered most (55 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
CommandLine9contains 4, regex_match 4, eq 2, in 1(?i)\w+\.(bat|ps1|sh), /b , /e , /s , %.sh%
EventType8eq 5, in 2, wildcard 1exec, CreateInstanceExportTask, CreateStoreImageTask, ExportImage, ProcessRollup2
process_basename7in 4, eq 3find, copy.exe, egrep, env, fgrep
DeviceEventClassID6ne 4, eq 2asc, audit, campaigns, hsc
DeviceProduct6eq 6X Series
DeviceVendor6eq 6Vectra Networks
event.type6eq 6start
EventID5eq 51, 4688, 4663
process_name4regex_match 3, contains 1(?i)ipconfig.exe, (?i)net1?.exe, (?i)nltest.exe, %/usr/bin/crontab%, %/usr/bin/sudo%
DeviceCustomString53ne 3True
OriginalFileName3eq 2, in 1DOSKEY.EXE, FINDSTR.EXE, copy.exe, sc.exe, wmic.exe
aws::eventName3eq 3CreateTask, GetObject, JobCreated
process.args3eq 3, starts_with 1, wildcard 1-type, f, -p, /Users/*/Library/Application Support/*, /private/tmp/*
sourcetype3eq 3aws:cloudtrail
DbAction2eq 2SELECT, connect

Top indicator values (322 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
DeviceProducteq
X Series
67
DeviceVendoreq
Vectra Networks
67
event.typeeq
start
61036
EventTypeeq
exec
5547
DeviceEventClassIDne
asc
44
DeviceEventClassIDne
audit
44
DeviceEventClassIDne
campaigns
44
DeviceEventClassIDne
health
44
DeviceEventClassIDne
hsc
44
CommandLineregex_match
(?i)\w+\.(bat|ps1|sh)
33
DeviceCustomString5ne
True
33
sourcetypeeq
aws:cloudtrail
359
EventIDeq
1
2226
EventIDeq
4688
2284
QueryExecutionStatuseq
SUCCESS
24
QueryTypeeq
SELECT
22
event.outcomeeq
success
2306
process.argseq
-type
22
process.argseq
f
22
process_basenameeq
find
28
process_nameregex_match
(?i)ipconfig.exe
22
process_nameregex_match
(?i)net1?.exe
22
process_nameregex_match
(?i)nltest.exe
22
process_nameregex_match
(?i)systeminfo.exe
22
AccessListeq
%%4416
12
Actionis_not_null
14
ActionTypeeq
ConnectionSuccess
14
AdditionalExtensionscontains
account
1
COMMANDin
/bin/id
1
COMMANDin
/usr/bin/id
1

Exclusions (54 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
CommandLinestarts_with
event0.process.command_line
2
CommandLinestarts_with
event1.process.command_line
2
CommandLinestarts_with
find /var/tmp/portage/*
1
AdditionalExtensionscontains
account
1
CommandLineends_with
*/tmp/NBInstallAnswer.conf
1
CommandLinein
find /etc/zerum-stacks/lynx/wdr_proxy/.htpasswd -type f
1
CommandLinein
find /run/credentials/getty@tty3.service -xdev -type f ( -perm -0002 -a !...
1
CommandLinein
find /run/credentials/getty@tty4.service -xdev -type f ( -perm -0002 -a !...
1
CommandLinein
find /run/snapd/ns/authd-msentraid.mnt -xdev -type f -perm -002 -exec chmod o-w {} ;
1
CurrentDirectoryeq
/tmp/plz_sandbox
1
CurrentDirectorywildcard
/__w/Modular-Teepee/Modular-Teepee
1
CurrentDirectorywildcard
/build*
1
CurrentDirectorywildcard
/opt/netconfs/home/*
1
CurrentDirectorywildcard
/opt/rapid7/ir_agent/components/endpoint_broker/common
1
CurrentDirectorywildcard
/tmp/plz_sandbox
1

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 5 rules

Elastic 8 rules

Splunk 12 rules

Kusto 16 rules