Windows Steal Authentication Certificates - ESC1 Abuse
The following analytic detects when a new certificate is requested or granted against Active Directory Certificate Services (AD CS) using a Subject Alternative Name (SAN). It leverages Windows Security Event Codes…
Description
The following analytic detects when a new certificate is requested or granted against Active Directory Certificate Services (AD CS) using a Subject Alternative Name (SAN). It leverages Windows Security Event Codes 4886 and 4887 to identify these actions. This activity is significant because improperly configured certificate templates can be exploited for privilege escalation and environment compromise. If confirmed malicious, an attacker could gain elevated privileges or persist within the environment, potentially leading to unauthorized access to sensitive information and further exploitation.
Detection logic
Detection requirements
- Platform
- Identity ProviderLinuxmacOSWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- windows_event_log_security_4886windows_event_log_security_4887
Known benign triggers
- False positives may be generated in environments where administrative users or processes are allowed to generate certificates with Subject Alternative Names. Sources or templates used in these processes may need to be tuned out for accurate function.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| github.com/ly4k/Certipy#esc1 | 5from 2 sources |
| pentestlaboratories.com/2021/11/08/threat-hunting-certificate-account-persistence/ | 2 |
| specterops.io/wp-content/uploads/sites/3/2022/06/Certified_Pre-Owned.pdf | 8 |
From the source
- At source
- Open at source
- Upstream identifier
- cbe761fc-d945-4c8c-a71d-e26d12255d32
- Tagged by the source as
- Windows Certificate ServicesEndpointendpointSplunk CloudSplunk EnterpriseSplunk Enterprise Securityendpoint
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1