Microsoft-Windows-Security-Auditing › Event 4694

Event ID 4694 — Protection of auditable protected data was attempted.

Provider
Microsoft-Windows-Security-Auditing
Channel
Security
Audit Policy
Detailed Tracking → DPAPI Activity
Collection Priority
Recommended (ASD, others)
Opcode
Info

Description

Protection of auditable protected data was attempted.

Message #

Protection of auditable protected data was attempted.

Subject:
	Security ID: %1
	Account Name: %2
	Account Domain: %3
	Logon ID: %4

Protected Data:
	Data Description: %6
	Key Identifier: %5
	Protected Data Flags: %7
	Protection Algorithms: %8

Status Information:
	Status Code: %9

Fields #

NameDescription
SubjectUserSid SID[Subject] Security ID.
SubjectUserName UnicodeString[Subject] Account Name.
SubjectDomainName UnicodeString[Subject] Account Domain.
SubjectLogonId HexInt64[Subject] Logon ID.
DataDescription UnicodeString[Protected Data] Key Identifier.
MasterKeyId UnicodeString[Protected Data] Data Description.
ProtectedDataFlags HexInt32[Protected Data] Protected Data Flags.
CryptoAlgorithms UnicodeString[Protected Data] Protection Algorithms.
FailureReason HexInt32[Status Information] Status Code.
Known values
%%2304
An Error occured during Logon.
%%2305
The specified user account has expired.
%%2306
The NetLogon component is not active.
%%2307
Account locked out.
%%2308
The user has not been granted the requested logon type at this machine.
%%2309
The specified account's password has expired.
%%2310
Account currently disabled.
%%2311
Account logon time restriction violation.
%%2312
User not allowed to logon at this computer.
%%2313
Unknown user name or bad password.
%%2314
Domain sid inconsistent.
%%2315
Smartcard logon is required and was not used.

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Security-Auditing",
    "guid": "54849625-5478-4994-A5BA-3E3B0328C30D",
    "event_source_name": "",
    "event_id": 4694,
    "version": 0,
    "level": 0,
    "task": 13314,
    "opcode": 0,
    "keywords": 9232379236109516800,
    "time_created": "2023-11-06T01:44:39.871358+00:00",
    "event_record_id": 290370,
    "correlation": {
      "ActivityID": "E4DB489E-1037-0001-0C49-DBE43710DA01"
    },
    "execution": {
      "process_id": 808,
      "thread_id": 844
    },
    "channel": "Security",
    "computer": "WinDev2310Eval",
    "security": {
      "user_id": ""
    }
  },
  "event_data": {
    "SubjectUserSid": "S-1-5-21-1992711665-1655669231-58201500-1000",
    "SubjectUserName": "User",
    "SubjectDomainName": "WINDEV2310EVAL",
    "SubjectLogonId": "0x27844",
    "DataDescription": "ecf918da-9b78-4ed5-bd64-9ff40e3484a1",
    "MasterKeyId": "Chromium",
    "ProtectedDataFlags": "0x10",
    "CryptoAlgorithms": "AES-256 , SHA2-512 ",
    "FailureReason": "0x0"
  },
  "message": ""
}

Community Notes #

When seen outside of software installation it may indicate payload staging hidden in DPAPI.

References #