This commit is contained in:
Nasreddine Bencherchali
2022-11-03 09:39:48 +01:00
parent 1d37ec5f74
commit 5ee9428e59
6 changed files with 46 additions and 19 deletions
@@ -7,6 +7,7 @@ references:
- https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-wmiobject?view=powershell-5.1&viewFallbackFrom=powershell-7
author: frack113
date: 2022/01/12
modified: 2022/11/02
tags:
- attack.persistence
- attack.t1546
@@ -17,9 +18,14 @@ logsource:
detection:
selection:
ScriptBlockText|contains:
- Get-WmiObject
- gwmi
condition: selection
- '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_*
falsepositives:
- Legitimate PowerShell scripts
level: low