Sigma rule: Detected Windows Software Discovery - PowerShell
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-3b680ca8ae5c, updated 2022-12-02T00:00:00.000Z.
Rule
- Title
- Detected Windows Software Discovery - PowerShell
- Status
- test
- Level
- medium
- Author
- Nikita Nazarov, oscd.community
- Date
- 2020-10-16
- Modified
- 2022-12-02
- File
- rules/windows/powershell/powershell_script/posh_ps_software_discovery.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Adversaries may attempt to enumerate software for a variety of reasons, such as figuring out what security measures are present or if the compromised system has a version of software that is vulnerable.
Log source
- product
- windows
- category
- ps_script
- definition
- Requirements: Script Block Logging must be enabled
Detection
selection:
ScriptBlockText|contains|all:
# Example: Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table -Autosize
- 'get-itemProperty'
- '\software\'
- 'select-object'
- 'format-table'
condition: selectionFalse positives (as the rule lists them)
- Legitimate administration activities
Tags
- attack.discovery
- attack.t1518
MITRE ATT&CK ids this rule names
References
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1518/T1518.md
- https://github.com/harleyQu1nn/AggressorScripts
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_software_discovery.yml
Sources and licences
SigmaHQ
"Detected Windows Software Discovery - PowerShell" by Nikita Nazarov, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_software_discovery.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Detected Windows Software Discovery - PowerShell",
entity page, dataset version ref-3b680ca8ae5c, updated 2022-12-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/2650dd1a-eb2a-412d-ac36-83f06c4f2282 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 2650dd1a-eb2a-412d-ac36-83f06c4f2282, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.