Sigma rule: Suspicious X509Enrollment - Ps Script
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-c9dc7db688b4, updated 2022-12-23T00:00:00.000Z.
Rule
- Title
- Suspicious X509Enrollment - Ps Script
- Status
- test
- Level
- medium
- Author
- frack113
- Date
- 2022-12-23
- File
- rules/windows/powershell/powershell_script/posh_ps_x509enrollment.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detect use of X509Enrollment
Log source
- product
- windows
- category
- ps_script
- definition
- Requirements: Script Block Logging must be enabled
Detection
selection:
ScriptBlockText|contains:
- 'X509Enrollment.CBinaryConverter'
- '884e2002-217d-11da-b2a4-000e7bbb2b09'
condition: selectionFalse positives (as the rule lists them)
- Legitimate administrative script
Tags
- attack.defense-impairment
- attack.t1553.004
MITRE ATT&CK ids this rule names
Related rules
References
- https://speakerdeck.com/heirhabarov/hunting-for-powershell-abuse?slide=42
- https://speakerdeck.com/heirhabarov/hunting-for-powershell-abuse?slide=41
- https://learn.microsoft.com/en-us/dotnet/api/microsoft.hpc.scheduler.store.cx509enrollmentwebclassfactoryclass?view=hpc-sdk-5.1.6115
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_x509enrollment.yml
Sources and licences
SigmaHQ
"Suspicious X509Enrollment - Ps Script" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_x509enrollment.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious X509Enrollment - Ps Script",
entity page, dataset version ref-c9dc7db688b4, updated 2022-12-23T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/504d63cb-0dba-4d02-8531-e72981aace2c (accessed 2026-11-03).
Underlying source: SigmaHQ rule 504d63cb-0dba-4d02-8531-e72981aace2c, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.