Files
blue-team-tools/rules/windows/powershell/powershell_script/posh_ps_software_discovery.yml
T

30 lines
1.2 KiB
YAML
Raw Normal View History

2022-12-02 18:10:43 +01:00
title: Detected Windows Software Discovery - PowerShell
2021-09-21 13:28:47 +02:00
id: 2650dd1a-eb2a-412d-ac36-83f06c4f2282
status: test
2022-10-26 09:43:39 +02:00
description: 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.
2020-10-16 20:44:08 +03:00
references:
2022-07-11 14:11:53 +01:00
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1518/T1518.md
- https://github.com/harleyQu1nn/AggressorScripts # AVQuery.cna
2022-10-26 09:43:39 +02:00
author: Nikita Nazarov, oscd.community
date: 2020-10-16
modified: 2022-12-02
2020-10-16 20:44:08 +03:00
tags:
- attack.discovery
- attack.t1518
logsource:
product: windows
2021-11-12 12:18:44 +01:00
category: ps_script
2023-01-04 17:49:32 +01:00
definition: 'Requirements: Script Block Logging must be enabled'
2020-10-16 20:44:08 +03:00
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'
2021-09-21 13:28:47 +02:00
condition: selection
falsepositives:
2021-11-12 12:18:44 +01:00
- Legitimate administration activities
2022-10-26 09:43:39 +02:00
level: medium