Skip to content
WETNav
SecurityObject Access

Event ID 4896: One or more rows have been deleted from the certificate database

One or more rows have been deleted from the certificate database.

Channel
Security
Logged by default
No
Written on
Any host
Volume
Moderate
Audit subcategory
Certification Services
Needs a SACL
No

To have this event

  • Enable Certification Services: auditpol /set /subcategory:"Certification Services" /success:enable /failure:enable

Key fields

Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.

SubjectUserNameAccount that deleted certificate rows
SubjectDomainNameDomain of the account
FilterFilter used to select rows for deletion
Have one of these events? Paste it into the decoder

Pull this event

Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.

Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=4896)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.

ATT&CK mapping

Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.

Common questions

What does Windows event ID 4896 mean?
One or more rows have been deleted from the certificate database. It is written to the Windows Security log (Security).
Is event 4896 logged by default?
No. It must be enabled before it is recorded. It is controlled by the "Certification Services" Advanced Audit Policy subcategory (Object Access).

One or more rows have been deleted from the certificate database. Needs the "Certification Services" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.