V 2.0 : DPAPI Events

Vendor Documentation

Classification

Rule Name

Rule Type

Common Event

Classification

V 2.0 : DPAPI Events

Base Rule

General Audit Message

Other Audit

V 2.0 : EVID 4692 : DPAPI - Successful Backup of Master Key

Sub Rule

Data Protection Master Key Backup Attempt

Other Audit Success

V 2.0 : EVID 4692 : DPAPI - Failed Backup of Master Key

Sub Rule

Unsuccessful Activity

Other Audit Failure

V 2.0 : EVID 4693 : DPAPI - Successful Recovery of Master Key

Sub Rule

Data Protection Master Key Recovered

Other Audit Success

V 2.0 : EVID 4693 : DPAPI - Failed

Recovery of Master Key

Sub Rule

Unsuccessful Activity

Other Audit Failure

V 2.0 : EVID 4694 : DPAPI - Successful Protection of Auditable Protected Data

Sub Rule

Auditable Protected Data Protected

Other Audit Success

V 2.0 : EVID 4694 : DPAPI - Failed

Protection of Auditable Protected Data

Sub Rule

Unsuccessful Activity

Other Audit Failure

V 2.0 : EVID 4695 : DPAPI - Successful Unprotection of Auditable Protected Data

Sub Rule

Auditable Protected Data Unprotected

Other Audit Success

V 2.0 : EVID 4695 : DPAPI - Failed Unprotection of Auditable Protected Data

Sub Rule

Unsuccessful Activity

Other Audit Failure

Mapping with LogRhythm Schema  

Device Key in Log Message

LogRhythm Schema

Data Type

Schema Description

Provider

N/A

N/A 

Identifies the provider that logged the event. The Name and Guid attributes are included if the provider used an instrumentation manifest to define its events. The EventSourceName attribute is included if a legacy event provider (using the Event Logging API) logged the event.

EventID

<vmid>
<tag1>

Number

The identifier that the provider used to identify the event.

Version

N/A 

N/A 

The version number of the event's definition.

Level

<severity>

String/Number/Text

The severity level defined in the event.

Task

<vendorinfo>

Text/String

The task defined in the event. Task and Opcode are typically used to identify the location in the application from where the event was logged.

Opcode

N/A 

N/A 

The opcode defined in the event. Task and Opcode are typically used to identify the location in the application from where the event was logged.

Keywords

<result>
<tag2>

Text/String

A bitmask of the keywords defined in the event. Keywords are used to classify types of events (for example, events associated with reading data).

TimeCreated

N/A 

N/A 

The time stamp that identifies when the event was logged. The time stamp will include either the SystemTime attribute or the RawTime attribute.

EventRecordID

N/A 

N/A 

The record number assigned to the event when it was logged.

Correlation

N/A 

N/A 

The activity identifiers that consumers can use to group related events together.

Execution

N/A 

N/A 

Contains information about the process and thread that logged the event.

Channel

N/A 

N/A 

The channel to which the event was logged.

Computer

<dname>

Text/String

The name of the computer on which the event occurred.

SubjectUserSid

N/A 

N/A 

The SID of account that requested backup operation.

SubjectUserName

<login>

Text/String

The name of the account that requested backup operation.

SubjectDomainName

<domainorigin>

Text/String

The subject’s domain or computer name. Formats vary, and include the following:

  • Domain NETBIOS name example: CONTOSO

  • Lowercase full domain name: contoso.local

  • Uppercase full domain name: CONTOSO.LOCAL

  • For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is NT AUTHORITY.

  • For local user accounts, this field will contain the name of the computer or device that this account belongs to.

SubjectLogonId

<session>

Text/String

A hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID.

MasterKeyId

N/A 

Text/String

The unique identifier of a master key which backup was created. The Master Key is used, with some additional data, to generate an actual symmetric session key to encrypt\decrypt the data using DPAPI. All of user's Master Keys are located in user profile -> %APPDATA%\Roaming\Microsoft\Windows\Protect\%SID% folder. The name of every Master Key file is its ID.

RecoveryServer

N/A 

N/A 

The name (typically – DNS name) of the computer that you contacted to back up your Master Key. For domain joined machines, it’s typically a name of a domain controller. This parameter might not be captured in the event, and in that case will be empty.

RecoveryKeyId

N/A 

N/A 

The unique identifier of a recovery key. The recovery key is generated when a user chooses to create a Password Reset Disk (PRD) from the user's Control Panel or when first Master Key is generated. First, DPAPI generates a RSA public/private key pair, which is the recovery key. In this field you will see unique Recovery key ID which was used for Master key backup operation.

FailureReason

N/A 

N/A 

A hexadecimal unique status code of performed operation. For Success events this field is typically 0x0.