Sigma rule: ADCS Certificate Template Configuration Vulnerability with Risky EKU
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-b3abcb3a3b77, updated 2022-12-25T00:00:00.000Z.
Rule
- Title
- ADCS Certificate Template Configuration Vulnerability with Risky EKU
- Status
- test
- Level
- high
- Author
- Orlinum , BlueDefenZer
- Date
- 2021-11-17
- Modified
- 2022-12-25
- File
- rules/windows/builtin/security/win_security_adcs_certificate_template_configuration_vulnerability_eku.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects certificate creation with template allowing risk permission subject and risky EKU
Log source
- product
- windows
- service
- security
- definition
- Certificate services loaded a template would trigger event ID 4898 and certificate Services template was updated would trigger event ID 4899. A risk permission seems to be coming if template contain specific flag with risky EKU.
Detection
selection10:
EventID: 4898
TemplateContent|contains:
- '1.3.6.1.5.5.7.3.2'
- '1.3.6.1.5.2.3.4'
- '1.3.6.1.4.1.311.20.2.2'
- '2.5.29.37.0'
selection11:
TemplateContent|contains: 'CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT'
selection20:
EventID: 4899
NewTemplateContent|contains:
- '1.3.6.1.5.5.7.3.2'
- '1.3.6.1.5.2.3.4'
- '1.3.6.1.4.1.311.20.2.2'
- '2.5.29.37.0'
selection21:
NewTemplateContent|contains: 'CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT'
condition: (selection10 and selection11) or (selection20 and selection21)False positives (as the rule lists them)
- Administrator activity
- Proxy SSL certificate with subject modification
- Smart card enrollement
Tags
- attack.privilege-escalation
- attack.credential-access
References
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/builtin/security/win_security_adcs_certificate_template_configuration_vulnerability_eku.yml
Sources and licences
SigmaHQ
"ADCS Certificate Template Configuration Vulnerability with Risky EKU" by Orlinum , BlueDefenZer (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_adcs_certificate_template_configuration_vulnerability_eku.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: ADCS Certificate Template Configuration Vulnerability with Risky EKU",
entity page, dataset version ref-b3abcb3a3b77, updated 2022-12-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/bfbd3291-de87-4b7c-88a2-d6a5deb28668 (accessed 2026-11-03).
Underlying source: SigmaHQ rule bfbd3291-de87-4b7c-88a2-d6a5deb28668, 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.