Software Discovery T1518

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

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

Authoring guide

Patterns shared across the 22 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 (14 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
CommandLine15regex_match 6, contains 5, match 3, ends_with 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..., 385201, avira
EventID10eq 104104, 4688, 4103, 1
Image4ends_with 4\find.exe, \findstr.exe, \reg.exe, \sqlcmd.exe
ScriptBlockText4contains 4, match 1\*avira\*, \*carbonblack\*, \*cylance\*, \software\, format-table
process_name4eq 2, match 2(?i)\x5cwindows\x5csystem32\x5cfindstr\.exe|\x5cwindows\x..., arp.exe, dsget.exe, dsquery.exe, wmic.exe
OriginalFileName3eq 3find.exe, findstr.exe, wmic.exe
Type3eq 3
event.type2eq 2start
ContextInfo1contains 1get-netfirewallrule, show-netfirewallrule
EfectiveCommand1regex_match 1regexEmpire
EventData1contains 1-encodedcommand, powershell.exe, powershell_ise.exe
Payload1contains 1get-netfirewallrule, show-netfirewallrule
parent_process_name1eq 1wmiprvse.exe
process.args1eq 1/namespace:\\root\SecurityCenter2, Get

Top indicator values (116 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
EventIDeq
4104
4268
EventIDeq
4688
4312
EventIDeq
4103
3105
EventIDeq
1
2232
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
Imageends_with
\find.exe
28
Imageends_with
\findstr.exe
212
OriginalFileNameeq
find.exe
27
OriginalFileNameeq
findstr.exe
212
event.typeeq
start
2241
process_namematch
(?i)\x5cwindows\x5csystem32\x5cfindstr\.exe|\x5cwindows\x5csyswow64\x5cfind\.exe
22
CommandLinecontains
385201
1
CommandLinecontains
-encodedcommand
13
CommandLinecontains
/v
15
CommandLinecontains
\software\
12
CommandLinecontains
from
1
CommandLinecontains
offline_winpwn
1
CommandLinecontains
query
18
CommandLinecontains
select
14
CommandLinecontains
svcversion
1
CommandLinecontains
top
12
CommandLinecontains
use
13
CommandLinecontains
winpwn
1
CommandLinecontains
winpwn.exe
1
CommandLinecontains
winpwn.ps1
1
CommandLineends_with
avira
1
CommandLineends_with
avira"
1
CommandLineends_with
cb
1

Exclusions (10 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
EventDatacontains
gc_service.exe
1
EventDatacontains
gc_worker.exe
1
ParentImagecontains
gc_service.exe
1
ParentImagecontains
gc_worker.exe
1
process.argseq
RemoteRegistry
1
process.argseq
demand
1
process.argseq
disabled
1
process.argseq
start=
1
process.argseq
tenable_mw_scan
1
process_nameeq
sc.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.

Sigma 9 rules

Elastic 2 rules

Splunk 10 rules

Kusto 1 rule