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

27 lines
950 B
YAML
Raw Normal View History

2022-12-23 10:58:11 +01:00
title: Suspicious X509Enrollment - Ps Script
2022-12-23 10:50:34 +01:00
id: 504d63cb-0dba-4d02-8531-e72981aace2c
related:
- id: 114de787-4eb2-48cc-abdb-c0b449f93ea4
type: similar
status: experimental
description: Detect use of X509Enrollment
references:
- https://speakerdeck.com/heirhabarov/hunting-for-powershell-abuse?slide=42
2022-12-23 13:22:50 +01:00
- https://speakerdeck.com/heirhabarov/hunting-for-powershell-abuse?slide=41
2022-12-23 10:50:34 +01:00
- https://learn.microsoft.com/en-us/dotnet/api/microsoft.hpc.scheduler.store.cx509enrollmentwebclassfactoryclass?view=hpc-sdk-5.1.6115
author: frack113
date: 2022/12/23
logsource:
product: windows
category: ps_script
2023-01-04 17:49:32 +01:00
definition: 'Requirements: Script Block Logging must be enabled'
2022-12-23 10:50:34 +01:00
detection:
selection:
ScriptBlockText|contains:
- 'X509Enrollment.CBinaryConverter'
- '884e2002-217d-11da-b2a4-000e7bbb2b09'
condition: selection
falsepositives:
- Legitimate administrative script
level: medium