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

29 lines
1.2 KiB
YAML
Raw Normal View History

2020-10-16 20:44:08 +03:00
title: Detected Windows Software Discovery
2021-09-21 13:28:47 +02:00
id: 2650dd1a-eb2a-412d-ac36-83f06c4f2282
2020-10-16 20:44:08 +03: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.
status: experimental
author: Nikita Nazarov, oscd.community
date: 2020/10/16
2021-11-12 12:18:44 +01:00
modified: 2021/11/12
2020-10-16 20:44:08 +03:00
references:
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1518/T1518.md
2021-08-20 14:22:17 +02:00
- https://github.com/harleyQu1nn/AggressorScripts #AVQuery.cna
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
2021-08-20 14:22:17 +02:00
definition: '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'
2020-10-19 11:05:45 +03:00
- '\software\'
2020-10-16 20:44:08 +03:00
- 'select-object'
- 'format-table'
2021-09-21 13:28:47 +02:00
condition: selection
level: medium
falsepositives:
2021-11-12 12:18:44 +01:00
- Legitimate administration activities