Operator On The Wire
Join
← Back to Knowledge Base
BLUE TEAM / THREAT HUNT / ACTIVE DIRECTORY / ADCS

Golden Certificate

This note documents detection patterns related to Golden Certificate within Active Directory environments.


Direct Indicators

LogEvent IDMeaningForensic ValueNotes
Security4886Certificate issuedCriticalIndicates a certificate was issued by ADCS. Review Requester, CertificateTemplate, and Subject fields for abnormal issuances.
Security4887Certificate request approvedHighMay indicate manual approval of suspicious certificate requests.
Security4768Kerberos TGT requestCriticalGolden Certificate attacks ultimately generate Kerberos TGTs using forged certificates via PKINIT.
Security4624Successful logonHighLogons using certificate authentication may appear following forged certificate use.
Security4672Special privileges assignedHighPrivileged session established after certificate-based authentication.
Sysmon1Process creationMediumExecution of tools such as Certipy, Rubeus, or ForgeCert used to generate or abuse certificates.
Sysmon3Network connectionMediumConnections from attacker host to ADCS server or domain controller during certificate abuse.

Indirect Indicators

IndicatorWhat To Look ForForensic ValueNotes
Unexpected certificate issuanceCertificates issued for privileged accounts such as Domain AdminsCriticalOften indicates certificate abuse.
Certificate authentication where normally unusedUsers authenticating via certificate instead of Kerberos passwordHighGolden Certificate attacks leverage PKINIT authentication.
ADCS access from unusual hostsCertificate enrollment from workstations not normally interacting with CAHighPotential attacker-controlled system requesting certificates.
Sudden privilege escalation after certificate issuancePrivileged actions performed shortly after certificate authenticationCriticalIndicates attacker leveraging certificate-based authentication.
Presence of ADCS exploitation toolsExecution of Certipy or ForgeCert binariesHighDirect evidence of certificate abuse attempts.

Common Tools

ToolUsage
CertipyUsed to request, forge, and abuse ADCS certificates.
ForgeCertTool used to create forged certificates using compromised CA private keys.
RubeusUsed to request Kerberos tickets via certificate authentication.
ImpacketIncludes certificate abuse features for PKINIT authentication.
CertutilBuilt-in Windows utility used for certificate operations.

Relevant Artifacts

  • Domain controller Security logs (4768, 4624, 4672)
  • ADCS server logs (4886, 4887)
  • Certificate Authority database records
  • Sysmon logs (1, 3)
  • PKINIT authentication logs
  • EDR telemetry identifying certificate abuse tooling
  • PowerShell logs if certificate commands executed via scripts
  • Prefetch artifacts showing execution of certificate exploitation tools

MITRE ATT&CK References

  • T1552 Unsecured Credentials
  • T1558 Steal or Forge Kerberos Tickets
  • T1550 Use Alternate Authentication Material
  • T1649 Steal or Forge Authentication Certificates

Decision Tree

  1. Is the suspicious event present?
    • Identify unusual certificate issuance events (4886).
  2. What host generated the event?
    • Determine whether the request originated from unexpected workstation or service.
  3. Is the account expected to perform this action?
    • Privileged accounts rarely request certificates directly.
  4. Pivot:
    • Source host → inspect execution of certificate abuse tools.
    • Account → verify authentication method and privileges.
    • Network → inspect PKINIT authentication flows.
  5. Confirm exploitation
    • Determine whether forged certificate was used to request Kerberos tickets.

Example Detection Templates

KQL

SecurityEvent
| where EventID == 4886
| project TimeGenerated, SubjectUserName, CertificateTemplate, Requester
SecurityEvent
| where EventID == 4768
| summarize count() by TargetUserName, IpAddress, bin(TimeGenerated, 5m)

EQL

any where event.code == "4886"

Sigma

title: Suspicious Certificate Issuance
id: golden-certificate-detection
status: experimental
description: Detects unusual certificate issuance which may indicate Golden Certificate abuse
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID: 4886
  condition: selection
fields:
  - SubjectUserName
  - CertificateTemplate
falsepositives:
  - Legitimate certificate enrollment
level: medium
tags:
  - attack.credential_access
  - attack.t1649

Mitigation & Hardening

Control AreaMitigationEffectivenessNotes
CA key protectionSecure Certificate Authority private keysCriticalCompromise of CA key enables Golden Certificate attacks.
Certificate template restrictionsLimit enrollment rights for sensitive templatesHighReduces risk of abuse.
MonitoringAlert on certificate issuance for privileged accountsHighEarly detection of abuse attempts.
ADCS auditingEnable detailed logging on Certificate Authority serversHighProvides visibility into certificate operations.
Access controlRestrict administrative access to ADCS infrastructureHighPrevents attackers from manipulating certificate services.