Event ID 4867 is generated by the Windows Security Auditing subsystem when modifications occur to the security descriptor of certificate templates stored in Active Directory. Certificate templates define the properties and permissions for certificate enrollment, including which users or groups can request certificates, the certificate validity period, key usage, and cryptographic parameters.
The security descriptor contains Access Control Lists (ACLs) that specify permissions such as Read, Enroll, Write, and Full Control for different security principals. When these permissions change through administrative actions, Windows logs Event ID 4867 to provide an audit trail of who made the change, when it occurred, and which template was affected.
This event is particularly significant in enterprise environments where certificate-based authentication is used for user logon, device authentication, secure email, or code signing. Unauthorized modifications to template permissions could allow attackers to request certificates they shouldn't have access to, potentially leading to impersonation attacks or unauthorized access to secured resources.
The event data includes the template name, the security principal making the change, the process used to make the modification, and details about the old and new security descriptors. This information enables security teams to correlate template changes with administrative activities and detect suspicious modifications that might indicate compromise or policy violations.