Detectionlowtest
ADCS Certificate Template Configuration Vulnerability
Detects certificate creation with template allowing risk permission subject
Orlinum, BlueDefenZerCreated 2021-11-17Updated 2022-12-255ee3a654-372f-11ec-8d3d-0242ac130003windows
Log Source
Windowssecurity
ProductWindows← raw: windows
Servicesecurity← raw: 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.
Detection Logic
Detection Logic2 selectors
detection:
selection1:
EventID: 4898
TemplateContent|contains: 'CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT'
selection2:
EventID: 4899
NewTemplateContent|contains: 'CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT'
condition: selection1 or selection2False Positives
Administrator activity
Proxy SSL certificate with subject modification
Smart card enrollement
References
MITRE ATT&CK
Rule Metadata
Rule ID
5ee3a654-372f-11ec-8d3d-0242ac130003
Status
test
Level
low
Type
Detection
Created
2021-11-17
Modified
2022-12-25
Author
Path
rules/windows/builtin/security/win_security_adcs_certificate_template_configuration_vulnerability.yml
Raw Tags
attack.privilege-escalationattack.credential-access