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

These 45 rules share fields, values, and exclusions.

Fields filtered most (32 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
CommandLine21contains 10, regex_match 9, 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..., , -Effective
event.type13eq 13start
process_basename13eq 11, in 6grep, egrep, pgrep, apt, arp.exe
EventType12in 8, eq 5exec, exec_event, ProcessRollup2, CreateAssociation, DescribeInstancePatches
EventID10eq 104104, 4688, 4103, 1
process.args10eq 5, in 4, starts_with 2, wildcard 2--all, --version, -a, /bin/which, /etc/dnf/dnf.conf
Image9ends_with 8, eq 1/csrutil, \find.exe, \findstr.exe, /egrep, /grep
ScriptBlockText5contains 4, eq 1, in 1*Get-ItemProperty *, *Windows\CurrentVersion\Uninstall*, .GetGPOReport(), ::GetIPGlobalProperties(), ::GetProcesses
OriginalFileName4eq 4FIND.EXE, FINDSTR.EXE, PowerShell.EXE, pwsh.dll, wmic.exe
event.category4eq 4process, file
ParentImage2is_not_null 2
parent_process_basename2eq 1, is_not_null 1, wmiprvse.exe
process_name2regex_match 2(?i)\x5cWindows\x5cSystem32\x5cfindstr\.exe|\x5cWindows\x...
user.id2ne 20, S-1-5-18
ContextInfo1contains 1Get-NetFirewallRule, Show-NetFirewallRule

Top indicator values (540 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
event.typeeq
start
111036
event.typeeq
start
267
EventTypein
exec
6180
EventTypein
exec_event
6135
EventTypein
start
6157
EventTypein
ProcessRollup2
5119
EventTypein
executed
485
EventTypein
process_started
477
EventIDeq
4104
4269
EventIDeq
4103
3105
EventIDeq
4688
3284
EventIDeq
1
2226
CommandLineregex_match
(?i)\s+AntiVirusProduct\s+
33
CommandLineregex_match
(?i)\w+(\.exe)?\x22?\s+(avira|cb|cylance|defender|kaspersky|kes|mc|sec|sentin...
33
CommandLineregex_match
(?i)((\s+query\s+|Get-ItemProperty|gp\s).*\x5cUninstall\x5c\*)|wmic\s+product...
22
event.categoryeq
process
3105
CommandLinecontains
auditbeat
23
CommandLinecontains
falcond
22
CommandLinecontains
filebeat
23
CommandLinecontains
nessusd
22
CommandLinecontains
osqueryd
22
CommandLinecontains
packetbeat
23
CommandLinecontains
td-agent
23
EventTypeeq
exec
2547
Imageends_with
/csrutil
22
Imageends_with
\find.exe
27
Imageends_with
\findstr.exe
211
OriginalFileNameeq
FIND.EXE
27
OriginalFileNameeq
FINDSTR.EXE
212
ParentImageis_not_null
293

Exclusions (278 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
CurrentDirectoryin
/opt/msp-agent
2
process.entry_leader.executablein
/usr/local/qualys/cloud-agent/bin/qualys-cloud-agent
2
CommandLinecontains
*HexProductState*
1
CommandLinecontains
*\CommandCenterAgent\*
1
CommandLinecontains
*\CommandCenterAgent\agent.ps1*
1
CommandLineeq
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s...
1
CommandLineeq
Powershell "(Get-CimInstance -ClassName Win32_DeviceGuard -Namespace...
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
CommandLineeq
powershell "Get-CimInstance -Namespace root/SecurityCenter2 -ClassName...
1
CommandLinestarts_with
event0.process.command_line
1
CommandLinestarts_with
event1.process.command_line
1
CommandLinewildcard
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
1
CommandLinewildcard
"C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe" -noexit -command...
1

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 14 rules

Elastic 17 rules

Splunk 10 rules

Kusto 2 rules

Panther 2 rules