Detectionmediumtest
Detected Windows Software Discovery - PowerShell
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.
Nikita Nazarov, oscd.communityCreated 2020-10-16Updated 2022-12-022650dd1a-eb2a-412d-ac36-83f06c4f2282windows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script
Definition
Requirements: Script Block Logging must be enabled
Detection Logic
Detection Logic1 selector
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
Legitimate administration activities
MITRE ATT&CK
Tactics
Techniques
Rule Metadata
Rule ID
2650dd1a-eb2a-412d-ac36-83f06c4f2282
Status
test
Level
medium
Type
Detection
Created
2020-10-16
Modified
2022-12-02
Author
Path
rules/windows/powershell/powershell_script/posh_ps_software_discovery.yml
Raw Tags
attack.discoveryattack.t1518