Software Discovery T1518

Tactic: Discovery

Adversaries may attempt to get a listing of software and software versions that are installed on a system or in a cloud environment. Adversaries may use the information from Software Discovery during automated discovery to shape follow-on behaviors, including whether or not the adversary fully infects the target and/or attempts specific actions.

Events covered

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

Authoring guide

Patterns shared across the 42 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names 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 (31 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
CommandLine20contains 9, regex_match 6, match 3, ends_with 1, is_not_null 1(?i)\s+AntiVirusProduct\s+, (?i)\w+(\.exe)?\x22?\s+(avira|cb|cylance|defender|kaspers..., (?i)((\s+query\s+|Get-ItemProperty|gp\s).*\x5cUninstall\x..., auditbeat, 385201
process_name14eq 10, in 5, match 2grep, pgrep, (?i)\x5cwindows\x5csystem32\x5cfindstr\.exe|\x5cwindows\x..., egrep, apt
event.type12eq 12start
EventType11in 8, eq 4exec, exec_event, ProcessRollup2, CreateAssociation, DescribeInstancePatches
EventID10eq 104104, 4688, 4103, 1
host.os.type10eq 9, in 1
process.args9eq 4, in 3, starts_with 2, wildcard 2--all, --version, -a, /bin/which, /etc/dnf/dnf.conf
Image8ends_with 7, eq 1/csrutil, \find.exe, \findstr.exe, /egrep, /grep
ScriptBlockText5contains 4, eq 1, in 1, match 1.getgporeport(), ::getipglobalproperties(), ::getprocesses, \*avira\*, \*carbonblack\*
event.category4eq 4process, file
OriginalFileName3eq 3find.exe, findstr.exe, wmic.exe
Type3eq 3
ParentImage2ne 2/usr/lib/venv-salt-minion/bin/python.original, /usr/lib/vmware/viewagent/bin/uninstall_viewagent.sh
parent_process_name2eq 1, is_not_null 1wmiprvse.exe
ContextInfo1contains 1get-netfirewallrule, show-netfirewallrule

Top indicator values (457 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. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
event.typeeq
start
12606
EventTypein
exec
7171
EventTypein
exec_event
7139
EventTypein
start
6134
EventTypein
ProcessRollup2
5117
EventTypein
executed
488
EventTypein
process_started
474
EventIDeq
4104
4268
EventIDeq
4688
4313
EventIDeq
4103
3105
EventIDeq
1
2237
CommandLinematch
(?i)\w+(\.exe)?\x22?\s+(avira|cb|cylance|defender|kaspersky|kes|mc|sec|sentin...
33
CommandLineregex_match
(?i)\s+AntiVirusProduct\s+
33
CommandLineregex_match
(?i)((\s+query\s+|Get-ItemProperty|gp\s).*\x5cUninstall\x5c\*)|wmic\s+product...
22
event.categoryeq
process
3128
CommandLinecontains
auditbeat
23
CommandLinecontains
falcond
22
CommandLinecontains
filebeat
23
CommandLinecontains
nessusd
22
CommandLinecontains
osqueryd
22
CommandLinecontains
packetbeat
23
CommandLinecontains
td-agent
23
EventTypeeq
exec
2171
Imageends_with
/csrutil
22
Imageends_with
\find.exe
28
Imageends_with
\findstr.exe
212
OriginalFileNameeq
find.exe
27
OriginalFileNameeq
findstr.exe
212
process_nameeq
grep
26
process_nameeq
rpm
23

Exclusions (105 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
CurrentDirectoryin
/opt/msp-agent
2
CurrentDirectoryin
/opt/CyberCNSAgent
1
CurrentDirectoryin
/var/ossec
1
CommandLineeq
grep --color=auto ESET Command-line scanner, version %s -A2
1
CommandLineeq
grep -i McAfee Web Gateway Core version:
1
CommandLineeq
grep ESET Command-line scanner, version %s -A2
1
EventDatacontains
gc_service.exe
1
EventDatacontains
gc_worker.exe
1
Imageeq
/opt/jfrog/artifactory/app/metadata/bin/jf-metadata
1
Imagestarts_with
/opt/elastic/agent/
1
Imagewildcard
/opt/eset/*/esets_eia
1
ParentCommandLinewildcard
bash -c perl -pe 's/[^ -~]/\n/g' < /opt/eset/esets/sbin/esets_scan | grep...
1
ParentCommandLinewildcard
sh -c printf "command_start_%s"*; perl -pe 's/[^ -~]/\n/g' <...
1
ParentImagecontains
gc_service.exe
1
ParentImagecontains
gc_worker.exe
1

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.

Platform (all)
Domain (all)

Sigma 13 rules

Elastic 15 rules

Splunk 10 rules

Kusto 2 rules

Panther 2 rules