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

32 lines
1.1 KiB
YAML
Raw Normal View History

2022-01-12 20:27:56 +01:00
title: Suspicious Get-WmiObject
id: 0332a266-b584-47b4-933d-a00b103e1b37
status: experimental
description: The infrastructure for management data and operations that enables local and remote management of Windows personal computers and servers
references:
- https://attack.mitre.org/datasources/DS0005/
- https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-wmiobject?view=powershell-5.1&viewFallbackFrom=powershell-7
2022-10-26 09:43:39 +02:00
author: frack113
date: 2022/01/12
2022-11-03 09:39:48 +01:00
modified: 2022/11/02
2022-10-26 09:43:39 +02:00
tags:
- attack.persistence
- attack.t1546
2022-01-12 20:27:56 +01:00
logsource:
product: windows
category: ps_script
2023-01-04 17:49:32 +01:00
definition: 'Requirements: Script Block Logging must be enabled'
2022-01-12 20:27:56 +01:00
detection:
selection:
ScriptBlockText|contains:
2022-11-03 09:39:48 +01:00
- 'Get-WmiObject'
- 'gwmi'
filter_cl_utility:
Path|endswith: '\CL_Utility.ps1'
ScriptBlockText|contains|all:
- 'function Get-FreeSpace'
- 'SELECT * FROM Win32_LogicalDisk WHERE MediaType=12'
condition: selection and not 1 of filter_*
2022-01-12 20:27:56 +01:00
falsepositives:
- Legitimate PowerShell scripts
level: low