Skip to content
WETNav
SecurityDetailed Tracking

Event ID 4695: Unprotection of auditable protected data was attempted

Unprotection of auditable protected data was attempted.

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

To have this event

  • Enable DPAPI Activity: auditpol /set /subcategory:"DPAPI Activity" /success:enable /failure:enable

Key fields

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

SubjectUserNameAccount unprotecting data
SubjectDomainNameDomain of the account
SubjectLogonIdLogon ID for correlation
DataDescriptionDescription of data being unprotected
MasterKeyIdGUID of the master key used
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=4695)]]" -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 4695 mean?
Unprotection of auditable protected data was attempted. It is written to the Windows Security log (Security).
Is event 4695 logged by default?
No. It must be enabled before it is recorded. It is controlled by the "DPAPI Activity" Advanced Audit Policy subcategory (Detailed Tracking).

Unprotection of auditable protected data was attempted. Needs the "DPAPI Activity" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.