VeriKQL by Kaushik Saha

T1518 Software Discovery

Discoveryon attack.mitre.org

ATT&CK Enterprise 20.0 · 20.1 released, update in review

How MITRE detects it

DET0392 Multi-Platform Software Discovery Behavior Chain

AN1100 Windows

Adversary spawns a process or script to enumerate installed software using WMI, registry, or PowerShell, potentially followed by additional discovery or evasion behavior.

MITRE log sourceIn Microsoft Sentinel
WinEventLog:SecurityEventCode=4688
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4688)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4688)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4688)

The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only.

WinEventLog:PowerShellExecution of 'Get-WmiObject Win32_Product' or similar PowerShell cmdlets
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where EventLog in ("Microsoft-Windows-PowerShell/Operational", "Windows PowerShell")
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel in ("Microsoft-Windows-PowerShell/Operational", "Windows PowerShell")

AN1101 Linux

Adversary invokes 'dpkg -l', 'rpm -qa', or other package managers via shell or script to enumerate installed software.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLExecution of dpkg, rpm, or other package manager with list flagNot mapped to Sentinel yet.
linux:shellManual invocation of software enumeration commands via interactive shellNot mapped to Sentinel yet.

AN1102 macOS

Adversary runs 'system_profiler SPApplicationsDataType' or queries plist files to enumerate software via Terminal or scripts.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogExecution of system_profiler or osascript invoking enumerationNot mapped to Sentinel yet.
auditd:SYSCALLCommand line arguments including SPApplicationsDataTypeNot mapped to Sentinel yet.

AN1103 IaaS

Adversary uses cloud-native APIs or CLI (e.g., AWS Systems Manager, Azure Resource Graph) to list installed software on cloud workloads.

MITRE log sourceIn Microsoft Sentinel
AWS:CloudTrailssm:ListInventoryEntriesNot mapped to Sentinel yet.
AWS:CloudTrailssm:GetCommandInvocationNot mapped to Sentinel yet.

AN1104 ESXi

Adversary uses 'esxcli software vib list' to enumerate installed VIBs, drivers, and modules.

MITRE log sourceIn Microsoft Sentinel
esxi:shellesxcli software vib listNot mapped to Sentinel yet.
esxi:hostdHost daemon command log entries related to vib enumerationNot mapped to Sentinel yet.

Content Hub rules tagged with it (2)

Rules tagged with this technique (or a sub-technique) in their metadata. Whether one fits your connectors is the coverage view (M2).

How the Content Hub rules for T1518 are built: their tables, filters, joins, schedules and windows.

In Sigma rules

13 SigmaHQ community rules name it or one of its sub-techniques in their tags.

Community rules, not Microsoft's, and not checked by VeriKQL (Sigma is not KQL). From SigmaHQ/sigma at f083329, under the Detection Rule License (DRL) 1.1; each rule is credited to its author.

Mitigations

Sub-techniques

MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.