Windows 10 and Windows Server 2016 Security Auditing and Monitoring Reference
Windows 10 and Windows Server 2016 Security Auditing and Monitoring Reference
Abstract
This document contains:
• Detailed technical descriptions for most of the advanced security audit policies that are included with Windows 10 and Windows Server 2016.
• Monitoring recommendations for security events to include in advanced security audit policies.
• Recommendations for Group Policy settings for advanced security audit policy for domain controllers, workstations, and member servers.
Andrei Miroshnikov
Microsoft ISRM ACE Team
© 2016 Microsoft. All rights reserved.
Copyright
This document is provided "as-is." Information and views expressed in this document, including URL and other Internet Web site references, may change without notice.
Some examples depicted herein are provided for illustration only and are fictitious. No real association or connection is intended or should be inferred.
This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference
purposes.
Portions of this software may be based on NCSA Mosaic. NCSA Mosaic was developed by the National Center for Supercomputing Applications at the University of Illinois at
Urbana-Champaign. Distributed under a licensing agreement with Spyglass, Inc.
May contain security software licensed from RSA Data Security, Inc.
Bluetooth® is a trademark owned by Bluetooth SIG, Inc., USA and licensed to Microsoft Corporation.
Events List:
© 2016 Microsoft. All rights reserved.
4774(S): An account was mapped for logon.
4775(F): An account could not be mapped for logon.
4776(S, F): The computer attempted to validate the credentials for an account.
4777(F): The domain controller failed to validate the credentials for an account.
Authentication Package:%1
Account UPN:%2
Mapped Name:%3
4776(S, F): The computer attempted to validate the credentials for an account.
Event Description:
This event generates every time that a credential validation occurs using NTLM authentication.
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “Logon Account” value
anomalies or monitoring potential malicious actions. For example, you might need to (with other information) to monitor how or when a particular account is being used.
monitor for use of an account outside of working hours.
To monitor activity of specific user accounts outside of working hours, monitor the
appropriate Logon Account + Source Workstation pairs.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “Logon Account” that should never be used.
accounts that should never be used.
Account whitelist: You might have a specific whitelist of accounts that are the only ones If this event corresponds to a “whitelist-only” action, review the “Logon Account” for
allowed to perform actions corresponding to particular events. accounts that are outside the whitelist.
Restricted-use computers: You might have certain computers from which certain people Monitor the target Source Workstation for credential validation requests from the “Logon
(accounts) should not log on. Account” that you are concerned about.
Account naming conventions: Your organization might have specific naming conventions Monitor “Logon Account” for names that don’t comply with naming conventions.
for account names.
If NTLM authentication should not be used for a specific account, monitor for that account. Don’t forget that local logon will always use NTLM authentication if an account logs on
to a device where its user account is stored.
You can use this event to collect all NTLM authentication attempts in the domain, if needed. Don’t forget that local logon will always use NTLM authentication if the account logs
on to a device where its user account is stored.
If a local account should be used only locally (for example, network logon or terminal services logon is not allowed), you need to monitor for all events where Source Workstation
and Computer (where the event was generated and where the credentials are stored) have different values.
Consider tracking the following errors for the reasons listed:
Error to track What the error might indicate
User logon with misspelled or bad user For example, N events in the last N minutes can be an indicator of an account enumeration attack, especially relevant
account for highly critical accounts.
© 2016 Microsoft. All rights reserved.
User logon with misspelled or bad password For example, N events in the last N minutes can be an indicator of a brute-force password attack, especially relevant for
highly critical accounts.
User logon outside authorized hours Can indicate a compromised account; especially relevant for highly critical accounts.
User logon from unauthorized workstation Can indicate a compromised account; especially relevant for highly critical accounts.
User logon to account disabled by For example, N events in last N minutes can be an indicator of an account compromise attempt, especially relevant for
administrator highly critical accounts.
User logon with expired account Can indicate an account compromise attempt; especially relevant for highly critical accounts.
User logon with account locked Can indicate a brute-force password attack; especially relevant for highly critical accounts.
4777(F): The domain controller failed to validate the credentials for an account.
Currently this event doesn’t generate. It is a defined event, but it is never invoked by the operating system. 4776 failure event is generated instead.
Events List:
4768(S, F): A Kerberos authentication ticket (TGT) was requested.
4771(F): Kerberos pre-authentication failed.
4772(F): A Kerberos authentication ticket request failed.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}"
/>
<EventID>4768</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>14339</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-07T18:13:46.074535600Z" />
<EventRecordID>166747</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1496" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">dadmin</Data>
<Data Name="TargetDomainName">CONTOSO.LOCAL</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="ServiceName">krbtgt</Data>
<Data Name="ServiceSid">S-1-5-21-3457937927-2839227994-823803824-502</Data>
<Data Name="TicketOptions">0x40810010</Data>
<Data Name="Status">0x0</Data>
<Data Name="TicketEncryptionType">0x12</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="PreAuthType">15</Data>
<Data Name="IpAddress">::ffff:10.0.0.12</Data>
<Data Name="IpPort">49273</Data>
<Data Name="CertIssuerName">contoso-DC01-CA-1</Data>
<Data Name="CertSerialNumber">1D0000000D292FBE3C6CDDAFA200020000000D</Data>
<Data Name="CertThumbprint">564DFAEE99C71D62ABC553E695BD8DBC46669413</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Account Information:
Account Name [Type = UnicodeString]: the name of account, for which (TGT) ticket was requested. Computer account name ends with $ character.
o User account example: dadmin
o Computer account example: WIN81$
Supplied Realm Name [Type = UnicodeString]: the name of the Kerberos Realm that Account Name belongs to. This can appear in a variety of formats, including the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
A Kerberos Realm is a set of managed nodes that share the same Kerberos database. The Kerberos database resides on the Kerberos master computer system, which should
be kept in a physically secure room. Active Directory domain is the example of Kerberos Realm in the Microsoft Windows Active Directory world.
User ID [Type = SID]: SID of account for which (TGT) ticket was requested. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
For example: CONTOSO\dadmin or CONTOSO\WIN81$.
o NULL SID – this value shows in 4768 Failure events.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Service Information:
Service Name [Type = UnicodeString]: the name of the service in the Kerberos Realm to which TGT request was sent. Typically has value “krbtgt” for TGT requests, which means
Ticket Granting Ticket issuing service.
o For Failure events Service Name typically has the following format: krbtgt/REALM_NAME. For example: krbtgt/CONTOSO.
Service ID [Type = SID]: SID of the service account in the Kerberos Realm to which TGT request was sent. Event Viewer automatically tries to resolve SIDs and show the account
name. If the SID cannot be resolved, you will see the source data in the event.
© 2016 Microsoft. All rights reserved.
Domain controllers have a specific service account (krbtgt) that is used by the Key Distribution Center (KDC) service to issue Kerberos tickets. It has a built-in, pre-defined SID: S-1-
5-21-DOMAIN_IDENTIFIER-502.
o NULL SID – this value shows in 4768 Failure events.
Network Information:
Client Address [Type = UnicodeString]: IP address of the computer from which the TGT request was received. Formats vary, and include the following:
o IPv6 or IPv4 address.
o ::ffff:IPv4_address.
o ::1 - localhost.
Client Port [Type = UnicodeString]: source port number of client network connection (TGT request connection).
o 0 for local (localhost) requests.
Additional information:
Ticket Options [Type = HexInt32]: this is a set of different Ticket Flags in hexadecimal format.
Example:
o Ticket Options: 0x40810010
o Binary view: 01000000100000010000000000010000
o Using MSB 0 bit numbering we have bit 1, 8, 15 and 27 set = Forwardable, Renewable, Canonicalize, Renewable-ok.
In the table below “MSB 0” bit numbering is used, because RFC documents use this style. In “MSB 0” style bit numbering begins from left.
KILE (Microsoft Kerberos Protocol Extension) – Kerberos protocol extensions used in Microsoft operating systems. These extensions provide additional capability for
authorization information including group memberships, interactive logon information, and integrity levels.
Ticket Encryption Type [Type = HexInt32]: the cryptographic suite that was used for issued TGT.
Type Type Name Description
0x1 DES-CBC-CRC Disabled by default starting from Windows 7 and Windows Server 2008 R2.
0x3 DES-CBC-MD5 Disabled by default starting from Windows 7 and Windows Server 2008 R2.
0x11 AES128-CTS-HMAC-SHA1-96 Supported starting from Windows Server 2008 and Windows Vista.
0x12 AES256-CTS-HMAC-SHA1-96 Supported starting from Windows Server 2008 and Windows Vista.
0x17 RC4-HMAC Default suite for operating systems before Windows Server 2008 and Windows Vista.
0x18 RC4-HMAC-EXP Default suite for operating systems before Windows Server 2008 and Windows Vista.
0xFFFFFFFF or 0xffffffff - This type shows in Audit Failure events.
Table 4. Kerberos encryption types
Pre-Authentication Type [Type = UnicodeString]: the code number of pre-Authentication type which was used in TGT request.
Type Type Name Description
0 - Logon without Pre-Authentication.
2 PA-ENC-TIMESTAMP This is a normal type for standard password authentication.
11 PA-ETYPE-INFO The ETYPE-INFO pre-authentication type is sent by the KDC in a KRB-ERROR indicating a requirement for additional pre-
authentication. It is usually used to notify a client of which key to use for the encryption of an encrypted timestamp for
the purposes of sending a PA-ENC-TIMESTAMP pre-authentication value.
Never saw this Pre-Authentication Type in Microsoft Active Directory environment.
15 PA-PK-AS-REP_OLD Used for Smart Card logon authentication.
17 PA-PK-AS-REP This type should also be used for Smart Card authentication, but in certain Active Directory environments, it is never seen.
19 PA-ETYPE-INFO2 The ETYPE-INFO2 pre-authentication type is sent by the KDC in a KRB-ERROR indicating a requirement for additional pre-
authentication. It is usually used to notify a client of which key to use for the encryption of an encrypted timestamp for
the purposes of sending a PA-ENC-TIMESTAMP pre-authentication value.
© 2016 Microsoft. All rights reserved.
Never saw this Pre-Authentication Type in Microsoft Active Directory environment.
20 PA-SVR-REFERRAL-INFO Used in KDC Referrals tickets.
138 PA-ENCRYPTED-CHALLENGE Logon using Kerberos Armoring (FAST). Supported starting from Windows Server 2012 domain controllers and Windows 8
clients.
- This type shows in Audit Failure events.
Table 5. Kerberos Pre-Authentication types.
Certificate Information:
Certificate Issuer Name [Type = UnicodeString]: the name of the Certification Authority that issued the smart card certificate. Populated in Issued by field in certificate.
Certificate Serial Number [Type = UnicodeString]: smart card certificate’s serial number. Can be found in Serial number field in the certificate.
Certificate Thumbprint [Type = UnicodeString]: smart card certificate’s thumbprint. Can be found in Thumbprint field in the certificate.
Security Monitoring Recommendations:
For 4768(S, F): A Kerberos authentication ticket (TGT) was requested.
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “User ID” (with other
anomalies or monitoring potential malicious actions. For example, you might need to information) to monitor how or when a particular account is being used.
monitor for use of an account outside of working hours.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “User ID” that corresponds to the accounts that should never
accounts that should never be used. be used.
Account whitelist: You might have a specific whitelist of accounts that are the only ones If this event corresponds to a “whitelist-only” action, review the “User ID” for accounts
allowed to perform actions corresponding to particular events. that are outside the whitelist.
External accounts: You might be monitoring accounts from another domain, or “external” Monitor this event for the “Supplied Realm Name” corresponding to another domain or
accounts that are not allowed to perform certain actions (represented by certain specific “external” location.
events).
Account naming conventions: Your organization might have specific naming conventions Monitor “User ID” for names that don’t comply with naming conventions.
for account names.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4771</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>14339</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2015-08-07T18:10:21.495462300Z" />
<EventRecordID>166708</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1084" />
<Channel>Security</Channel>
© 2016 Microsoft. All rights reserved.
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">dadmin</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="ServiceName">krbtgt/CONTOSO.LOCAL</Data>
<Data Name="TicketOptions">0x40810010</Data>
<Data Name="Status">0x10</Data>
<Data Name="PreAuthType">15</Data>
<Data Name="IpAddress">::ffff:10.0.0.12</Data>
<Data Name="IpPort">49254</Data>
<Data Name="CertIssuerName" />
<Data Name="CertSerialNumber" />
<Data Name="CertThumbprint" />
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Account Information:
Security ID [Type = SID]: SID of account object for which (TGT) ticket was requested. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
For example: CONTOSO\dadmin or CONTOSO\WIN81$.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name: [Type = UnicodeString]: the name of account, for which (TGT) ticket was requested. Computer account name ends with $ character.
o User account example: dadmin
o Computer account example: WIN81$
Service Information:
Service Name [Type = UnicodeString]: the name of the service in the Kerberos Realm to which TGT request was sent. Typically has one of the following formats:
o krbtgt/DOMAIN_NETBIOS_NAME. Example: krbtgt/CONTOSO
o krbtgt/DOMAIN_FULL_NAME. Example: krbtgt/CONTOSO.LOCAL
Network Information:
© 2016 Microsoft. All rights reserved.
Client Address [Type = UnicodeString]: IP address of the computer from which the TGT request was received. Formats vary, and include the following:
o IPv6 or IPv4 address.
o ::ffff:IPv4_address.
o ::1 - localhost.
Client Port [Type = UnicodeString]: source port number of client network connection (TGT request connection).
o 0 for local (localhost) requests.
Additional Information:
Ticket Options: [Type = HexInt32]: this is a set of different Ticket Flags in hexadecimal format.
Example:
o Ticket Options: 0x40810010
o Binary view: 01000000100000010000000000010000
o Using MSB 0 bit numbering we have bit 1, 8, 15 and 27 set = Forwardable, Renewable, Canonicalize, Renewable-ok.
In the table below “MSB 0” bit numbering is used, because RFC documents use this style. In “MSB 0” style bit numbering begins from left.
Failure Code [Type = HexInt32]: hexadecimal failure code of failed TGT issue operation. The table below contains the list of the most common error codes for this event:
Code Code Name Description Possible causes
0x10 KDC_ERR_PADATA_TYPE_NOSUPP KDC has no support for PADATA type (pre- Smart card logon is being attempted and the proper certificate cannot
authentication data) be located. This can happen because the wrong certification authority
(CA) is being queried or the proper CA cannot be contacted in order to
get Domain Controller or Domain Controller Authentication certificates
for the domain controller.
It can also happen when a domain controller doesn’t have a certificate
installed for smart cards (Domain Controller or Domain Controller
© 2016 Microsoft. All rights reserved.
Authentication templates).
0x17 KDC_ERR_KEY_EXPIRED Password has expired—change password to The user’s password has expired.
reset
0x18 KDC_ERR_PREAUTH_FAILED Pre-authentication information was invalid The wrong password was provided.
Pre-Authentication Type [Type = UnicodeString]: the code of pre-Authentication type which was used in TGT request.
Type Type Name Description
0 - Logon without Pre-Authentication.
2 PA-ENC-TIMESTAMP This is a normal type for standard password authentication.
11 PA-ETYPE-INFO The ETYPE-INFO pre-authentication type is sent by the KDC in a KRB-ERROR indicating a requirement for additional pre-
authentication. It is usually used to notify a client of which key to use for the encryption of an encrypted timestamp for
the purposes of sending a PA-ENC-TIMESTAMP pre-authentication value.
Never saw this Pre-Authentication Type in Microsoft Active Directory environment.
15 PA-PK-AS-REP_OLD Used for Smart Card logon authentication.
17 PA-PK-AS-REP This type should also be used for Smart Card authentication, but in certain Active Directory environments, it is never seen.
19 PA-ETYPE-INFO2 The ETYPE-INFO2 pre-authentication type is sent by the KDC in a KRB-ERROR indicating a requirement for additional pre-
authentication. It is usually used to notify a client of which key to use for the encryption of an encrypted timestamp for
the purposes of sending a PA-ENC-TIMESTAMP pre-authentication value.
Never saw this Pre-Authentication Type in Microsoft Active Directory environment.
20 PA-SVR-REFERRAL-INFO Used in KDC Referrals tickets.
138 PA-ENCRYPTED-CHALLENGE Logon using Kerberos Armoring (FAST). Supported starting from Windows Server 2012 domain controllers and Windows 8
clients.
- This type shows in Audit Failure events.
Certificate Information:
Certificate Issuer Name [Type = UnicodeString]: the name of Certification Authority which issued smart card certificate. Populated in Issued by field in certificate. Always empty
for 4771 events.
Certificate Serial Number [Type = UnicodeString]: smart card certificate’s serial number. Can be found in Serial number field in the certificate. Always empty for 4771 events.
Certificate Thumbprint [Type = UnicodeString]: smart card certificate’s thumbprint. Can be found in Thumbprint field in the certificate. Always empty for 4771 events.
Security Monitoring Recommendations:
For 4771(F): Kerberos pre-authentication failed.
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “Security ID” (with other
anomalies or monitoring potential malicious actions. For example, you might need to information) to monitor how or when a particular account is being used.
monitor for use of an account outside of working hours.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “Security ID” that corresponds to the accounts that should
accounts that should never be used. never be used.
Account whitelist: You might have a specific whitelist of accounts that are the only ones If this event corresponds to a “whitelist-only” action, review the “Security ID” for accounts
allowed to perform actions corresponding to particular events. that are outside the whitelist.
Account naming conventions: Your organization might have specific naming conventions Monitor “Subject\Account Name” for names that don’t comply with naming conventions.
for account names.
You can track all 4771 events where the Client Address is not from your internal IP range or not from private IP ranges.
If you know that Account Name should be used only from known list of IP addresses, track all Client Address values for this Account Name in 4771 events. If Client Address is not
from the whitelist, generate the alert.
All Client Address = ::1 means local authentication. If you know the list of accounts which should log on to the domain controllers, then you need to monitor for all possible
violations, where Client Address = ::1 and Account Name is not allowed to log on to any domain controller.
All 4771 events with Client Port field value > 0 and < 1024 should be examined, because a well-known port was used for outbound connection.
Also monitor the fields shown in the following table, to discover the issues listed:
Field Issue to discover
Pre-Authentication Type Value is not 15 when account must use a smart card for authentication. For more information, see Table 5. Kerberos Pre-Authentication types.
Pre-Authentication Type Value is not 2 when only standard password authentication is in use in the organization. For more information, see Table 5. Kerberos Pre-
Authentication types.
Pre-Authentication Type Value is not 138 when Kerberos Armoring is enabled for all Kerberos communications in the organization. For more information, see Table 5.
Kerberos Pre-Authentication types.
Result Code 0x10 (KDC has no support for PADATA type (pre-authentication data)). This error can help you to more quickly identify smart-card related
problems with Kerberos authentication.
Result Code 0x18 ((Pre-authentication information was invalid), if you see, for example N events in last N minutes. This can be an indicator of brute-force
attack on the account password, especially for highly critical accounts.
IF - We recommend Success auditing, because you will see all Kerberos Service Ticket requests (TGS requests),
which are part of service use and access requests by specific accounts. Also, you can see the IP address from
which this account requested TGS, when TGS was requested, which encryption type was used, and so on. For
recommendations for using and analyzing the collected information, see the Security Monitoring
Recommendations sections.
We recommend Failure auditing, because you will see all failed requests and be able to investigate the reason
for failure. You will also be able to detect Kerberos issues or possible attack attempts.
Member Server No No No No This subcategory makes sense only on domain controllers.
Workstation No No No No This subcategory makes sense only on domain controllers.
Events List:
4769(S, F): A Kerberos service ticket was requested.
4770(S): A Kerberos service ticket was renewed.
4773(F): A Kerberos service ticket request failed.
Event XML:
Ticket Encryption Type: [Type = HexInt32]: the cryptographic suite that was used for issued TGS.
Type Type Name Description
0x1 DES-CBC-CRC Disabled by default starting from Windows 7 and Windows Server 2008 R2.
0x3 DES-CBC-MD5 Disabled by default starting from Windows 7 and Windows Server 2008 R2.
0x11 AES128-CTS-HMAC-SHA1-96 Supported starting from Windows Server 2008 and Windows Vista.
0x12 AES256-CTS-HMAC-SHA1-96 Supported starting from Windows Server 2008 and Windows Vista.
0x17 RC4-HMAC Default suite for operating systems before Windows Server 2008 and Windows Vista.
0x18 RC4-HMAC-EXP Default suite for operating systems before Windows Server 2008 and Windows Vista.
0xFFFFFFFF or 0xffffffff - This type shows in Audit Failure events.
Failure Code [Type = HexInt32]: hexadecimal result code of TGS issue operation. The table below contains the list of the most common error codes for this event:
Code Code Name Description Possible causes
0x0 KDC_ERR_NONE No error No errors were found.
0x1 KDC_ERR_NAME_EXP Client's entry in KDC database has expired No information.
0x2 KDC_ERR_SERVICE_EXP Server's entry in KDC database has expired No information.
0x3 KDC_ERR_BAD_PVNO Requested Kerberos version number not No information.
supported
0x4 KDC_ERR_C_OLD_MAST_KVNO Client's key encrypted in old master key No information.
0x5 KDC_ERR_S_OLD_MAST_KVNO Server's key encrypted in old master key No information.
0x6 KDC_ERR_C_PRINCIPAL_UNKNOWN Client not found in Kerberos database The username doesn’t exist.
© 2016 Microsoft. All rights reserved.
0x7 KDC_ERR_S_PRINCIPAL_UNKNOWN Server not found in Kerberos database This error can occur if the domain controller cannot find the server’s
name in Active Directory. This error is similar to
KDC_ERR_C_PRINCIPAL_UNKNOWN except that it occurs when the
server name cannot be found.
0x8 KDC_ERR_PRINCIPAL_NOT_UNIQUE Multiple principal entries in KDC database This error occurs if duplicate principal names exist. Unique principal
names are crucial for ensuring mutual authentication. Thus, duplicate
principal names are strictly forbidden, even across multiple realms.
Without unique principal names, the client has no way of ensuring that
the server it is communicating with is the correct one.
0x9 KDC_ERR_NULL_KEY The client or server has a null key (master No master key was found for client or server. Usually it means that
key) administrator should reset the password on the account.
0xA KDC_ERR_CANNOT_POSTDATE Ticket (TGT) not eligible for postdating This error can occur if a client requests postdating of a Kerberos ticket.
Postdating is the act of requesting that a ticket’s start time be set into
the future.
It also can occur if there is a time difference between the client and the
KDC.
0xB KDC_ERR_NEVER_VALID Requested start time is later than end time There is a time difference between the KDC and the client.
0xC KDC_ERR_POLICY Requested start time is later than end time This error is usually the result of logon restrictions in place on a user’s
account. For example workstation restriction, smart card
authentication requirement or logon time restriction.
0xD KDC_ERR_BADOPTION KDC cannot accommodate requested option Impending expiration of a TGT.
The SPN to which the client is attempting to delegate credentials is not
in its Allowed-to-delegate-to list
0xE KDC_ERR_ETYPE_NOTSUPP KDC has no support for encryption type In general, this error occurs when the KDC or a client receives a packet
that it cannot decrypt.
0xF KDC_ERR_SUMTYPE_NOSUPP KDC has no support for checksum type The KDC, server, or client receives a packet for which it does not have a
key of the appropriate encryption type. The result is that the computer
is unable to decrypt the ticket.
0x10 KDC_ERR_PADATA_TYPE_NOSUPP KDC has no support for PADATA type (pre- Smart card logon is being attempted and the proper certificate cannot
authentication data) be located. This can happen because the wrong certification authority
(CA) is being queried or the proper CA cannot be contacted.
It can also happen when a domain controller doesn’t have a certificate
installed for smart cards (Domain Controller or Domain Controller
Authentication templates).
This error code cannot occur in event “4768. A Kerberos authentication
ticket (TGT) was requested”. It occurs in “4771. Kerberos pre-
authentication failed” event.
0x11 KDC_ERR_TRTYPE_NO_SUPP KDC has no support for transited type No information.
© 2016 Microsoft. All rights reserved.
0x12 KDC_ERR_CLIENT_REVOKED Client’s credentials have been revoked This might be because of an explicit disabling or because of other
restrictions in place on the account. For example: account disabled,
expired, or locked out.
0x13 KDC_ERR_SERVICE_REVOKED Credentials for server have been revoked No information.
0x14 KDC_ERR_TGT_REVOKED TGT has been revoked Since the remote KDC may change its PKCROSS key while there are
PKCROSS tickets still active, it SHOULD cache the old PKCROSS keys
until the last issued PKCROSS ticket expires. Otherwise, the remote KDC
will respond to a client with a KRB-ERROR message of type
KDC_ERR_TGT_REVOKED. See RFC1510 for more details.
0x15 KDC_ERR_CLIENT_NOTYET Client not yet valid—try again later No information.
0x16 KDC_ERR_SERVICE_NOTYET Server not yet valid—try again later No information.
0x17 KDC_ERR_KEY_EXPIRED Password has expired—change password to The user’s password has expired.
reset This error code cannot occur in event “4768. A Kerberos authentication
ticket (TGT) was requested”. It occurs in “4771. Kerberos pre-
authentication failed” event.
0x18 KDC_ERR_PREAUTH_FAILED Pre-authentication information was invalid The wrong password was provided.
This error code cannot occur in event “4768. A Kerberos authentication
ticket (TGT) was requested”. It occurs in “4771. Kerberos pre-
authentication failed” event.
0x19 KDC_ERR_PREAUTH_REQUIRED Additional pre-authentication required This error often occurs in UNIX interoperability scenarios. MIT-Kerberos
clients do not request pre-authentication when they send a
KRB_AS_REQ message. If pre-authentication is required (the default),
Windows systems will send this error. Most MIT-Kerberos clients will
respond to this error by giving the pre-authentication, in which case
the error can be ignored, but some clients might not respond in this
way.
0x1A KDC_ERR_SERVER_NOMATCH KDC does not know about the requested No information.
server
0x1B KDC_ERR_SVC_UNAVAILABLE KDC is unavailable No information.
0x1F KRB_AP_ERR_BAD_INTEGRITY Integrity check on decrypted field failed The authenticator was encrypted with something other than the
session key. The result is that the client cannot decrypt the resulting
message. The modification of the message could be the result of an
attack or it could be because of network noise.
0x20 KRB_AP_ERR_TKT_EXPIRED The ticket has expired The smaller the value for the “Maximum lifetime for user ticket”
Kerberos policy setting, the more likely it is that this error will occur.
Because ticket renewal is automatic, you should not have to do
anything if you get this message.
0x21 KRB_AP_ERR_TKT_NYV The ticket is not yet valid The ticket presented to the server is not yet valid (in relationship to the
© 2016 Microsoft. All rights reserved.
server time). The most probable cause is that the clocks on the KDC
and the client are not synchronized.
If cross-realm Kerberos authentication is being attempted, then you
should verify time synchronization between the KDC in the target
realm and the KDC in the client realm, as well.
0x22 KRB_AP_ERR_REPEAT The request is a replay This error indicates that a specific authenticator showed up twice —
the KDC has detected that this session ticket duplicates one that it has
already received.
0x23 KRB_AP_ERR_NOT_US The ticket is not for us The server has received a ticket that was meant for a different realm.
0x24 KRB_AP_ERR_BADMATCH The ticket and authenticator do not match The KRB_TGS_REQ is being sent to the wrong KDC.
There is an account mismatch during protocol transition.
0x25 KRB_AP_ERR_SKEW The clock skew is too great This error is logged if a client computer sends a timestamp whose value
differs from that of the server’s timestamp by more than the number
of minutes found in the “Maximum tolerance for computer clock
synchronization” setting in Kerberos policy.
0x26 KRB_AP_ERR_BADADDR Network address in network layer header Session tickets MAY include the addresses from which they are valid.
doesn't match address inside ticket This error can occur if the address of the computer sending the ticket is
different from the valid address in the ticket. A possible cause of this
could be an Internet Protocol (IP) address change. Another possible
cause is when a ticket is passed through a proxy server or NAT. The
client is unaware of the address scheme used by the proxy server, so
unless the program caused the client to request a proxy server ticket
with the proxy server's source address, the ticket could be invalid.
0x27 KRB_AP_ERR_BADVERSION Protocol version numbers don't match When an application receives a KRB_SAFE message, it verifies it. If any
(PVNO) error occurs, an error code is reported for use by the application.
The message is first checked by verifying that the protocol version and
type fields match the current version and KRB_SAFE, respectively. A
mismatch generates a KRB_AP_ERR_BADVERSION.
See RFC4120 for more details.
0x28 KRB_AP_ERR_MSG_TYPE Message type is unsupported This message is generated when target server finds that message
format is wrong. This applies to KRB_AP_REQ, KRB_SAFE, KRB_PRIV
and KRB_CRED messages.
This error also generated if use of UDP protocol is being attempted
with User-to-User authentication.
0x29 KRB_AP_ERR_MODIFIED Message stream modified and checksum The authentication data was encrypted with the wrong key for the
didn't match intended server.
The authentication data was modified in transit by a hardware or
software error, or by an attacker.
© 2016 Microsoft. All rights reserved.
The client sent the authentication data to the wrong server because
incorrect DNS data caused the client to send the request to the wrong
server.
The client sent the authentication data to the wrong server because
DNS data was out-of-date on the client.
0x2A KRB_AP_ERR_BADORDER Message out of order (possible tampering) This event generates for KRB_SAFE and KRB_PRIV messages if an
incorrect sequence number is included, or if a sequence number is
expected but not present. See RFC4120 for more details.
0x2C KRB_AP_ERR_BADKEYVER Specified version of key is not available This error might be generated on server side during receipt of invalid
KRB_AP_REQ message. If the key version indicated by the Ticket in the
KRB_AP_REQ is not one the server can use (e.g., it indicates an old key,
and the server no longer possesses a copy of the old key), the
KRB_AP_ERR_BADKEYVER error is returned.
0x2D KRB_AP_ERR_NOKEY Service key not available This error might be generated on server side during receipt of invalid
KRB_AP_REQ message. Because it is possible for the server to be
registered in multiple realms, with different keys in each, the realm
field in the unencrypted portion of the ticket in the KRB_AP_REQ is
used to specify which secret key the server should use to decrypt that
ticket. The KRB_AP_ERR_NOKEY error code is returned if the server
doesn't have the proper key to decipher the ticket.
0x2E KRB_AP_ERR_MUT_FAIL Mutual authentication failed No information.
0x2F KRB_AP_ERR_BADDIRECTION Incorrect message direction No information.
0x30 KRB_AP_ERR_METHOD Alternative authentication method required According RFC4120 this error message is obsolete.
0x31 KRB_AP_ERR_BADSEQ Incorrect sequence number in message No information.
0x32 KRB_AP_ERR_INAPP_CKSUM Inappropriate type of checksum in message When KDC receives KRB_TGS_REQ message it decrypts it, and after the
(checksum may be unsupported) user-supplied checksum in the Authenticator MUST be verified against
the contents of the request, and the message MUST be rejected if the
checksums do not match (with an error code of
KRB_AP_ERR_MODIFIED) or if the checksum is not collision-proof (with
an error code of KRB_AP_ERR_INAPP_CKSUM).
0x33 KRB_AP_PATH_NOT_ACCEPTED Desired path is unreachable No information.
0x34 KRB_ERR_RESPONSE_TOO_BIG Too much data The size of a ticket is too large to be transmitted reliably via UDP. In a
Windows environment, this message is purely informational. A
computer running a Windows operating system will automatically try
TCP if UDP fails.
0x3C KRB_ERR_GENERIC Generic error Group membership has overloaded the PAC.
Multiple recent password changes have not propagated.
Crypto subsystem error caused by running out of memory.
© 2016 Microsoft. All rights reserved.
SPN too long.
SPN has too many parts.
0x3D KRB_ERR_FIELD_TOOLONG Field is too long for this implementation Each request (KRB_KDC_REQ) and response (KRB_KDC_REP or
KRB_ERROR) sent over the TCP stream is preceded by the length of the
request as 4 octets in network byte order. The high bit of the length is
reserved for future expansion and MUST currently be set to zero. If a
KDC that does not understand how to interpret a set high bit of the
length encoding receives a request with the high order bit of the length
set, it MUST return a KRB-ERROR message with the error
KRB_ERR_FIELD_TOOLONG and MUST close the TCP stream.
0x3E KDC_ERR_CLIENT_NOT_TRUSTED The client trust failed or is not implemented This typically happens when user’s smart-card certificate is revoked or
the root Certification Authority that issued the smart card certificate (in
a chain) is not trusted by the domain controller.
0x3F KDC_ERR_KDC_NOT_TRUSTED The KDC server trust failed or could not be The trustedCertifiers field contains a list of certification authorities
verified trusted by the client, in the case that the client does not possess the
KDC's public key certificate. If the KDC has no certificate signed by any
of the trustedCertifiers, then it returns an error of type
KDC_ERR_KDC_NOT_TRUSTED. See RFC1510 for more details.
0x40 KDC_ERR_INVALID_SIG The signature is invalid This error is related to PKINIT. If a PKI trust relationship exists, the KDC
then verifies the client's signature on AuthPack (TGT request
signature). If that fails, the KDC returns an error message of type
KDC_ERR_INVALID_SIG.
0x41 KDC_ERR_KEY_TOO_WEAK A higher encryption level is needed If the clientPublicValue field is filled in, indicating that the client wishes
to use Diffie-Hellman key agreement, then the KDC checks to see that
the parameters satisfy its policy. If they do not (e.g., the prime size is
insufficient for the expected encryption type), then the KDC sends back
an error message of type KDC_ERR_KEY_TOO_WEAK.
0x42 KRB_AP_ERR_USER_TO_USER_REQUIR User-to-user authorization is required In the case that the client application doesn't know that a service
ED requires user-to-user authentication, and requests and receives a
conventional KRB_AP_REP, the client will send the KRB_AP_REP
request, and the server will respond with a KRB_ERROR token as
described in RFC1964, with a msg-type of
KRB_AP_ERR_USER_TO_USER_REQUIRED.
0x43 KRB_AP_ERR_NO_TGT No TGT was presented or available In user-to-user authentication if the service does not possess a ticket
granting ticket, it should return the error KRB_AP_ERR_NO_TGT.
0x44 KDC_ERR_WRONG_REALM Incorrect domain or principal Although this error rarely occurs, it occurs when a client presents a
cross-realm TGT to a realm other than the one specified in the TGT.
Typically, this results from incorrectly configured DNS.
© 2016 Microsoft. All rights reserved.
Transited Services [Type = UnicodeString]: this field contains list of SPNs which were requested if Kerberos delegation was used.
Service Principal Name (SPN) is the name by which a client uniquely identifies an instance of a service. If you install multiple instances of a service on computers throughout a
forest, each instance must have its own SPN. A given service instance can have multiple SPNs if there are multiple names that clients might use for authentication. For
example, an SPN always includes the name of the host computer on which the service instance is running, so a service instance might register an SPN for each name or alias of
its host.
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “Account
anomalies or monitoring potential malicious actions. For example, you might need to Information\Account Name” (with other information) to monitor how or when a
monitor for use of an account outside of working hours. particular account is being used.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “Account Information\Account Name” that corresponds to
accounts that should never be used. the accounts that should never be used.
External accounts: You might be monitoring accounts from another domain, or “external” Monitor this event for the “Account Information\Account Domain” corresponding to
accounts that are not allowed to perform certain actions (represented by certain specific another domain or “external” location.
events).
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the
devices on which certain people (accounts) should not typically perform any actions. “Account Information\Account Name” that you are concerned about.
Account naming conventions: Your organization might have specific naming conventions Monitor “User ID” for names that don’t comply with naming conventions.
for account names.
If you know that Account Name should never request any tickets for (that is, never get access to) a particular computer account or service account, monitor for 4769 events with
the corresponding Account Name and Service ID fields.
You can track all 4769 events where the Client Address is not from your internal IP range or not from private IP ranges.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4770</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>14337</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-07T03:26:23.466552900Z" />
<EventRecordID>166481</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1084" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">[email protected]</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="TargetDomainName">CONTOSO.LOCAL</Data>
<Data Name="ServiceName">krbtgt</Data>
<Data Name="ServiceSid">S-1-5-21-3457937927-2839227994-823803824-502</Data>
<Data Name="TicketOptions">0x2</Data>
<Data Name="TicketEncryptionType">0x12</Data>
<Data Name="IpAddress">::ffff:10.0.0.12</Data>
<Data Name="IpPort">49964</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Account Information:
Account Name [Type = UnicodeString]: the User Principal Name (UPN) of the account that requested ticket renewal. Computer account name ends with $ character in UPN. This
field typically has the following value format: user_account_name@FULL_DOMAIN_NAME.
o User account example: [email protected]
o Computer account example: [email protected]
This parameter in this event is optional and can be empty in some cases.
Account Domain [Type = UnicodeString]: the name of the Kerberos Realm that Account Name belongs to. This can appear in a variety of formats, including the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
This parameter in this event is optional and can be empty in some cases.
Service Information:
Service Name [Type = UnicodeString]: the name of the account or computer for which the TGS ticket was renewed.
o This parameter in this event is optional and can be empty in some cases.
Service ID [Type = SID]: SID of the account or computer object for which the TGS ticket was renewed. Event Viewer automatically tries to resolve SIDs and show the account
name. If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Network Information:
Client Address [Type = UnicodeString]: IP address of the computer from which the TGS renewal request was received. Formats vary, and include the following:
o IPv6 or IPv4 address.
o ::ffff:IPv4_address.
© 2016 Microsoft. All rights reserved.
o ::1 - localhost.
Client Port [Type = UnicodeString]: source port number of client network connection (TGS renewal request connection).
o 0 for local (localhost) requests.
Additional information:
Ticket Options: [Type = HexInt32]: this is a set of different Ticket Flags in hexadecimal format.
Example:
o Ticket Options: 0x40810010
o Binary view: 01000000100000010000000000010000
o Using MSB 0 bit numbering we have bit 1, 8, 15 and 27 set = Forwardable, Renewable, Canonicalize, Renewable-ok.
In the table below “MSB 0” bit numbering is used, because RFC documents use this style. In “MSB 0” style bit numbering begins from left.
Ticket Encryption Type: [Type = HexInt32]: the cryptographic suite that was used in renewed TGS.
Type Type Name Description
0x1 DES-CBC-CRC Disabled by default starting from Windows 7 and Windows Server 2008 R2.
0x3 DES-CBC-MD5 Disabled by default starting from Windows 7 and Windows Server 2008 R2.
0x11 AES128-CTS-HMAC-SHA1-96 Supported starting from Windows Server 2008 and Windows Vista.
0x12 AES256-CTS-HMAC-SHA1-96 Supported starting from Windows Server 2008 and Windows Vista.
0x17 RC4-HMAC Default suite for operating systems before Windows Server 2008 and Windows Vista.
0x18 RC4-HMAC-EXP Default suite for operating systems before Windows Server 2008 and Windows Vista.
0xFFFFFFFF or 0xffffffff - This type shows in Audit Failure events.
Events List:
4741(S): A computer account was created.
4742(S): A computer account was changed.
4743(S): A computer account was deleted.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4741</EventID>
<Version>0</Version>
User Parameters [Type = UnicodeString]: if you change any setting using Active Directory Users and Computers management console in Dial-in tab of computer’s account
properties, then you will see <value changed, but not displayed> in this field in “4742(S): A computer account was changed.” This parameter might not be captured in the event,
and in that case appears as “-”.
SID History [Type = UnicodeString]: contains previous SIDs used for the object if the object was moved from another domain. Whenever an object is moved from one domain to
another, a new SID is created and becomes the objectSID. The previous SID is added to the sIDHistory property. This parameter contains the value of sIDHistory attribute of new
computer object. This parameter might not be captured in the event, and in that case appears as “-”.
Logon Hours [Type = UnicodeString]: hours that the account is allowed to logon to the domain. The value of logonHours attribute of new computer object. For computer objects,
it is optional, and typically is not set. You can change this attribute by using Active Directory Users and Computers, or through a script, for example. You will see <value not set>
value for new created computer accounts in event 4741.
DNS Host Name [Type = UnicodeString]: name of computer account as registered in DNS. The value of dNSHostName attribute of new computer object. For manually created
computer account objects this field has value “-“.
Service Principal Names [Type = UnicodeString]: The list of SPNs, registered for computer account. For new computer accounts it will typically contain HOST SPNs and
RestrictedKrbHost SPNs. The value of servicePrincipalName attribute of new computer object. For manually created computer objects it is typically equals “-“. This is an example
of Service Principal Names field for new domain joined workstation:
HOST/Win81.contoso.local
RestrictedKrbHost/Win81.contoso.local
HOST/WIN81
RestrictedKrbHost/WIN81
Additional Information:
Privileges [Type = UnicodeString]: the list of user privileges which were used during the operation, for example, SeBackupPrivilege. This parameter might not be captured in the
event, and in that case appears as “-”. See full list of user privileges in the table below:
Privilege Name User Right Group Policy Name Description
SeAssignPrimaryTokenPrivilege Replace a process-level token Required to assign the primary token of a process.
With this privilege, the user can initiate a process to replace the default token associated with a
started subprocess.
SeAuditPrivilege Generate security audits With this privilege, the user can add entries to the security log.
SeBackupPrivilege Back up files and directories Required to perform backup operations.
With this privilege, the user can bypass file and directory, registry, and other persistent object
permissions for the purposes of backing up the system.
This privilege causes the system to grant all read access control to any file, regardless of the access
control list (ACL) specified for the file. Any access request other than read is still evaluated with the
ACL. The following access rights are granted if this privilege is held:
READ_CONTROL
ACCESS_SYSTEM_SECURITY
© 2016 Microsoft. All rights reserved.
FILE_GENERIC_READ
FILE_TRAVERSE
SeChangeNotifyPrivilege Bypass traverse checking Required to receive notifications of changes to files or directories. This privilege also causes the
system to skip all traversal access checks.
With this privilege, the user can traverse directory trees even though the user may not have
permissions on the traversed directory. This privilege does not allow the user to list the contents of a
directory, only to traverse directories.
SeCreateGlobalPrivilege Create global objects Required to create named file mapping objects in the global namespace during Terminal Services
sessions.
SeCreatePagefilePrivilege Create a pagefile With this privilege, the user can create and change the size of a pagefile.
SeCreatePermanentPrivilege Create permanent shared Required to create a permanent object.
objects This privilege is useful to kernel-mode components that extend the object namespace. Components
that are running in kernel mode already have this privilege inherently; it is not necessary to assign
them the privilege.
SeCreateSymbolicLinkPrivilege Create symbolic links Required to create a symbolic link.
SeCreateTokenPrivilege Create a token object Allows a process to create a token which it can then use to get access to any local resources when the
process uses NtCreateToken() or other token-creation APIs.
When a process requires this privilege, we recommend using the LocalSystem account (which already
includes the privilege), rather than creating a separate user account and assigning this privilege to it.
SeDebugPrivilege Debug programs Required to debug and adjust the memory of a process owned by another account.
With this privilege, the user can attach a debugger to any process or to the kernel. Developers who
are debugging their own applications do not need this user right. Developers who are debugging new
system components need this user right. This user right provides complete access to sensitive and
critical operating system components.
SeEnableDelegationPrivilege Enable computer and user Required to mark user and computer accounts as trusted for delegation.
accounts to be trusted for With this privilege, the user can set the Trusted for Delegation setting on a user or computer object.
delegation The user or object that is granted this privilege must have write access to the account control flags on
the user or computer object. A server process running on a computer (or under a user context) that is
trusted for delegation can access resources on another computer using the delegated credentials of a
client, as long as the account of the client does not have the Account cannot be delegated account
control flag set.
SeImpersonatePrivilege Impersonate a client after
With this privilege, the user can impersonate other accounts.
authentication
SeIncreaseBasePriorityPrivileg Increase scheduling priority Required to increase the base priority of a process.
e With this privilege, the user can use a process with Write property access to another process to
increase the execution priority assigned to the other process. A user with this privilege can change
the scheduling priority of a process through the Task Manager user interface.
SeIncreaseQuotaPrivilege Adjust memory quotas for a Required to increase the quota assigned to a process.
© 2016 Microsoft. All rights reserved.
process With this privilege, the user can change the maximum memory that can be consumed by a process.
SeIncreaseWorkingSetPrivilege Increase a process working set Required to allocate more memory for applications that run in the context of users.
SeLoadDriverPrivilege Load and unload device drivers Required to load or unload a device driver.
With this privilege, the user can dynamically load and unload device drivers or other code in to kernel
mode. This user right does not apply to Plug and Play device drivers.
SeLockMemoryPrivilege Lock pages in memory Required to lock physical pages in memory.
With this privilege, the user can use a process to keep data in physical memory, which prevents the
system from paging the data to virtual memory on disk. Exercising this privilege could significantly
affect system performance by decreasing the amount of available random access memory (RAM).
SeMachineAccountPrivilege Add workstations to domain With this privilege, the user can create a computer account.
This privilege is valid only on domain controllers.
SeManageVolumePrivilege Perform volume maintenance
Required to run maintenance tasks on a volume, such as remote defragmentation.
tasks
SeProfileSingleProcessPrivilege Profile single process Required to gather profiling information for a single process.
With this privilege, the user can use performance monitoring tools to monitor the performance of
non-system processes.
SeRelabelPrivilege Modify an object label Required to modify the mandatory integrity level of an object.
SeRemoteShutdownPrivilege Force shutdown from a remote
Required to shut down a system using a network request.
system
SeRestorePrivilege Restore files and directories Required to perform restore operations. This privilege causes the system to grant all write access
control to any file, regardless of the ACL specified for the file. Any access request other than write is
still evaluated with the ACL. Additionally, this privilege enables you to set any valid user or group SID
as the owner of a file. The following access rights are granted if this privilege is held:
WRITE_DAC
WRITE_OWNER
ACCESS_SYSTEM_SECURITY
FILE_GENERIC_WRITE
FILE_ADD_FILE
FILE_ADD_SUBDIRECTORY
DELETE
With this privilege, the user can bypass file, directory, registry, and other persistent objects
permissions when restoring backed up files and directories and determines which users can set any
valid security principal as the owner of an object.
SeSecurityPrivilege Manage auditing and security Required to perform a number of security-related functions, such as controlling and viewing audit
log events in security event log.
With this privilege, the user can specify object access auditing options for individual resources, such
as files, Active Directory objects, and registry keys.
SAM Account Name: empty or - This field must contain the computer account name. If it is empty or -, it might indicate an anomaly.
Display Name is not - Typically these fields are - for new computer accounts. Other values might indicate an anomaly and should be
monitored.
User Principal Name is not -
AllowedToDelegateTo is not -
Password Last Set is <never> This typically means this is a manually created computer account, which you might need to monitor.
Account Expires is not <never> Typically this field is <never> for new computer accounts. Other values might indicate an anomaly and should be
monitored.
Primary Group ID is any value other than 515. Typically, the Primary Group ID value is one of the following:
If the Primary Group ID is 516 or 521, it is a new domain controller or RODC, and the event should be monitored.
Old UAC Value is not 0x0 Typically this field is 0x0 for new computer accounts. Other values might indicate an anomaly and should be
monitored.
SID History is not - This field will always be set to - unless the account was migrated from another domain.
Logon Hours value other than <value not set> This should always be <value not set> for new computer accounts.
Consider whether to track the following account control flags:
'Encrypted Text Password Allowed' – Enabled Should not be set for computer accounts. By default, it will not be set, and it cannot be set in the account
properties in Active Directory Users and Computers.
'Server Trust Account' – Enabled Should be enabled only for domain controllers.
'Don't Expire Password' – Enabled Should not be enabled for new computer accounts, because the password automatically changes every 30 days by
default. For computer accounts, this flag cannot be set in the account properties in Active Directory Users and
Computers.
'Smartcard Required' – Enabled Should not be enabled for new computer accounts.
'Trusted For Delegation' – Enabled Should not be enabled for new member servers and workstations. It is enabled by default for new domain
controllers.
'Not Delegated' – Enabled Should not be enabled for new computer accounts.
'Use DES Key Only' – Enabled Should not be enabled for new computer accounts. For computer accounts, it cannot be set in the account
properties in Active Directory Users and Computers.
'Don't Require Preauth' – Enabled Should not be enabled for new computer accounts. For computer accounts, it cannot be set in the account
properties in Active Directory Users and Computers.
'Trusted To Authenticate For Delegation' – Enabled Should not be enabled for new computer accounts by default.
© 2016 Microsoft. All rights reserved.
4742(S): A computer account was changed.
Event Description:
This event generates every time a computer object is changed.
This event generates only on domain controllers.
You might see the same values for Subject\Security ID and Computer Account That Was Changed\Security ID in this event.
This usually happens when you reboot a computer after adding it to the domain (the change takes effect after the reboot).
For each change, a separate 4742 event will be generated.
Some changes do not invoke a 4742 event, for example, changes made using Active Directory Users and Computers
management console in Managed By tab in computer account properties.
You might see this event without any changes inside, that is, where all Changed Attributes apear as “-“. This usually happens
when a change is made to an attribute that is not listed in the event. In this case there is no way to determine which attribute
was changed. For example, this would happen if you change the Description of a group object using the Active Directory Users
and Computers administrative console. Also, if the discretionary access control list (DACL) is changed, a 4742 event will
generate, but all attributes will be “-“.
Important: If you manually change any user-related setting or attribute, for example if you set the SMARTCARD_REQUIRED
flag in userAccountControl for the computer account, then the sAMAccountType of the computer account will be changed to
NORMAL_USER_ACCOUNT and you will get “4738: A user account was changed” instead of 4742 for this computer account.
Essentially, the computer account will “become” a user account. For NORMAL_USER_ACCOUNT you will always get events
from Audit User Account Management subcategory. We strongly recommend that you avoid changing any user-related
settings manually for computer objects.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4742</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13825</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-14T02:35:01.252397000Z" />
© 2016 Microsoft. All rights reserved.
<EventRecordID>171754</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1108" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ComputerAccountChange">-</Data>
<Data Name="TargetUserName">WIN81$</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-6116</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x2e80c</Data>
<Data Name="PrivilegeList">-</Data>
<Data Name="SamAccountName">-</Data>
<Data Name="DisplayName">-</Data>
<Data Name="UserPrincipalName">-</Data>
<Data Name="HomeDirectory">-</Data>
<Data Name="HomePath">-</Data>
<Data Name="ScriptPath">-</Data>
<Data Name="ProfilePath">-</Data>
<Data Name="UserWorkstations">-</Data>
<Data Name="PasswordLastSet">-</Data>
<Data Name="AccountExpires">-</Data>
<Data Name="PrimaryGroupId">-</Data>
<Data Name="AllowedToDelegateTo">%%1793</Data>
<Data Name="OldUacValue">0x80</Data>
<Data Name="NewUacValue">0x2080</Data>
<Data Name="UserAccountControl">%%2093</Data>
<Data Name="UserParameters">-</Data>
<Data Name="SidHistory">-</Data>
<Data Name="LogonHours">-</Data>
<Data Name="DnsHostName">-</Data>
<Data Name="ServicePrincipalNames">-</Data>
</EventData>
© 2016 Microsoft. All rights reserved.
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “change Computer object” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If
the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “change Computer object” operation.
Account Domain [Type = UnicodeString]: subject’s domain name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Computer Account That Was Changed:
Security ID [Type = SID]: SID of changed computer account. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be resolved, you will
see the source data in the event.
Account Name [Type = UnicodeString]: the name of the computer account that was changed. For example: WIN81$
Account Domain [Type = UnicodeString]: domain name of changed computer account. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
Changed Attributes:
If attribute was not changed it will have “-“ value.
SAM Account Name [Type = UnicodeString]: logon name for account used to support clients and servers from previous versions of Windows (pre-Windows 2000 logon name). If
the value of sAMAccountName attribute of computer object was changed, you will see the new value here. For example: WIN8$.
Display Name [Type = UnicodeString]: it is a name displayed in the address book for a particular account (typically – user account). This is usually the combination of the user's
first name, middle initial, and last name. For computer objects, it is optional, and typically is not set. You can change this attribute by using Active Directory Users and Computers,
or through a script, for example. If the value of displayName attribute of computer object was changed, you will see the new value here.
© 2016 Microsoft. All rights reserved.
User Principal Name [Type = UnicodeString]: internet-style login name for the account, based on the Internet standard RFC 822. By convention this should map to the account's
email name. If the value of userPrincipalName attribute of computer object was changed, you will see the new value here. For computer objects, it is optional, and typically is not
set. You can change this attribute by using Active Directory Users and Computers, or through a script, for example.
Home Directory [Type = UnicodeString]: user's home directory. If homeDrive attribute is set and specifies a drive letter, homeDirectory should be a UNC path. The path must be a
network UNC of the form \\Server\Share\Directory. If the value of homeDirectory attribute of computer object was changed, you will see the new value here. For computer
objects, it is optional, and typically is not set. You can change this attribute by using Active Directory Users and Computers, or through a script, for example.
Home Drive [Type = UnicodeString]: specifies the drive letter to which to map the UNC path specified by homeDirectory account’s attribute. The drive letter must be specified in
the form “DRIVE_LETTER:”. For example – “H:”. If the value of homeDrive attribute of computer object was changed, you will see the new value here. For computer objects, it is
optional, and typically is not set. You can change this attribute by using Active Directory Users and Computers, or through a script, for example.
Script Path [Type = UnicodeString]: specifies the path of the account’s logon script. If the value of scriptPath attribute of computer object was changed, you will see the new value
here. For computer objects, it is optional, and typically is not set. You can change this attribute by using Active Directory Users and Computers, or through a script, for example.
Profile Path [Type = UnicodeString]: specifies a path to the account's profile. This value can be a null string, a local absolute path, or a UNC path. If the value of profilePath
attribute of computer object was changed, you will see the new value here. For computer objects, it is optional, and typically is not set. You can change this attribute by using
Active Directory Users and Computers, or through a script, for example.
User Workstations [Type = UnicodeString]: contains the list of NetBIOS or DNS names of the computers from which the user can logon. Each computer name is separated by a
comma. The name of a computer is the sAMAccountName property of a computer object. If the value of userWorkstations attribute of computer object was changed, you will
see the new value here. For computer objects, it is optional, and typically is not set. You can change this attribute by using Active Directory Users and Computers, or through a
script, for example.
Password Last Set [Type = UnicodeString]: last time the account’s password was modified. If the value of pwdLastSet attribute of computer object was changed, you will see the
new value here. For example: 8/12/2015 11:41:39 AM. This value will be changed, for example, after manual computer account reset action or automatically every 30 days by
default for computer objects.
Account Expires [Type = UnicodeString]: the date when the account expires. If the value of accountExpires attribute of computer object was changed, you will see the new value
here. For computer objects, it is optional, and typically is not set. You can change this attribute by using Active Directory Users and Computers, or through a script, for example.
Primary Group ID [Type = UnicodeString]: Relative Identifier (RID) of computer’s object primary group.
Relative identifier (RID) is a variable length number that is assigned to objects at creation and becomes part of the object's Security Identifier (SID) that uniquely identifies an
account or group within a domain.
This field will contain some value if computer’s object primary group was changed. You can change computer’s primary group using Active Directory Users and Computers
management console in the Member Of tab of computer object properties. You will see a RID of new primary group as a field value. For example, 515 (Domain Computers) for
workstations, is a default primary group.
Typical Primary Group values for computer accounts:
o 516 (Domain Controllers) – for domain controllers.
o 521 (Read-only Domain Controllers) – read-only domain controllers (RODC).
o 515 (Domain Computers) – servers and workstations.
See this article https://support.microsoft.com/en-us/kb/243330 for more information. If the value of primaryGroupID attribute of computer object was changed, you will see the
new value here.
'Password Not Required' – Enabled Should not be set for computer accounts. Computer accounts typically require a password by default, except
manually created computer objects.
'Encrypted Text Password Allowed' – Enabled Should not be set for computer accounts. By default, it will not be set, and it cannot be set in the account
properties in Active Directory Users and Computers.
'Server Trust Account' – Enabled Should be enabled only for domain controllers.
'Server Trust Account' – Disabled Should not be disabled for domain controllers.
'Don't Expire Password' – Enabled Should not be enabled for computer accounts, because the password automatically changes every 30 days by
default. For computer accounts, this flag cannot be set in the account properties in Active Directory Users and
Computers.
'Trusted For Delegation' – Enabled Means that Kerberos Constraint or Unconstraint delegation was enabled for the computer account. We
recommend monitoring this to discover whether it is an approved action (done by an administrator), a mistake, or
a malicious action.
'Trusted For Delegation' – Disabled Means that Kerberos Constraint or Unconstraint delegation was disabled for the computer account. We
recommend monitoring this to discover whether it is an approved action (done by an administrator), a mistake, or
a malicious action.
Also, if you have a list of computer accounts for which delegation is critical and should not be disabled, monitor
this for those accounts.
'Trusted To Authenticate For Delegation' – Enabled Means that Protocol Transition delegation was enabled for the computer account. We recommend monitoring this
to discover whether it is an approved action (done by an administrator), a mistake, or a malicious action.
'Trusted To Authenticate For Delegation' – Disabled Means that Protocol Transition delegation was disabled for the computer account. We recommend monitoring
this to discover whether it is an approved action (done by an administrator), a mistake, or a malicious action.
Also, if you have a list of computer accounts for which delegation is critical and should not be disabled, monitor
this for those accounts.
'Not Delegated' – Enabled Means that Account is sensitive and cannot be delegated was selected for the computer account. For computer
accounts, this flag cannot be set using the graphical interface. We recommend monitoring this to discover
whether it is an approved action (done by an administrator), a mistake, or a malicious action.
'Use DES Key Only' – Enabled Should not be enabled for computer accounts. For computer accounts, it cannot be set in the account properties
in Active Directory Users and Computers.
'Don't Require Preauth' - Enabled Should not be enabled for computer accounts. For computer accounts, it cannot be set in the account properties
in Active Directory Users and Computers.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4743</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13825</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-14T15:57:08.104214100Z" />
<EventRecordID>172103</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1108" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">COMPUTERACCOUNT$</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-6118</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3007b</Data>
<Data Name="PrivilegeList">-</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
© 2016 Microsoft. All rights reserved.
Subject:
Security ID [Type = SID]: SID of account that requested the “delete Computer object” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If
the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “delete Computer object” operation.
Account Domain [Type = UnicodeString]: subject’s domain name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Target Computer:
Security ID [Type = SID]: SID of deleted computer account. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be resolved, you will see
the source data in the event.
Account Name [Type = UnicodeString]: the name of the computer account that was deleted. For example: WIN81$
Account Domain [Type = UnicodeString]: domain name of deleted computer account. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
Additional Information:
Privileges [Type = UnicodeString]: the list of user privileges which were used during the operation, for example, SeBackupPrivilege. This parameter might not be captured in the
event, and in that case appears as “-”. See full list of user privileges in “Table 8. User Privileges.”.
Security Monitoring Recommendations:
For 4743(S): A computer account was deleted.
Appendix A: Security monitoring recommendations for many audit events
If you have critical domain computer accounts (database servers, domain controllers, administration workstations, and so on) for which you need to monitor each action
(especially deletion), monitor this event with the “Target Computer\Security ID” or “Target Computer\Account Name” that corresponds to the high-value account or accounts.
Events List:
4749(S): A security-disabled global group was created.
4750(S): A security-disabled global group was changed.
4751(S): A member was added to a security-disabled global group.
4752(S): A member was removed from a security-disabled global group.
4753(S): A security-disabled global group was deleted.
4759(S): A security-disabled universal group was created.
4760(S): A security-disabled universal group was changed.
4761(S): A member was added to a security-disabled universal group.
4762(S): A member was removed from a security-disabled universal group.
4763(S): A security-disabled universal group was deleted.
4744(S): A security-disabled local group was created.
4745(S): A security-disabled local group was changed.
4746(S): A member was added to a security-disabled local group.
4747(S): A member was removed from a security-disabled local group.
© 2016 Microsoft. All rights reserved.
4748(S): A security-disabled local group was deleted.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4749</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13827</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-14T16:16:35.568878700Z" />
<EventRecordID>172181</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1108" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">ServiceDesk</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-6119</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3007b</Data>
<Data Name="PrivilegeList">-</Data>
<Data Name="SamAccountName">ServiceDesk</Data>
<Data Name="SidHistory">-</Data>
© 2016 Microsoft. All rights reserved.
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “create group” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “create group” operation.
Account Domain [Type = UnicodeString]: subject’s domain name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Group:
Security ID [Type = SID]: SID of created group. Event Viewer automatically tries to resolve SIDs and show the group name. If the SID cannot be resolved, you will see the source
data in the event.
Group Name [Type = UnicodeString]: the name of the group that was created. For example: ServiceDesk
Group Domain [Type = UnicodeString]: domain name of created group. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
Attributes:
SAM Account Name [Type = UnicodeString]: This is a name of new group used to support clients and servers from previous versions of Windows (pre-Windows 2000 logon
name). The value of sAMAccountName attribute of new group object. For example: ServiceDesk
SID History [Type = UnicodeString]: contains previous SIDs used for the object if the object was moved from another domain. Whenever an object is moved from one domain to
another, a new SID is created and becomes the objectSID. The previous SID is added to the sIDHistory property. This parameter contains the value of sIDHistory attribute of new
group object. This parameter might not be captured in the event, and in that case appears as “-”.
Additional Information:
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4750</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13827</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-14T16:38:37.902710700Z" />
© 2016 Microsoft. All rights reserved.
<EventRecordID>172188</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1108" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">ServiceDeskMain</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-6119</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3007b</Data>
<Data Name="PrivilegeList">-</Data>
<Data Name="SamAccountName">ServiceDeskMain</Data>
<Data Name="SidHistory">-</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “change group” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “change group” operation.
Account Domain [Type = UnicodeString]: subject’s domain name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
© 2016 Microsoft. All rights reserved.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Group:
Security ID [Type = SID]: SID of changed group. Event Viewer automatically tries to resolve SIDs and show the group name. If the SID cannot be resolved, you will see the source
data in the event.
Sometimes you can see the Group\Security ID field contains an old group name in Event Viewer (as you can see in the event example). That happens because Event Viewer
caches names for SIDs that it has already resolved for the current session.
Security ID field has the same value as new group name (Changed Attributes>SAM Account Name). That is happens because event is generated after name was changed and
SID resolves to the new name. It is always better to use SID instead of group names for queries or filtering of events, because you will know for sure that this the right object
you are looking for or want to monitor.
Group Name [Type = UnicodeString]: the name of the group that was changed. For example: ServiceDesk
Group Domain [Type = UnicodeString]: domain name of changed group. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o Built-in groups: Builtin
Changed Attributes:
If attribute was not changed it will have “-“ value.
You might see a 4750 event without any changes inside, that is, where all Changed Attributes apear as “-“. This usually happens when a change is made to an attribute that is
not listed in the event. In this case there is no way to determine which attribute was changed. For example, this would happen if you change the Description of a group object
using the Active Directory Users and Computers administrative console. Also, if the discretionary access control list (DACL) is changed, a 4750 event will generate, but all
attributes will be “-“.
SAM Account Name [Type = UnicodeString]: This is a new name of changed group used to support clients and servers from previous versions of Windows (pre-Windows 2000
logon name). If the value of sAMAccountName attribute of group object was changed, you will see the new value here. For example: ServiceDesk.
SID History [Type = UnicodeString]: contains previous SIDs used for the object if the object was moved from another domain. Whenever an object is moved from one domain to
another, a new SID is created and becomes the objectSID. The previous SID is added to the sIDHistory property. If the value of sIDHistory attribute of group object was changed,
you will see the new value here.
Additional Information:
Privileges [Type = UnicodeString]: the list of user privileges which were used during the operation, for example, SeBackupPrivilege. This parameter might not be captured in the
event, and in that case appears as “-”. See full list of user privileges in “Table 8. User Privileges.”.
Security Monitoring Recommendations:
For 4750(S): A security-disabled global group was changed.
© 2016 Microsoft. All rights reserved.
Appendix A: Security monitoring recommendations for many audit events
If you have a list of critical distribution groups in the organization, and need to specifically monitor these groups for any change, monitor events with the “Group\Group Name”
values that correspond to the critical distribution groups.
If you need to monitor each time a member is added to a distribution group, to see who added the member and when, monitor this event. Typically, this event is used as an
informational event, to be reviewed if needed.
If your organization has naming conventions for account names, monitor “Attributes\SAM Account Name” for names that don’t comply with the naming conventions.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4751</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13827</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-15T00:01:10.821144700Z" />
<EventRecordID>172221</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1108" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="MemberName">CN=Auditor,CN=Users,DC=contoso,DC=local</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="MemberSid">S-1-5-21-3457937927-2839227994-823803824-2104</Data>
<Data Name="TargetUserName">ServiceDeskSecond</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-6119</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3007b</Data>
<Data Name="PrivilegeList">-</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “add member to the group” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If
the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “add member to the group” operation.
Account Domain [Type = UnicodeString]: subject’s domain name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Member:
Security ID [Type = SID]: SID of account that was added to the group. Event Viewer automatically tries to resolve SIDs and show the group name. If the SID cannot be resolved,
you will see the source data in the event.
Account Name [Type = UnicodeString]: distinguished name of account that was added to the group. For example: “CN=Auditor,CN=Users,DC=contoso,DC=local”. For some well-
known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “-”.
The LDAP API references an LDAP object by its distinguished name (DN). A DN is a sequence of relative distinguished names (RDN) connected by commas.
DC - domainComponent
CN - commonName
OU - organizationalUnitName
O - organizationName
Group:
Security ID [Type = SID]: SID of the group to which new member was added. Event Viewer automatically tries to resolve SIDs and show the group name. If the SID cannot be
resolved, you will see the source data in the event.
Group Name [Type = UnicodeString]: the name of the group to which new member was added. For example: ServiceDesk
Group Domain [Type = UnicodeString]: domain name of the group to which new member was added. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o Built-in groups: Builtin
Additional Information:
Privileges [Type = UnicodeString]: the list of user privileges which were used during the operation, for example, SeBackupPrivilege. This parameter might not be captured in the
event, and in that case appears as “-”. See full list of user privileges in “Table 8. User Privileges.”.
Security Monitoring Recommendations:
For 4751(S): A member was added to a security-disabled global group.
High-value distribution groups: You might have a list of critical distribution groups in the Monitor this event with the “Group\Group Name” values that correspond to the high-
organization, and need to specifically monitor these groups for the addition of new value distribution groups.
members (or for other changes).
High-value accounts: You might have high-value domain or local accounts for which you Monitor this event with the “Subject\Security ID” and “Member\Security ID” that
need to monitor each action. correspond to the high-value account or accounts.
Examples of high-value accounts are database administrators, built-in local administrator
account, domain administrators, service accounts, domain controller accounts and so on.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “Subject\Security ID” and “Member\Security ID” that
accounts that should never be used. correspond to the accounts that should never be used.
Account whitelist: You might have a specific whitelist of accounts that are the only ones If this event corresponds to a “whitelist-only” action, review the “Subject\Security ID” for
allowed to perform actions corresponding to particular events. accounts that are outside the whitelist.
Accounts of different types: You might want to ensure that certain actions are performed If this event corresponds to an action you want to monitor for certain account types,
only by certain account types, for example, local or domain account, machine or user review the “Subject\Security ID” to see whether the account type is as expected.
account, vendor or employee account, and so on.
External accounts: You might be monitoring accounts from another domain, or “external” Monitor this event for the “Subject\Account Domain” corresponding to accounts from
accounts that are not allowed to perform certain actions (represented by certain specific another domain or “external” accounts.
events).
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the
devices on which certain people (accounts) should not typically perform any actions. “Subject\Security ID” that you are concerned about.
Account naming conventions: Your organization might have specific naming conventions Monitor “Subject\Account Name” for names that don’t comply with naming conventions.
for account names.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
© 2016 Microsoft. All rights reserved.
<EventID>4752</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13827</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-15T00:20:57.315863900Z" />
<EventRecordID>172229</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1108" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="MemberName">CN=Auditor,CN=Users,DC=contoso,DC=local</Data>
<Data Name="MemberSid">S-1-5-21-3457937927-2839227994-823803824-2104</Data>
<Data Name="TargetUserName">ServiceDeskSecond</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-6119</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3007b</Data>
<Data Name="PrivilegeList">-</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “remove member from the group” operation. Event Viewer automatically tries to resolve SIDs and show the account
name. If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
DC - domainComponent
CN - commonName
OU - organizationalUnitName
O - organizationName
Group:
Security ID [Type = SID]: SID of the group from which the member was removed. Event Viewer automatically tries to resolve SIDs and show the group name. If the SID cannot be
resolved, you will see the source data in the event.
Group Name [Type = UnicodeString]: the name of the group from which the member was removed. For example: ServiceDesk
Group Domain [Type = UnicodeString]: domain name of the group from which the member was removed. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o Built-in groups: Builtin
Additional Information:
Privileges [Type = UnicodeString]: the list of user privileges which were used during the operation, for example, SeBackupPrivilege. This parameter might not be captured in the
event, and in that case appears as “-”. See full list of user privileges in “Table 8. User Privileges.”.
High-value distribution groups: You might have a list of critical distribution groups in the Monitor this event with the “Group\Group Name” values that correspond to the high-
organization, and need to specifically monitor these groups for the removal of members value distribution groups.
(or for other changes).
Distribution groups with required members: You might need to ensure that for certain Monitor this event with the “Group\Group Name” that corresponds to the group of
distribution groups, particular members are never removed. interest, and the “Member\Security ID” of the members who should not be removed.
High-value accounts: You might have high-value domain or local accounts for which you Monitor this event with the “Subject\Security ID” and “Member\Security ID” that
need to monitor each action. correspond to the high-value account or accounts.
Examples of high-value accounts are database administrators, built-in local administrator
account, domain administrators, service accounts, domain controller accounts and so on.
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “Subject\Security ID” (with
anomalies or monitoring potential malicious actions. For example, you might need to other information) to monitor how or when a particular account is being used.
monitor for use of an account outside of working hours.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “Subject\Security ID” and “Member\Security ID” that
accounts that should never be used. correspond to the accounts that should never be used.
Account whitelist: You might have a specific whitelist of accounts that are the only ones If this event corresponds to a “whitelist-only” action, review the “Subject\Security ID” for
allowed to perform actions corresponding to particular events. accounts that are outside the whitelist.
Accounts of different types: You might want to ensure that certain actions are performed If this event corresponds to an action you want to monitor for certain account types,
only by certain account types, for example, local or domain account, machine or user review the “Subject\Security ID” to see whether the account type is as expected.
account, vendor or employee account, and so on.
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the
devices on which certain people (accounts) should not typically perform any actions. “Subject\Security ID” that you are concerned about.
Account naming conventions: Your organization might have specific naming conventions Monitor “Subject\Account Name” for names that don’t comply with naming conventions.
for account names.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4753</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13827</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-15T00:59:33.621155200Z" />
<EventRecordID>172230</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1504" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
© 2016 Microsoft. All rights reserved.
<Data Name="TargetUserName">ServiceDeskSecond</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-6119</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3007b</Data>
<Data Name="PrivilegeList">-</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “delete group” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “delete group” operation.
Account Domain [Type = UnicodeString]: subject’s domain name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Group:
Security ID [Type = SID]: SID of deleted group. Event Viewer automatically tries to resolve SIDs and show the group name. If the SID cannot be resolved, you will see the source
data in the event.
Group Name [Type = UnicodeString]: the name of the group that was deleted. For example: ServiceDesk
Group Domain [Type = UnicodeString]: domain name of deleted group. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
© 2016 Microsoft. All rights reserved.
o Built-in groups: Builtin
Additional Information:
Privileges [Type = UnicodeString]: the list of user privileges which were used during the operation, for example, SeBackupPrivilege. This parameter might not be captured in the
event, and in that case appears as “-”. See full list of user privileges in “Table 8. User Privileges.”.
Security Monitoring Recommendations:
For 4753(S): A security-disabled global group was deleted.
Appendix A: Security monitoring recommendations for many audit events
If you have a list of critical distribution groups in the organization, and need to specifically monitor these groups for any change, especially group deletion, monitor events with
the “Group\Group Name” values that correspond to the critical distribution groups.
If you need to monitor each time a distribution group is deleted, to see who deleted it and when, monitor this event. Typically, this event is used as an informational event, to be
reviewed if needed.
Events List:
4782(S): The password hash an account was accessed.
4793(S): The Password Policy Checking API was called.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4793</EventID>
Typically this is an informational event, and can give you information about when Password Policy Checking APIs were invoked, and who invoked them. The Provided Account
Name does not always have a value—sometimes it’s not really possible to determine for which account the password policy check was performed.
Events List:
4727(S): A security-enabled global group was created.
4737(S): A security-enabled global group was changed.
4728(S): A member was added to a security-enabled global group.
4729(S): A member was removed from a security-enabled global group.
4730(S): A security-enabled global group was deleted.
4731(S): A security-enabled local group was created.
4732(S): A member was added to a security-enabled local group.
4733(S): A member was removed from a security-enabled local group.
4734(S): A security-enabled local group was deleted.
4735(S): A security-enabled local group was changed.
© 2016 Microsoft. All rights reserved.
4754(S): A security-enabled universal group was created.
4755(S): A security-enabled universal group was changed.
4756(S): A member was added to a security-enabled universal group.
4757(S): A member was removed from a security-enabled universal group.
4758(S): A security-enabled universal group was deleted.
4764(S): A group’s type was changed.
4799(S): A security-enabled local group membership was enumerated.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4731</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13826</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-19T01:01:50.646049700Z" />
<EventRecordID>174849</EventRecordID>
<Correlation />
<Execution ProcessID="512" ThreadID="1092" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">AccountOperators</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-6605</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3031e</Data>
<Data Name="PrivilegeList">-</Data>
<Data Name="SamAccountName">AccountOperators</Data>
<Data Name="SidHistory">-</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
© 2016 Microsoft. All rights reserved.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “create group” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “create group” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
New Group:
Security ID [Type = SID]: SID of created group. Event Viewer automatically tries to resolve SIDs and show the group name. If the SID cannot be resolved, you will see the source
data in the event.
Group Name [Type = UnicodeString]: the name of the group that was created. For example: ServiceDesk
Group Domain [Type = UnicodeString]: domain or computer name of the created group. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For a local group, this field will contain the name of the computer to which this new group belongs, for example: “Win81”.
Attributes:
SAM Account Name [Type = UnicodeString]: This is a name of new group used to support clients and servers from previous versions of Windows (pre-Windows 2000 logon
name). The value of sAMAccountName attribute of new group object. For example: ServiceDesk. For local groups it is simply a name of new group.
SID History [Type = UnicodeString]: contains previous SIDs used for the object if the object was moved from another domain. Whenever an object is moved from one domain to
another, a new SID is created and becomes the objectSID. The previous SID is added to the sIDHistory property. This parameter contains the value of sIDHistory attribute of new
group object. This parameter might not be captured in the event, and in that case appears as “-”. For local groups it is not applicable and always has “-“ value.
Additional Information:
Privileges [Type = UnicodeString]: the list of user privileges which were used during the operation, for example, SeBackupPrivilege. This parameter might not be captured in the
event, and in that case appears as “-”. See full list of user privileges in “Table 8. User Privileges.”.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4732</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13826</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-19T03:02:38.563110400Z" />
<EventRecordID>174856</EventRecordID>
<Correlation />
<Execution ProcessID="512" ThreadID="1092" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
© 2016 Microsoft. All rights reserved.
<Data Name="MemberName">CN=eadmin,CN=Users,DC=contoso,DC=local</Data>
<Data Name="MemberSid">S-1-5-21-3457937927-2839227994-823803824-500</Data>
<Data Name="TargetUserName">AccountOperators</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-6605</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3031e</Data>
<Data Name="PrivilegeList">-</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “add member to the group” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If
the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “add member to the group” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Member:
Security ID [Type = SID]: SID of account that was added to the group. Event Viewer automatically tries to resolve SIDs and show the group name. If the SID cannot be resolved,
you will see the source data in the event.
High-value local or domain security groups: You might have a list of critical local or Monitor this event with the “Group\Group Name” values that correspond to the high-
domain security groups in the organization, and need to specifically monitor these groups value local or domain security groups.
for the addition of new members (or for other changes).
Examples of critical local or domain groups are built-in local administrators group, domain
admins, enterprise admins, and so on.
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “Subject\Security ID” (with
anomalies or monitoring potential malicious actions. For example, you might need to other information) to monitor how or when a particular account is being used.
monitor for use of an account outside of working hours.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “Subject\Security ID” and “Member\Security ID” that
accounts that should never be used. correspond to the accounts that should never be used.
Account whitelist: You might have a specific whitelist of accounts that are the only ones If this event corresponds to a “whitelist-only” action, review the “Subject\Security ID” for
allowed to perform actions corresponding to particular events. accounts that are outside the whitelist.
Accounts of different types: You might want to ensure that certain actions are performed If this event corresponds to an action you want to monitor for certain account types,
only by certain account types, for example, local or domain account, machine or user review the “Subject\Security ID” to see whether the account type is as expected.
account, vendor or employee account, and so on.
External accounts: You might be monitoring accounts from another domain, or “external” Monitor this event for the “Subject\Account Domain” corresponding to accounts from
accounts that are not allowed to perform certain actions (represented by certain specific another domain or “external” accounts.
events).
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the
devices on which certain people (accounts) should not typically perform any actions. “Subject\Security ID” that you are concerned about.
Account naming conventions: Your organization might have specific naming conventions Monitor “Subject\Account Name” for names that don’t comply with naming conventions.
for account names.
Mismatch between type of account (user or computer) and the group it was added to: Monitor the type of account added to the group to see if it matches what the group is
You might want to monitor to ensure that a computer account was not added to a group intended for.
intended for users, or a user account was not added to a group intended for computers.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4733</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13826</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-19T16:51:00.376806500Z" />
<EventRecordID>175037</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1524" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="MemberName">CN=Auditor,CN=Users,DC=contoso,DC=local</Data>
<Data Name="MemberSid">S-1-5-21-3457937927-2839227994-823803824-2104</Data>
<Data Name="TargetUserName">AccountOperators</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-6605</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x35e38</Data>
<Data Name="PrivilegeList">-</Data>
</EventData>
</Event>
Required Server Roles: None.
© 2016 Microsoft. All rights reserved.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “remove member from the group” operation. Event Viewer automatically tries to resolve SIDs and show the account
name. If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “remove member from the group” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Member:
Security ID [Type = SID]: SID of account that was removed from the group. Event Viewer automatically tries to resolve SIDs and show the group name. If the SID cannot be
resolved, you will see the source data in the event.
Account Name [Type = UnicodeString]: distinguished name of account that was removed from the group. For example: “CN=Auditor,CN=Users,DC=contoso,DC=local”. For local
groups this field typically has “-“ value, even if removed member is a domain account. For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON,
the value of this field is “-”.
The LDAP API references an LDAP object by its distinguished name (DN). A DN is a sequence of relative distinguished names (RDN) connected by commas.
An RDN is an attribute with an associated value in the form attribute=value; . These are examples of RDNs attributes:
DC - domainComponent
CN - commonName
OU - organizationalUnitName
O - organizationName
Group:
Security ID [Type = SID]: SID of the group from which the member was removed. Event Viewer automatically tries to resolve SIDs and show the group name. If the SID cannot be
resolved, you will see the source data in the event.
Group Name [Type = UnicodeString]: the name of the group from which the member was removed. For example: ServiceDesk
© 2016 Microsoft. All rights reserved.
Group Domain [Type = UnicodeString]: domain or computer name of the group from which the member was removed. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For a local group, this field will contain the name of the computer to which this new group belongs, for example: “Win81”.
o Built-in groups: Builtin
Additional Information:
Privileges [Type = UnicodeString]: the list of user privileges which were used during the operation, for example, SeBackupPrivilege. This parameter might not be captured in the
event, and in that case appears as “-”. See full list of user privileges in “Table 8. User Privileges.”.
Security Monitoring Recommendations:
For 4733(S): A member was removed from a security-enabled local group.
High-value local or domain security groups: You might have a list of critical local or Monitor this event with the “Group\Group Name” values that correspond to the high-
domain security groups in the organization, and need to specifically monitor these groups value local or domain security groups.
for the removal of members (or for other changes).
Examples of critical local or domain groups are built-in local administrators group, domain
admins, enterprise admins, and so on.
Local or domain security groups with required members: You might need to ensure that Monitor this event with the “Group\Group Name” that corresponds to the group of
for certain local or domain security groups, particular members are never removed. interest, and the “Member\Security ID” of the members who should not be removed.
High-value accounts: You might have high-value domain or local accounts for which you Monitor this event with the “Subject\Security ID” and “Member\Security ID” that
need to monitor each action. correspond to the high-value account or accounts.
Examples of high-value accounts are database administrators, built-in local administrator
account, domain administrators, service accounts, domain controller accounts and so on.
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “Subject\Security ID” (with
anomalies or monitoring potential malicious actions. For example, you might need to other information) to monitor how or when a particular account is being used.
monitor for use of an account outside of working hours.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “Subject\Security ID” and “Member\Security ID” that
© 2016 Microsoft. All rights reserved.
accounts that should never be used. correspond to the accounts that should never be used.
Account whitelist: You might have a specific whitelist of accounts that are the only ones If this event corresponds to a “whitelist-only” action, review the “Subject\Security ID” for
allowed to perform actions corresponding to particular events. accounts that are outside the whitelist.
Accounts of different types: You might want to ensure that certain actions are performed If this event corresponds to an action you want to monitor for certain account types,
only by certain account types, for example, local or domain account, machine or user review the “Subject\Security ID” to see whether the account type is as expected.
account, vendor or employee account, and so on.
External accounts: You might be monitoring accounts from another domain, or “external” Monitor this event for the “Subject\Account Domain” corresponding to accounts from
accounts that are not allowed to perform certain actions (represented by certain specific another domain or “external” accounts.
events).
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the
devices on which certain people (accounts) should not typically perform any actions. “Subject\Security ID” that you are concerned about.
Account naming conventions: Your organization might have specific naming conventions Monitor “Subject\Account Name” for names that don’t comply with naming conventions.
for account names.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4734</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13826</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
© 2016 Microsoft. All rights reserved.
<TimeCreated SystemTime="2015-08-19T18:23:42.426245700Z" />
<EventRecordID>175039</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1072" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">AccountOperators</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-6605</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x35e38</Data>
<Data Name="PrivilegeList">-</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “delete group” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “delete group” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
© 2016 Microsoft. All rights reserved.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Group:
Security ID [Type = SID]: SID of deleted group. Event Viewer automatically tries to resolve SIDs and show the group name. If the SID cannot be resolved, you will see the source
data in the event.
Group Name [Type = UnicodeString]: the name of the group that was deleted. For example: ServiceDesk
Group Domain [Type = UnicodeString]: domain or computer name of the deleted group. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For a local group, this field will contain the name of the computer to which this new group belongs, for example: “Win81”.
o Built-in groups: Builtin
Additional Information:
Privileges [Type = UnicodeString]: the list of user privileges which were used during the operation, for example, SeBackupPrivilege. This parameter might not be captured in the
event, and in that case appears as “-”. See full list of user privileges in “Table 8. User Privileges.”.
Security Monitoring Recommendations:
For 4734(S): A security-enabled local group was deleted.
Appendix A: Security monitoring recommendations for many audit events
If you have a list of critical local or domain security groups in the organization, and need to specifically monitor these groups for any change, especially group deletion, monitor
events with the “Group\Group Name” values that correspond to the critical local or domain security groups.
Examples of critical local or domain groups are built-in local administrators group, domain admins, enterprise
admins, and so on.
If you need to monitor each time a local or domain security group is deleted, to see who deleted it and when,
monitor this event. Typically, this event is used as an informational event, to be reviewed if needed.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4735</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13826</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-19T02:00:45.537440000Z" />
<EventRecordID>174850</EventRecordID>
<Correlation />
<Execution ProcessID="512" ThreadID="1092" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">AccountOperators_NEW</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-6605</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3031e</Data>
<Data Name="PrivilegeList">-</Data>
<Data Name="SamAccountName">AccountOperators_NEW</Data>
<Data Name="SidHistory">-</Data>
</EventData>
© 2016 Microsoft. All rights reserved.
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “change group” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “change group” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Group:
Security ID [Type = SID]: SID of changed group. Event Viewer automatically tries to resolve SIDs and show the group name. If the SID cannot be resolved, you will see the source
data in the event.
Sometimes you can see the Group\Security ID field contains an old group name in Event Viewer (as you can see in the event example). That happens because Event Viewer
caches names for SIDs that it has already resolved for the current session.
Security ID field has the same value as new group name (Changed Attributes>SAM Account Name). That is happens because event is generated after name was changed and
SID resolves to the new name. It is always better to use SID instead of group names for queries or filtering of events, because you will know for sure that this the right object
you are looking for or want to monitor.
Group Name [Type = UnicodeString]: the name of the group that was changed. For example: ServiceDesk
Group Domain [Type = UnicodeString]: domain or computer name of the changed group. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
© 2016 Microsoft. All rights reserved.
o For a local group, this field will contain the name of the computer to which this new group belongs, for example: “Win81”.
o Built-in groups: Builtin
Changed Attributes:
If attribute was not changed it will have “-“ value.
You might see a 4735 event without any changes inside, that is, where all Changed Attributes apear as “-“. This usually happens when a change is made to an attribute that is
not listed in the event. In this case there is no way to determine which attribute was changed. For example, this would happen if you change the Description of a group object
using the Active Directory Users and Computers administrative console. Also, if the discretionary access control list (DACL) is changed, a 4735 event will generate, but all
attributes will be “-“.
SAM Account Name [Type = UnicodeString]: This is a new name of changed group used to support clients and servers from previous versions of Windows (pre-Windows 2000
logon name). If the value of sAMAccountName attribute of group object was changed, you will see the new value here. For example: ServiceDesk. For local groups it is simply a
new name of the group, if it was changed.
SID History [Type = UnicodeString]: contains previous SIDs used for the object if the object was moved from another domain. Whenever an object is moved from one domain to
another, a new SID is created and becomes the objectSID. The previous SID is added to the sIDHistory property. If the value of sIDHistory attribute of group object was changed,
you will see the new value here. For local groups it is not applicable and always has “-“ value.
Additional Information:
Privileges [Type = UnicodeString]: the list of user privileges which were used during the operation, for example, SeBackupPrivilege. This parameter might not be captured in the
event, and in that case appears as “-”. See full list of user privileges in “Table 8. User Privileges.”.
Security Monitoring Recommendations:
For 4735(S): A security-enabled local group was changed.
Appendix A: Security monitoring recommendations for many audit events
If you have a list of critical local or domain security groups in the organization, and need to specifically monitor these groups for any change, monitor events with the
“Group\Group Name” values that correspond to the critical local or domain security groups.
If you need to monitor each time a member is added to a local or domain security group, to see who added the member and when, monitor this event. Typically, this event is
used as an informational event, to be reviewed if needed.
If your organization has naming conventions for account names, monitor “Attributes\SAM Account Name” for names that don’t comply with the naming conventions.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-
3E3B0328C30D}" />
<EventID>4764</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13826</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-20T00:25:33.459568000Z" />
<EventRecordID>175221</EventRecordID>
© 2016 Microsoft. All rights reserved.
<Correlation />
<Execution ProcessID="516" ThreadID="1072" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="GroupTypeChange">Security Enabled Local Group Changed to Security Disabled Local Group.</Data>
<Data Name="TargetUserName">CompanyAuditors</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-6608</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x38200</Data>
<Data Name="PrivilegeList">-</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “change group type” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “change group type” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4799</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13826</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-12T03:50:23.625407600Z" />
<EventRecordID>685</EventRecordID>
<Correlation ActivityID="{CBAEDE08-1CF0-0000-50DE-AECBF01CD101}" />
<Execution ProcessID="744" ThreadID="188" />
<Channel>Security</Channel>
<Computer>WIN10-1.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">Administrators</Data>
<Data Name="TargetDomainName">Builtin</Data>
<Data Name="TargetSid">S-1-5-32-544</Data>
<Data Name="SubjectUserSid">S-1-5-21-1377283216-344919071-3415362939-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x72d9d</Data>
<Data Name="CallerProcessId">0xc80</Data>
<Data Name="CallerProcessName">C:\Windows\System32\mmc.exe</Data>
</EventData>
</Event>
Required Server Roles: none.
Minimum OS Version: Windows Server 2016, Windows 10.
Event Versions: 0.
© 2016 Microsoft. All rights reserved.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “enumerate security-enabled local group members” operation. Event Viewer automatically tries to resolve SIDs and
show the account name. If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “enumerate security-enabled local group members” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Group:
Security ID [Type = SID]: SID of the group which members were enumerated. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
Group Name [Type = UnicodeString]: the name of the group which members were enumerated.
Group Domain [Type = UnicodeString]: group’s domain or computer name. Formats vary, and include the following:
o For Builtin groups this field has “Builtin” value.
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For a local group, this field will contain the name of the computer to which this group belongs, for example: “Win81”.
Process Information:
Process ID [Type = Pointer]: hexadecimal Process ID of the process that enumerated the members of the group. Process ID (PID) is a number used by the operating system to
uniquely identify an active process. To see the PID for a specific process you can, for example, use Task Manager (Details tab, PID column):
Events List:
4720(S): A user account was created.
4722(S): A user account was enabled.
4723(S, F): An attempt was made to change an account's password.
4724(S, F): An attempt was made to reset an account's password.
4725(S): A user account was disabled.
4726(S): A user account was deleted.
4738(S): A user account was changed.
4740(S): A user account was locked out.
4765(S): SID History was added to an account.
4766(F): An attempt to add SID History to an account failed.
© 2016 Microsoft. All rights reserved.
4767(S): A user account was unlocked.
4780(S): The ACL was set on accounts which are members of administrators groups.
4781(S): The name of an account was changed.
4794(S, F): An attempt was made to set the Directory Services Restore Mode administrator password.
4798(S): A user's local group membership was enumerated.
5376(S): Credential Manager credentials were backed up.
5377(S): Credential Manager credentials were restored from a backup.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4720</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13824</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-20T16:22:02.759912000Z" />
<EventRecordID>175408</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1508" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">ksmith</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-6609</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x30dc2</Data>
<Data Name="PrivilegeList">-</Data>
<Data Name="SamAccountName">ksmith</Data>
<Data Name="DisplayName">Ken Smith</Data>
<Data Name="UserPrincipalName">[email protected]</Data>
<Data Name="HomeDirectory">-</Data>
<Data Name="HomePath">-</Data>
<Data Name="ScriptPath">-</Data>
<Data Name="ProfilePath">-</Data>
<Data Name="UserWorkstations">-</Data>
<Data Name="PasswordLastSet">%%1794</Data>
<Data Name="AccountExpires">%%1794</Data>
<Data Name="PrimaryGroupId">513</Data>
<Data Name="AllowedToDelegateTo">-</Data>
<Data Name="OldUacValue">0x0</Data>
<Data Name="NewUacValue">0x15</Data>
<Data Name="UserAccountControl">%%2080 %%2082 %%2084</Data>
<Data Name="UserParameters">-</Data>
<Data Name="SidHistory">-</Data>
<Data Name="LogonHours">%%1793</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “create user account” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “create user account” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
© 2016 Microsoft. All rights reserved.
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
New Account:
Security ID [Type = SID]: SID of created user account. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be resolved, you will see the
source data in the event.
Account Name [Type = UnicodeString]: the name of the user account that was created. For example: dadmin.
Account Domain [Type = UnicodeString]: domain name of created user account. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For local accounts, this field will contain the name of the computer to which this new account belongs, for example: “Win81”.
Attributes:
SAM Account Name [Type = UnicodeString]: logon name for account used to support clients and servers from previous versions of Windows (pre-Windows 2000 logon name).
The value of sAMAccountName attribute of new user object. For example: ksmith. For local account this field contains the name of new user account.
Display Name [Type = UnicodeString]: the value of displayName attribute of new user object. It is a name displayed in the address book for a particular account .This is usually
the combination of the user's first name, middle initial, and last name. For example, Ken Smith. You can change this attribute by using Active Directory Users and Computers, or
through a script, for example. Local accounts contain Full Name attribute in this field, but for new local accounts this field typically has value “<value not set>”.
User Principal Name [Type = UnicodeString]: internet-style login name for the account, based on the Internet standard RFC 822. By convention this should map to the account's
email name. This parameter contains the value of userPrincipalName attribute of new user object. For example, [email protected]. For local users this field is not applicable
and has value “-“. You can change this attribute by using Active Directory Users and Computers, or through a script, for example.
Home Directory [Type = UnicodeString]: user's home directory. If homeDrive attribute is set and specifies a drive letter, homeDirectory should be a UNC path. The path must be a
network UNC of the form \\Server\Share\Directory. This parameter contains the value of homeDirectory attribute of new user object. For new local accounts this field typically
has value “<value not set>”. You can change this attribute by using Active Directory Users and Computers, or through a script, for example. This parameter might not be captured
in the event, and in that case appears as “-”.
Home Drive [Type = UnicodeString]: specifies the drive letter to which to map the UNC path specified by homeDirectory account’s attribute. The drive letter must be specified in
the form “DRIVE_LETTER:”. For example – “H:”. This parameter contains the value of homeDrive attribute of new user object. You can change this attribute by using Active
Directory Users and Computers, or through a script, for example. This parameter might not be captured in the event, and in that case appears as “-”. For new local accounts this
field typically has value “<value not set>”.
Script Path [Type = UnicodeString]: specifies the path of the account’s logon script. This parameter contains the value of scriptPath attribute of new user object. You can change
this attribute by using Active Directory Users and Computers, or through a script, for example. This parameter might not be captured in the event, and in that case appears as “-”.
For new local accounts this field typically has value “<value not set>”.
SAM Account Name is empty or - This field must contain the user account name. If it is empty or -, it might indicate an anomaly.
User Principal Name is empty or - Typically this field should not be empty for new user accounts. If it is empty or -, it might indicate an anomaly.
Home Directory is not - Typically these fields are - for new user accounts. Other values might indicate an anomaly and should be monitored.
Home Drive is not - For local accounts these fields should display <value not set>.
Password Last Set is <never> This typically means this is a manually created user account, which you might need to monitor.
Password Last Set is a time in the future This might indicate an anomaly.
Account Expires is not <never> Typically this field is <never> for new user accounts. Other values might indicate an anomaly and should be
monitored.
Primary Group ID is not 513 Typically, the Primary Group value is 513 for domain and local users. Other values should be monitored.
Allowed To Delegate To is not - Typically this field is - for new user accounts. Other values might indicate an anomaly and should be monitored.
© 2016 Microsoft. All rights reserved.
Old UAC Value is not 0x0 Typically this field is 0x0 for new user accounts. Other values might indicate an anomaly and should be monitored.
SID History is not - This field will always be set to - unless the account was migrated from another domain.
Logon Hours value other than <value not set> This should always be <value not set> for new domain user accounts, and “All” for new local user accounts.
or “All”
'Encrypted Text Password Allowed' – Enabled By default, these flags should not be enabled for new user accounts created with the “Active Directory Users and
Computers” snap-in.
'Smartcard Required' – Enabled
'Server Trust Account' – Enabled Should never be enabled for user accounts. Applies only to domain controller (computer) accounts.
'Don't Expire Password' – Enabled Should be monitored for critical accounts, or all accounts if your organization does not allow this flag. By default,
this flag should not be enabled for new user accounts created with the “Active Directory Users and Computers”
snap-in.
'Trusted For Delegation' – Enabled By default, this flag should not be enabled for new user accounts created with the “Active Directory Users and
Computers” snap-in. It is enabled by default only for new domain controllers.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4722</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13824</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-21T23:55:11.038308600Z" />
<EventRecordID>175716</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1112" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">Auditor</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-2104</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x30d5f</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
© 2016 Microsoft. All rights reserved.
Subject:
Security ID [Type = SID]: SID of account that requested the “enable account” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “enable account” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Target Account:
Security ID [Type = SID]: SID of account that was enabled. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be resolved, you will see
the source data in the event.
Account Name [Type = UnicodeString]: the name of the account that was enabled.
Account Domain [Type = UnicodeString]: target account’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Security Monitoring Recommendations:
For 4722(S): A user account was enabled.
Appendix A: Security monitoring recommendations for many audit events
If you have a high-value domain or local account for which you need to monitor every change, monitor all 4722 events with the “Target Account\Security ID” that corresponds to
the account.
If you have domain or local accounts that should never be enabled, you can monitor all 4722 events with the “Target Account\Security ID” fields that correspond to the accounts.
We recommend monitoring all 4722 events for local accounts, because these accounts usually do not change often. This is especially relevant for critical servers, administrative
workstations, and other high value assets.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4723</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13824</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-22T01:32:51.494558000Z" />
<EventRecordID>175722</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1112" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">dadmin</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x1a9b76</Data>
<Data Name="PrivilegeList">-</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that made an attempt to change Target’s Account password. Event Viewer automatically tries to resolve SIDs and show the account name.
If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that made an attempt to change Target’s Account password.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Target Account: account for which the password change was requested.
Security ID [Type = SID]: SID of account for which the password change was requested. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
Account Name [Type = UnicodeString]: the name of the account for which the password change was requested.
Account Domain [Type = UnicodeString]: target account’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Additional Information:
Privileges [Type = UnicodeString]: the list of user privileges which were used during the operation, for example, SeBackupPrivilege. This parameter might not be captured in the
event, and in that case appears as “-”. See full list of user privileges in “Table 8. User Privileges.”.
© 2016 Microsoft. All rights reserved.
Security Monitoring Recommendations:
For 4723(S, F): An attempt was made to change an account's password.
Appendix A: Security monitoring recommendations for many audit events
If you have a high-value domain or local user account for which you need to monitor every password change attempt, monitor all 4723 events with the “Target Account\Security
ID” that corresponds to the account.
If you have a high-value domain or local account for which you need to monitor every change, monitor all 4723 events with the “Target Account\Security ID” that corresponds to
the account.
If you have domain or local accounts for which the password should never be changed, you can monitor all 4723 events with the “Target Account\Security ID” that corresponds
to the account.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4724</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13824</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-22T01:58:21.725864900Z" />
<EventRecordID>175740</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="548" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
© 2016 Microsoft. All rights reserved.
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">User1</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-1107</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x30d5f</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that made an attempt to reset Target’s Account password. Event Viewer automatically tries to resolve SIDs and show the account name. If
the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that made an attempt to reset Target’s Account password.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Target Account: account for which password reset was requested.
Security ID [Type = SID]: SID of account for which password reset was requested. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot
be resolved, you will see the source data in the event.
Account Name [Type = UnicodeString]: the name of the account for which password reset was requested.
Account Domain [Type = UnicodeString]: target account’s domain or computer name. Formats vary, and include the following:
© 2016 Microsoft. All rights reserved.
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Security Monitoring Recommendations:
For 4724(S, F): An attempt was made to reset an account's password.
Appendix A: Security monitoring recommendations for many audit events
If you have a high-value domain or local user account for which you need to monitor every password reset attempt, monitor all 4724 events with the “Target Account\Security
ID” that corresponds to the account.
If you have a high-value domain or local account for which you need to monitor every change, monitor all 4724 events with the “Target Account\Security ID” that corresponds to
the account.
If you have domain or local accounts for which the password should never be reset, you can monitor all 4724 events with the “Target Account\Security ID” that corresponds to
the account.
We recommend monitoring all 4724 events for local accounts, because their passwords usually do not change often. This is especially relevant for critical servers, administrative
workstations, and other high value assets.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4725</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13824</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-21T23:55:07.657358900Z" />
<EventRecordID>175714</EventRecordID>
<Correlation />
© 2016 Microsoft. All rights reserved.
<Execution ProcessID="520" ThreadID="1112" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">Auditor</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-2104</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x30d5f</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “disable account” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “disable account” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Target Account:
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4726</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13824</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-22T00:52:25.104613800Z" />
<EventRecordID>175720</EventRecordID>
© 2016 Microsoft. All rights reserved.
<Correlation />
<Execution ProcessID="520" ThreadID="1112" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">ksmith</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-6609</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x30d5f</Data>
<Data Name="PrivilegeList">-</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “delete user account” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “delete user account” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
© 2016 Microsoft. All rights reserved.
Target Account:
Security ID [Type = SID]: SID of account that was deleted. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be resolved, you will see
the source data in the event.
Account Name [Type = UnicodeString]: the name of the account that was deleted.
Account Domain [Type = UnicodeString]: target account’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Additional Information:
Privileges [Type = UnicodeString]: the list of user privileges which were used during the operation, for example,
SeBackupPrivilege. This parameter might not be captured in the event, and in that case appears as “-”. See full list of
user privileges in “Table 8. User Privileges.”.
Security Monitoring Recommendations:
For 4726(S): A user account was deleted.
Appendix A: Security monitoring recommendations for many audit events
If you have a high-value domain or local account for which you need to monitor every change (or deletion), monitor
all 4726 events with the “Target Account\Security ID” that corresponds to the account.
If you have a domain or local account that should never be deleted (for example, service accounts), monitor all 4726
events with the “Target Account\Security ID” that corresponds to the account.
We recommend monitoring all 4726 events for local accounts, because these accounts typically are not deleted
often. This is especially relevant for critical servers, administrative workstations, and other high value assets.
Logon Hours
Primary Group ID is not 513
Typically, the Primary Group value is 513 for domain and local users. Other values should be monitored.
For user accounts for which the services list (on the If AllowedToDelegateTo is marked <value not set> on user accounts that previously had a services list (on the
Delegation tab) should not be empty: Delegation tab), it means the list was cleared.
AllowedToDelegateTo is marked <value not set>
SID History is not - This field will always be set to - unless the account was migrated from another domain.
Consider whether to track the following user account control flags:
'Password Not Required' – Enabled Should not typically be enabled for user accounts because it weakens security for the account.
'Encrypted Text Password Allowed' – Enabled Should not typically be enabled for user accounts because it weakens security for the account.
'Server Trust Account' – Enabled Should never be enabled for user accounts. Applies only to domain controller (computer) accounts.
© 2016 Microsoft. All rights reserved.
'Don't Expire Password' – Enabled Should be monitored for critical accounts, or all accounts if your organization does not allow this flag.
'Password Not Required' – Disabled Should be monitored for all accounts where the setting should be “Enabled.”
'Encrypted Text Password Allowed' – Disabled Should be monitored for all accounts where the setting should be “Enabled.”
'Don't Expire Password' – Disabled Should be monitored for all accounts where the setting should be “Enabled.”
'Smartcard Required' – Disabled Should be monitored for all accounts where the setting should be “Enabled.”
'Trusted For Delegation' – Enabled Means that Kerberos Constraint or Unconstraint delegation was enabled for the user account. We recommend monitoring
this to discover whether it is an approved action (done by an administrator), a mistake, or a malicious action.
'Trusted For Delegation' – Disabled Means that Kerberos Constraint or Unconstraint delegation was disabled for the user account. We recommend monitoring
this to discover whether it is an approved action (done by an administrator), a mistake, or a malicious action.
Also, if you have a list of user accounts for which delegation is critical and should not be disabled, monitor this for those
accounts.
'Trusted To Authenticate For Delegation' – Enabled Means that Protocol Transition delegation was enabled for the user account. We recommend monitoring this to discover
whether it is an approved action (done by an administrator), a mistake, or a malicious action.
'Trusted To Authenticate For Delegation' – Disabled Means that Protocol Transition delegation was disabled for the user account. We recommend monitoring this to discover
whether it is an approved action (done by an administrator), a mistake, or a malicious action.
Also, if you have a list of user accounts for which delegation is critical and should not be disabled, monitor this for those
accounts.
'Not Delegated' – Enabled Means that Account is sensitive and cannot be delegated was checked for the user account. We recommend monitoring
this to discover whether it is an approved action (done by an administrator), a mistake, or a malicious action.
'Not Delegated' – Disabled Should be monitored for all accounts where the setting should be “Enabled.” Means that Account is sensitive and cannot
be delegated was unchecked for the user account. We recommend monitoring this to discover whether it is an approved
© 2016 Microsoft. All rights reserved.
action (done by an administrator), a mistake, or a malicious action.
'Use DES Key Only' – Enabled Should not typically be enabled for user accounts because it weakens security for the account’s Kerberos authentication.
'Don't Require Preauth' – Enabled Should not be enabled for user accounts because it weakens security for the account’s Kerberos authentication.
'Use DES Key Only' – Disabled Should be monitored for all accounts where the setting should be “Enabled.”
'Don't Require Preauth' – Disabled Should be monitored for all accounts where the setting should be “Enabled.”
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4740</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13824</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-21T22:06:08.576887500Z" />
<EventRecordID>175703</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1112" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
© 2016 Microsoft. All rights reserved.
<Data Name="TargetUserName">Auditor</Data>
<Data Name="TargetDomainName">WIN81</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-2104</Data>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC01$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that performed the lockout operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that performed the lockout operation.
Account Domain [Type = UnicodeString]: domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Account That Was Locked Out:
Security ID [Type = SID]: SID of account that was locked out. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be resolved, you will
see the source data in the event.
Account Name [Type = UnicodeString]: the name of the account that was locked out.
Additional Information:
Caller Computer Name [Type = UnicodeString]: the name of computer account from which logon attempt was received and after which target account was locked out. For
example: WIN81.
Subject:
Security ID:%6
Account Name:%7
Account Domain:%8
Logon ID:%9
Target Account:
Security ID:%5
Account Name:%3
Account Domain:%4
Source Account:
Security ID:%2
Account Name:%1
Additional Information:
Privileges:%10
© 2016 Microsoft. All rights reserved.
SID List:%11
Subject:
Security ID:-
Account Name:%5
Account Domain:%6
Logon ID:%7
Target Account:
Security ID:%4
Account Name:%2
Account Domain:%3
Source Account:
Account Name:%1
Additional Information:
Privileges:%8
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4767</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13824</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-21T22:31:01.871931700Z" />
<EventRecordID>175705</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1520" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserName">Auditor</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-2104</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x30d5f</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
© 2016 Microsoft. All rights reserved.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that performed the unlock operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that performed the unlock operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Target Account:
Security ID [Type = SID]: SID of account that was unlocked. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be resolved, you will see
the source data in the event.
Account Name [Type = UnicodeString]: the name of the account that was unlocked.
Account Domain [Type = UnicodeString]: target account’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Security Monitoring Recommendations:
For 4767(S): A user account was unlocked.
Appendix A: Security monitoring recommendations for many audit events
We recommend monitoring all 4767 events for local accounts.
4780(S): The ACL was set on accounts which are members of administrators groups.
Every hour, the domain controller that holds the primary domain controller (PDC) Flexible Single Master Operation (FSMO) role compares the ACL on all security principal accounts (users,
groups, and machine accounts) present for its domain in Active Directory and that are in administrative or security-sensitive groups and which have AdminCount attribute = 1 against the
Subject:
Security ID:%4
Account Name:%5
Account Domain:%6
Logon ID:%7
Target Account:
Security ID:%3
Account Name:%1
Account Domain:%2
Additional Information:
Privileges:%8
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
© 2016 Microsoft. All rights reserved.
<EventID>4781</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13824</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-22T02:41:09.737420900Z" />
<EventRecordID>175754</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1112" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="OldTargetUserName">Admin</Data>
<Data Name="NewTargetUserName">MainAdmin</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-6117</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x30d5f</Data>
<Data Name="PrivilegeList">-</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that performed the “change account name” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4794</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13824</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-18T02:49:26.087748900Z" />
<EventRecordID>172348</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="2964" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x36f67</Data>
<Data Name="Workstation">DC01</Data>
<Data Name="Status">0x0</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
© 2016 Microsoft. All rights reserved.
Subject:
Security ID [Type = SID]: SID of account that made an attempt to set Directory Services Restore Mode administrator password. Event Viewer automatically tries to resolve SIDs
and show the account name. If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that made an attempt to set Directory Services Restore Mode administrator password.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Additional Information:
Caller Workstation [Type = UnicodeString]: the name of computer account from which Directory Services Restore Mode (DSRM) administrator password change request was
received. For example: “DC01”. If the change request was sent locally (from the same server) this field will have the same name as the computer account.
Status Code [Type = HexInt32]: for Success events it has “0x0” value.
Security Monitoring Recommendations:
For 4794(S, F): An attempt was made to set the Directory Services Restore Mode administrator password.
Always monitor 4794 events and trigger alerts when they occur.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4798</EventID>
<Version>0</Version>
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
You can also correlate this process ID with a process ID in other events, for example, “4688: A new process has been created” Process Information\New Process ID.
© 2016 Microsoft. All rights reserved.
Process Name [Type = UnicodeString]: full path and the name of the executable for the process.
Security Monitoring Recommendations:
For 4798(S): A user's local group membership was enumerated.
Appendix A: Security monitoring recommendations for many audit events
If you have high value domain or local accounts for which you need to monitor each enumeration of their group membership, or any access attempt, monitor events with the
“Subject\Security ID” that corresponds to the high value account or accounts.
If you have a pre-defined “Process Name” for the process reported in this event, monitor all events with “Process Name” not equal to your defined value.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5376</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13824</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-22T03:28:02.200404700Z" />
<EventRecordID>175779</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="548" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
© 2016 Microsoft. All rights reserved.
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x30d7c</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that performed the backup operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that performed the backup operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Security Monitoring Recommendations:
For 5376(S): Credential Manager credentials were backed up.
Appendix A: Security monitoring recommendations for many audit events
Every 5376 event should be recorded for all local and domain accounts, because this action (back up Credential Manager) is very rarely used by users and can indicate a virus, or
other harmful or malicious activity.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5377</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13824</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-22T03:35:47.523266300Z" />
<EventRecordID>175780</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1236" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x30d7c</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
© 2016 Microsoft. All rights reserved.
Security ID [Type = SID]: SID of account that performed the restore operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that performed the restore operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Security Monitoring Recommendations:
For 5377(S): Credential Manager credentials were restored from a backup.
Appendix A: Security monitoring recommendations for many audit events
Every 5377 event should be recorded for all local and domain accounts, because this action (restore Credential Manager credentials from a backup) is very rarely used by users,
and can indicate a virus, or other harmful or malicious activity.
Events List:
4692(S, F): Backup of data protection master key was attempted.
4693(S, F): Recovery of data protection master key was attempted.
4694(S, F): Protection of auditable protected data was attempted.
4695(S, F): Unprotection of auditable protected data was attempted.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4692</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13314</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-25T01:59:14.573672700Z" />
<EventRecordID>176964</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="540" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-500</Data>
<Data Name="SubjectUserName">ladmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x30c08</Data>
<Data Name="MasterKeyId">16cfaea0-dbe3-4d92-9523-d494edb546bc</Data>
<Data Name="RecoveryServer" />
<Data Name="RecoveryKeyId">806a0350-aeb1-4c56-91f9-ef16cf759291</Data>
<Data Name="FailureReason">0x0</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4693</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13314</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-22T06:25:14.589407700Z" />
<EventRecordID>175809</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="1340" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x30d7c</Data>
<Data Name="MasterKeyId">0445c766-75f0-4de7-82ad-d9d97aad59f6</Data>
<Data Name="RecoveryReason">0x5c005c</Data>
<Data Name="RecoveryServer">DC01.contoso.local</Data>
<Data Name="RecoveryKeyId" />
<Data Name="FailureId">0x380000</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “recover” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “recover” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Key Information:
Key Identifier [Type = UnicodeString]: unique identifier of a master key which was recovered. 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 it’s ID.
Recovery Server [Type = UnicodeString]: the name (typically – DNS name) of the computer that you contacted to recover your Master Key. For domain joined machines, it’s
typically a name of a domain controller.
In this event Recovery Server field contains information from Recovery Reason field.
Protected Data:
Data Description:%6
Key Identifier:%5
Protected Data Flags:%7
Protection Algorithms:%8
Status Information:
Status Code:%9
Protected Data:
Data Description:%6
Key Identifier:%5
Protected Data Flags:%7
Protection Algorithms:%8
Status Information:
Status Code:%9
Events List:
6416(S): A new external device was recognized by the System
6419(S): A request was made to disable a device
6420(S): A device was disabled.
6421(S): A request was made to enable a device.
6422(S): A device was enabled.
6423(S): The installation of this device is forbidden by system policy.
6424(S): The installation of this device was allowed, after having previously been forbidden by policy.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>6416</EventID>
<Version>1</Version>
<Level>0</Level>
<Task>13316</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-13T18:20:16.818569900Z" />
<EventRecordID>436</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="308" />
<Channel>Security</Channel>
<Computer>DESKTOP-NFC0HVN</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DESKTOP-NFC0HVN$</Data>
<Data Name="SubjectDomainName">WORKGROUP</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="DeviceId">SCSI\Disk&Ven_Seagate&Prod_Expansion\000000</Data>
<Data Name="DeviceDescription">Seagate Expansion SCSI Disk Device</Data>
<Data Name="ClassId">{4D36E967-E325-11CE-BFC1-08002BE10318}</Data>
<Data Name="ClassName">DiskDrive</Data>
<Data Name="VendorIds">SCSI\DiskSeagate_Expansion_______0636 SCSI\DiskSeagate_Expansion_______ SCSI\DiskSeagate_ SCSI\Seagate_Expansion_______0
Seagate_Expansion_______0 GenDisk</Data>
<Data Name="CompatibleIds">SCSI\Disk SCSI\RAW</Data>
<Data Name="LocationInformation">Bus Number 0, Target Id 0, LUN 0</Data>
© 2016 Microsoft. All rights reserved.
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2016, Windows 10.
Event Versions:
0 - Windows 10.
1 - Windows 10 [Version 1511].
o Added “Device ID” field.
o Added “Device Name” field.
o Added “Class Name” field.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that registered the new device. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that registered the new device.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Device ID [Type = UnicodeString] [Version 1]: “Device instance path” attribute of device. To see device properties, start Device Manager, open specific device properties, and click
“Details”:
Class ID [Type = UnicodeString]: “Class Guid” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Class Name [Type = UnicodeString] [Version 1]: “Class” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Compatible IDs [Type = UnicodeString]: “Compatible Ids” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Location Information [Type = UnicodeString]: “Location information” attribute of device. To see device properties, start Device Manager, open specific device properties, and click
“Details”:
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
© 2016 Microsoft. All rights reserved.
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>6419</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13316</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-14T22:23:26.789591400Z" />
<EventRecordID>483</EventRecordID>
<Correlation />
<Execution ProcessID="2192" ThreadID="1392" />
<Channel>Security</Channel>
<Computer>DESKTOP-NFC0HVN</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-2695983153-1310895815-1903476278-1001</Data>
<Data Name="SubjectUserName">ladmin</Data>
<Data Name="SubjectDomainName">DESKTOP-NFC0HVN</Data>
<Data Name="SubjectLogonId">0x3fcc7</Data>
<Data Name="DeviceId">USB\VID_138A&PID_0017\FFBC12C950A0</Data>
<Data Name="DeviceDescription">Synaptics FP Sensors (WBF) (PID=0017)</Data>
<Data Name="ClassId">{53D29EF7-377C-4D14-864B-EB3A85769359}</Data>
<Data Name="ClassName">Biometric</Data>
<Data Name="HardwareIds">USB\VID_138A&PID_0017&REV_0078 USB\VID_138A&PID_0017</Data>
<Data Name="CompatibleIds">USB\Class_FF&SubClass_00&Prot_00 USB\Class_FF&SubClass_00 USB\Class_FF</Data>
<Data Name="LocationInformation">Port_#0002.Hub_#0004</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows 10 [Version 1511].
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that made the request. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be resolved, you
will see the source data in the event.
Device Name [Type = UnicodeString]: “Device description” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Class Name [Type = UnicodeString]: “Class” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Hardware IDs [Type = UnicodeString]: “Hardware Ids” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Compatible IDs [Type = UnicodeString]: “Compatible Ids” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
You can use this event to track the events and event information shown in the following table by using the listed fields:
Event and event information to monitor Field to use
Device disable requests, Device Instance Path “Device ID”
Device disable requests, Device Description “Device Name”
Device disable requests, Class GUID “Class ID”
Device disable requests, Hardware IDs “Hardware IDs”
Device disable requests, Compatible IDs “Compatible IDs”
Device disable requests, Location information “Location Information”
© 2016 Microsoft. All rights reserved.
6420(S): A device was disabled.
Event Description:
This event generates every time specific device was disabled.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>6420</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13316</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-14T22:23:29.137398300Z" />
<EventRecordID>484</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="88" />
<Channel>Security</Channel>
<Computer>DESKTOP-NFC0HVN</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DESKTOP-NFC0HVN$</Data>
<Data Name="SubjectDomainName">WORKGROUP</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="DeviceId">USB\VID_138A&PID_0017\ffbc12c950a0</Data>
<Data Name="DeviceDescription">Synaptics FP Sensors (WBF) (PID=0017)</Data>
<Data Name="ClassId">{53D29EF7-377C-4D14-864B-EB3A85769359}</Data>
<Data Name="ClassName">Biometric</Data>
<Data Name="HardwareIds">USB\VID_138A&PID_0017&REV_0078 USB\VID_138A&PID_0017</Data>
<Data Name="CompatibleIds">USB\Class_FF&SubClass_00&Prot_00 USB\Class_FF&SubClass_00 USB\Class_FF</Data>
<Data Name="LocationInformation">Port_#0002.Hub_#0004</Data>
© 2016 Microsoft. All rights reserved.
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows 10 [Version 1511].
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that disabled the device. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be resolved, you
will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that disabled the device.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Device ID [Type = UnicodeString]: “Device instance path” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Device Name [Type = UnicodeString]: “Device description” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Class Name [Type = UnicodeString]: “Class” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Hardware IDs [Type = UnicodeString]: “Hardware Ids” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Location Information [Type = UnicodeString]: “Location information” attribute of device. To see device properties, start Device Manager, open specific device properties, and click
“Details”:
You can use this event to track the events and event information shown in the following table by using the listed fields:
Event and event information to monitor Field to use
Device disable events, Device Instance Path “Device ID”
Device disable events, Device Description “Device Name”
Device disable events, Class GUID “Class ID”
Device disable events, Hardware IDs “Hardware IDs”
Device disable events, Compatible IDs “Compatible IDs”
Device disable events, Location information “Location Information”
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>6421</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13316</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-14T22:37:50.034918700Z" />
<EventRecordID>485</EventRecordID>
<Correlation />
<Execution ProcessID="2192" ThreadID="1392" />
<Channel>Security</Channel>
<Computer>DESKTOP-NFC0HVN</Computer>
<Security />
© 2016 Microsoft. All rights reserved.
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-2695983153-1310895815-1903476278-1001</Data>
<Data Name="SubjectUserName">ladmin</Data>
<Data Name="SubjectDomainName">DESKTOP-NFC0HVN</Data>
<Data Name="SubjectLogonId">0x3fcc7</Data>
<Data Name="DeviceId">USB\VID_138A&PID_0017\FFBC12C950A0</Data>
<Data Name="DeviceDescription">Synaptics FP Sensors (WBF) (PID=0017)</Data>
<Data Name="ClassId">{53D29EF7-377C-4D14-864B-EB3A85769359}</Data>
<Data Name="ClassName">Biometric</Data>
<Data Name="HardwareIds">USB\VID_138A&PID_0017&REV_0078 USB\VID_138A&PID_0017</Data>
<Data Name="CompatibleIds">USB\Class_FF&SubClass_00&Prot_00 USB\Class_FF&SubClass_00 USB\Class_FF</Data>
<Data Name="LocationInformation">Port_#0002.Hub_#0004</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows 10 [Version 1511].
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that made the request. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be resolved, you
will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that made the request.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Device ID [Type = UnicodeString]: “Device instance path” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Class ID [Type = UnicodeString]: “Class Guid” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Class Name [Type = UnicodeString]: “Class” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Compatible IDs [Type = UnicodeString]: “Compatible Ids” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Location Information [Type = UnicodeString]: “Location information” attribute of device. To see device properties, start Device Manager, open specific device properties, and click
“Details”:
You can use this event to track the events and event information shown in the following table by using the
listed fields:
Event and event information to monitor Field to use
Device enable requests, Device Instance Path “Device ID”
Device enable requests, Device Description “Device Name”
Device enable requests, Class GUID “Class ID”
Device enable requests, Hardware IDs “Hardware IDs”
Device enable requests, Compatible IDs “Compatible IDs”
Device enable requests, Location information “Location Information”
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>6422</EventID>
© 2016 Microsoft. All rights reserved.
<Version>0</Version>
<Level>0</Level>
<Task>13316</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-14T22:37:50.036050900Z" />
<EventRecordID>486</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="408" />
<Channel>Security</Channel>
<Computer>DESKTOP-NFC0HVN</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DESKTOP-NFC0HVN$</Data>
<Data Name="SubjectDomainName">WORKGROUP</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="DeviceId">USB\VID_138A&PID_0017\ffbc12c950a0</Data>
<Data Name="DeviceDescription">Synaptics FP Sensors (WBF) (PID=0017)</Data>
<Data Name="ClassId">{53D29EF7-377C-4D14-864B-EB3A85769359}</Data>
<Data Name="ClassName">Biometric</Data>
<Data Name="HardwareIds">USB\VID_138A&PID_0017&REV_0078 USB\VID_138A&PID_0017</Data>
<Data Name="CompatibleIds">USB\Class_FF&SubClass_00&Prot_00 USB\Class_FF&SubClass_00 USB\Class_FF</Data>
<Data Name="LocationInformation">Port_#0002.Hub_#0004</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows 10 [Version 1511].
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that enabled the device. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be resolved, you
will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
Device Name [Type = UnicodeString]: “Device description” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Class ID [Type = UnicodeString]: “Class Guid” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Hardware IDs [Type = UnicodeString]: “Hardware Ids” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Compatible IDs [Type = UnicodeString]: “Compatible Ids” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>6423</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13316</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-14T22:49:34.647975900Z" />
<EventRecordID>488</EventRecordID>
<Correlation />
<Execution ProcessID="828" ThreadID="1924" />
<Channel>Security</Channel>
<Computer>DESKTOP-NFC0HVN</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DESKTOP-NFC0HVN$</Data>
<Data Name="SubjectDomainName">WORKGROUP</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="DeviceId">USB\VID_04F3&PID_012D\7&1E3A8971&0&2</Data>
<Data Name="DeviceDescription">Touchscreen</Data>
<Data Name="ClassId">{00000000-0000-0000-0000-000000000000}</Data>
<Data Name="ClassName" />
© 2016 Microsoft. All rights reserved.
<Data Name="HardwareIds">USB\VID_04F3&PID_012D&REV_0013 USB\VID_04F3&PID_012D</Data>
<Data Name="CompatibleIds">USB\Class_03&SubClass_00&Prot_00 USB\Class_03&SubClass_00 USB\Class_03</Data>
<Data Name="LocationInformation">Port_#0002.Hub_#0004</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows 10 [Version 1511].
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that forbids the device installation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that forbids the device installation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Device ID [Type = UnicodeString]: “Device instance path” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Class ID [Type = UnicodeString]: “Class Guid” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Class Name [Type = UnicodeString]: “Class” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Hardware IDs [Type = UnicodeString]: “Hardware Ids” attribute of device. To see device properties, start Device Manager, open specific device properties, and click “Details”:
Location Information [Type = UnicodeString]: “Location information” attribute of device. To see device properties, start Device Manager, open specific device properties, and click
“Details”:
6424(S): The installation of this device was allowed, after having previously been forbidden by policy.
This event occurs rarely, and in some situations may be difficult to reproduce.
Required Server Roles: None.
Minimum OS Version: Windows 10 [Version 1511].
Event Versions: 0.
Security Monitoring Recommendations:
There is no recommendation for this event in this document.
Events List:
4688(S): A new process has been created.
4696(S): A primary token was assigned to process.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4688</EventID>
<Version>2</Version>
<Level>0</Level>
<Task>13312</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-12T02:24:52.377352500Z" />
<EventRecordID>2814</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="400" />
<Channel>Security</Channel>
<Computer>WIN-GG82ULGC9GO.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">WIN-GG82ULGC9GO$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="NewProcessId">0x2bc</Data>
<Data Name="NewProcessName">C:\Windows\System32\rundll32.exe</Data>
<Data Name="TokenElevationType">%%1938</Data>
<Data Name="ProcessId">0xe74</Data>
<Data Name="CommandLine" />
<Data Name="TargetUserSid">S-1-5-21-1377283216-344919071-3415362939-1104</Data>
<Data Name="TargetUserName">dadmin</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetLogonId">0x4a5af0</Data>
<Data Name="ParentProcessName">C:\Windows\explorer.exe</Data>
<Data Name="MandatoryLabel">S-1-16-8192</Data>
</EventData>
© 2016 Microsoft. All rights reserved.
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions:
0 - Windows Server 2008, Windows Vista.
1 - Windows Server 2012 R2, Windows 8.1.
o Added “Process Command Line” field.
2 - Windows 10.
o Subject renamed to Creator Subject.
o Added “Target Subject” section.
o Added “Mandatory Label” field.
o Added “Creator Process Name” field.
Field Descriptions:
Creator Subject [Value for versions 0 and 1 – Subject]:
Security ID [Type = SID]: SID of account that requested the “create process” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “create process” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Target Subject [Version 2]:
This event includes the principal of the process creator, but this is not always sufficient if the target context is different from the creator context. In that situation, the subject
specified in the process termination event does not match the subject in the process creation event even though both events refer to the same process ID. Therefore, in
addition to including the creator of the process, we will also include the target principal when the creator and target do not share the same logon.
Security ID [Type = SID] [Version 2]: SID of target account. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be resolved, you will see
the source data in the event.
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
New Process Name [Type = UnicodeString]: full path and the name of the executable for the new process.
Token Elevation Type [Type = UnicodeString]:
Creator Process ID [Type = Pointer]: hexadecimal Process ID of the process which ran the new process. If you convert the hexadecimal value to decimal, you can compare it to
the values in Task Manager.
You can also correlate this process ID with a process ID in other events, for example, “4688: A new process has been created” Process Information\New Process ID.
Creator Process Name [Version 2] [Type = UnicodeString]: full path and the name of the executable for the process.
Process Command Line [Version 1, 2] [Type = UnicodeString]: contains the name of executable and arguments which were passed to it. You must enable “Administrative
Templates\System\Audit Process Creation\Include command line in process creation events” group policy to include command line in process creation events:
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “Creator Subject\Security
anomalies or monitoring potential malicious actions. For example, you might need to ID” or “Target Subject\Security ID” (with other information) to monitor how or when a
monitor for use of an account outside of working hours. particular account is being used.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor all events with the “Creator Subject\Security ID” or “Target Subject\Security ID”
accounts that should never be used. that corresponds to the accounts that should never be used.
Accounts of different types: You might want to ensure that certain actions are performed If this event corresponds to an action you want to monitor for certain account types,
only by certain account types, for example, local or domain account, machine or user review the “Creator Subject\Security ID” or “Target Subject\Security ID” to see whether
account, vendor or employee account, and so on. the account type is as expected.
External accounts: You might be monitoring accounts from another domain, or “external” Monitor the specific events for the “Creator Subject\Security ID” or “Target
accounts that are not allowed to perform certain actions (represented by certain specific Subject\Security ID” corresponding to accounts from another domain or “external”
events). accounts.
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the
devices on which certain people (accounts) should not typically perform any actions. “Creator Subject\Security ID” or “Target Subject\Security ID” that you are concerned
about.
Account naming conventions: Your organization might have specific naming conventions Monitor “Creator Subject\Security ID” or “Target Subject\Security ID” for names that
for account names. don’t comply with naming conventions.
If you have a pre-defined “New Process Name” or “Creator Process Name” for the process reported in this event, monitor all events with “New Process Name” or “Creator Process
Name” not equal to your defined value.
You can monitor to see if “New Process Name” or “Creator Process Name” is not in a standard folder (for example, not in System32 or Program Files) or is in a restricted folder (for
example, Temporary Internet Files).
If you have a pre-defined list of restricted substrings or words in process names (for example “mimikatz” or “cain.exe”), check for these substrings in “New Process Name” or
“Creator Process Name.”
It can be unusual for a process to run using a local account in either Creator Subject\Security ID or in Target Subject\Security ID.
Monitor for Token Elevation Type with value TokenElevationTypeDefault (1) when Subject\Security ID lists a real user account, for example when Account Name doesn’t contain the
$ symbol. Typically this means that UAC is disabled for this account for some reason.
Monitor for Token Elevation Type with value TokenElevationTypeDefault (2) on standard workstations, when Subject\Security ID lists a real user account, for example when Account
Name doesn’t contain the $ symbol. This means that a user ran a program using administrative privileges.
You can also monitor for Token Elevation Type with value TokenElevationTypeDefault (2) on standard workstations, when a computer object was used to run the process, but that
computer object is not the same computer where the event occurs.
If you need to monitor all new processes with a specific Mandatory Label, for example S-1-16-20480 (Protected process), check the “Mandatory Label” in this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
<EventID>4696</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13312</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-25T21:33:42.401Z" />
<EventRecordID>561</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="88" />
<Channel>Security</Channel>
<Computer>Win2008.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">WIN2008$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="TargetUserSid">S-1-5-18</Data>
<Data Name="TargetUserName">dadmin</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetLogonId">0x1c8c5</Data>
<Data Name="TargetProcessId">0xf40</Data>
<Data Name="TargetProcessName">C:\Windows\System32\WerFault.exe</Data>
<Data Name="ProcessId">0x698</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="ProcessName">C:\Windows\System32\svchost.exe</Data>
</EventData>
</Event>
Required Server Roles: this event is deprecated starting from Windows 7 and Windows 2008 R2.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “assign token to process” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If
the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “assign token to process” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Process Information:
Process ID [Type = Pointer]: hexadecimal Process ID of the process which started the new process with the new security token. Process ID (PID) is a number used by the operating
system to uniquely identify an active process. To see the PID for a specific process you can, for example, use Task Manager (Details tab, PID column):
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “Subject\Security ID” or
anomalies or monitoring potential malicious actions. For example, you might need to “New Token Information\Security ID” (with other information) to monitor how or when a
monitor for use of an account outside of working hours. particular account is being used.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “Subject\Security ID” or “New Token Information\Security
accounts that should never be used. ID” that corresponds to the accounts that should never be used.
Account whitelist: You might have a specific whitelist of accounts that are the only ones If this event corresponds to a “whitelist-only” action, review the “Subject\Security ID” and
allowed to perform actions corresponding to particular events. “New Token Information\Security ID” for accounts that are outside the whitelist.
Accounts of different types: You might want to ensure that certain actions are performed If this event corresponds to an action you want to monitor for certain account types,
only by certain account types, for example, local or domain account, machine or user review the “Subject\Security ID” or “New Token Information\Security ID” to see whether
account, vendor or employee account, and so on. the account type is as expected.
External accounts: You might be monitoring accounts from another domain, or “external” Monitor this event for the “Subject\Security ID” or “New Token Information\Security ID”
accounts that are not allowed to perform certain actions (represented by certain specific corresponding to accounts from another domain or “external” accounts.
events).
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the
devices on which certain people (accounts) should not typically perform any actions. “Subject\Security ID” or “New Token Information\Security ID” that you are concerned
about.
If you have a pre-defined “Process Name” or “Target Process Name” for the process reported in this event, monitor all events with “Process Name” or “Target Process Name”
not equal to your defined value.
You can monitor to see if “Process Name” or “Target Process Name” is not in a standard folder (for example, not in System32 or Program Files) or is in a restricted folder (for
example, Temporary Internet Files).
If you have a pre-defined list of restricted substrings or words in process names (for example, “mimikatz” or “cain.exe”), check for these substrings in “Process Name” or “Target
Process Name”.
It can be uncommon if process runs using local account.
Events List:
4689(S): A process has exited.
Event XML:
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
You can also correlate this process ID with a process ID in other events, for example, “4688(S): A new process has been created” New Process ID on this computer.
Process Name [Type = UnicodeString]: full path and the executable name of the exited/terminated process.
Exit Status [Type = HexInt32]: hexadecimal exit code of exited/terminated process. This exit code is unique for every application, check application documentation for more
details. The exit code value for a process reflects the specific convention implemented by the application developer for that process.
Events List:
5712(S): A Remote Procedure Call (RPC) was attempted.
Subject:
SID:%1
Name:%2
Account Domain:%3
LogonId:%4
Process Information:
PID:%5
Name:%6
Network Information:
Remote IP Address:%7
Remote Port:%8
RPC Attributes:
Interface UUID:%9
Protocol Sequence:%10
Authentication Service:%11
Authentication Level:%12
Events List:
4928(S, F): An Active Directory replica source naming context was established.
4929(S, F): An Active Directory replica source naming context was removed.
4930(S, F): An Active Directory replica source naming context was modified.
4931(S, F): An Active Directory replica destination naming context was modified.
4934(S): Attributes of an Active Directory object were replicated.
4935(F): Replication failure begins.
4936(S): Replication failure ends.
4937(S): A lingering object was removed from a replica.
4928(S, F): An Active Directory replica source naming context was established.
Event Description:
This event generates every time a new Active Directory replica source naming context is established.
Failure event generates if an error occurs (Status Code != 0).
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4928</EventID>
© 2016 Microsoft. All rights reserved.
<Version>0</Version>
<Level>0</Level>
<Task>14083</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-27T19:15:30.067319300Z" />
<EventRecordID>227065</EventRecordID>
<Correlation />
<Execution ProcessID="524" ThreadID="1236" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="DestinationDRA">CN=NTDS Settings,CN=DC01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=local</Data>
<Data Name="SourceDRA">CN=NTDS Settings,CN=WIN2012R2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=local</Data>
<Data Name="SourceAddr">ddec0cff-6ceb-4a59-b13f-1724c38a0970._msdcs.contoso.local</Data>
<Data Name="NamingContext">DC=ForestDnsZones,DC=contoso,DC=local</Data>
<Data Name="Options">368</Data>
<Data Name="StatusCode">0</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Destination DRA [Type = UnicodeString]: destination directory replication agent distinguished name.
The Directory Replication Agent (DRA) handles replication between domain controllers. The Directory Replication Agent uses the connection objects in the topology map to
find out those partners that are relevant when replicating changes to directory partitions. The DRA sends a replication request to the partners of a domain controller when
the domain controller needs to update its copy of Active Directory.
Source DRA [Type = UnicodeString]: source directory replication agent distinguished name.
The LDAP API references an LDAP object by its distinguished name (DN). A DN is a sequence of relative distinguished names (RDN) connected by commas.
An RDN is an attribute with an associated value in the form attribute=value; . These are examples of RDNs attributes:
DC - domainComponent
CN - commonName
Status Code [Type = UInt32]: if there are no issues or errors, the status code will be 0. If an error happened, you will receive Failure event and Status Code will not be equal to “0”.
You can check error code meaning here: https://msdn.microsoft.com/en-us/library/windows/desktop/ms681381(v=vs.85).aspx
Security Monitoring Recommendations:
For 4928(S, F): An Active Directory replica source naming context was established.
Monitor for Source Address field, because the source of new replication (new DRA) must be authorized for this action. If you find any unauthorized DRA you should trigger an
event.
This event is typically used for Active Directory replication troubleshooting.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4929</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>14083</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-27T18:54:50.446211200Z" />
<EventRecordID>227013</EventRecordID>
<Correlation />
<Execution ProcessID="524" ThreadID="2636" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="DestinationDRA">CN=NTDS Settings,CN=DC01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=local</Data>
<Data Name="SourceDRA">-</Data>
<Data Name="SourceAddr">2d361dd6-fc22-4d9d-b876-ec582b836458._msdcs.contoso.local</Data>
<Data Name="NamingContext">DC=contoso,DC=local</Data>
<Data Name="Options">16640</Data>
<Data Name="StatusCode">0</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
© 2016 Microsoft. All rights reserved.
Destination DRA [Type = UnicodeString]: destination directory replication agent distinguished name.
The Directory Replication Agent (DRA) handles replication between domain controllers. The Directory Replication Agent uses the connection objects in the topology map to
find out those partners that are relevant when replicating changes to directory partitions. The DRA sends a replication request to the partners of a domain controller when
the domain controller needs to update its copy of Active Directory.
Source DRA [Type = UnicodeString]: source directory replication agent distinguished name.
The LDAP API references an LDAP object by its distinguished name (DN). A DN is a sequence of relative distinguished names (RDN) connected by commas.
An RDN is an attribute with an associated value in the form attribute=value; . These are examples of RDNs attributes:
DC - domainComponent
CN - commonName
OU - organizationalUnitName
O - organizationName
Source Address [Type = UnicodeString]: DNS record of the server from which the “remove” request was received.
Naming Context [Type = UnicodeString]: naming context which was removed.
The Directory Tree of Active Directory tree is partitioned to allow sections to be distributed (replicated) to domain controllers in different domains within the forest. Each
domain controller stores a copy of a specific part of the directory tree, called a Naming Context also known as Directory Partition. Naming Context is replicated as a unit to
other domain controllers in the forest that contain a replica of the same sub tree. A Naming Context is also called a Directory Partition.
Options [Type = UInt32]: decimal value of DRS Options.
Status Code [Type = UInt32]: if there are no issues or errors, the status code will be 0. If an error happened, you will receive Failure event and Status Code will not be equal to “0”.
You can check error code meaning here: https://msdn.microsoft.com/en-us/library/windows/desktop/ms681381(v=vs.85).aspx
Security Monitoring Recommendations:
For 4929(S, F): An Active Directory replica source naming context was removed.
Monitor for Source Address field, because the source of the request must be authorized for this action. If you find any unauthorized DRA you should trigger an event.
This event is typically used for Active Directory replication troubleshooting.
4930(S, F): An Active Directory replica source naming context was modified.
Event Description:
This event generates every time Active Directory replica source naming context was modified.
Failure event generates if an error occurs (Status Code != 0).
It is not possible to understand what exactly was modified from this event.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
© 2016 Microsoft. All rights reserved.
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4930</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>14083</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-27T18:56:51.474057400Z" />
<EventRecordID>1564</EventRecordID>
<Correlation />
<Execution ProcessID="504" ThreadID="1280" />
<Channel>Security</Channel>
<Computer>Win2012r2.corp.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="DestinationDRA">CN=NTDS Settings,CN=WIN2012R2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=local</Data>
<Data Name="SourceDRA">-</Data>
<Data Name="SourceAddr">edf0bef9-1f73-4df3-8991-f6ec2d4ef3ae</Data>
<Data Name="NamingContext">CN=Schema,CN=Configuration,DC=contoso,DC=local</Data>
<Data Name="Options">0</Data>
<Data Name="StatusCode">0</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Destination DRA [Type = UnicodeString]: destination directory replication agent distinguished name.
The Directory Replication Agent (DRA) handles replication between domain controllers. The Directory Replication Agent uses the connection objects in the topology map to
find out those partners that are relevant when replicating changes to directory partitions. The DRA sends a replication request to the partners of a domain controller when
the domain controller needs to update its copy of Active Directory.
Source DRA [Type = UnicodeString]: source directory replication agent distinguished name. Typically equals “-“ for this event.
The LDAP API references an LDAP object by its distinguished name (DN). A DN is a sequence of relative distinguished names (RDN) connected by commas.
An RDN is an attribute with an associated value in the form attribute=value; . These are examples of RDNs attributes:
4931(S, F): An Active Directory replica destination naming context was modified.
Event Description:
This event generates every time Active Directory replica destination naming context was modified.
Failure event generates if an error occurs (Status Code != 0).
It is not possible to understand what exactly was modified from this event.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4931</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>14083</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
© 2016 Microsoft. All rights reserved.
<TimeCreated SystemTime="2015-08-27T19:02:41.563619400Z" />
<EventRecordID>227058</EventRecordID>
<Correlation />
<Execution ProcessID="524" ThreadID="2936" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="DestinationDRA">ddec0cff-6ceb-4a59-b13f-1724c38a0970._msdcs.contoso.local</Data>
<Data Name="SourceDRA">CN=NTDS Settings,CN=DC01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=local</Data>
<Data Name="SourceAddr">-</Data>
<Data Name="NamingContext">DC=ForestDnsZones,DC=contoso,DC=local</Data>
<Data Name="Options">23</Data>
<Data Name="StatusCode">0</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Destination DRA [Type = UnicodeString]: destination directory replication agent distinguished name.
The Directory Replication Agent (DRA) handles replication between domain controllers. The Directory Replication Agent uses the connection objects in the topology map to
find out those partners that are relevant when replicating changes to directory partitions. The DRA sends a replication request to the partners of a domain controller when
the domain controller needs to update its copy of Active Directory.
Source DRA [Type = UnicodeString]: source directory replication agent distinguished name.
The LDAP API references an LDAP object by its distinguished name (DN). A DN is a sequence of relative distinguished names (RDN) connected by commas.
An RDN is an attribute with an associated value in the form attribute=value; . These are examples of RDNs attributes:
DC - domainComponent
CN - commonName
OU - organizationalUnitName
O - organizationName
Destination Address [Type = UnicodeString]: DNS record of computer to which the modification request was sent.
Naming Context [Type = UnicodeString]: naming context which was modified.
Session ID:%1
Object:%2
Attribute:%3
Type of change:%4
New Value:%5
USN:%6
Status Code:%7
Destination DRA:%1
Source DRA:%2
Object:%3
Options:%4
Status Code:%5
Events List:
4662(S, F): An operation was performed on an object.
4661(S, F): A handle to an object was requested.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4662</EventID>
DC - domainComponent
CN - commonName
OU - organizationalUnitName
O - organizationName
Handle ID [Type = Pointer]: hexadecimal value of a handle to Object Name. This field can help you correlate this event with other events that might contain the same Handle ID,
for example, “4661: A handle to an object was requested.” This parameter might not be captured in the event, and in that case appears as “0x0”.
Operation:
Operation Type [Type = UnicodeString]: the type of operation which was performed on an object. Typically has “Object Access” value for this event.
© 2016 Microsoft. All rights reserved.
Accesses [Type = UnicodeString]: the type of access used for the operation. See “Table 9. Active Directory Access Codes and Rights.” for more information.
Access Mask [Type = HexInt32]: hexadecimal mask for the type of access used for the operation. See “Table 9. Active Directory Access Codes and Rights.” for more information.
Access Mask Access Name Description
0x1 Create Child The right to create child objects of the object.
0x2 Delete Child The right to delete child objects of the object.
0x4 List Contents The right to list child objects of this object.
0x8 SELF The right to perform an operation controlled by a validated write access right.
0x10 Read Property The right to read properties of the object.
0x20 Write Property The right to write properties of the object.
0x40 Delete Tree Delete all children of this object, regardless of the permissions of the children. It is indicates that “Use Delete Subtree
server control” check box was checked during deletion. This operation means that all objects within the subtree, including
all delete-protected objects, will be deleted.
0x80 List Object The right to list a particular object.
0x100 Control Access Access allowed only after extended rights checks supported by the object are performed.
The right to perform an operation controlled by an extended access right.
0x10000 DELETE The right to delete the object.
DELETE also generated when object was moved.
0x20000 READ_CONTROL The right to read data from the security descriptor of the object, not including the data in the SACL.
0x40000 WRITE_DAC The right to modify the discretionary access-control list (DACL) in the object security descriptor.
0x80000 WRITE_OWNER The right to assume ownership of the object. The user must be an object trustee. The user cannot transfer the ownership
to other users.
0x100000 SYNCHRONIZE The right to use the object for synchronization. This enables a thread to wait until the object is in the signaled state.
0x1000000 ADS_RIGHT_ACCESS_SYS The right to get or set the SACL in the object security descriptor.
TEM_SECURITY
0x80000000 ADS_RIGHT_GENERIC_R The right to read permissions on this object, read all the properties on this object, list this object name when the parent
EAD container is listed, and list the contents of this object if it is a container.
0x40000000 ADS_RIGHT_GENERIC_W The right to read permissions on this object, write all the properties on this object, and perform all validated writes to this
RITE object.
0x20000000 ADS_RIGHT_GENERIC_E The right to read permissions on, and list the contents of, a container object.
XECUTE
0x10000000 ADS_RIGHT_GENERIC_A The right to create or delete child objects, delete a subtree, read and write properties, examine child objects and the
LL object itself, add and remove the object from the directory, and read or write with an extended right.
Table 9. Active Directory Access Codes and Rights.
Properties [Type = UnicodeString]: first part is the type of access that was used. Typically has the same value as Accesses field.
Second part is a tree of GUID values of Active Directory classes or property sets, for which operation was performed.
Sometimes GUID refers to pre-defined Active Directory Property Sets, you can find GUID (Rights-GUID field), “property set name” and details here:
https://msdn.microsoft.com/en-us/library/ms683990(v=vs.85).aspx.
Here is an example of decoding of Properties field:
Properties Translation
{bf967a86-0de6-11d0-a285-00aa003049e2} Computer
{91e647de-d96f-4b70-9557-d63ff4f3ccd8} Private-Information property set
{6617e4ac-a2f1-43ab-b60c-11fbd1facf05} ms-PKI-RoamingTimeStamp
{b3f93023-9239-4f7c-b99c-6745d87adbc2} ms-PKI-DPAPIMasterKeys
{b8dfa744-31dc-4ef1-ac7c-84baf7ef9da7} ms-PKI-AccountCredentials
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
Process Name [Type = UnicodeString]: full path and the name of the executable for the process.
Access Request Information:
Transaction ID [Type = GUID]: unique GUID of the transaction. This field can help you correlate this event with other events that might contain the same the Transaction ID, such
as “4660(S): An object was deleted.”
This parameter might not be captured in the event, and in that case appears as “{00000000-0000-0000-0000-000000000000}”.
GUID is an acronym for 'Globally Unique Identifier'. It is a 128-bit integer number used to identify resources, activities or instances.
Accesses [Type = UnicodeString]: the list of access rights which were requested by Subject\Security ID. These access rights depend on Object Type. See “Table 13. File access
codes.” for more information about file access rights. For information about SAM object access right use https://technet.microsoft.com/ or other informational resources.
Access Mask [Type = HexInt32]: hexadecimal mask for the operation that was requested or performed. See “Table 13. File access codes.” for more information about file access
rights. For information about SAM object access right use https://technet.microsoft.com/ or other informational resources.
Privileges Used for Access Check [Type = UnicodeString]: the list of user privileges which were used during the operation, for example, SeBackupPrivilege. This parameter might
not be captured in the event, and in that case appears as “-”. See full list of user privileges in the table below:
General Stronger
Computer Type Comments
Success Failure Success Failure
Domain Controller Yes No Yes No It is important to track actions related to high value or critical Active Directory objects, for example, changes to
AdminSDHolder container or Domain Admins group objects.
This subcategory shows you what actions were performed. If you want to track failed access attempts for Active
Directory objects you need to take a look at Audit Directory Service Access subcategory.
For recommendations for using and analyzing the collected information, see the Security Monitoring
Recommendations sections. Also, develop an Active Directory auditing policy (SACL design for specific classes,
operation types which need to be monitored for specific Organizational Units, and so on) so you can audit only
the access attempts that are made to specific important objects.
This subcategory doesn’t have Failure events, so there is no recommendation to enable Failure auditing for this
subcategory.
Member Server No No No No This subcategory makes sense only on domain controllers.
Workstation No No No No This subcategory makes sense only on domain controllers.
Events List:
5136(S): A directory service object was modified.
5137(S): A directory service object was created.
5138(S): A directory service object was undeleted.
5139(S): A directory service object was moved.
5141(S): A directory service object was deleted.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5136</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>14081</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-28T17:36:04.129472600Z" />
<EventRecordID>410204</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="4020" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="OpCorrelationID">{02647639-8626-43CE-AFE6-7AA1AD657739}</Data>
<Data Name="AppCorrelationID">-</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x32004</Data>
<Data Name="DSName">contoso.local</Data>
<Data Name="DSType">%%14676</Data>
<Data Name="ObjectDN">CN=Sergey,CN=Builtin,DC=contoso,DC=local</Data>
<Data Name="ObjectGUID">{4FE80A66-5F93-4F73-B215-68678058E613}</Data>
<Data Name="ObjectClass">user</Data>
<Data Name="AttributeLDAPDisplayName">userAccountControl</Data>
<Data Name="AttributeSyntaxOID">2.5.5.9</Data>
<Data Name="AttributeValue">512</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="OperationType">%%14675</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “modify object” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “modify object” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Directory Service:
Name [Type = UnicodeString]: the name of the Active Directory domain where the modified object is located.
Type [Type = UnicodeString]: has “Active Directory Domain Services” value for this event.
Object:
DN [Type = UnicodeString]: distinguished name of the object that was modified.
The LDAP API references an LDAP object by its distinguished name (DN). A DN is a sequence of relative distinguished names (RDN) connected by commas.
An RDN is an attribute with an associated value in the form attribute=value; . These are examples of RDNs attributes:
DC - domainComponent
CN - commonName
OU - organizationalUnitName
O - organizationName
Value [Type = UnicodeString]: the value which was added or deleted, depending on the Operation\Type field.
Operation:
Type [Type = UnicodeString]: type of performed operation.
o Value Added – new value added.
o Value Deleted – value deleted (typically “Value Deleted” is a part of change operation).
Correlation ID [Type = GUID]: multiple modifications are often executed as one operation via LDAP. This value allows you to correlate all the modification events that comprise
the operation. Just look for other events from current subcategory with the same Correlation ID, for example “5137: A directory service object was created.” and “5139: A
directory service object was moved.”
GUID is an acronym for 'Globally Unique Identifier'. It is a 128-bit integer number used to identify resources, activities or instances.
Application Correlation ID [Type = UnicodeString]: always has “-“ value. Not in use.
Security Monitoring Recommendations:
For 5136(S): A directory service object was modified.
Appendix A: Security monitoring recommendations for many audit events
If you need to monitor modifications to specific Active Directory objects, monitor for DN field with specific object name. For example, we recommend that you monitor all
modifications to “CN=AdminSDHolder,CN=System,DC=domain,DC=com” object.
© 2016 Microsoft. All rights reserved.
If you need to monitor modifications to specific Active Directory classes, monitor for Class field with specific class name. For example, we recommend that you monitor all
modifications to domainDNS class.
If you need to monitor modifications to specific Active Directory attributes, monitor for LDAP Display Name field with specific attribute name.
It is better to monitor Operation\Type = Value Added events, because you will see the new value of attribute. At the same time you can correlate to previous
Operation\Type = Value Deleted event with the same Correlation ID to see the previous value.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5137</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>14081</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-28T18:36:26.048167500Z" />
<EventRecordID>410737</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="3156" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="OpCorrelationID">{4EAD68FF-7229-42A4-8C73-AAB57169858B}</Data>
<Data Name="AppCorrelationID">-</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="SubjectLogonId">0x32004</Data>
<Data Name="DSName">contoso.local</Data>
<Data Name="DSType">%%14676</Data>
<Data Name="ObjectDN">cn=Win2000,CN=Users,DC=contoso,DC=local</Data>
<Data Name="ObjectGUID">{41D5F7AF-64A2-4985-9A4B-70DAAFC7CCE6}</Data>
<Data Name="ObjectClass">computer</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “create object” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “create object” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Directory Service:
Name [Type = UnicodeString]: the name of an Active Directory domain, where new object is created.
Type [Type = UnicodeString]: has “Active Directory Domain Services” value for this event.
Object:
DN [Type = UnicodeString]: distinguished name of the object that was created.
The LDAP API references an LDAP object by its distinguished name (DN). A DN is a sequence of relative distinguished names (RDN) connected by commas.
An RDN is an attribute with an associated value in the form attribute=value; . These are examples of RDNs attributes:
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-
3E3B0328C30D}" />
<EventID>5138</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>14081</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-02T04:34:20.611082300Z" />
<EventRecordID>229336</EventRecordID>
© 2016 Microsoft. All rights reserved.
<Correlation />
<Execution ProcessID="516" ThreadID="544" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="OpCorrelationID">{3E2B5ECF-4C35-4C3F-8D82-B8D6F477D846}</Data>
<Data Name="AppCorrelationID">-</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3be49</Data>
<Data Name="DSName">contoso.local</Data>
<Data Name="DSType">%%14676</Data>
<Data Name="OldObjectDN">CN=Andrei\0ADEL:53511188-bc98-4995-9d78-2d40143c9711,CN=Deleted Objects,DC=contoso,DC=local</Data>
<Data Name="NewObjectDN">CN=Andrei,CN=Users,DC=contoso,DC=local</Data>
<Data Name="ObjectGUID">{53511188-BC98-4995-9D78-2D40143C9711}</Data>
<Data Name="ObjectClass">user</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested that the object be undeleted or restored. Event Viewer automatically tries to resolve SIDs and show the account name. If
the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: name of account that requested that the object be undeleted or restored.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
© 2016 Microsoft. All rights reserved.
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Directory Service:
Name [Type = UnicodeString]: the name of an Active Directory domain, where the object was undeleted.
Type [Type = UnicodeString]: has “Active Directory Domain Services” value for this event.
Object:
Old DN [Type = UnicodeString]: Old distinguished name of undeleted object. It will points to Active Directory Recycle Bin folder, in case if it was restored from it.
The LDAP API references an LDAP object by its distinguished name (DN). A DN is a sequence of relative distinguished names (RDN) connected by commas.
An RDN is an attribute with an associated value in the form attribute=value; . These are examples of RDNs attributes:
DC - domainComponent
CN - commonName
OU - organizationalUnitName
O - organizationName
New DN [Type = UnicodeString]: New distinguished name of undeleted object. The Active Directory container to which the object was restored.
GUID [Type = GUID]: each Active Directory object has globally unique identifier (GUID), which is a 128-bit value that is unique not only in the enterprise but also across the world.
GUIDs are assigned to every object created by Active Directory. Each object's GUID is stored in its Object-GUID (objectGUID) property.
Active Directory uses GUIDs internally to identify objects. For example, the GUID is one of an object's properties that is published in the global catalog. Searching the global
catalog for a User object's GUID will yield results if the user has an account somewhere in the enterprise. In fact, searching for any object by Object-GUID might be the most
reliable way of finding the object you want to find. The values of other object properties can change, but the Object-GUID never changes. When an object is assigned a GUID, it
keeps that value for life.
Event Viewer automatically resolves GUID field to real object.
To translate this GUID, use the following procedure:
o Perform the following LDAP search using LDP.exe tool:
Base DN: CN=Schema,CN=Configuration,DC=XXX,DC=XXX
Filter: (&(objectClass=*)(objectGUID=GUID))
Perform the following operations with the GUID before using it in a search request:
o We have this GUID to search for: a6b34ab5-551b-4626-b8ee-2b36b3ee6672
o Take first 3 sections a6b34ab5-551b-4626.
o For each of these 3 sections you need to change (Invert) the order of bytes, like this b54ab3a6-1b55-2646
o Add the last 2 sections without transformation: b54ab3a6-1b55-2646-b8ee-2b36b3ee6672
o Delete - : b54ab3a61b552646b8ee2b36b3ee6672
o Divide bytes with backslashes: \b5\4a\b3\a6\1b\55\26\46\b8\ee\2b\36\b3\ee\66\72
Filter example: (&(objectClass=*)(objectGUID = \b5\4a\b3\a6\1b\55\26\46\b8\ee\2b\36\b3\ee\66\72))
Scope: Subtree
© 2016 Microsoft. All rights reserved.
Attributes: objectGUID
Class [Type = UnicodeString]: class of the object that was undeleted. Some of the common Active Directory object classes:
o container – for containers.
o user – for users.
o group – for groups.
o domainDNS – for domain object.
o groupPolicyContainer – for group policy objects.
For all possible values of this field open Active Directory Schema snap-in (see how to enable this snap-in: https://technet.microsoft.com/en-us/library/Cc755885(v=WS.10).aspx)
and navigate to Active Directory Schema\Classes. Or use this document: https://msdn.microsoft.com/en-us/library/cc221630.aspx
Operation:
Correlation ID [Type = GUID]: multiple modifications are often executed as one operation via LDAP. This value allows you to correlate all the modification events that comprise
the operation. Just look for other events from current subcategory with the same Correlation ID, for example “5137: A directory service object was created.” and “5139: A
directory service object was moved.”
GUID is an acronym for 'Globally Unique Identifier'. It is a 128-bit integer number used to identify resources, activities or instances.
Application Correlation ID [Type = UnicodeString]: always has “-“ value. Not in use.
Security Monitoring Recommendations:
For 5138(S): A directory service object was undeleted.
Appendix A: Security monitoring recommendations for many audit events
If you need to monitor undelete operations (restoration) of Active Directory objects with specific classes,
monitor for Class field with specific class name.
It may be a good idea to monitor all undelete events, because the operation is not performed very often.
Confirm that there is a reason for the object to be undeleted.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5139</EventID>
© 2016 Microsoft. All rights reserved.
<Version>0</Version>
<Level>0</Level>
<Task>14081</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-28T06:26:07.019116600Z" />
<EventRecordID>409532</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="600" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="OpCorrelationID">{67A42C05-A70D-4348-AF19-E883CB1FCA9C}</Data>
<Data Name="AppCorrelationID">-</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x35867</Data>
<Data Name="DSName">contoso.local</Data>
<Data Name="DSType">%%14676</Data>
<Data Name="OldObjectDN">CN=NewUser,CN=Builtin,DC=contoso,DC=local</Data>
<Data Name="NewObjectDN">CN=NewUser,CN=Users,DC=contoso,DC=local</Data>
<Data Name="ObjectGUID">{06713960-9CC3-4B5D-A594-35883A04F934}</Data>
<Data Name="ObjectClass">user</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “move object” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
DC - domainComponent
CN - commonName
OU - organizationalUnitName
O - organizationName
New DN [Type = UnicodeString]: New distinguished name of moved object. The Active Directory container to which the object was moved.
GUID [Type = GUID]: each Active Directory object has globally unique identifier (GUID), which is a 128-bit value that is unique not only in the enterprise but also across the world.
GUIDs are assigned to every object created by Active Directory. Each object's GUID is stored in its Object-GUID (objectGUID) property.
Active Directory uses GUIDs internally to identify objects. For example, the GUID is one of an object's properties that is published in the global catalog. Searching the global
catalog for a User object's GUID will yield results if the user has an account somewhere in the enterprise. In fact, searching for any object by Object-GUID might be the most
reliable way of finding the object you want to find. The values of other object properties can change, but the Object-GUID never changes. When an object is assigned a GUID, it
keeps that value for life.
Event Viewer automatically resolves GUID field to real object.
To translate this GUID, use the following procedure:
o Perform the following LDAP search using LDP.exe tool:
Base DN: CN=Schema,CN=Configuration,DC=XXX,DC=XXX
Filter: (&(objectClass=*)(objectGUID=GUID))
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5141</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>14081</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-08-28T18:48:06.792762900Z" />
<EventRecordID>411118</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="4092" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="OpCorrelationID">{C8A9000C-C618-4EE9-87FF-F852C0564F18}</Data>
<Data Name="AppCorrelationID">-</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x32004</Data>
<Data Name="DSName">contoso.local</Data>
<Data Name="DSType">%%14676</Data>
<Data Name="ObjectDN">CN=WIN2003,CN=Users,DC=contoso,DC=local</Data>
<Data Name="ObjectGUID">{CA15B875-AFB1-4E5A-86B2-96E61DE09110}</Data>
<Data Name="ObjectClass">computer</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="TreeDelete">%%14679</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “delete object” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “delete object” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Directory Service:
Name [Type = UnicodeString]: the name of an Active Directory domain, where the object was deleted.
Type [Type = UnicodeString]: has “Active Directory Domain Services” value for this event.
Object:
DN [Type = UnicodeString]: distinguished name of the object that was deleted.
The LDAP API references an LDAP object by its distinguished name (DN). A DN is a sequence of relative distinguished names (RDN) connected by commas.
An RDN is an attribute with an associated value in the form attribute=value; . These are examples of RDNs attributes:
DC - domainComponent
CN - commonName
OU - organizationalUnitName
O - organizationName
General Stronger
Computer Type Comments
Success Failure Success Failure
Domain Controller No No IF IF IF - Events in this subcategory typically have an informational purpose and it is difficult to detect any malicious
activity using these events. It’s mainly used for Active Directory replication troubleshooting.
Member Server No No No No This subcategory makes sense only on domain controllers.
Workstation No No No No This subcategory makes sense only on domain controllers.
Events List:
4932(S): Synchronization of a replica of an Active Directory naming context has begun.
4933(S, F): Synchronization of a replica of an Active Directory naming context has ended.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-
4994-A5BA-3E3B0328C30D}" />
<EventID>4932</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>14082</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-02T02:06:03.814642100Z" />
<EventRecordID>413689</EventRecordID>
<Correlation />
DC - domainComponent
CN - commonName
OU - organizationalUnitName
O - organizationName
Naming Context [Type = UnicodeString]: naming context to replicate.
The Directory Tree of Active Directory tree is partitioned to allow sections to be distributed (replicated) to domain controllers in different domains within the forest. Each
domain controller stores a copy of a specific part of the directory tree, called a Naming Context also known as Directory Partition. Naming Context is replicated as a unit to
other domain controllers in the forest that contain a replica of the same sub tree. A Naming Context is also called a Directory Partition.
Options [Type = UInt32]: decimal value of DRS Options.
4933(S, F): Synchronization of a replica of an Active Directory naming context has ended.
Event Description:
This event generates every time synchronization of a replica of an Active Directory
naming context has ended.
Failure event occurs when synchronization of a replica of an Active Directory
naming context failed.
Note For recommendations, see Security Monitoring Recommendations for this
event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-
4994-A5BA-3E3B0328C30D}" />
<EventID>4933</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>14082</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2015-09-01T20:58:28.854735700Z" />
<EventRecordID>413644</EventRecordID>
<Correlation />
<Execution ProcessID="524" ThreadID="2288" />
© 2016 Microsoft. All rights reserved.
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="DestinationDRA">CN=NTDS Settings,CN=DC01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=local</Data>
<Data Name="SourceDRA">CN=NTDS Settings,CN=WIN2012R2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=local</Data>
<Data Name="NamingContext">CN=Schema,CN=Configuration,DC=contoso,DC=local</Data>
<Data Name="Options">2147483733</Data>
<Data Name="SessionID">40</Data>
<Data Name="EndUSN">20869</Data>
<Data Name="StatusCode">1722</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Destination DRA [Type = UnicodeString]: destination directory replication agent distinguished name.
The Directory Replication Agent (DRA) handles replication between domain controllers. The Directory Replication Agent uses the connection objects in the topology map to
find out those partners that are relevant when replicating changes to directory partitions. The DRA sends a replication request to the partners of a domain controller when
the domain controller needs to update its copy of Active Directory.
Source DRA [Type = UnicodeString]: source directory replication agent distinguished name.
The LDAP API references an LDAP object by its distinguished name (DN). A DN is a sequence of relative distinguished names (RDN) connected by commas.
An RDN is an attribute with an associated value in the form attribute=value; . These are examples of RDNs attributes:
DC - domainComponent
CN - commonName
OU - organizationalUnitName
O - organizationName
Naming Context [Type = UnicodeString]: naming context to replicate.
The Directory Tree of Active Directory tree is partitioned to allow sections to be distributed (replicated) to domain controllers in different domains within the forest. Each
domain controller stores a copy of a specific part of the directory tree, called a Naming Context also known as Directory Partition. Naming Context is replicated as a unit to
other domain controllers in the forest that contain a replica of the same sub tree. A Naming Context is also called a Directory Partition.
Options [Type = UInt32]: decimal value of DRS Options.
Events List:
4625(F): An account failed to log on.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4625</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12546</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2015-09-08T22:54:54.962511700Z" />
<EventRecordID>229977</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="3240" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC01$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="TargetUserSid">S-1-0-0</Data>
<Data Name="TargetUserName">Auditor</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="Status">0xc0000234</Data>
<Data Name="FailureReason">%%2307</Data>
<Data Name="SubStatus">0x0</Data>
<Data Name="LogonType">2</Data>
<Data Name="LogonProcessName">User32</Data>
<Data Name="AuthenticationPackageName">Negotiate</Data>
<Data Name="WorkstationName">DC01</Data>
<Data Name="TransmittedServices">-</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="LmPackageName">-</Data>
<Data Name="KeyLength">0</Data>
<Data Name="ProcessId">0x1bc</Data>
<Data Name="ProcessName">C:\Windows\System32\winlogon.exe</Data>
<Data Name="IpAddress">127.0.0.1</Data>
<Data Name="IpPort">0</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that reported information about logon failure. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that reported information about logon failure.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon Type [Type = UInt32]: the type of logon which was performed. “Table 11. Windows Logon Types” contains the list of possible values for this field.
Logon Type Logon Title Description
2 Interactive A user logged on to this computer.
3 Network A user or computer logged on to this computer from the network.
Batch logon type is used by batch servers, where processes may be executing on behalf of a user without their direct
4 Batch
intervention.
5 Service A service was started by the Service Control Manager.
7 Unlock This workstation was unlocked.
A user logged on to this computer from the network. The user's password was passed to the authentication package in its
8 NetworkCleartext unhashed form. The built-in authentication packages all hash credentials before sending them across the network. The
credentials do not traverse the network in plaintext (also called cleartext).
© 2016 Microsoft. All rights reserved.
A caller cloned its current token and specified new credentials for outbound connections. The new logon session has the
9 NewCredentials
same local identity, but uses different credentials for other network connections.
10 RemoteInteractive A user logged on to this computer remotely using Terminal Services or Remote Desktop.
A user logged on to this computer with network credentials that were stored locally on the computer. The domain
11 CachedInteractive
controller was not contacted to verify the credentials.
Table 11. Windows Logon Types
To see the meaning of other status\sub-status codes you may also check for status code in the Window header file ntstatus.h in Windows SDK.
More information: https://dev.windows.com/en-us/downloads
Sub Status [Type = HexInt32]: additional information about logon failure. The most common sub-status codes listed in the “Table 12. Windows logon status codes.”.
Process Information:
Caller Process ID [Type = Pointer]: hexadecimal Process ID of the process that attempted the logon. Process ID (PID) is a number used by the operating system to uniquely identify
an active process. To see the PID for a specific process you can, for example, use Task Manager (Details tab, PID column):
Failure Information\Status or 0XC000005E – “There are currently no logon servers available to service the logon request.”
Failure Information\Sub Status This is typically not a security issue but it can be an infrastructure or availability issue.
Failure Information\Status or 0xC0000064 – “User logon with misspelled or bad user account”.
Failure Information\Sub Status Especially if you get a number of these in a row, it can be a sign of user enumeration attack.
Failure Information\Status or 0xC000006A – “User logon with misspelled or bad password” for critical accounts or service accounts.
Failure Information\Sub Status Especially watch for a number of such events in a row.
Failure Information\Status or 0XC000006D – “This is either due to a bad username or authentication information” for critical
Failure Information\Sub Status accounts or service accounts.
Especially watch for a number of such events in a row.
Failure Information\Status or 0XC000015B – “The user has not been granted the requested logon type (aka logon right) at this
Failure Information\Sub Status machine”.
Failure Information\Status or 0XC0000192 – “An attempt was made to logon, but the Netlogon service was not started”.
Failure Information\Sub Status This is typically not a security issue but it can be an infrastructure or availability issue.
Failure Information\Status or 0XC0000413 – “Logon Failure: The machine you are logging onto is protected by an authentication
Failure Information\Sub Status firewall. The specified account is not allowed to authenticate to the machine”.
Events List:
4626(S): User/Device claims information.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4626</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12553</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-10T00:12:02.243396300Z" />
<EventRecordID>232648</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="1092" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-0-0</Data>
<Data Name="SubjectUserName">-</Data>
<Data Name="SubjectDomainName">-</Data>
<Data Name="SubjectLogonId">0x0</Data>
<Data Name="TargetUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="TargetUserName">dadmin</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetLogonId">0x136f7b</Data>
<Data Name="LogonType">3</Data>
<Data Name="EventIdx">1</Data>
<Data Name="EventCountTotal">1</Data>
<Data Name="UserClaims">ad://ext/cn:88d2b96fdb2b4c49 <%%1818> : "dadmin" ad://ext/Department:88d16a8edaa8c66b <%%1818> : "IT"</Data>
<Data Name="DeviceClaims">-</Data>
</EventData>
</Event>
Required Server Roles: None.
© 2016 Microsoft. All rights reserved.
Minimum OS Version: Windows Server 2012, Windows 8.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that reported information about claims. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that reported information about claims.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Logon Type [Type = UInt32]: the type of logon which was performed. The table below contains the list of possible values for this field:
Logon Type Logon Title Description
2 Interactive A user logged on to this computer.
3 Network A user or computer logged on to this computer from the network.
Batch logon type is used by batch servers, where processes may be executing on behalf of a user without their direct
4 Batch
intervention.
5 Service A service was started by the Service Control Manager.
7 Unlock This workstation was unlocked.
A user logged on to this computer from the network. The user's password was passed to the authentication package in its
8 NetworkCleartext unhashed form. The built-in authentication packages all hash credentials before sending them across the network. The
credentials do not traverse the network in plaintext (also called cleartext).
A caller cloned its current token and specified new credentials for outbound connections. The new logon session has the
9 NewCredentials
same local identity, but uses different credentials for other network connections.
10 RemoteInteractive A user logged on to this computer remotely using Terminal Services or Remote Desktop.
A user logged on to this computer with network credentials that were stored locally on the computer. The domain
11 CachedInteractive
controller was not contacted to verify the credentials.
New Logon:
Events List:
4627(S): Group membership information.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4627</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12554</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-12T03:51:25.843673000Z" />
<EventRecordID>3081</EventRecordID>
<Correlation ActivityID="{913FBE70-1CE6-0000-67BF-3F91E61CD101}" />
<Execution ProcessID="736" ThreadID="808" />
<Channel>Security</Channel>
<Computer>WIN-GG82ULGC9GO.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-0-0</Data>
<Data Name="SubjectUserName">-</Data>
<Data Name="SubjectDomainName">-</Data>
<Data Name="SubjectLogonId">0x0</Data>
<Data Name="TargetUserSid">S-1-5-21-1377283216-344919071-3415362939-1104</Data>
<Data Name="TargetUserName">dadmin</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetLogonId">0x569860</Data>
<Data Name="LogonType">3</Data>
<Data Name="EventIdx">1</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="EventCountTotal">1</Data>
<Data Name="GroupMembership">%{S-1-5-21-1377283216-344919071-3415362939-513} %{S-1-1-0} %{S-1-5-32-544} %{S-1-5-32-545} %{S-1-5-32-554} %{S-1-5-2} %{S-1-5-11} %{S-1-5-
15} %{S-1-5-21-1377283216-344919071-3415362939-512} %{S-1-5-21-1377283216-344919071-3415362939-572} %{S-1-5-64-10} %{S-1-16-12288}</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2016, Windows 10.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that reported information about successful logon or invokes it. Event Viewer automatically tries to resolve SIDs and show the account
name. If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that reported information about successful logon or invokes it.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4672(S): Special
privileges assigned to new logon.”
Logon Type [Type = UInt32]: the type of logon which was performed. The table below contains the list of possible values for this field:
Logon Type Logon Title Description
2 Interactive A user logged on to this computer.
3 Network A user or computer logged on to this computer from the network.
Batch logon type is used by batch servers, where processes may be executing on behalf of a user without their direct
4 Batch
intervention.
5 Service A service was started by the Service Control Manager.
7 Unlock This workstation was unlocked.
A user logged on to this computer from the network. The user's password was passed to the authentication package in its
8 NetworkCleartext unhashed form. The built-in authentication packages all hash credentials before sending them across the network. The
credentials do not traverse the network in plaintext (also called cleartext).
9 NewCredentials A caller cloned its current token and specified new credentials for outbound connections. The new logon session has the
© 2016 Microsoft. All rights reserved.
same local identity, but uses different credentials for other network connections.
10 RemoteInteractive A user logged on to this computer remotely using Terminal Services or Remote Desktop.
A user logged on to this computer with network credentials that were stored locally on the computer. The domain
11 CachedInteractive
controller was not contacted to verify the credentials.
New Logon:
Security ID [Type = SID]: SID of account for which logon was performed. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account for which logon was performed.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4672(S): Special
privileges assigned to new logon.”
Event in sequence [Type = UInt32]: If is there is not enough space in one event to put all groups, you will see “1 of N” in this field and additional events will be generated. Typically this
field has “1 of 1” value.
Group Membership [Type = UnicodeString]: the list of group SIDs which logged account belongs to (member of). Event Viewer automatically tries to resolve SIDs and show the account
name. If the SID cannot be resolved, you will see the source data in the event.
Security Monitoring Recommendations:
For 4627(S): Group membership information.
Appendix A: Security monitoring recommendations for many audit events
If you need to track that a member of a specific group logged on to a computer, check the “Group Membership” field.
4978: During Extended Mode negotiation, IPsec received an invalid negotiation packet. If this problem persists, it could indicate a network issue or an
attempt to modify or replay this negotiation.
4979: IPsec Main Mode and Extended Mode security associations were established.
4980: IPsec Main Mode and Extended Mode security associations were established.
4981: IPsec Main Mode and Extended Mode security associations were established.
4982: IPsec Main Mode and Extended Mode security associations were established.
4983: An IPsec Extended Mode negotiation failed. The corresponding Main Mode security association has been deleted.
4984: An IPsec Extended Mode negotiation failed. The corresponding Main Mode security association has been deleted.
4977: During Quick Mode negotiation, IPsec received an invalid negotiation packet. If this problem persists, it could indicate a network issue or an attempt
to modify or replay this negotiation.
5451: An IPsec Quick Mode security association was established.
5452: An IPsec Quick Mode security association ended.
Events List:
4634(S): An account was logged off.
4647(S): User initiated logoff.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4634</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12545</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-09T02:27:57.877205900Z" />
<EventRecordID>230019</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="832" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserSid">S-1-5-90-1</Data>
<Data Name="TargetUserName">DWM-1</Data>
<Data Name="TargetDomainName">Window Manager</Data>
<Data Name="TargetLogonId">0x1a0992</Data>
<Data Name="LogonType">2</Data>
</EventData>
© 2016 Microsoft. All rights reserved.
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that was logged off. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be resolved, you will
see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that was logged off.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Logon Type [Type = UInt32]: the type of logon which was used. The table below contains the list of possible values for this field:
Logon Type Logon Title Description
2 Interactive A user logged on to this computer.
3 Network A user or computer logged on to this computer from the network.
Batch logon type is used by batch servers, where processes may be executing on behalf of a user without their direct
4 Batch
intervention.
5 Service A service was started by the Service Control Manager.
7 Unlock This workstation was unlocked.
A user logged on to this computer from the network. The user's password was passed to the authentication package in its
8 NetworkCleartext unhashed form. The built-in authentication packages all hash credentials before sending them across the network. The
credentials do not traverse the network in plaintext (also called cleartext).
A caller cloned its current token and specified new credentials for outbound connections. The new logon session has the
9 NewCredentials
same local identity, but uses different credentials for other network connections.
10 RemoteInteractive A user logged on to this computer remotely using Terminal Services or Remote Desktop.
11 CachedInteractive A user logged on to this computer with network credentials that were stored locally on the computer. The domain
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4647</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12545</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-09T03:08:39.126890800Z" />
<EventRecordID>230200</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="3864" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
© 2016 Microsoft. All rights reserved.
<Security />
</System>
- <EventData>
<Data Name="TargetUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="TargetUserName">dadmin</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetLogonId">0x29b379</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “logoff” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “logoff” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Security Monitoring Recommendations:
For 4647(S): User initiated logoff.
Appendix A: Security monitoring recommendations for many audit events
Events List:
4624(S): An account was successfully logged on.
4625(F): An account failed to log on.
4648(S): A logon was attempted using explicit credentials.
4675(S): SIDs were filtered.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4624</EventID>
<Version>2</Version>
<Level>0</Level>
<Task>12544</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-12T00:24:35.079785200Z" />
<EventRecordID>211</EventRecordID>
<Correlation ActivityID="{00D66690-1CDF-0000-AC66-D600DF1CD101}" />
<Execution ProcessID="716" ThreadID="760" />
<Channel>Security</Channel>
<Computer>WIN-GG82ULGC9GO</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">WIN-GG82ULGC9GO$</Data>
<Data Name="SubjectDomainName">WORKGROUP</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="TargetUserSid">S-1-5-21-1377283216-344919071-3415362939-500</Data>
<Data Name="TargetUserName">Administrator</Data>
<Data Name="TargetDomainName">WIN-GG82ULGC9GO</Data>
<Data Name="TargetLogonId">0x8dcdc</Data>
<Data Name="LogonType">2</Data>
<Data Name="LogonProcessName">User32</Data>
<Data Name="AuthenticationPackageName">Negotiate</Data>
<Data Name="WorkstationName">WIN-GG82ULGC9GO</Data>
<Data Name="LogonGuid">{00000000-0000-0000-0000-000000000000}</Data>
<Data Name="TransmittedServices">-</Data>
<Data Name="LmPackageName">-</Data>
<Data Name="KeyLength">0</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="ProcessId">0x44c</Data>
<Data Name="ProcessName">C:\Windows\System32\svchost.exe</Data>
<Data Name="IpAddress">127.0.0.1</Data>
<Data Name="IpPort">0</Data>
<Data Name="ImpersonationLevel">%%1833</Data>
<Data Name="RestrictedAdminMode">-</Data>
<Data Name="TargetOutboundUserName">-</Data>
<Data Name="TargetOutboundDomainName">-</Data>
<Data Name="VirtualAccount">%%1843</Data>
<Data Name="TargetLinkedLogonId">0x0</Data>
<Data Name="ElevatedToken">%%1842</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions:
0 - Windows Server 2008, Windows Vista.
1 - Windows Server 2012, Windows 8.
o Added “Impersonation Level” field.
2 – Windows 10.
o Added “Logon Information:” section.
o Logon Type moved to “Logon Information:” section.
o Added “Restricted Admin Mode” field.
o Added “Virtual Account” field.
o Added “Elevated Token” field.
o Added “Linked Logon ID” field.
o Added “Network Account Name” field.
o Added “Network Account Domain” field.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that reported information about successful logon or invokes it. Event Viewer automatically tries to resolve SIDs and show the account
name. If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that reported information about successful logon.
© 2016 Microsoft. All rights reserved.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4672(S): Special
privileges assigned to new logon.”
Logon Information [Version 2]:
Logon Type [Version 0, 1, 2] [Type = UInt32]: the type of logon which was performed. The table below contains the list of possible values for this field:
Logon Type Logon Title Description
2 Interactive A user logged on to this computer.
3 Network A user or computer logged on to this computer from the network.
Batch logon type is used by batch servers, where processes may be executing on behalf of a user without their direct
4 Batch
intervention.
5 Service A service was started by the Service Control Manager.
7 Unlock This workstation was unlocked.
A user logged on to this computer from the network. The user's password was passed to the authentication package in its
8 NetworkCleartext unhashed form. The built-in authentication packages all hash credentials before sending them across the network. The
credentials do not traverse the network in plaintext (also called cleartext).
A caller cloned its current token and specified new credentials for outbound connections. The new logon session has the
9 NewCredentials
same local identity, but uses different credentials for other network connections.
10 RemoteInteractive A user logged on to this computer remotely using Terminal Services or Remote Desktop.
A user logged on to this computer with network credentials that were stored locally on the computer. The domain
11 CachedInteractive
controller was not contacted to verify the credentials.
Restricted Admin Mode [Version 2] [Type = UnicodeString]: Only populated for RemoteInteractive logon type sessions. This is a Yes/No flag indicating if the credentials provided
were passed using Restricted Admin mode. Restricted Admin mode was added in Win8.1/2012R2 but this flag was added to the event in Win10.
Reference: http://blogs.technet.com/b/kfalde/archive/2013/08/14/restricted-admin-mode-for-rdp-in-windows-8-1-2012-r2.aspx.
If not a RemoteInteractive logon, then this will be "-" string.
Virtual Account [Version 2] [Type = UnicodeString]: a “Yes” or “No” flag, which indicates if the account is a virtual account (e.g., "Managed Service Account"), which was
introduced in Windows 7 and Windows Server 2008 R2 to provide the ability to identify the account that a given Service uses, instead of just using "NetworkService".
Elevated Token [Version 2] [Type = UnicodeString]: a “Yes” or “No” flag. If “Yes” then the session this event represents is elevated and has administrator privileges.
Impersonation Level [Version 1, 2] [Type = UnicodeString]: can have one of these four values:
SecurityAnonymous (displayed as empty string): The server process cannot obtain identification information about the client, and it cannot impersonate the client. It is defined
with no value given, and thus, by ANSI C rules, defaults to a value of zero.
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
You can also correlate this process ID with a process ID in other events, for example, “4688: A new process has been created” Process Information\New Process ID.
Caller Process Name [Type = UnicodeString]: full path and the name of the executable for the process.
Network Information:
Workstation Name [Type = UnicodeString]: machine name from which logon attempt was performed.
Source Network Address [Type = UnicodeString]: IP address of machine from which logon attempt was performed.
o IPv6 address or ::ffff:IPv4 address of a client.
o ::1 or 127.0.0.1 means localhost.
Source Port [Type = UnicodeString]: source port which was used for logon attempt from remote machine.
o 0 for interactive logons.
Detailed Authentication Information:
Logon Process [Type = UnicodeString]: the name of the trusted logon process that was used for the logon. See event “4611: A trusted logon process has been registered with the
Local Security Authority” description for more information.
Authentication Package [Type = UnicodeString]: The name of the authentication package which was used for the logon authentication process. Default packages loaded on LSA
startup are located in “HKLM\SYSTEM\CurrentControlSet\Control\Lsa\OSConfig” registry key. Other packages can be loaded at runtime. When a new package is loaded a “ 4610:
An authentication package has been loaded by the Local Security Authority” (typically for NTLM) or “4622: A security package has been loaded by the Local Security Authority”
(typically for Kerberos) event is logged to indicate that a new package has been loaded along with the package name. The most common authentication packages are:
o NTLM – NTLM-family Authentication
o Kerberos – Kerberos authentication.
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “New Logon\Security ID”
anomalies or monitoring potential malicious actions. For example, you might need to (with other information) to monitor how or when a particular account is being used.
monitor for use of an account outside of working hours.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “New Logon\Security ID” that corresponds to the accounts
accounts that should never be used. that should never be used.
Account whitelist: You might have a specific whitelist of accounts that are the only ones If this event corresponds to a “whitelist-only” action, review the “New Logon\Security ID”
allowed to perform actions corresponding to particular events. for accounts that are outside the whitelist.
Accounts of different types: You might want to ensure that certain actions are performed If this event corresponds to an action you want to monitor for certain account types,
only by certain account types, for example, local or domain account, machine or user review the “New Logon\Security ID” to see whether the account type is as expected.
account, vendor or employee account, and so on.
External accounts: You might be monitoring accounts from another domain, or “external” Monitor this event for the “Subject\Account Domain” corresponding to accounts from
accounts that are not allowed to perform certain actions (represented by certain specific
© 2016 Microsoft. All rights reserved.
events). another domain or “external” accounts.
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the “New
devices on which certain people (accounts) should not typically perform any actions. Logon\Security ID” that you are concerned about.
Account naming conventions: Your organization might have specific naming conventions Monitor “Subject\Account Name” for names that don’t comply with naming conventions.
for account names.
Because this event is typically triggered by the SYSTEM account, we recommend that you report it whenever “Subject\Security ID” is not SYSTEM.
If “Restricted Admin” mode must be used for logons by certain accounts, use this event to monitor logons by “New Logon\Security ID” in relation to “Logon Type”=10 and
“Restricted Admin Mode”=”Yes”. If “Restricted Admin Mode”=”No” for these accounts, trigger an alert.
If you need to monitor all logon events for accounts with administrator privileges, monitor this event with “Elevated Token”=”Yes”.
If you need to monitor all logon events for managed service accounts and group managed service accounts, monitor for events with “Virtual Account”=”Yes”.
To monitor for a mismatch between the logon type and the account that uses it (for example, if Logon Type 4-Batch or 5-Service is used by a member of a domain administrative
group), monitor Logon Type in this event.
If your organization restricts logons in the following ways, you can use this event to monitor accordingly:
o If the user account “New Logon\Security ID” should never be used to log on from the specific Computer:.
o If New Logon\Security ID credentials should not be used from Workstation Name or Source Network Address.
o If a specific account, such as a service account, should only be used from your internal IP address list (or some other list of IP addresses). In this case, you can monitor for
Network Information\Source Network Address and compare the network address with your list of IP addresses.
o If a particular version of NTLM is always used in your organization. In this case, you can use this event to monitor Package Name (NTLM only), for example, to find events
where Package Name (NTLM only) does not equal NTLM V2.
o If NTLM is not used in your organization, or should not be used by a specific account (New Logon\Security ID). In this case, monitor for all events where Authentication
Package is NTLM.
o If the Authentication Package is NTLM. In this case, monitor for Key Length not equal to 128, because all Windows operating systems starting with Windows 2000
support 128-bit Key Length.
If you monitor for potentially malicious software, or software that is not authorized to request logon actions, monitor this event for Process Name.
If you have a trusted logon processes list, monitor for a Logon Process that is not from the list.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4648</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12544</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-10T02:54:50.771459000Z" />
<EventRecordID>233200</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="1116" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x31844</Data>
<Data Name="LogonGuid">{00000000-0000-0000-0000-000000000000}</Data>
<Data Name="TargetUserName">ladmin</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetLogonGuid">{0887F1E4-39EA-D53C-804F-31D568A06274}</Data>
<Data Name="TargetServerName">localhost</Data>
<Data Name="TargetInfo">localhost</Data>
<Data Name="ProcessId">0x368</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="ProcessName">C:\Windows\System32\svchost.exe</Data>
<Data Name="IpAddress">::1</Data>
<Data Name="IpPort">0</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the new logon session with explicit credentials. Event Viewer automatically tries to resolve SIDs and show the account
name. If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the new logon session with explicit credentials.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Logon GUID [Type = GUID]: a GUID that can help you correlate this event with another event that can contain the same Logon GUID, “4769(S, F): A Kerberos service ticket was
requested event on a domain controller.
It also can be used for correlation between a 4648 event and several other events (on the same computer) that can contain the same Logon GUID, “4624(S): An account was
successfully logged on” and “4964(S): Special groups have been assigned to a new logon.”
This parameter might not be captured in the event, and in that case appears as “{00000000-0000-0000-0000-000000000000}”.
GUID is an acronym for 'Globally Unique Identifier'. It is a 128-bit integer number used to identify resources, activities or instances.
Account Whose Credentials Were Used:
Account Name [Type = UnicodeString]: the name of the account whose credentials were used.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
© 2016 Microsoft. All rights reserved.
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon GUID [Type = GUID]: a GUID that can help you correlate this event with another event that can contain the same Logon GUID, “4769(S, F): A Kerberos service ticket was
requested event on a domain controller.
It also can be used for correlation between a 4648 event and several other events (on the same computer) that can contain the same Logon GUID, “4624(S): An account was
successfully logged on” and “4964(S): Special groups have been assigned to a new logon.”
This parameter might not be captured in the event, and in that case appears as “{00000000-0000-0000-0000-000000000000}”.
GUID is an acronym for 'Globally Unique Identifier'. It is a 128-bit integer number used to identify resources, activities or instances.
Target Server:
Target Server Name [Type = UnicodeString]: the name of the server on which the new process was run. Has “localhost” value if the process was run locally.
Additional Information [Type = UnicodeString]: there is no detailed information about this field in this document.
Process Information:
Process ID [Type = Pointer]: hexadecimal Process ID of the process which was run using explicit credentials. Process ID (PID) is a number used by the operating system to uniquely
identify an active process. To see the PID for a specific process you can, for example, use Task Manager (Details tab, PID column):
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
You can also correlate this process ID with a process ID in other events, for example, “4688: A new process has been created” Process Information\New Process ID.
Process Name [Type = UnicodeString]: full path and the name of the executable for the process.
Network Information:
Network Address [Type = UnicodeString]: IP address of machine from which logon attempt was performed.
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “Subject\Security ID” and
anomalies or monitoring potential malicious actions. For example, you might need to “Account Whose Credentials Were Used\Security ID” (with other information) to monitor
monitor for use of an account outside of working hours. how or when a particular account is being used.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “Subject\Security ID” or “Account Whose Credentials Were
accounts that should never be used. Used\Security ID” that correspond to the accounts that should never be used.
Account whitelist: You might have a specific whitelist of accounts that are allowed to If this event corresponds to a “whitelist-only” action, review the “Subject\Security ID” and
perform actions corresponding to particular events. “Account Whose Credentials Were Used\Security ID” for accounts that are outside the
whitelist.
External accounts: You might be monitoring accounts from another domain, or “external” Monitor for the “Subject\Account Domain” or “Account Whose Credentials Were
accounts that are not allowed to perform the action corresponding to this event. Used\Security ID” corresponding to accounts from another domain or “external”
accounts.
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the
devices on which certain people (accounts) should not typically perform any actions. “Subject\Security ID” or “Account Whose Credentials Were Used\Security ID” that you
are concerned about.
For example, you might monitor to ensure that “Account Whose Credentials Were
Used\Security ID” is not used to log on to a certain computer.
If you have a pre-defined “Process Name” for the process reported in this event, monitor all events with “Process Name” not equal to your defined value.
If Subject\Security ID should not know or use credentials for Account Whose Credentials Were Used\Account Name, monitor this event.
If credentials for Account Whose Credentials Were Used\Account Name should not be used from Network Information\Network Address, monitor this event.
Check that Network Information\Network Address is from internal IP address list. For example, if you know that a specific account (for example, a service account) should be used
only from specific IP addresses, you can monitor for all events where Network Information\Network Address is not one of the allowed IP addresses.
Target Account:
Security ID:%1
Account Name:%2
Account Domain:%3
Trust Information:
Trust Direction:%4
Trust Attributes:%5
Trust Type:%6
TDO Domain SID:%7
Filtered SIDs:%8
Events List:
4649(S): A replay attack was detected.
4778(S): A session was reconnected to a Window Station.
4779(S): A session was disconnected from a Window Station.
4800(S): The workstation was locked.
4801(S): The workstation was unlocked.
4802(S): The screen saver was invoked.
4803(S): The screen saver was dismissed.
© 2016 Microsoft. All rights reserved.
5378(F): The requested credentials delegation was disallowed by policy.
5632(S): A request was made to authenticate to a wireless network.
5633(S): A request was made to authenticate to a wired network.
Subject:
Security ID:%1
Account Name:%2
Account Domain:%3
Logon ID:%4
Process Information:
Process ID:%12
Process Name:%13
Network Information:
Workstation Name:%10
This event indicates that a Kerberos replay attack was detected- a request was received twice with identical information. This condition could be caused by network misconfiguration."
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4778</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12551</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-10T23:05:29.743867200Z" />
<EventRecordID>237651</EventRecordID>
<Correlation />
<Execution ProcessID="504" ThreadID="2212" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="AccountName">ladmin</Data>
<Data Name="AccountDomain">CONTOSO</Data>
<Data Name="LogonID">0x1e01f6</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="SessionName">RDP-Tcp#6</Data>
<Data Name="ClientName">WIN81</Data>
<Data Name="ClientAddress">10.0.0.100</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Account Name [Type = UnicodeString]: the name of the account for which the session was reconnected.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Session:
Session Name [Type = UnicodeString]: the name of the session to which the user was reconnected. Examples:
o RDP-Rcp#N, where N is a number of session – typical RDP session name.
o Console – console session, typical for Fast User Switching.
o 31C5CE94259D4006A9E4#3 – example of “Hyper-V Enhanced Session” session name.
You can see the list of current session’s using “query session” command in command prompt. Example of output (see SESSIONNAME column):
Additional Information:
Client Name [Type = UnicodeString]: computer name from which the user was reconnected. Has “Unknown” value for console session.
Client Address [Type = UnicodeString]: IP address of the computer from which the user was reconnected.
o IPv6 address or ::ffff:IPv4 address of a client.
o ::1 or 127.0.0.1 means localhost.
o Has “LOCAL” value for console session.
Security Monitoring Recommendations:
For 4778(S): A session was reconnected to a Window Station.
© 2016 Microsoft. All rights reserved.
Type of monitoring required Recommendation
High-value accounts: You might have high-value domain or local accounts for which you Monitor this event with the “Subject\Account Name” that corresponds to the high-value
need to monitor each action. account or accounts.
Examples of high-value accounts are database administrators, built-in local administrator
account, domain administrators, service accounts, domain controller accounts and so on.
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “Subject\Account Name”
anomalies or monitoring potential malicious actions. For example, you might need to (with other information) to monitor how or when a particular account is being used.
monitor for use of an account outside of working hours.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “Subject\Account Name” that corresponds to the accounts
accounts that should never be used. that should never be used.
Account whitelist: You might have a specific whitelist of accounts that are the only ones If this event corresponds to a “whitelist-only” action, review the “Subject\Account Name”
allowed to perform actions corresponding to particular events. for accounts that are outside the whitelist.
Accounts of different types: You might want to ensure that certain actions are performed If this event corresponds to an action you want to monitor for certain account types,
only by certain account types, for example, local or domain account, machine or user review the “Subject\Account Name” to see whether the account type is as expected.
account, vendor or employee account, and so on.
External accounts: You might be monitoring accounts from another domain, or “external” Monitor this event for the “Subject\Account Domain” corresponding to accounts from
accounts that are not allowed to perform certain actions (represented by certain specific another domain or “external” accounts.
events).
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the
devices on which certain people (accounts) should not typically perform any actions. “Subject\Account Name” that you are concerned about.
Account naming conventions: Your organization might have specific naming conventions Monitor “Subject\Account Name” for names that don’t comply with naming conventions.
for account names.
If Fast User Switching is disabled on workstations or specific computers, then monitor for any event with Session Name = Console.
If Remote Desktop Connections are not allowed for specific users (Subject\Account Name) or disabled on some computers, then monitor for Session Name = RDP-Tcp# (substring).
If a specific computer or device (Client Name or Client Address) should never connect to this computer (Computer), monitor for any event with that Client Name or Client Address.
Check that Additional Information\Client Address is from internal IP addresses list.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4779</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12551</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-10T23:04:41.044489800Z" />
<EventRecordID>237646</EventRecordID>
<Correlation />
<Execution ProcessID="504" ThreadID="524" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="AccountName">ladmin</Data>
<Data Name="AccountDomain">CONTOSO</Data>
<Data Name="LogonID">0x1e01f6</Data>
<Data Name="SessionName">RDP-Tcp#3</Data>
<Data Name="ClientName">WIN81</Data>
<Data Name="ClientAddress">10.0.0.100</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
© 2016 Microsoft. All rights reserved.
Field Descriptions:
Subject:
Account Name [Type = UnicodeString]: the name of the account for which the session was disconnected.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Session:
Session Name [Type = UnicodeString]: the name of disconnected session. Examples:
o RDP-Rcp#N, where N is a number of session – typical RDP session name.
o Console – console session, typical for Fast User Switching.
o 31C5CE94259D4006A9E4#3 – example of “Hyper-V Enhanced Session” session name.
You can see the list of current session’s using “query session” command in command prompt. Example of output (see SESSIONNAME column):
Additional Information:
Client Name [Type = UnicodeString]: machine name from which the session was disconnected. Has “Unknown” value for console session.
Client Address [Type = UnicodeString]: IP address of the computer from which the session was disconnected.
o IPv6 address or ::ffff:IPv4 address of a client.
o ::1 or 127.0.0.1 means localhost.
o Has “LOCAL” value for console session.
Security Monitoring Recommendations:
For 4779(S): A session was disconnected from a Window Station.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “Subject\Account Name” that corresponds to the accounts
accounts that should never be used. that should never be used.
Account whitelist: You might have a specific whitelist of accounts that are the only ones If this event corresponds to a “whitelist-only” action, review the “Subject\Account Name”
allowed to perform actions corresponding to particular events. for accounts that are outside the whitelist.
Accounts of different types: You might want to ensure that certain actions are performed If this event corresponds to an action you want to monitor for certain account types,
only by certain account types, for example, local or domain account, machine or user review the “Subject\Account Name” to see whether the account type is as expected.
account, vendor or employee account, and so on.
External accounts: You might be monitoring accounts from another domain, or “external” Monitor this event for the “Subject\Account Domain” corresponding to accounts from
accounts that are not allowed to perform certain actions (represented by certain specific another domain or “external” accounts.
events).
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the
devices on which certain people (accounts) should not typically perform any actions. “Subject\Account Name” that you are concerned about.
For example, you might have computers to which connections should not be made from If you have a target Computer: (or other target device) to which connections should not be
certain accounts or addresses. made from certain accounts or addresses, monitor this event for the corresponding Client
Name or Client Address.
Account naming conventions: Your organization might have specific naming conventions Monitor “Subject\Account Name” for names that don’t comply with naming conventions.
for account names.
If Fast User Switching is disabled on workstations or specific computers, then monitor for any event with Session Name =
Console.
If Remote Desktop Connections are not allowed for specific users (Subject\Account Name) or disabled on some
computers, then monitor for Session Name = RDP-Tcp# (substring).
To ensure that connections are made only from your internal IP address list, monitor the Additional Information\Client
Address in this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4800</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12551</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-10T23:47:02.430644500Z" />
<EventRecordID>237655</EventRecordID>
<Correlation />
<Execution ProcessID="504" ThreadID="2568" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="TargetUserName">dadmin</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetLogonId">0x759a9</Data>
<Data Name="SessionId">3</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “lock workstation” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4801</EventID>
© 2016 Microsoft. All rights reserved.
<Version>0</Version>
<Level>0</Level>
<Task>12551</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-10T23:47:05.886096400Z" />
<EventRecordID>237657</EventRecordID>
<Correlation />
<Execution ProcessID="504" ThreadID="4540" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="TargetUserName">dadmin</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetLogonId">0x759a9</Data>
<Data Name="SessionId">3</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “unlock workstation” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “unlock workstation” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
© 2016 Microsoft. All rights reserved.
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Session ID [Type = UInt32]: unique ID of unlocked session. You can see the list of current session IDs using “query session” command in command prompt. Example of output (see
ID column):
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4802</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12551</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-11T00:16:32.377883700Z" />
<EventRecordID>237662</EventRecordID>
<Correlation />
<Execution ProcessID="504" ThreadID="1676" />
<Channel>Security</Channel>
© 2016 Microsoft. All rights reserved.
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="TargetUserName">dadmin</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetLogonId">0x759a9</Data>
<Data Name="SessionId">3</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “invoke screensaver” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “invoke screensaver” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Session ID [Type = UInt32]: unique ID of a session for which screen saver was invoked. You can see the list of current session IDs using “query session” command in command
prompt. Example of output (see ID column):
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4803</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12551</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-11T00:19:09.576094500Z" />
<EventRecordID>237663</EventRecordID>
<Correlation />
<Execution ProcessID="504" ThreadID="524" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="TargetUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="TargetUserName">dadmin</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetLogonId">0x759a9</Data>
<Data Name="SessionId">3</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “dismiss screensaver” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “dismiss screensaver” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Session ID [Type = UInt32]: unique ID of a session for which screen saver was dismissed. You can see the list of current session IDs using “query session” command in command
prompt. Example of output (see ID column):
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5378</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12551</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2015-11-11T03:23:48.502346900Z" />
<EventRecordID>1198733</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="4308" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x2b1e04</Data>
<Data Name="Package">CREDSSP</Data>
<Data Name="UserUPN">dadmin@contoso</Data>
<Data Name="TargetServer">WSMAN/dc01.contoso.local</Data>
<Data Name="CredType">%%8098</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
© 2016 Microsoft. All rights reserved.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested credentials delegation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested credentials delegation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Credential Delegation Information:
Security Package [Type = UnicodeString]: the name of Security Package which was used. Always CREDSSP for this event.
User's UPN [Type = UnicodeString]: UPN of the account for which delegation was requested.
Target Server [Type = UnicodeString]: SPN of the target service for which delegation was requested.
Service Principal Name (SPN) is the name by which a client uniquely identifies an instance of a service. If you install multiple instances of a service on computers throughout a
forest, each instance must have its own SPN. A given service instance can have multiple SPNs if there are multiple names that clients might use for authentication. For
example, an SPN always includes the name of the host computer on which the service instance is running, so a service instance might register an SPN for each name or alias of
its host.
Credential Type [Type = UnicodeString]: types of credentials which were presented for delegation:
Credentials Type Description
Default credentials The credentials obtained when the user first logs on to Windows.
Fresh credentials The credentials that the user is prompted for when executing an application.
Saved credentials The credentials that are saved using Credential Manager.
Security Monitoring Recommendations:
For 5378(F): The requested credentials delegation was disallowed by policy.
Appendix A: Security monitoring recommendations for many audit events
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-
3E3B0328C30D}" />
<EventID>5632</EventID>
<Version>1</Version>
<Level>0</Level>
<Task>12551</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-10T23:10:34.052054800Z" />
<EventRecordID>44113845</EventRecordID>
<Correlation />
<Execution ProcessID="712" ThreadID="4176" />
<Channel>Security</Channel>
<Computer>XXXXXXX.redmond.corp.microsoft.com</Computer>
<Security />
</System>
- <EventData>
<Data Name="SSID">Nokia</Data>
<Data Name="Identity">host/XXXXXXXX.redmond.corp.microsoft.com</Data>
<Data Name="SubjectUserName">-</Data>
<Data Name="SubjectDomainName">-</Data>
<Data Name="SubjectLogonId">0x0</Data>
<Data Name="PeerMac">18:64:72:F3:33:91</Data>
<Data Name="LocalMac">02:1A:C5:14:59:C9</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="IntfGuid">{2BB33827-6BB6-48DB-8DE6-DB9E0B9F9C9B}</Data>
<Data Name="ReasonCode">0x0</Data>
<Data Name="ReasonText">The operation was successful.</Data>
<Data Name="ErrorCode">0x0</Data>
<Data Name="EAPReasonCode">0x0</Data>
<Data Name="EapRootCauseString" />
<Data Name="EAPErrorCode">0x0</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = UnicodeString]: User Principal Name (UPN) or another type of account identifier for which 802.1x authentication request was made.
User principal name (UPN) format is used to specify an Internet-style name, such as [email protected].
Account Name [Type = UnicodeString]: the name of the account for which 802.1x authentication request was made.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Network Information:
Name (SSID) [Type = UnicodeString]: SSID of the wireless network to which authentication request was sent.
A service set identifier (SSID) is a sequence of characters that uniquely names a wireless local area network (WLAN). An SSID is sometimes referred to as a "network name."
This name allows stations to connect to the desired network when multiple independent networks operate in the same physical area.
Interface GUID [Type = GUID]: GUID of the network interface which was used for authentication request.
GUID is an acronym for 'Globally Unique Identifier'. It is a 128-bit integer number used to identify resources, activities or instances.
You can see interface’s GUID using the following commands:
o “netsh lan show interfaces” – for wired interfaces.
o “netsh wlan show interfaces” – for wireless interfaces.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
© 2016 Microsoft. All rights reserved.
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5633</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12551</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-11T01:26:59.679232500Z" />
<EventRecordID>1198715</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="2920" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="InterfaceName">Microsoft Hyper-V Network Adapter</Data>
<Data Name="Identity">-</Data>
<Data Name="SubjectUserName">-</Data>
<Data Name="SubjectDomainName">-</Data>
<Data Name="SubjectLogonId">0x0</Data>
<Data Name="ReasonCode">0x70003</Data>
<Data Name="ReasonText">The network does not support authentication</Data>
<Data Name="ErrorCode">0x0</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = UnicodeString]: User Principal Name (UPN) of account for which 802.1x authentication request was made.
User principal name (UPN) format is used to specify an Internet-style name, such as [email protected].
Account Name [Type = UnicodeString]: the name of the account for which 802.1x authentication request was made.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
© 2016 Microsoft. All rights reserved.
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Interface:
Name [Type = UnicodeString]: the name (description) of network interface which was used for authentication request. You can get the list of all available network adapters using
“ipconfig /all” command. See “Description” row for every network adapter:
Additional Information:
Reason Code [Type = UnicodeString]: contains Reason Text (explanation of Reason Code) and Reason Code for wired authentication results. See more information about reason
codes for wired authentication here: https://msdn.microsoft.com/en-us/library/windows/desktop/dd877212(v=vs.85).aspx, https://technet.microsoft.com/en-
us/library/cc727747(v=ws.10).aspx.
Error Code [Type = HexInt32]: unique EAP error code.
Security Monitoring Recommendations:
For 5633(S, F): A request was made to authenticate to a wired network.
Events List:
4964(S): Special groups have been assigned to a new logon.
4672(S): Special privileges assigned to new logon.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4964</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12548</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-11T02:25:16.236443300Z" />
<EventRecordID>238923</EventRecordID>
<Correlation />
<Execution ProcessID="504" ThreadID="5008" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0xd972e</Data>
<Data Name="LogonGuid">{00000000-0000-0000-0000-000000000000}</Data>
<Data Name="TargetUserSid">S-1-5-21-3457937927-2839227994-823803824-500</Data>
<Data Name="TargetUserName">ladmin</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetLogonId">0x139faf</Data>
<Data Name="TargetLogonGuid">{B03B6192-09AE-E77F-DD10-2DC430766040}</Data>
<Data Name="SidList">%{S-1-5-21-3457937927-2839227994-823803824-512}</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
© 2016 Microsoft. All rights reserved.
Event Versions: 0.
Special Groups is a new feature in Windows Vista and in Windows Server 2008. The Special Groups feature lets the administrator find out when a member of a certain group
logs on to the computer. The Special Groups feature lets an administrator set a list of group security identifiers (SIDs) in the registry.
To add Special Groups perform the following actions:
1. Open Registry Editor.
2. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\Audit
3. On the Edit menu, point to New, and then click String Value.
4. Type SpecialGroups, and then press ENTER.
5. Right-click SpecialGroups, and then click Modify.
6. In the Value date box, type the group SIDs, and then click OK.
A semicolon character (;) can be used to delimit the SID list. For example, you can use the following string that contains a semicolon to delimit two SIDs:
S-1-5-32-544;S-1-5-32-123-54-65
For more information see: http://blogs.technet.com/b/askds/archive/2008/03/11/special-groups-auditing-via-group-policy-preferences.aspx
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested logon for New Logon account. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested logon for New Logon account.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Logon GUID [Type = GUID]: a GUID that can help you correlate this event with another event that can contain the same Logon GUID, “4769(S, F): A Kerberos service ticket was
requested event on a domain controller.
It also can be used for correlation between a 4964 event and several other events (on the same computer) that can contain the same Logon GUID, “4648(S): A logon was
attempted using explicit credentials” and “4624(S): An account was successfully logged on.”
This parameter might not be captured in the event, and in that case appears as “{00000000-0000-0000-0000-000000000000}”.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4672</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12548</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-11T01:10:57.091809600Z" />
<EventRecordID>237692</EventRecordID>
<Correlation />
<Execution ProcessID="504" ThreadID="524" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x671101</Data>
<Data Name="PrivilegeList">SeTcbPrivilege SeSecurityPrivilege SeTakeOwnershipPrivilege SeLoadDriverPrivilege SeBackupPrivilege SeRestorePrivilege SeDebugPrivilege
SeSystemEnvironmentPrivilege SeEnableDelegationPrivilege SeImpersonatePrivilege</Data>
</EventData>
</Event>
Required Server Roles: None.
© 2016 Microsoft. All rights reserved.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account to which special privileges were assigned. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot
be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account to which special privileges were assigned.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Privileges [Type = UnicodeString]: the list of sensitive privileges, assigned to the new logon. The following table contains the list of possible privileges for this event:
Privilege Name User Right Group Policy Name Description
SeAssignPrimaryTokenPrivilege Replace a process-level token Required to assign the primary token of a process.
With this privilege, the user can initiate a process to replace the default token associated with a
started subprocess.
SeAuditPrivilege Generate security audits With this privilege, the user can add entries to the security log.
SeBackupPrivilege Back up files and directories Required to perform backup operations.
With this privilege, the user can bypass file and directory, registry, and other persistent object
permissions for the purposes of backing up the system.
This privilege causes the system to grant all read access control to any file, regardless of the access
control list (ACL) specified for the file. Any access request other than read is still evaluated with the
ACL. The following access rights are granted if this privilege is held:
READ_CONTROL
ACCESS_SYSTEM_SECURITY
FILE_GENERIC_READ
FILE_TRAVERSE
SeCreateTokenPrivilege Create a token object Allows a process to create a token which it can then use to get access to any local resources when the
process uses NtCreateToken() or other token-creation APIs.
© 2016 Microsoft. All rights reserved.
When a process requires this privilege, we recommend using the LocalSystem account (which already
includes the privilege), rather than creating a separate user account and assigning this privilege to it.
SeDebugPrivilege Debug programs Required to debug and adjust the memory of a process owned by another account.
With this privilege, the user can attach a debugger to any process or to the kernel. Developers who
are debugging their own applications do not need this user right. Developers who are debugging new
system components need this user right. This user right provides complete access to sensitive and
critical operating system components.
SeEnableDelegationPrivilege Enable computer and user Required to mark user and computer accounts as trusted for delegation.
accounts to be trusted for With this privilege, the user can set the Trusted for Delegation setting on a user or computer object.
delegation The user or object that is granted this privilege must have write access to the account control flags on
the user or computer object. A server process running on a computer (or under a user context) that is
trusted for delegation can access resources on another computer using the delegated credentials of a
client, as long as the account of the client does not have the Account cannot be delegated account
control flag set.
SeImpersonatePrivilege Impersonate a client after
With this privilege, the user can impersonate other accounts.
authentication
SeLoadDriverPrivilege Load and unload device drivers Required to load or unload a device driver.
With this privilege, the user can dynamically load and unload device drivers or other code in to kernel
mode. This user right does not apply to Plug and Play device drivers.
SeRestorePrivilege Restore files and directories Required to perform restore operations. This privilege causes the system to grant all write access
control to any file, regardless of the ACL specified for the file. Any access request other than write is
still evaluated with the ACL. Additionally, this privilege enables you to set any valid user or group SID
as the owner of a file. The following access rights are granted if this privilege is held:
WRITE_DAC
WRITE_OWNER
ACCESS_SYSTEM_SECURITY
FILE_GENERIC_WRITE
FILE_ADD_FILE
FILE_ADD_SUBDIRECTORY
DELETE
With this privilege, the user can bypass file, directory, registry, and other persistent objects
permissions when restoring backed up files and directories and determines which users can set any
valid security principal as the owner of an object.
SeSecurityPrivilege Manage auditing and security Required to perform a number of security-related functions, such as controlling and viewing audit
log events in security event log.
With this privilege, the user can specify object access auditing options for individual resources, such
as files, Active Directory objects, and registry keys.
A user with this privilege can also view and clear the security log.
© 2016 Microsoft. All rights reserved.
SeSystemEnvironmentPrivilege Modify firmware environment Required to modify the nonvolatile RAM of systems that use this type of memory to store
values configuration information.
SeTakeOwnershipPrivilege Take ownership of files or Required to take ownership of an object without being granted discretionary access. This privilege
other objects allows the owner value to be set only to those values that the holder may legitimately assign as the
owner of an object.
With this privilege, the user can take ownership of any securable object in the system, including
Active Directory objects, files and folders, printers, registry keys, processes, and threads.
SeTcbPrivilege Act as part of the operating This privilege identifies its holder as part of the trusted computer base.
system This user right allows a process to impersonate any user without authentication. The process can
therefore gain access to the same local resources as that user.
Security Monitoring Recommendations:
For 4672(S): Special privileges assigned to new logon.
Appendix A: Security monitoring recommendations for many audit events
Monitor for this event where “Subject\Security ID” is not one of these well-known security principals: LOCAL SYSTEM, NETWORK SERVICE, LOCAL SERVICE, and where
“Subject\Security ID” is not an administrative account that is expected to have the listed Privileges.
If you have a list of specific privileges which should never be granted, or granted only to a few accounts (for example, SeDebugPrivilege), use this event to monitor for those
“Privileges.”
If you are required to monitor any of the sensitive privileges in the Event Description for this event, search for those specific privileges in the event.
Events List:
4665: An attempt was made to create an application client context.
4666: An application attempted an operation:
4667: An application client context was deleted.
4668: An application was initialized.
Events List:
5145(S, F): A network share object was checked to see whether client can be granted desired
access.
5145(S, F): A network share object was checked to see whether client can be
granted desired access.
Event Description:
© 2016 Microsoft. All rights reserved.
This event generates every time network share object (file or folder) was accessed.
Important: Failure events are generated only when access is denied at the file share level. No events are generated if access was denied on the file system (NTFS) level.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5145</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12811</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-17T23:54:48.941761700Z" />
<EventRecordID>267092</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="524" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x38d34</Data>
<Data Name="ObjectType">File</Data>
<Data Name="IpAddress">fe80::31ea:6c3c:f40d:1973</Data>
<Data Name="IpPort">56926</Data>
<Data Name="ShareName">\\*\Documents</Data>
<Data Name="ShareLocalPath">\??\C:\Documents</Data>
<Data Name="RelativeTargetName">Bginfo.exe</Data>
<Data Name="AccessMask">0x100081</Data>
<Data Name="AccessList">%%1541 %%4416 %%4423</Data>
<Data Name="AccessReason">%%1541: %%1801 D:(A;;FA;;;WD) %%4416: %%1801 D:(A;;FA;;;WD) %%4423: %%1801 D:(A;;FA;;;WD)</Data>
</EventData>
© 2016 Microsoft. All rights reserved.
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested access to network share object. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested access to network share object.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Network Information:
Object Type [Type = UnicodeString]: The type of an object that was accessed during the operation. Always “File” for this event.
The following table contains the list of the most common Object Types:
Directory Event Timer Device
Mutant Type File Token
Thread Section WindowStation DebugObject
FilterCommunicationPort EventPair Driver IoCompletion
Controller SymbolicLink WmiGuid Process
Profile Desktop KeyedEvent Adapter
Key WaitablePort Callback Semaphore
Job Port FilterConnectionPort ALPC Port
Source Address [Type = UnicodeString]: source IP address from which access was performed.
o IPv6 address or ::ffff:IPv4 address of a client.
o ::1 or 127.0.0.1 means localhost.
Source Port [Type = UnicodeString]: source TCP or UDP port which was used from remote or local machine to request the access.
Access Check Results [Type = UnicodeString]: the list of access check results. The format of the result is:
REQUSTED_ACCESS: RESULT ACE_WHICH_ ALLOWED_OR_DENIED_ACCESS.
REQUSTED_ACCESS – the name of requested access (see “Table 13. File access codes.”).
RESULT:
o Granted by – if access was granted.
o Denied by – if access was denied.
ACE_WHICH_ ALLOWED_OR_DENIED_ACCESS: the Security Descriptor Definition Language (SDDL) value for Access Control Entry (ACE), which granted or denied access.
The Security Descriptor Definition Language (SDDL) defines string elements for enumerating information contained in the security descriptor.
Example:
O:BAG:SYD:(D;;0xf0007;;;AN)(D;;0xf0007;;;BG)(A;;0xf0007;;;SY)(A;;0×7;;;BA)S:ARAI(AU;SAFA;DCLCRPCRSDWDWO;;;WD)
- O: = Owner. SID of specific security principal, or reserved (pre-defined) value, for example: BA (BUILTIN_ADMINISTRATORS), WD (Everyone), SY (LOCAL_SYSTEM), etc.
See the list of possible values in the table below:
Value Description Value Description
"AO" Account operators "PA" Group Policy administrators
"RU" Alias to allow previous Windows 2000 "IU" Interactively logged-on user
"AN" Anonymous logon "LA" Local administrator
"AU" Authenticated users "LG" Local guest
"BA" Built-in administrators "LS" Local service account
"BG" Built-in guests "SY" Local system
"BO" Backup operators "NU" Network logon user
"BU" Built-in users "NO" Network configuration operators
"CA" Certificate server administrators "NS" Network service account
"CG" Creator group "PO" Printer operators
"CO" Creator owner "PS" Personal self
"DA" Domain administrators "PU" Power users
"DC" Domain computers "RS" RAS servers group
"DD" Domain controllers "RD" Terminal server users
"DG" Domain guests "RE" Replicator
"DU" Domain users "RC" Restricted code
"EA" Enterprise administrators "SA" Schema administrators
"ED" Enterprise domain controllers "SO" Server operators
"WD" Everyone "SU" Service logon user
Events List:
5140(S, F): A network share object was accessed.
5142(S): A network share object was added.
5143(S): A network share object was modified.
5144(S): A network share object was deleted.
5168(F): SPN check for SMB/SMB2 failed.
Event XML:
© 2016 Microsoft. All rights reserved.
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5140</EventID>
<Version>1</Version>
<Level>0</Level>
<Task>12808</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-18T02:45:13.581231400Z" />
<EventRecordID>268495</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="772" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x541f35</Data>
<Data Name="ObjectType">File</Data>
<Data Name="IpAddress">10.0.0.100</Data>
<Data Name="IpPort">49212</Data>
<Data Name="ShareName">\\*\Documents</Data>
<Data Name="ShareLocalPath">\??\C:\Documents</Data>
<Data Name="AccessMask">0x1</Data>
<Data Name="AccessList">%%4416</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions:
0 - Windows Server 2008, Windows Vista.
Field Descriptions:
Subject:
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5142</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12808</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-18T02:27:01.206646900Z" />
<EventRecordID>268462</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="4304" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
© 2016 Microsoft. All rights reserved.
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x38d12</Data>
<Data Name="ShareName">\\*\Documents</Data>
<Data Name="ShareLocalPath">C:\Documents</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008 R2, Windows 7.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “add network share object” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If
the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “add network share object” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Share Information:
Share Name [Type = UnicodeString]: the name of the added share object. The format is: \\*\SHARE_NAME.
Share Path [Type = UnicodeString]: the full system (NTFS) path for the added share object. The format is: \\??\PATH.
Security Monitoring Recommendations:
For 5142(S): A network share object was added.
Appendix A: Security monitoring recommendations for many audit events
© 2016 Microsoft. All rights reserved.
If you have high-value computers for which you need to monitor creation of new file shares, monitor this event. For example, you could monitor domain controllers.
We recommend checking “Share Path”, because it should not point to system directories, such as C:\Windows or C:\, or to critical local folders which contain private or high
value information.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-
4994-A5BA-3E3B0328C30D}" />
<EventID>5143</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12808</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-18T02:42:56.743298600Z" />
<EventRecordID>268483</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="524" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x38d12</Data>
<Data Name="ObjectType">Directory</Data>
<Data Name="ShareName">\\*\Documents</Data>
<Data Name="ShareLocalPath">C:\Documents</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="OldRemark">N/A</Data>
<Data Name="NewRemark">N/A</Data>
<Data Name="OldMaxUsers">0xffffffff</Data>
<Data Name="NewMaxUsers">0xffffffff</Data>
<Data Name="OldShareFlags">0x800</Data>
<Data Name="NewShareFlags">0x800</Data>
<Data Name="OldSD">O:S-1-5-21-3457937927-2839227994-823803824-1104G:DAD:(A;OICI;FA;;;BA)(A;OICI;FA;;;WD)</Data>
<Data Name="NewSD">O:BAG:DAD:(D;;FA;;;S-1-5-21-3457937927-2839227994-823803824-1104)(A;OICI;FA;;;WD)(A;OICI;FA;;;BA)</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008 R2, Windows 7.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “modify network share object” operation. Event Viewer automatically tries to resolve SIDs and show the account
name. If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “modify network share object” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Share Information:
Object Type [Type = UnicodeString]: The type of an object that was modified. Always “Directory” for this event.
The following table contains the list of the most common Object Types:
Directory Event Timer Device
Mutant Type File Token
Thread Section WindowStation DebugObject
FilterCommunicationPort EventPair Driver IoCompletion
© 2016 Microsoft. All rights reserved.
Controller SymbolicLink WmiGuid Process
Profile Desktop KeyedEvent Adapter
Key WaitablePort Callback Semaphore
Job Port FilterConnectionPort ALPC Port
Share Name [Type = UnicodeString]: the name of the modified share object. The format is: \\*\SHARE_NAME
Share Path [Type = UnicodeString]: the full system (NTFS) path for the added share object. The format is: \\??\PATH. Can be empty, for example for Share Name: \\*\IPC$.
Old Remark [Type = UnicodeString]: the old value of network share “Comments:” field. Has “N/A” value if it is not set.
New Remark [Type = UnicodeString]: the new value of network share “Comments:” field. Has “N/A” value if it is not set.
Old MaxUsers [Type = HexInt32]: old hexadecimal value of “Limit the number of simultaneous user to:” field. Has “0xFFFFFFFF” value if the number of connections is unlimited.
New Maxusers [Type = HexInt32]: new hexadecimal value of “Limit the number of simultaneous user to:” field. Has “0xFFFFFFFF” value if the number of connections is
unlimited.
Old ShareFlags [Type = HexInt32]: old hexadecimal value of “Offline Settings” caching settings window flags.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5144</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12808</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-18T02:17:14.820551800Z" />
<EventRecordID>268368</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="4656" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x38d12</Data>
<Data Name="ShareName">\\*\Documents</Data>
<Data Name="ShareLocalPath">C:\Documents</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008 R2, Windows 7.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “delete network share object” operation. Event Viewer automatically tries to resolve SIDs and show the account name.
If the SID cannot be resolved, you will see the source data in the event.
Event XML:
© 2016 Microsoft. All rights reserved.
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5168</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12808</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2015-09-18T17:53:40.294859800Z" />
<EventRecordID>268946</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="80" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0xd0cd4</Data>
<Data Name="SpnName">N/A</Data>
<Data Name="ErrorCode">0xc0000022</Data>
<Data Name="ServerNames">CONTOSO;contoso.local;DC01.contoso.local;DC01;LocalHost;</Data>
<Data Name="ConfiguredNames">N/A</Data>
<Data Name="IpAddresses">127.0.0.1;::1;10.0.0.10;;fe80::31ea:6c3c:f40d:1973;;fe80::5efe:10.0.0.10;</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008 R2, Windows 7.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account for which SPN check operation was failed. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot
be resolved, you will see the source data in the event.
Events List:
4656(S, F): A handle to an object was requested.
4658(S): The handle to an object was closed.
4660(S): An object was deleted.
4663(S): An attempt was made to access an object.
4664(S): An attempt was made to create a hard link.
4985(S): The state of a transaction has changed.
5051(-): A file was virtualized.
4670(S): Permissions on an object were changed.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4656</EventID>
<Version>1</Version>
<Level>0</Level>
<Task>12800</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2015-09-18T22:15:19.346776600Z" />
<EventRecordID>274057</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="524" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x4367b</Data>
<Data Name="ObjectServer">Security</Data>
<Data Name="ObjectType">File</Data>
<Data Name="ObjectName">C:\Documents\HBI Data.txt</Data>
<Data Name="HandleId">0x0</Data>
<Data Name="TransactionId">{00000000-0000-0000-0000-000000000000}</Data>
<Data Name="AccessList">%%1538 %%1541 %%4416 %%4417 %%4418 %%4419 %%4420 %%4423 %%4424</Data>
Process Information:
Process ID [Type = Pointer]: hexadecimal Process ID of the process through which the access was requested. Process ID (PID) is a number used by the operating system to
uniquely identify an active process. To see the PID for a specific process you can, for example, use Task Manager (Details tab, PID column):
© 2016 Microsoft. All rights reserved.
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
You can also correlate this process ID with a process ID in other events, for example, “4688: A new process has been created” Process Information\New Process ID.
Process Name [Type = UnicodeString]: full path and the name of the executable for the process.
Access Request Information:
Transaction ID [Type = GUID]: unique GUID of the transaction. This field can help you correlate this event with other events that might contain the same Transaction ID, such as
“4660(S): An object was deleted.”
This parameter might not be captured in the event, and in that case appears as “{00000000-0000-0000-0000-000000000000}”.
GUID is an acronym for 'Globally Unique Identifier'. It is a 128-bit integer number used to identify resources, activities or instances.
Accesses [Type = UnicodeString]: the list of access rights which were requested by Subject\Security ID. These access rights depend on Object Type. The following table contains
information about the most common access rights for file system objects. Access rights for registry objects are often similar to file system objects, but the table contains a few
notes about how they vary.
Access Hex Value Schema Value Description
ReadData (or 0x1 %%4416
ListDirectory)
ReadData - For a file object, the right to read the corresponding file data. For a directory object, the right to read the
corresponding directory data.
(For registry objects,
ListDirectory - For a directory, the right to list the contents of the directory.
this is “Query key
value.”)
WriteData (or AddFile) 0x2 %%4417 WriteData - For a file object, the right to write data to the file. For a directory object, the right to create a file in the
directory (FILE_ADD_FILE).
(For registry objects, AddFile - For a directory, the right to create a file in the directory.
© 2016 Microsoft. All rights reserved.
this is “Set key
value.”)
0x4 %%4418 AppendData - For a file object, the right to append data to the file. (For local files, write operations will not overwrite
AppendData (or existing data if this flag is specified without FILE_WRITE_DATA.) For a directory object, the right to create a
AddSubdirectory or subdirectory (FILE_ADD_SUBDIRECTORY).
CreatePipeInstance) AddSubdirectory - For a directory, the right to create a subdirectory.
CreatePipeInstance - For a named pipe, the right to create a pipe.
ReadEA 0x8 %%4419
(For registry objects,
The right to read extended file attributes.
this is “Enumerate
sub-keys.”)
WriteEA 0x10 %%4420 The right to write extended file attributes.
0x20 %%4421 Execute - For a native code file, the right to execute the file. This access right given to scripts may cause the script to
be executable, depending on the script interpreter.
Execute/Traverse Traverse - For a directory, the right to traverse the directory. By default, users are assigned the
BYPASS_TRAVERSE_CHECKING privilege, which ignores the FILE_TRAVERSE access right. See the remarks in File
Security and Access Rights for more information.
DeleteChild 0x40 %%4422 For a directory, the right to delete a directory and all the files it contains, including read-only files.
ReadAttributes 0x80 %%4423 The right to read file attributes.
WriteAttributes 0x100 %%4424 The right to write file attributes.
DELETE 0x10000 %%1537 The right to delete the object.
READ_CONTROL 0x20000 %%1538 The right to read the information in the object's security descriptor, not including the information in the system
access control list (SACL).
WRITE_DAC 0x40000 %%1539 The right to modify the discretionary access control list (DACL) in the object's security descriptor.
WRITE_OWNER 0x80000 %%1540 The right to change the owner in the object's security descriptor
SYNCHRONIZE 0x100000 %%1541 The right to use the object for synchronization. This enables a thread to wait until the object is in the signaled state.
Some object types do not support this access right.
ACCESS_SYS_SEC 0x1000000 %%1542 The ACCESS_SYS_SEC access right controls the ability to get or set the SACL in an object's security descriptor.
Table 14. File System objects access rights.
Access Reasons [Type = UnicodeString] [Version 1]: the list of access check results. The format of this varies, depending on the object. For kernel objects, this field does not apply.
Access Mask [Type = HexInt32]: hexadecimal mask for the requested or performed operation. For more information, see the preceding table.
Privileges Used for Access Check [Type = UnicodeString]: the list of user privileges which were used during the operation, for example, SeBackupPrivilege. This parameter might
not be captured in the event, and in that case appears as “-”. See full list of user privileges in the table below:
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4658</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12800</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-22T00:15:42.910428100Z" />
<EventRecordID>276724</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="5056" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x4367b</Data>
<Data Name="ObjectServer">Security</Data>
<Data Name="HandleId">0x18a8</Data>
<Data Name="ProcessId">0xef0</Data>
<Data Name="ProcessName">C:\Windows\explorer.exe</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
© 2016 Microsoft. All rights reserved.
Security ID [Type = SID]: SID of account that requested the “close object’s handle” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “close object’s handle” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Object:
Object Server [Type = UnicodeString]: has “Security” value for this event.
Handle ID [Type = Pointer]: hexadecimal value of a handle to Object Name. This field can help you correlate this event with other events that might contain the same Handle ID,
for example, “4663(S): An attempt was made to access an object.” This parameter might not be captured in the event, and in that case appears as “0x0”.
Process Information:
Process ID [Type = Pointer]: hexadecimal Process ID of the process that requested that the handle be closed. Process ID (PID) is a number used by the operating system to
uniquely identify an active process. To see the PID for a specific process you can, for example, use Task Manager (Details tab, PID column):
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4660</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12800</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-18T21:05:28.677152100Z" />
<EventRecordID>270188</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="3060" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x4367b</Data>
<Data Name="ObjectServer">Security</Data>
<Data Name="HandleId">0x1678</Data>
<Data Name="ProcessId">0xef0</Data>
<Data Name="ProcessName">C:\Windows\explorer.exe</Data>
<Data Name="TransactionId">{00000000-0000-0000-0000-000000000000}</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
© 2016 Microsoft. All rights reserved.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “delete object” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “delete object” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Object:
Object Server [Type = UnicodeString]: has “Security” value for this event.
Handle ID [Type = Pointer]: hexadecimal value of a handle to Object Name. This field can help you correlate this event with other events that might contain the same Handle ID,
for example, “4663(S): An attempt was made to access an object.” This parameter might not be captured in the event, and in that case appears as “0x0”.
Process Information:
Process ID [Type = Pointer]: hexadecimal Process ID of the process that deleted the object. Process ID (PID) is a number used by the operating system to uniquely identify an
active process. To see the PID for a specific process you can, for example, use Task Manager (Details tab, PID column):
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4663</EventID>
<Version>1</Version>
<Level>0</Level>
<Task>12800</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-18T22:13:54.770429700Z" />
<EventRecordID>273866</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="524" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x4367b</Data>
<Data Name="ObjectServer">Security</Data>
<Data Name="ObjectType">File</Data>
<Data Name="ObjectName">C:\Documents\HBI Data.txt</Data>
<Data Name="HandleId">0x1bc</Data>
<Data Name="AccessList">%%4417 %%4418</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="AccessMask">0x6</Data>
<Data Name="ProcessId">0x458</Data>
<Data Name="ProcessName">C:\Windows\System32\notepad.exe</Data>
<Data Name="ResourceAttributes">S:AI(RA;ID;;;;WD;("Impact_MS",TI,0x10020,3000))</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions:
0 - Windows Server 2008, Windows Vista.
1 - Windows Server 2012, Windows 8.
o Added “Resource Attributes” field.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that made an attempt to access an object. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot
be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that made an attempt to access an object.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Object:
Object Server [Type = UnicodeString]: has “Security” value for this event.
Object Type [Type = UnicodeString]: The type of object that was accessed during the operation.
The following table contains the list of the most common Object Types:
Directory Event Timer Device
Mutant Type File Token
Thread Section WindowStation DebugObject
FilterCommunicationPort EventPair Driver IoCompletion
© 2016 Microsoft. All rights reserved.
Controller SymbolicLink WmiGuid Process
Profile Desktop KeyedEvent Adapter
Key WaitablePort Callback Semaphore
Job Port FilterConnectionPort ALPC Port
Object Name [Type = UnicodeString]: name and other identifying information for the object for which access was requested. For example, for a file, the path would be included.
Handle ID [Type = Pointer]: hexadecimal value of a handle to Object Name. This field can be used for correlation with other events, for example with Handle ID field in “4656(S,
F): A handle to an object was requested.” This parameter might not be captured in the event, and in that case appears as “0x0”.
Resource Attributes [Type = UnicodeString] [Version 1]: attributes associated with the object. For some objects, the field does not apply and “-“ is displayed.
For example, for a file, the following might be displayed: S:AI(RA;ID;;;;WD;("Impact_MS",TI,0x10020,3000))
o Impact_MS: Resource Property ID.
o 3000: Recourse Property Value.
Process Information:
© 2016 Microsoft. All rights reserved.
Process ID [Type = Pointer]: hexadecimal Process ID of the process that accessed the object. Process ID (PID) is a number used by the operating system to uniquely identify an
active process. To see the PID for a specific process you can, for example, use Task Manager (Details tab, PID column):
Access Mask [Type = HexInt32]: hexadecimal mask for the requested or performed operation. For more information, see the preceding table.
Security Monitoring Recommendations:
For 4663(S): An attempt was made to access an object.
For kernel objects, this event and other auditing events have little to no security relevance and are hard to parse or analyze. There is no recommendation for auditing them, unless you
know exactly what you need to monitor at the Kernel objects level.
For other types of objects, the following recommendations apply.
Appendix A: Security monitoring recommendations for many audit events
If you have critical file system objects for which you need to monitor all access attempts, monitor this event for Object Name.
If you have critical file system objects for which you need to monitor certain access attempts (for example, write actions), monitor this event for Object Name in relation to
Access Request Information\Accesses.
If you have file system objects with specific attributes, for which you need to monitor access attempts, monitor this event for Resource Attributes.
If Object Name is a sensitive or critical registry key for which you need to monitor specific access attempts (for example, only write actions), monitor for all 4663 events with the
corresponding Access Request Information\Accesses.
If you have a pre-defined “Process Name” for the process reported in this event, monitor all events with “Process Name” not equal to your defined value.
For file system objects, we recommend that you monitor for these Access Request Information\Accesses rights:
o WriteData (or AddFile)
o AppendData (or AddSubdirectory or CreatePipeInstance)
o WriteEA
o DeleteChild
o WriteAttributes
o DELETE
o WRITE_DAC
o WRITE_OWNER
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4664</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12800</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-21T23:50:26.871375900Z" />
<EventRecordID>276680</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="2624" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x43659</Data>
<Data Name="FileName">C:\notepad.exe</Data>
<Data Name="LinkName">C:\Docs\My.exe</Data>
<Data Name="TransactionId">{00000000-0000-0000-0000-000000000000}</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
© 2016 Microsoft. All rights reserved.
Subject:
Security ID [Type = SID]: SID of account that made an attempt to create the hard link. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that made an attempt to create the hard link.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Link Information:
File Name [Type = UnicodeString]: the name of a file or folder that new hard link refers to.
Link Name [Type = UnicodeString]: full path name with new hard link file name.
Transaction ID [Type = GUID]: unique GUID of the transaction. This field can help you correlate this event with other events that might contain the same Transaction ID, such as
“4660(S): An object was deleted.”
This parameter might not be captured in the event, and in that case appears as “{00000000-0000-0000-0000-
000000000000}”.
GUID is an acronym for 'Globally Unique Identifier'. It is a 128-bit integer number used to identify resources,
activities or instances.
Subject:
Security ID:%1%
Account Name:%2
Account Domain:%3
Logon ID:%4
Object:
© 2016 Microsoft. All rights reserved.
File Name:%5
Virtual File Name:%6
Process Information:
Process ID:%7
Process Name%8
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4670</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13570</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-18T19:36:50.187044600Z" />
<EventRecordID>269529</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="524" />
© 2016 Microsoft. All rights reserved.
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x43659</Data>
<Data Name="ObjectServer">Security</Data>
<Data Name="ObjectType">File</Data>
<Data Name="ObjectName">C:\Documents\netcat-1.11</Data>
<Data Name="HandleId">0x3f0</Data>
<Data Name="OldSd">D:AI(A;OICIID;FA;;;S-1-5-21-3457937927-2839227994-823803824-2104)(A;OICIID;FA;;;S-1-5-21-3457937927-2839227994-823803824-1104)(A;OICIID;FA;;;SY)
(A;OICIID;FA;;;BA)</Data>
<Data Name="NewSd">D:ARAI(A;OICI;FA;;;WD)(A;OICIID;FA;;;S-1-5-21-3457937927-2839227994-823803824-2104)(A;OICIID;FA;;;S-1-5-21-3457937927-2839227994-823803824-1104)
(A;OICIID;FA;;;SY)(A;OICIID;FA;;;BA)</Data>
<Data Name="ProcessId">0xdb0</Data>
<Data Name="ProcessName">C:\Windows\System32\dllhost.exe</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “change object’s permissions” operation. Event Viewer automatically tries to resolve SIDs and show the account name.
If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “change object’s permissions” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
© 2016 Microsoft. All rights reserved.
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Object:
Object Server [Type = UnicodeString]: has “Security” value for this event.
Object Type [Type = UnicodeString]: The type of an object that was accessed during the operation.
The following table contains the list of the most common Object Types:
Directory Event Timer Device
Mutant Type File Token
Thread Section WindowStation DebugObject
FilterCommunicationPort EventPair Driver IoCompletion
Controller SymbolicLink WmiGuid Process
Profile Desktop KeyedEvent Adapter
Key WaitablePort Callback Semaphore
Job Port FilterConnectionPort ALPC Port
Object Name [Type = UnicodeString]: name and other identifying information for the object for which permissions were changed. For example, for a file, the path would be
included. For Token objects, this field typically equals “-“.
Handle ID [Type = Pointer]: hexadecimal value of a handle to Object Name. This field can help you correlate this event with other events that might contain the same Handle ID,
for example, “4663(S): An attempt was made to access an object.” This parameter might not be captured in the event, and in that case appears as “0x0”.
Process:
Process ID [Type = Pointer]: hexadecimal Process ID of the process through which the permissions were changed. Process ID (PID) is a number used by the operating system to
uniquely identify an active process. To see the PID for a specific process you can, for example, use Task Manager (Details tab, PID column):
Events List:
5031(F): The Windows Firewall Service blocked an application from accepting incoming connections on the network.
5150(-): The Windows Filtering Platform blocked a packet.
5151(-): A more restrictive Windows Filtering Platform filter has blocked a packet.
5154(S): The Windows Filtering Platform has permitted an application or service to listen on a port for incoming connections.
5155(F): The Windows Filtering Platform has blocked an application or service from listening on a port for incoming connections.
5156(S): The Windows Filtering Platform has permitted a connection.
5157(F): The Windows Filtering Platform has blocked a connection.
© 2016 Microsoft. All rights reserved.
5158(S): The Windows Filtering Platform has permitted a bind to a local port.
5159(F): The Windows Filtering Platform has blocked a bind to a local port.
5031(F): The Windows Firewall Service blocked an application from accepting incoming connections on the network.
Event Description:
This event generates when an application was blocked from accepting incoming connections on the network by Windows
Filtering Platform.
If you don’t have any firewall rules (Allow or Deny) in Windows Firewall for specific applications, you will get this event from
Windows Filtering Platform layer, because by default this layer is denying any incoming connections.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5031</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12810</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2015-09-22T03:46:36.634473000Z" />
<EventRecordID>304373</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="2976" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="Profiles">Domain</Data>
<Data Name="Application">C:\documents\listener.exe</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
© 2016 Microsoft. All rights reserved.
Field Descriptions:
Profiles [Type = UnicodeString]: network profile using which application was blocked. Possible values:
o Domain
o Public
o Private
Application [Type = UnicodeString]: full path and file name of executable file for blocked application.
Security Monitoring Recommendations:
For 5031(F): The Windows Firewall Service blocked an application from accepting incoming connections on the network.
You can use this event to detect applications for which no Windows Firewall rules were created.
If you have a pre-defined application which should be used to perform the operation that was reported by this event, monitor events with “Application” not equal to your
defined application.
You can monitor to see if “Application” is not in a standard folder (for example, not in System32 or Program Files) or is in a restricted folder (for example, Temporary Internet
Files).
If you have a pre-defined list of restricted substrings or words in application names (for example, “mimikatz” or “cain.exe”), check for these substrings in “Application.”
Network Information:
Direction:%1
Source Address:%2
Destination Address:%3
EtherType:%4
MediaType:%5
InterfaceType:%6
VlanTag:%7
Filter Information:
Filter Run-Time ID:%8
Layer Name:%9
Layer Run-Time ID:%10
5151(-): A more restrictive Windows Filtering Platform filter has blocked a packet.
This event is logged if a more restrictive Windows Filtering Platform MAC filter has blocked a packet.
There is no example of this event in this document.
Event Schema:
A more restrictive Windows Filtering Platform filter has blocked a packet.
Network Information:
Direction:%1
Source Address:%2
Destination Address:%3
EtherType:%4
MediaType:%5
InterfaceType:%6
VlanTag:%7
Filter Information:
Filter Run-Time ID:%8
Layer Name:%9
Layer Run-Time ID:%10
5154(S): The Windows Filtering Platform has permitted an application or service to listen on
a port for incoming connections.
Event Description:
This event generates every time Windows Filtering Platform permits an application or service to listen on a port.
Note For recommendations, see Security Monitoring Recommendations for this event.
Network Information:
Source Address [Type = UnicodeString]: local IP address on which application requested to listen on the port.
o IPv4 Address
o IPv6 Address
o :: - all IP addresses in IPv6 format
o 0.0.0.0 - all IP addresses in IPv4 format
© 2016 Microsoft. All rights reserved.
o 127.0.0.1 , ::1 - localhost
Source Port [Type = UnicodeString]: source TCP\UDP port number which was requested for listening by application.
Protocol [Type = UInt32]: protocol number. For example:
o 6 – TCP.
o 17 – UDP.
More information about possible values for this field: https://technet.microsoft.com/en-us/library/cc959827.aspx.
Filter Information:
Filter Run-Time ID [Type = UInt64]: unique filter ID which allows application to listen on the specific port. By default Windows firewall won't prevent a port from being listened by
an application and if this application doesn’t match any filters you will get value 0 in this field.
To find specific Windows Filtering Platform filter by ID you need to execute the following command: netsh wfp show filters. As result of this command filters.xml file will be
generated. You need to open this file and find specific substring with required filter ID (<filterId>), for example:
Application Information:
Process ID:%1
Application Name:%2
Network Information:
Source Address:%3
Source Port:%4
Protocol:%5
Filter Information:
Filter Run-Time ID:%6
Layer Name:%7
Layer Run-Time ID:%8
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
Network Information:
Direction [Type = UnicodeString]: direction of allowed connection.
o Inbound – for inbound connections.
o Outbound – for unbound connections.
Source Address [Type = UnicodeString]: local IP address on which application received the connection.
o IPv4 Address
© 2016 Microsoft. All rights reserved.
o IPv6 Address
o :: - all IP addresses in IPv6 format
o 0.0.0.0 - all IP addresses in IPv4 format
o 127.0.0.1 , ::1 - localhost
Source Port [Type = UnicodeString]: port number on which application received the connection.
Destination Address [Type = UnicodeString]: IP address from which connection was received or initiated.
o IPv4 Address
o IPv6 Address
o :: - all IP addresses in IPv6 format
o 0.0.0.0 - all IP addresses in IPv4 format
o 127.0.0.1 , ::1 - localhost
Destination Port [Type = UnicodeString]: port number which was used from remote machine to initiate connection.
Protocol [Type = UInt32]: number of protocol which was used.
Service Protocol Number
Internet Control Message Protocol (ICMP) 1
Transmission Control Protocol (TCP) 6
User Datagram Protocol (UDP) 17
General Routing Encapsulation (PPTP data over GRE) 47
Authentication Header (AH) IPSec 51
Encapsulation Security Payload (ESP) IPSec 50
Exterior Gateway Protocol (EGP) 8
Gateway-Gateway Protocol (GGP) 3
Host Monitoring Protocol (HMP) 20
Internet Group Management Protocol (IGMP) 88
MIT Remote Virtual Disk (RVD) 66
OSPF Open Shortest Path First 89
PARC Universal Packet Protocol (PUP) 12
Reliable Datagram Protocol (RDP) 27
Reservation Protocol (RSVP) QoS 46
Filter Information:
Filter Run-Time ID [Type = UInt64]: unique filter ID which allowed the connection.
To find specific Windows Filtering Platform filter by ID you need to execute the following command: netsh wfp show filters. As result of this command filters.xml file will be
generated. You need to open this file and find specific substring with required filter ID (<filterId>), for example:
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5157</EventID>
<Version>1</Version>
<Level>0</Level>
<Task>12810</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2015-09-22T03:46:51.662750400Z" />
<EventRecordID>304390</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="4520" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ProcessID">4556</Data>
<Data Name="Application">\device\harddiskvolume2\documents\listener.exe</Data>
<Data Name="Direction">%%14592</Data>
<Data Name="SourceAddress">10.0.0.10</Data>
<Data Name="SourcePort">3333</Data>
<Data Name="DestAddress">10.0.0.100</Data>
<Data Name="DestPort">49218</Data>
<Data Name="Protocol">6</Data>
<Data Name="FilterRTID">110398</Data>
<Data Name="LayerName">%%14610</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="LayerRTID">44</Data>
<Data Name="RemoteUserID">S-1-0-0</Data>
<Data Name="RemoteMachineID">S-1-0-0</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Application Information:
Process ID [Type = Pointer]: hexadecimal Process ID of the process that attempted to create the connection. Process ID (PID) is a number used by the operating system to
uniquely identify an active process. To see the PID for a specific process you can, for example, use Task Manager (Details tab, PID column):
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
You can also correlate this process ID with a process ID in other events, for example, “4688: A new process has been created” Process Information\New Process ID.
Application Name [Type = UnicodeString]: full path and the name of the executable for the process.
Logical disk is displayed in format \device\harddiskvolume#. You can get all local volume numbers by using diskpart utility. The command to get volume numbers using diskpart is
“list volume”:
5158(S): The Windows Filtering Platform has permitted a bind to a local port.
Event Description:
This event generates every time Windows Filtering Platform permits an application or service to bind to a local port.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5158</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12810</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-22T05:24:03.376171200Z" />
<EventRecordID>308122</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="3712" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ProcessId">4556</Data>
<Data Name="Application">\device\harddiskvolume2\documents\listener.exe</Data>
<Data Name="SourceAddress">0.0.0.0</Data>
<Data Name="SourcePort">3333</Data>
<Data Name="Protocol">6</Data>
<Data Name="FilterRTID">0</Data>
<Data Name="LayerName">%%14608</Data>
<Data Name="LayerRTID">36</Data>
</EventData>
</Event>
© 2016 Microsoft. All rights reserved.
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Application Information:
Process ID [Type = Pointer]: hexadecimal Process ID of the process which was permitted to bind to the local port. Process ID (PID) is a number used by the operating system to
uniquely identify an active process. To see the PID for a specific process you can, for example, use Task Manager (Details tab, PID column):
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
You can also correlate this process ID with a process ID in other events, for example, “4688: A new process has been created” Process Information\New Process ID.
Application Name [Type = UnicodeString]: full path and the name of the executable for the process.
Logical disk is displayed in format \device\harddiskvolume#. You can get all local volume numbers by using diskpart utility. The command to get volume numbers using diskpart is
“list volume”:
Application Information:
Process ID:%1
Application Name:%2
Network Information:
Source Address:%3
Source Port:%4
Protocol:%5
Filter Information:
Filter Run-Time ID:%6
Layer Name:%7
Layer Run-Time ID:%8
Events List:
5152(F): The Windows Filtering Platform blocked a packet.
5153(S): A more restrictive Windows Filtering Platform filter has blocked a packet.
Event XML:
Network Information:
Direction [Type = UnicodeString]: direction of blocked connection.
o Inbound – for inbound connections.
o Outbound – for unbound connections.
Source Address [Type = UnicodeString]: local IP address on which application received the packet.
o IPv4 Address
© 2016 Microsoft. All rights reserved.
o IPv6 Address
o :: - all IP addresses in IPv6 format
o 0.0.0.0 - all IP addresses in IPv4 format
o 127.0.0.1 , ::1 - localhost
Source Port [Type = UnicodeString]: port number on which application received the packet.
Destination Address [Type = UnicodeString]: IP address from which packet was received or initiated.
o IPv4 Address
o IPv6 Address
o :: - all IP addresses in IPv6 format
o 0.0.0.0 - all IP addresses in IPv4 format
o 127.0.0.1 , ::1 - localhost
Destination Port [Type = UnicodeString]: port number which was used from remote machine to send the packet.
Protocol [Type = UInt32]: number of protocol which was used.
Service Protocol Number
Internet Control Message Protocol (ICMP) 1
Transmission Control Protocol (TCP) 6
User Datagram Protocol (UDP) 17
General Routing Encapsulation (PPTP data over GRE) 47
Authentication Header (AH) IPSec 51
Encapsulation Security Payload (ESP) IPSec 50
Exterior Gateway Protocol (EGP) 8
Gateway-Gateway Protocol (GGP) 3
Host Monitoring Protocol (HMP) 20
Internet Group Management Protocol (IGMP) 88
MIT Remote Virtual Disk (RVD) 66
OSPF Open Shortest Path First 89
PARC Universal Packet Protocol (PUP) 12
Reliable Datagram Protocol (RDP) 27
Reservation Protocol (RSVP) QoS 46
Filter Information:
Filter Run-Time ID [Type = UInt64]: unique filter ID which blocked the packet.
To find specific Windows Filtering Platform filter by ID you need to execute the following command: netsh wfp show filters. As result of this command filters.xml file will be
generated. You need to open this file and find specific substring with required filter ID (<filterId>), for example:
5153(S): A more restrictive Windows Filtering Platform filter has blocked a packet.
This event is logged if a more restrictive Windows Filtering Platform filter has blocked a packet.
There is no example of this event in this document.
Event Schema:
A more restrictive Windows Filtering Platform filter has blocked a packet.
Application Information:
Process ID:%1
Application Name:%2
Network Information:
Source Address:%3
Source Port:%4
Protocol:%5
Filter Information:
Filter Run-Time ID:%6
Layer Name:%7
Layer Run-Time ID:%8
Events List:
4658(S): The handle to an object was closed.
4690(S): An attempt was made to duplicate a handle to an object.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
© 2016 Microsoft. All rights reserved.
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4690</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12807</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-23T00:17:41.755998800Z" />
<EventRecordID>338632</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="1100" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC01$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="SourceHandleId">0x438</Data>
<Data Name="SourceProcessId">0x674</Data>
<Data Name="TargetHandleId">0xd9c</Data>
<Data Name="TargetProcessId">0x4</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that made an attempt to duplicate a handle to an object. Event Viewer automatically tries to resolve SIDs and show the account name. If
the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
You can also correlate this process ID with a process ID in other events, for example, “4688: A new process has been created” Process Information\New Process ID.
New Handle Information:
Target Handle ID [Type = Pointer]: hexadecimal value of the new handle (the copy of Source Handle ID). This field can help you correlate this event with other events, for
example “4663: An attempt was made to access an object” in Audit File System, Audit Kernel Object, Audit Registry, Audit Removable Storage or Audit SAM subcategories.
Events List:
4656(S, F): A handle to an object was requested.
4658(S): The handle to an object was closed.
4660(S): An object was deleted.
4663(S): An attempt was made to access an object.
Events List:
4671(-): An application attempted to access a blocked ordinal through the TBS.
4691(S): Indirect access to an object was requested.
5148(F): The Windows Filtering Platform has detected a DoS attack and entered a defensive mode; packets associated with this attack will be discarded.
5149(F): The DoS attack has subsided and normal processing is being resumed.
4698(S): A scheduled task was created.
4699(S): A scheduled task was deleted.
4700(S): A scheduled task was enabled.
4701(S): A scheduled task was disabled.
4702(S): A scheduled task was updated.
5888(S): An object in the COM+ Catalog was modified.
5889(S): An object was deleted from the COM+ Catalog.
5890(S): An object was added to the COM+ Catalog.
5148(F): The Windows Filtering Platform has detected a DoS attack and entered a defensive mode; packets associated with this attack will be
discarded.
In most circumstances, this event occurs very rarely. It is designed to be generated when an ICPM DoS attack starts or was detected.
There is no example of this event in this document.
Event Schema:
The Windows Filtering Platform has detected a DoS attack and entered a defensive mode; packets associated with this attack will be discarded.
Network Information:
© 2016 Microsoft. All rights reserved.
Type:%1
5149(F): The DoS attack has subsided and normal processing is being resumed.
In most circumstances, this event occurs very rarely. It is designed to be generated when an ICPM DoS attack ended.
There is no example of this event in this document.
Event Schema:
The DoS attack has subsided and normal processing is being resumed.
Network Information:
Type:%1
Packets Discarded:%2
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4698</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12804</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-23T02:03:06.944522200Z" />
<EventRecordID>344740</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="5048" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x364eb</Data>
<Data Name="TaskName">\Microsoft\StartListener</Data>
<Data Name="TaskContent"><?xml version="1.0" encoding="UTF-16"?> <Task version="1.2"
xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> <RegistrationInfo> <Date>2015-09-
22T19:03:06.9258653</Date> <Author>CONTOSO\dadmin</Author> </RegistrationInfo> <Triggers /> <Principals>
<Principal id="Author"> <RunLevel>LeastPrivilege</RunLevel> <UserId>CONTOSO\dadmin</UserId>
<LogonType>InteractiveToken</LogonType> </Principal> </Principals> <Settings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries> <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries> <AllowHardTerminate>true</AllowHardTerminate>
© 2016 Microsoft. All rights reserved.
<StartWhenAvailable>false</StartWhenAvailable> <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable> <IdleSettings> <StopOnIdleEnd>true</StopOnIdleEnd>
<RestartOnIdle>false</RestartOnIdle> </IdleSettings> <AllowStartOnDemand>true</AllowStartOnDemand> <Enabled>true</Enabled> <Hidden>false</Hidden>
<RunOnlyIfIdle>false</RunOnlyIfIdle> <WakeToRun>false</WakeToRun> <ExecutionTimeLimit>P3D</ExecutionTimeLimit> <Priority>7</Priority> </Settings> <Actions Context="Author">
<Exec> <Command>C:\Documents\listener.exe</Command> </Exec> </Actions> </Task></Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “create scheduled task” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “create scheduled task” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Task Information:
Task Name [Type = UnicodeString]: new scheduled task name. The format of this value is “\task_path\task_name”, where task_path is a path in Microsoft Task Scheduler tree
starting from “Task Scheduler Library” node:
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4699</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12804</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-23T02:13:30.044244500Z" />
<EventRecordID>344827</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="5048" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
© 2016 Microsoft. All rights reserved.
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x364eb</Data>
<Data Name="TaskName">\Microsoft\My</Data>
<Data Name="TaskContent"><?xml version="1.0" encoding="UTF-16"?> <Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> <RegistrationInfo>
<Date>2015-08-25T13:56:10.5315552</Date> <Author>CONTOSO\dadmin</Author> </RegistrationInfo> <Triggers /> <Principals> <Principal id="Author">
<RunLevel>LeastPrivilege</RunLevel> <UserId>CONTOSO\dadmin</UserId> <LogonType>Password</LogonType> </Principal> </Principals> <Settings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy> <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries> <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
<AllowHardTerminate>false</AllowHardTerminate> <StartWhenAvailable>false</StartWhenAvailable> <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable> <IdleSettings>
<StopOnIdleEnd>true</StopOnIdleEnd> <RestartOnIdle>false</RestartOnIdle> </IdleSettings> <AllowStartOnDemand>true</AllowStartOnDemand> <Enabled>true</Enabled>
<Hidden>false</Hidden> <RunOnlyIfIdle>false</RunOnlyIfIdle> <WakeToRun>false</WakeToRun> <ExecutionTimeLimit>PT0S</ExecutionTimeLimit> <Priority>7</Priority> </Settings>
<Actions Context="Author"> <Exec> <Command>C:\Windows\notepad.exe</Command> </Exec> </Actions> </Task></Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “delete scheduled task” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “delete scheduled task” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Task Information:
Task Content [Type = UnicodeString]: the XML of the deleted task. Here “XML Task Definition Format” you
can read more about the XML format for scheduled tasks.
Security Monitoring Recommendations:
For 4699(S): A scheduled task was deleted.
Appendix A: Security monitoring recommendations for many audit events
We recommend monitoring all scheduled task deletion events, especially on critical computers or devices.
Scheduled tasks are often used by malware to stay in the system after reboot or for other malicious actions.
However, this event does not often happen.
Monitor for deleted tasks located in the Task Scheduler Library root node, that is, where Task Name looks
like ‘\TASK_NAME’. Scheduled tasks that are created manually or by malware are often located in the Task
Scheduler Library root node. Deletion of such tasks can be a sign of malicious activity.
If a highly critical scheduled task exists on some computers, and it should never be deleted, monitor for 4699
events with the corresponding Task Name.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4700</EventID>
<Version>0</Version>
<Level>0</Level>
© 2016 Microsoft. All rights reserved.
<Task>12804</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-23T02:32:47.606423000Z" />
<EventRecordID>344861</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="756" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x364eb</Data>
<Data Name="TaskName">\Microsoft\StartListener</Data>
<Data Name="TaskContent"><?xml version="1.0" encoding="UTF-16"?> <Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> <RegistrationInfo>
<Date>2015-09-22T19:03:06.9258653</Date> <Author>CONTOSO\dadmin</Author> </RegistrationInfo> <Triggers /> <Principals> <Principal id="Author">
<RunLevel>LeastPrivilege</RunLevel> <UserId>CONTOSO\dadmin</UserId> <LogonType>InteractiveToken</LogonType> </Principal> </Principals> <Settings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy> <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries> <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
<AllowHardTerminate>true</AllowHardTerminate> <StartWhenAvailable>false</StartWhenAvailable> <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable> <IdleSettings>
<StopOnIdleEnd>true</StopOnIdleEnd> <RestartOnIdle>false</RestartOnIdle> </IdleSettings> <AllowStartOnDemand>true</AllowStartOnDemand> <Enabled>true</Enabled>
<Hidden>false</Hidden> <RunOnlyIfIdle>false</RunOnlyIfIdle> <WakeToRun>false</WakeToRun> <ExecutionTimeLimit>P3D</ExecutionTimeLimit> <Priority>7</Priority> </Settings>
<Actions Context="Author"> <Exec> <Command>C:\Documents\listener.exe</Command> </Exec> </Actions> </Task></Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “enable scheduled task” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
Task Content [Type = UnicodeString]: the XML of the enabled task. Here “XML Task Definition Format” you
can read more about the XML format for scheduled tasks.
Security Monitoring Recommendations:
For 4700(S): A scheduled task was enabled.
Appendix A: Security monitoring recommendations for many audit events
If a highly critical scheduled task exists on some computers, and for some reason it should never be enabled,
monitor for 4700 events with the corresponding Task Name.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4701</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12804</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-23T02:32:45.844066600Z" />
<EventRecordID>344860</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="4364" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x364eb</Data>
<Data Name="TaskName">\Microsoft\StartListener</Data>
<Data Name="TaskContent"><?xml version="1.0" encoding="UTF-16"?> <Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> <RegistrationInfo>
<Date>2015-09-22T19:03:06.9258653</Date> <Author>CONTOSO\dadmin</Author> </RegistrationInfo> <Triggers /> <Principals> <Principal id="Author">
<RunLevel>LeastPrivilege</RunLevel> <UserId>CONTOSO\dadmin</UserId> <LogonType>InteractiveToken</LogonType> </Principal> </Principals> <Settings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy> <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries> <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
<AllowHardTerminate>true</AllowHardTerminate> <StartWhenAvailable>false</StartWhenAvailable> <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable> <IdleSettings>
<StopOnIdleEnd>true</StopOnIdleEnd> <RestartOnIdle>false</RestartOnIdle> </IdleSettings> <AllowStartOnDemand>true</AllowStartOnDemand> <Enabled>false</Enabled>
<Hidden>false</Hidden> <RunOnlyIfIdle>false</RunOnlyIfIdle> <WakeToRun>false</WakeToRun> <ExecutionTimeLimit>P3D</ExecutionTimeLimit> <Priority>7</Priority> </Settings>
<Actions Context="Author"> <Exec> <Command>C:\Documents\listener.exe</Command> </Exec> </Actions> </Task></Data>
</EventData>
</Event>
© 2016 Microsoft. All rights reserved.
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “enable scheduled task” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “enable scheduled task” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Task Information:
Task Name [Type = UnicodeString]: disabled scheduled task name. The format of this value is “\task_path\task_name”, where task_path is a path in Microsoft Task Scheduler
tree starting from “Task Scheduler Library” node:
Task Content [Type = UnicodeString]: the XML of the disabled task. Here “XML Task Definition Format” you can read more about the XML format for scheduled tasks.
Security Monitoring Recommendations:
For 4701(S): A scheduled task was disabled.
Appendix A: Security monitoring recommendations for many audit events
If a highly critical scheduled task exists on some computers, and it should never be disabled, monitor for 4701 events with the corresponding Task Name.
© 2016 Microsoft. All rights reserved.
4702(S): A scheduled task was updated.
Event Description:
This event generates every time scheduled task was updated/changed.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4702</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12804</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-23T03:00:59.343820000Z" />
<EventRecordID>344863</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="596" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x364eb</Data>
<Data Name="TaskName">\Microsoft\StartListener</Data>
<Data Name="TaskContentNew"><?xml version="1.0" encoding="UTF-16"?> <Task version="1.2"
xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> <RegistrationInfo> <Date>2015-09-
22T19:03:06.9258653</Date> <Author>CONTOSO\dadmin</Author> </RegistrationInfo> <Triggers /> <Principals>
<Principal id="Author"> <RunLevel>HighestAvailable</RunLevel> <UserId>CONTOSO\dadmin</UserId>
<LogonType>InteractiveToken</LogonType> </Principal> </Principals> <Settings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries> <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries> <AllowHardTerminate>true</AllowHardTerminate>
<StartWhenAvailable>false</StartWhenAvailable> <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable> <IdleSettings> <StopOnIdleEnd>true</StopOnIdleEnd>
© 2016 Microsoft. All rights reserved.
<RestartOnIdle>false</RestartOnIdle> </IdleSettings> <AllowStartOnDemand>true</AllowStartOnDemand> <Enabled>true</Enabled> <Hidden>false</Hidden>
<RunOnlyIfIdle>false</RunOnlyIfIdle> <WakeToRun>false</WakeToRun> <ExecutionTimeLimit>P3D</ExecutionTimeLimit> <Priority>7</Priority> </Settings> <Actions Context="Author">
<Exec> <Command>C:\Documents\listener.exe</Command> </Exec> </Actions> </Task></Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “change/update scheduled task” operation. Event Viewer automatically tries to resolve SIDs and show the account
name. If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “change/update scheduled task” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Task Information:
Task Name [Type = UnicodeString]: updated/changed scheduled task name. The format of this value is “\task_path\task_name”, where task_path is a path in Microsoft Task
Scheduler tree starting from “Task Scheduler Library” node:
Task New Content [Type = UnicodeString]: the new XML for the updated task. Here “XML Task Definition Format” you can read more about the XML format for scheduled tasks.
© 2016 Microsoft. All rights reserved.
Security Monitoring Recommendations:
For 4702(S): A scheduled task was updated.
Appendix A: Security monitoring recommendations for many audit events
Monitor for updated scheduled tasks located in the Task Scheduler Library root node, that is, where Task Name looks like ‘\TASK_NAME’. Scheduled tasks that are created
manually or by malware are often located in the Task Scheduler Library root node.
In the updated scheduled task, if the Task Content: XML contains <LogonType>Password</LogonType> value, trigger an alert. In this case, the password for the account that will
be used to run the scheduled task will be saved in Credential Manager in cleartext format, and can be extracted using Administrative privileges.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5888</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12290</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-23T20:37:22.400120200Z" />
<EventRecordID>344994</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="1352" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="SubjectUserDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">222443</Data>
<Data Name="ObjectCollectionName">Applications</Data>
<Data Name="ObjectIdentifyingProperties">ID = {1D34B2DC-0E43-4040-BA7B-2F1C181FD86A} AppPartitionID = {41E90F3E-56C1-4633-81C3-6E8BAC8BDD70}</Data>
<Data Name="ModifiedObjectProperties">Name = 'COMApp' -> 'COMApp-New' cCOL_SecurityDescriptor = '<Opaque>' -> '<Opaque>'</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “modify/change object” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “modify/change object” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Object:
COM+ Catalog Collection [Type = UnicodeString]: the name of COM+ collection in which the object was modified. Here is the list of possible collection values with descriptions:
Collection Description
ApplicationCluster Contains a list of the servers in the application cluster.
ApplicationInstances Contains an object for each instance of a running COM+ application.
Applications Contains an object for each COM+ application installed on the local computer.
Components Contains an object for each component in the application to which it is related.
ComputerList Contains a list of the computers found in the Computers folder of the Component Services administration tool.
DCOMProtocols Contains a list of the protocols to be used by DCOM. It contains an object for each protocol.
ErrorInfo Retrieves extended error information regarding methods that deal with multiple objects.
© 2016 Microsoft. All rights reserved.
EventClassesForIID Retrieves information regarding event classes.
FilesForImport Retrieves information from its MSI file about an application that can be imported.
InprocServers Contains a list of the in-process servers registered with the system. It contains an object for each component.
InterfacesForComponent Contains an object for each interface exposed by the component to which the collection is related.
LegacyComponents Contains an object for each unconfigured component in the application to which it is related.
LegacyServers Identical to the InprocServers collection except that this collection also includes local servers.
LocalComputer Contains a single object that holds computer level settings information for the computer whose catalog you are accessing.
MethodsForInterface Contains an object for each method on the interface to which the collection is related.
Partitions Used to specify the applications contained in each partition.
PartitionUsers Used to specify the users contained in each partition.
PropertyInfo Retrieves information about the properties that a specified collection supports.
PublisherProperties Contains an object for each publisher property for the parent SubscriptionsForComponent collection.
RelatedCollectionInfo Retrieves information about other collections related to the collection from which it is called.
Roles Contains an object for each role assigned to the application to which it is related.
RolesForComponent Contains an object for each role assigned to the component to which the collection is related.
RolesForInterface Contains an object for each role assigned to the interface to which the collection is related.
RolesForMethod Contains an object for each role assigned to the method to which the collection is related.
RolesForPartition Contains an object for each role assigned to the partition to which the collection is related.
Root Contains the top-level collections on the catalog.
SubscriberProperties Contains an object for each subscriber property for the parent SubscriptionsForComponent collection.
SubscriptionsForComponent Contains an object for each subscription for the parent Components collection.
TransientPublisherProperties Contains an object for each publisher property for the parent TransientSubscriptions collection.
TransientSubscriberProperties Contains an object for each subscriber property for the parent TransientSubscriptions collection.
TransientSubscriptions Contains an object for each transient subscription.
UsersInPartitionRole Contains an object for each user in the partition role to which the collection is related.
UsersInRole Contains an object for each user in the role to which the collection is related.
WOWInprocServers Contains a list of the in-process servers registered with the system for 32-bit components on 64-bit computers.
WOWLegacyServers Identical to the LegacyServers collection except that this collection is drawn from the 32-bit registry on 64-bit computers.
Object Name [Type = UnicodeString]: object-specific fields with the names and identifiers for the modified object. It depends on COM+ Catalog Collection value, for example, if
COM+ Catalog Collection = Applications, then you can find that:
o ID - A GUID representing the application. This property is returned when the Key property method is called on an object of this collection.
o AppPartitionID - A GUID representing the application partition ID.
GUID is an acronym for 'Globally Unique Identifier'. It is a 128-bit integer number used to identify resources, activities or instances.
Object Properties Modified [Type = UnicodeString]: the list of object’s (Object Name) properties which were modified.
The items have the following format: Property_Name = ‘OLD_VALUE’ -> ‘NEW_VALUE’
Check description for specific COM+ Catalog Collection to see the list of object’s properties and descriptions.
© 2016 Microsoft. All rights reserved.
Security Monitoring Recommendations:
For 5888(S): An object in the COM+ Catalog was modified.
Appendix A: Security monitoring recommendations for many audit events
If you have a specific COM+ object for which you need to monitor all modifications, monitor all 5888 events with the corresponding Object Name.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5889</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12290</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-23T20:44:42.948569400Z" />
<EventRecordID>344998</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="4756" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectUserDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">222443</Data>
<Data Name="ObjectCollectionName">Applications</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="ObjectIdentifyingProperties">ID = {1D34B2DC-0E43-4040-BA7B-2F1C181FD86A} AppPartitionID = {41E90F3E-56C1-4633-81C3-6E8BAC8BDD70}</Data>
<Data Name="ObjectProperties">Name = COMApp-New ApplicationProxyServerName = ProcessType = 2 CommandLine = ServiceName = <null> RunAsUserType = 1 Identity = Interactive
User Description = IsSystem = N Authentication = 4 ShutdownAfter = 3 RunForever = N Password = ******** Activation = Local Changeable = Y Deleteable = Y CreatedBy =
AccessChecksLevel = 1 ApplicationAccessChecksEnabled = 1 cCOL_SecurityDescriptor = <Opaque> ImpersonationLevel = 3 AuthenticationCapability = 64 CRMEnabled = 0
3GigSupportEnabled = 0 QueuingEnabled = 0 QueueListenerEnabled = N EventsEnabled = 1 ProcessFlags = 0 ThreadMax = 0 ApplicationProxy = 0 CRMLogFile = DumpEnabled = 0
DumpOnException = 0 DumpOnFailfast = 0 MaxDumpCount = 5 DumpPath = %systemroot%\system32\com\dmp IsEnabled = 1 AppPartitionID = {41E90F3E-56C1-4633-81C3-
6E8BAC8BDD70} ConcurrentApps = 1 RecycleLifetimeLimit = 0 RecycleCallLimit = 0 RecycleActivationLimit = 0 RecycleMemoryLimit = 0 RecycleExpirationTimeout = 15
QCListenerMaxThreads = 0 QCAuthenticateMsgs = 0 ApplicationDirectory = SRPTrustLevel = 262144 SRPEnabled = 0 SoapActivated = 0 SoapVRoot = SoapMailTo = SoapBaseUrl =
Replicable = 1</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “delete object” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “delete object” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Object:
COM+ Catalog Collection [Type = UnicodeString]: the name of COM+ collection in which COM+ object was deleted. Here is the list of possible collection values with descriptions:
Collection Description
ApplicationCluster Contains a list of the servers in the application cluster.
ApplicationInstances Contains an object for each instance of a running COM+ application.
Applications Contains an object for each COM+ application installed on the local computer.
© 2016 Microsoft. All rights reserved.
Components Contains an object for each component in the application to which it is related.
ComputerList Contains a list of the computers found in the Computers folder of the Component Services administration tool.
DCOMProtocols Contains a list of the protocols to be used by DCOM. It contains an object for each protocol.
ErrorInfo Retrieves extended error information regarding methods that deal with multiple objects.
EventClassesForIID Retrieves information regarding event classes.
FilesForImport Retrieves information from its MSI file about an application that can be imported.
InprocServers Contains a list of the in-process servers registered with the system. It contains an object for each component.
InterfacesForComponent Contains an object for each interface exposed by the component to which the collection is related.
LegacyComponents Contains an object for each unconfigured component in the application to which it is related.
LegacyServers Identical to the InprocServers collection except that this collection also includes local servers.
LocalComputer Contains a single object that holds computer level settings information for the computer whose catalog you are accessing.
MethodsForInterface Contains an object for each method on the interface to which the collection is related.
Partitions Used to specify the applications contained in each partition.
PartitionUsers Used to specify the users contained in each partition.
PropertyInfo Retrieves information about the properties that a specified collection supports.
PublisherProperties Contains an object for each publisher property for the parent SubscriptionsForComponent collection.
RelatedCollectionInfo Retrieves information about other collections related to the collection from which it is called.
Roles Contains an object for each role assigned to the application to which it is related.
RolesForComponent Contains an object for each role assigned to the component to which the collection is related.
RolesForInterface Contains an object for each role assigned to the interface to which the collection is related.
RolesForMethod Contains an object for each role assigned to the method to which the collection is related.
RolesForPartition Contains an object for each role assigned to the partition to which the collection is related.
Root Contains the top-level collections on the catalog.
SubscriberProperties Contains an object for each subscriber property for the parent SubscriptionsForComponent collection.
SubscriptionsForComponent Contains an object for each subscription for the parent Components collection.
TransientPublisherProperties Contains an object for each publisher property for the parent TransientSubscriptions collection.
TransientSubscriberProperties Contains an object for each subscriber property for the parent TransientSubscriptions collection.
TransientSubscriptions Contains an object for each transient subscription.
UsersInPartitionRole Contains an object for each user in the partition role to which the collection is related.
UsersInRole Contains an object for each user in the role to which the collection is related.
WOWInprocServers Contains a list of the in-process servers registered with the system for 32-bit components on 64-bit computers.
WOWLegacyServers Identical to the LegacyServers collection except that this collection is drawn from the 32-bit registry on 64-bit computers.
Object Name [Type = UnicodeString]: object-specific fields with the names and identifiers for the deleted object. It depends on COM+ Catalog Collection value, for example, if
COM+ Catalog Collection = Applications, then you can find that:
o ID - A GUID representing the application. This property is returned when the Key property method is called on an object of this collection.
o AppPartitionID - A GUID representing the application partition ID.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5890</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12290</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-23T19:45:04.239886800Z" />
<EventRecordID>344980</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="2856" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
Events List:
4663(S): An attempt was made to access an object.
4656(S, F): A handle to an object was requested.
4658(S): The handle to an object was closed.
4660(S): An object was deleted.
4657(S): A registry value was modified.
5039(-): A registry key was virtualized.
4670(S): Permissions on an object were changed.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4657</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12801</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-24T01:28:43.639634100Z" />
<EventRecordID>744725</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="4824" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x364eb</Data>
<Data Name="ObjectName">\REGISTRY\MACHINE</Data>
<Data Name="ObjectValueName">Name_New</Data>
<Data Name="HandleId">0x54</Data>
<Data Name="OperationType">%%1905</Data>
<Data Name="OldValueType">%%1873</Data>
<Data Name="OldValue" />
<Data Name="NewValueType">%%1873</Data>
<Data Name="NewValue">Andrei</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="ProcessId">0xce4</Data>
<Data Name="ProcessName">C:\Windows\regedit.exe</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “modify registry value” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “modify registry value” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Object:
Object Name [Type = UnicodeString]: full path and name of the registry key which value was modified. The format is: \REGISTRY\HIVE\PATH where:
o HIVE:
HKEY_LOCAL_MACHINE = \REGISTRY\MACHINE
HKEY_CURRENT_USER = \REGISTRY\USER\[USER_SID], where [USER_SID] is the SID of current user.
HKEY_CLASSES_ROOT = \REGISTRY\MACHINE\SOFTWARE\Classes
HKEY_USERS = \REGISTRY\USER
HKEY_CURRENT_CONFIG = \REGISTRY\MACHINE\SYSTEM\ControlSet001\Hardware Profiles\Current
o PATH – path to the registry key.
Object Value Name [Type = UnicodeString]: the name of modified registry key value.
Handle ID [Type = Pointer]: hexadecimal value of a handle to Object Name. This field can help you correlate this event with other events that might contain the same Handle ID,
for example, “4656: A handle to an object was requested.” This parameter might not be captured in the event, and in that case appears as “0x0”.
Operation Type [Type = UnicodeString]: the type of performed operation with registry key value. Most common operations are:
© 2016 Microsoft. All rights reserved.
o New registry value created
o Registry value deleted
o Existing registry value modified
Process Information:
Process ID [Type = Pointer]: hexadecimal Process ID of the process through which the registry key value was modified. Process ID (PID) is a number used by the operating system
to uniquely identify an active process. To see the PID for a specific process you can, for example, use Task Manager (Details tab, PID column):
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
You can also correlate this process ID with a process ID in other events, for example, “4688: A new process has been created” Process Information\New Process ID.
Process Name [Type = UnicodeString]: full path and the name of the executable for the process.
Change Information:
Old Value Type [Type = UnicodeString]: old type of changed registry key value. Registry key value types:
Value Type Description
REG_SZ String
REG_BINARY Binary
REG_DWORD DWORD (32-bit) Value
REG_QWORD QWORD (64-bit) Value
REG_MULTI_SZ Multi-String Value
REG_EXPAND_SZ Expandable String Value
Old Value [Type = UnicodeString]: old value for changed registry key value.
New Value Type [Type = UnicodeString]: new type of changed registry key value. See table above for possible values.
New Value [Type = UnicodeString]: new value for changed registry key value.
© 2016 Microsoft. All rights reserved.
Security Monitoring Recommendations:
For 4657(S): A registry value was modified.
Appendix A: Security monitoring recommendations for many audit events
If you have a pre-defined “Process Name” for the process reported in this event, monitor all events with “Process Name” not equal to your defined value.
If Object Name is a sensitive or critical registry key for which you need to monitor any modification of its values, monitor all 4657 events.
If Object Name has specific values (Object Value Name) and you need to monitor modifications of these values, monitor for all 4657 events.
Subject:
Security ID:%1%
Account Name:%2
Account Domain:%3
Logon ID:%4
Object:
Key Name:%5
Virtual Key Name:%6
Process Information:
Process ID:%7
Process Name%8
Events List:
4656(S, F): A handle to an object was requested.
4658(S): The handle to an object was closed.
4663(S): An attempt was made to access an object.
Events List:
4661(S, F): A handle to an object was requested.
Events List:
4818(S): Proposed Central Access Policy does not grant the same access
permissions as the current Central Access Policy.
4818(S): Proposed Central Access Policy does not grant the same
access permissions as the current Central Access Policy.
Event Description:
This event generates when Dynamic Access Control Proposed Central Access Policy is
enabled and access was not granted by Proposed Central Access Policy.
Note For recommendations, see Security Monitoring Recommendations for this
event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-
3E3B0328C30D}" />
<EventID>4715</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13568</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-30T19:59:39.964601800Z" />
<EventRecordID>1049425</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="4668" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x11ae30</Data>
<Data Name="OldSd">D:(A;;DCSWRPDTRC;;;BA)(D;;DCSWRPDTRC;;;SY)S:NO_ACCESS_CONTROL</Data>
<Data Name="NewSd">D:(A;;DCSWRPDTRC;;;BA)(A;;DCSWRPDTRC;;;SY)S:NO_ACCESS_CONTROL</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “change local audit policy security descriptor (SACL)” operation. Event Viewer automatically tries to resolve SIDs and
show the account name. If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “change local audit policy security descriptor (SACL)” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Audit Policy Change:
Original Security Descriptor [Type = UnicodeString]: the old Security Descriptor Definition Language (SDDL) value for the audit policy.
New Security Descriptor [Type = UnicodeString]: new Security Descriptor Definition Language (SDDL) value for the audit policy.
The Security Descriptor Definition Language (SDDL) defines string elements for enumerating information contained in the security descriptor.
Example:
O:BAG:SYD:(D;;0xf0007;;;AN)(D;;0xf0007;;;BG)(A;;0xf0007;;;SY)(A;;0×7;;;BA)S:ARAI(AU;SAFA;DCLCRPCRSDWDWO;;;WD)
- O: = Owner. SID of specific security principal, or reserved (pre-defined) value, for example: BA (BUILTIN_ADMINISTRATORS), WD (Everyone), SY (LOCAL_SYSTEM), etc.
See the list of possible values in the table below:
Value Description Value Description
© 2016 Microsoft. All rights reserved.
"AO" Account operators "PA" Group Policy administrators
"RU" Alias to allow previous Windows 2000 "IU" Interactively logged-on user
"AN" Anonymous logon "LA" Local administrator
"AU" Authenticated users "LG" Local guest
"BA" Built-in administrators "LS" Local service account
"BG" Built-in guests "SY" Local system
"BO" Backup operators "NU" Network logon user
"BU" Built-in users "NO" Network configuration operators
"CA" Certificate server administrators "NS" Network service account
"CG" Creator group "PO" Printer operators
"CO" Creator owner "PS" Personal self
"DA" Domain administrators "PU" Power users
"DC" Domain computers "RS" RAS servers group
"DD" Domain controllers "RD" Terminal server users
"DG" Domain guests "RE" Replicator
"DU" Domain users "RC" Restricted code
"EA" Enterprise administrators "SA" Schema administrators
"ED" Enterprise domain controllers "SO" Server operators
"WD" Everyone "SU" Service logon user
- G: = Primary Group.
- D: = DACL Entries.
- S: = SACL Entries.
DACL/SACL entry format: entry_type:inheritance_flags(ace_type;ace_flags;rights;object_guid;inherit_object_guid;account_sid)
Example: D:(A;;FA;;;WD)
- entry_type:
“D” - DACL
“S” - SACL
- inheritance_flags:
"P” - SDDL_PROTECTED, Inheritance from containers that are higher in the folder hierarchy are blocked.
"AI" - SDDL_AUTO_INHERITED, Inheritance is allowed, assuming that "P" Is not also set.
"AR" - SDDL_AUTO_INHERIT_REQ, Child objects inherit permissions from this object.
- ace_type:
"A" - ACCESS ALLOWED
"D" - ACCESS DENIED
"OA" - OBJECT ACCESS ALLOWED: only applies to a subset of the object(s).
"OD" - OBJECT ACCESS DENIED: only applies to a subset of the object(s).
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4719</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13568</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-30T19:57:09.668217100Z" />
<EventRecordID>1049418</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="4668" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC01$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="CategoryId">%%8274</Data>
<Data Name="SubcategoryId">%%12807</Data>
<Data Name="SubcategoryGuid">{0CCE9223-69AE-11D9-BED3-505054503030}</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="AuditPolicyChanges">%%8448, %%8450</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that made a change to local audit policy. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that made a change to local audit policy.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Audit Policy Change:
Category: the name of auditing Category which subcategory was changed. Possible values:
o Account Logon
o Account Management
o Detailed Tracking
o DS Access
o Logon/Logoff
o Object Access
o Policy Change
o Privilege Use
o System
Subcategory: the name of auditing Subcategory which was changed. Possible values:
Credential Validation Process Termination Network Policy Server
Subcategory GUID: the unique subcategory GUID. To see Subcategory GUIDs you can use this command: auditpol /list /subcategory:* /v.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-
3E3B0328C30D}" />
<EventID>4817</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13568</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-10T01:26:33.191368500Z" />
<EventRecordID>1192270</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="3048" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC01$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="ObjectServer">LSA</Data>
<Data Name="ObjectType">Global SACL</Data>
<Data Name="ObjectName">Key</Data>
<Data Name="OldSd" />
<Data Name="NewSd">S:(AU;SA;RC;;;S-1-5-21-3457937927-2839227994-823803824-1104)</Data>
</EventData>
</Event>
© 2016 Microsoft. All rights reserved.
Required Server Roles: None.
Minimum OS Version: Windows Server 2008 R2, Windows 7.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that made a change to Global Object Access Auditing policy. Event Viewer automatically tries to resolve SIDs and show the account name.
If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that made a change to Global Object Access Auditing policy.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Object:
Object Server [Type = UnicodeString]: has “LSA” value for this event.
Object Type [Type = UnicodeString]: The type of an object to which this event applies. Always “Global SACL” for this event.
The following table contains the list of the most common Object Types:
Directory Event Timer Device
Mutant Type File Token
Thread Section WindowStation DebugObject
FilterCommunicationPort EventPair Driver IoCompletion
Controller SymbolicLink WmiGuid Process
Profile Desktop KeyedEvent Central Access Policies
Key WaitablePort Callback Global SACL
Job Port FilterConnectionPort
ALPC Port Semaphore Adapter
Object Name:
o Key – if “Registry” Global Object Access Auditing policy was changed.
o File – if “File system” Global Object Access Auditing policy was changed.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4902</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13568</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-01T00:05:25.814466500Z" />
<EventRecordID>1049490</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="556" />
© 2016 Microsoft. All rights reserved.
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="PuaCount">1</Data>
<Data Name="PuaPolicyId">0x703e</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Number of Elements [Type = UInt32]: number of users for which Per-user policies were defined (number of unique users). You can get the list of users for which Per-user policies are
defined using “auditpol /list /user” command:
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4906</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13568</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-01T00:45:07.048458800Z" />
<EventRecordID>1049529</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="532" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="CrashOnAuditFailValue">1</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
New Value of CrashOnAuditFail [Type = UInt32]: contains new value of CrashOnAuditFail flag. Possible values are:
0 - The feature is off. The system does not halt, even when it cannot record events in the Security Log.
1 - The feature is on. The system halts when it cannot record an event in the Security Log.
2 - The feature is on and has been triggered. The system halted because it could not record an auditable event in the Security Log. Only members of the Administrators group can
log on.
Security Monitoring Recommendations:
For 4906(S): The CrashOnAuditFail value has changed.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-
3E3B0328C30D}" />
<EventID>4907</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13568</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-01T18:18:19.458828800Z" />
<EventRecordID>1049732</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="508" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x138eb0</Data>
<Data Name="ObjectServer">Security</Data>
<Data Name="ObjectType">Key</Data>
<Data Name="ObjectName">\REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\EventLog\Internet Explorer</Data>
<Data Name="HandleId">0x2f8</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="OldSd">S:AI</Data>
<Data Name="NewSd">S:ARAI(AU;CISA;KA;;;S-1-5-21-3457937927-2839227994-823803824-1104)</Data>
<Data Name="ProcessId">0x120c</Data>
<Data Name="ProcessName">C:\Windows\regedit.exe</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that made a change to object’s auditing settings. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that made a change to object’s auditing settings.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Object:
Object Server [Type = UnicodeString]: has “Security” value for this event.
Object Type [Type = UnicodeString]: The type of an object that was accessed during the operation.
The following table contains the list of the most common Object Types:
Directory Event Timer Device
Mutant Type File Token
Thread Section WindowStation DebugObject
FilterCommunicationPort EventPair Driver IoCompletion
Controller SymbolicLink WmiGuid Process
Profile Desktop KeyedEvent SC_MANAGER OBJECT
Key WaitablePort Callback
© 2016 Microsoft. All rights reserved.
Job Port FilterConnectionPort
ALPC Port Semaphore Adapter
Object Name [Type = UnicodeString]: full path and name of the object for which the SACL was modified. Depends on Object Type. Here are some examples:
o The format for Object Type = “Key” is: \REGISTRY\HIVE\PATH where:
o HIVE:
HKEY_LOCAL_MACHINE = \REGISTRY\MACHINE
HKEY_CURRENT_USER = \REGISTRY\USER\[USER_SID], where [USER_SID] is the SID of current user.
HKEY_CLASSES_ROOT = \REGISTRY\MACHINE\SOFTWARE\Classes
HKEY_USERS = \REGISTRY\USER
HKEY_CURRENT_CONFIG = \REGISTRY\MACHINE\SYSTEM\ControlSet001\Hardware Profiles\Current
o PATH – path to the registry key.
o The format for Object Type = “File” is: full path and name of the file or folder for which SACL was modified.
Handle ID [Type = Pointer]: hexadecimal value of a handle to Object Name. This field can help you correlate this event with other events that might contain the same Handle ID,
for example, “4656: A handle to an object was requested.” Event for registry keys or with Handle ID field in “4656(S, F): A handle to an object was requested.” Event for file
system objects. This parameter might not be captured in the event, and in that case appears as “0x0”.
Process Information:
Process ID [Type = Pointer]: hexadecimal Process ID of the process through which the object’s SACL was changed. Process ID (PID) is a number used by the operating system to
uniquely identify an active process. To see the PID for a specific process you can, for example, use Task Manager (Details tab, PID column):
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
You can also correlate this process ID with a process ID in other events, for example, “4688: A new process has been created” Process Information\New Process ID.
Process Name [Type = UnicodeString]: full path and the name of the executable for the process.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4908</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13568</Task>
© 2016 Microsoft. All rights reserved.
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-01T00:20:40.210246600Z" />
<EventRecordID>1049511</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="532" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SidList">%{S-1-5-21-3457937927-2839227994-823803824-512}</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Special Groups [Type = UnicodeString]: contains current list of SIDs (groups or accounts) which are members of Special Groups. Event Viewer automatically tries to resolve SIDs and show
the account name. If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
“HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Lsa\Audit\SpecialGroups” registry value contains current list of SIDs which are included in Special Groups:
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4912</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13568</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-09-30T23:43:07.363195100Z" />
<EventRecordID>1049452</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="1660" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x11ae30</Data>
<Data Name="TargetUserSid">S-1-5-21-3457937927-2839227994-823803824-2104</Data>
<Data Name="CategoryId">%%8276</Data>
<Data Name="SubcategoryId">%%13312</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="SubcategoryGuid">{0CCE922B-69AE-11D9-BED3-505054503030}</Data>
<Data Name="AuditPolicyChanges">%%8452</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that made a change to per-user audit policy. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that made a change to per-user audit policy.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Policy For Account:
Security ID [Type = SID]: SID of account for which the Per User Audit Policy was changed. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
Policy Change Details:
Category [Type = UnicodeString]: the name of auditing category which subcategory state was changed. Possible values are:
o Account Logon
o Account Management
o Detailed Tracking
o DS Access
o Logon/Logoff
o Object Access
o Policy Change
o Privilege Use
© 2016 Microsoft. All rights reserved.
o System
Subcategory [Type = UnicodeString]: the name of auditing subcategory which state was changed. Possible values:
Audit Credential Validation Audit Process Termination Audit Other Logon/Logoff Events
Audit Kerberos Authentication Service Audit RPC Events Audit Special Logon
Audit Kerberos Service Ticket Operations Audit Detailed Directory Service Replication Audit Application Generated
Audit Other Logon/Logoff Events Audit Directory Service Access Audit Certification Services
Audit Application Group Management Audit Directory Service Changes Audit Detailed File Share
Audit Computer Account Management Audit Directory Service Replication Audit File Share
Audit Distribution Group Management Audit Account Lockout Audit File System
Audit Other Account Management Events Audit IPsec Extended Mode Audit Filtering Platform Connection
Audit Security Group Management Audit IPsec Main Mode Audit Filtering Platform Packet Drop
Audit User Account Management Audit IPsec Quick Mode Audit Handle Manipulation
Audit DPAPI Activity Audit Logoff Audit Kernel Object
Audit Process Creation Audit Logon Audit IPsec Driver
Audit Other Object Access Events Audit Filtering Platform Policy Change Audit Other System Events
Audit Registry Audit MPSSVC Rule-Level Policy Change Audit Security State Change
Audit SAM Audit Other Policy Change Events Audit Security System Extension
Audit Policy Change Audit Non-Sensitive Privilege Use Audit System Integrity
Audit Authentication Policy Change Audit Sensitive Privilege Use Audit PNP Activity
Audit Authorization Policy Change Audit Other Privilege Use Events
Group Membership Audit Network Policy Server
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4904</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13568</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-01T00:53:01.030688000Z" />
<EventRecordID>1049538</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="548" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC01$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="AuditSourceName">FSRM Audit</Data>
<Data Name="EventSourceId">0x1cc4e</Data>
<Data Name="ProcessId">0x688</Data>
<Data Name="ProcessName">C:\Windows\System32\svchost.exe</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
You can also correlate this process ID with a process ID in other events, for example, “4688: A new process has been created” Process Information\New Process ID.
Event Source ID [Type = HexInt64]: the unique hexadecimal identifier of registered security event source.
Security Monitoring Recommendations:
For 4904(S): An attempt was made to register a security event source.
Appendix A: Security monitoring recommendations for many audit events
Because this event is typically triggered by the SYSTEM account, we recommend that you report it whenever
“Subject\Security ID” is not SYSTEM.
If you have a pre-defined “Process Name” for the process reported in this event, monitor all events with “Process
Name” not equal to your defined value.
If you have a pre-defined list of allowed security event sources for specific computers or computer types, then you
can use this event and check whether “Event Source\Source Name”is in your defined list.
Typically this event has an informational purpose.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4905</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13568</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-01T17:39:12.039825000Z" />
<EventRecordID>1049718</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="1888" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC01$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="AuditSourceName">IIS-METABASE</Data>
<Data Name="EventSourceId">0x20c15f</Data>
<Data Name="ProcessId">0xd90</Data>
<Data Name="ProcessName">-</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
You can also correlate this process ID with a process ID in other events, for example, “4688: A new process has been created” Process Information\New Process ID.
Event Source ID [Type = HexInt64]: the unique hexadecimal identifier of unregistered security event source.
Security Monitoring Recommendations:
For 4905(S): An attempt was made to unregister a security event source.
Appendix A: Security monitoring recommendations for many audit events
Because this event is typically triggered by the SYSTEM account, we recommend that you report it whenever “Subject\Security ID” is not SYSTEM.
If you have a pre-defined “Process Name” for the process reported in this event, monitor all events with “Process Name” not equal to your defined value.
If you have a list of critical security event sources which should never have been unregistered, then you can use this event and check the “Event Source\Source Name.”
Typically this event has an informational purpose.
General Stronger
Computer Type Comments
Success Failure Success Failure
Domain Controller Yes No Yes No On domain controllers, it is important to enable Success audit for this subcategory to be able to get information
related to operations with domain and forest trusts, changes in Kerberos policy and some other events included
in this subcategory.
This subcategory doesn’t have Failure events, so there is no recommendation to enable Failure auditing for this
subcategory.
Member Server Yes No Yes No On member servers it is important to enable Success audit for this subcategory to be able to get information
related to changes in user logon rights policies and password policy changes.
This subcategory doesn’t have Failure events, so there is no recommendation to enable Failure auditing for this
subcategory.
Workstation Yes No Yes No On workstations it is important to enable Success audit for this subcategory to be able to get information
related to changes in user logon rights policies and password policy changes.
This subcategory doesn’t have Failure events, so there is no recommendation to enable Failure auditing for this
subcategory.
Events List:
4670(S): Permissions on an object were changed
4706(S): A new trust was created to a domain.
4707(S): A trust to a domain was removed.
4716(S): Trusted domain information was modified.
4713(S): Kerberos policy was changed.
© 2016 Microsoft. All rights reserved.
4717(S): System security access was granted to an account.
4718(S): System security access was removed from an account.
4739(S): Domain Policy was changed.
4864(S): A namespace collision was detected.
4865(S): A trusted forest information entry was added.
4866(S): A trusted forest information entry was removed.
4867(S): A trusted forest information entry was modified.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4706</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13569</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-01T20:41:13.189445500Z" />
<EventRecordID>1049759</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="4900" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="DomainName">corp.contoso.local</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="DomainSid">S-1-5-21-2226861337-2836268956-2433141405</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e99d6</Data>
<Data Name="TdoType">2</Data>
<Data Name="TdoDirection">3</Data>
<Data Name="TdoAttributes">32</Data>
<Data Name="SidFilteringEnabled">%%1796</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “create domain trust” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “create domain trust” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Trusted Domain:
Domain Name [Type = UnicodeString]: the name of new trusted domain.
Domain ID [Type = SID]: SID of new trusted domain. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be resolved, you will see the
source data in the event.
Trust Information:
Trust Type [Type = UInt32]: the type of new trust. The following table contains possible values for this field:
© 2016 Microsoft. All rights reserved.
Value Attribute Value Description
1 TRUST_TYPE_DOWNLEVEL The domain controller of the trusted domain is a computer running an operating system earlier than Windows 2000.
2 TRUST_TYPE_UPLEVEL The domain controller of the trusted domain is a computer running Windows 2000 or later.
3 TRUST_TYPE_MIT The trusted domain is running a non-Windows, RFC4120-compliant Kerberos distribution. This type of trust is distinguished in
that (1) a SID is not required for the TDO, and (2) the default key types include the DES-CBC and DES-CRC encryption types (see
[RFC4120] section 8.1).
4 TRUST_TYPE_DCE The trusted domain is a DCE realm. Historical reference, this value is not used in Windows.
Trust Direction [Type = UInt32]: the direction of new trust. The following table contains possible values for this field:
Value Attribute Value Description
0 TRUST_DIRECTION_DISABLED The trust relationship exists, but it has been disabled.
1 TRUST_DIRECTION_INBOUND The trusted domain trusts the primary domain to perform operations such as name lookups and authentication.
2 TRUST_DIRECTION_OUTBOUND The primary domain trusts the trusted domain to perform operations such as name lookups and authentication.
3 TRUST_DIRECTION_BIDIRECTIONAL Both domains trust one another for operations such as name lookups and authentication.
Trust Attributes [Type = UInt32]: the decimal value of attributes for new trust. You need convert decimal value to hexadecimal and find it in the table below. The following table
contains possible values for this field:
Value Attribute Value Description
0x1 TRUST_ATTRIBUTE_NON_TRANSITI If this bit is set, then the trust cannot be used transitively. For example, if domain A trusts domain B, which in turn
VE trusts domain C, and the A<-->B trust has this attribute set, then a client in domain A cannot authenticate to a server in
domain C over the A<-->B<-->C trust linkage.
0x2 TRUST_ATTRIBUTE_UPLEVEL_ONLY If this bit is set in the attribute, then only Windows 2000 operating system and newer clients may use the trust link.
Netlogon does not consume trust objects that have this flag set.
0x4 TRUST_ATTRIBUTE_QUARANTINED If this bit is set, the trusted domain is quarantined and is subject to the rules of SID Filtering as described in [MS-PAC]
_DOMAIN section 4.1.2.2.
0x8 TRUST_ATTRIBUTE_FOREST_TRANS If this bit is set, the trust link is a cross-forest trust [MS-KILE] between the root domains of two forests, both of which
ITIVE are running in a forest functional level of DS_BEHAVIOR_WIN2003 or greater.
Only evaluated on Windows Server 2003 operating system, Windows Server 2008 operating system, Windows Server
2008 R2 operating system, Windows Server 2012 operating system, Windows Server 2012 R2 operating system, and
Windows Server 2016 Technical Preview operating system.
Can only be set if forest and trusted forest are running in a forest functional level of DS_BEHAVIOR_WIN2003 or
greater.
0x10 TRUST_ATTRIBUTE_CROSS_ORGANI If this bit is set, then the trust is to a domain or forest that is not part of the organization. The behavior controlled by
ZATION this bit is explained in [MS-KILE] section 3.3.5.7.5 and [MS-APDS] section 3.1.5.
Only evaluated on Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012,
Windows Server 2012 R2, and Windows Server 2016 Technical Preview.
Can only be set if forest and trusted forest are running in a forest functional level of DS_BEHAVIOR_WIN2003 or
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4707</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13569</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-01T20:41:13.080444700Z" />
<EventRecordID>1049754</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="580" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="DomainName">FABRIKAM</Data>
<Data Name="DomainSid">S-1-5-21-2226861337-2836268956-2433141405</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e99d6</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
© 2016 Microsoft. All rights reserved.
Subject:
Security ID [Type = SID]: SID of account that requested the “remove domain trust” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “remove domain trust” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Domain Information:
Domain Name [Type = UnicodeString]: the name of removed trusted domain.
Domain ID [Type = SID]: SID of removed trusted domain. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be resolved, you will see
the source data in the event.
Security Monitoring Recommendations:
For 4707(S): A trust to a domain was removed.
Any changes related to Active Directory domain trusts (especially trust removal) must be monitored and alerts
should be triggered. If this change was not planned, investigate the reason for the change.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
Trust Direction [Type = UInt32]: the direction of new trust. If this attribute was not changed, then it will have “-“ value or its old value. The following table contains possible values
for this field:
Value Attribute Value Description
0 TRUST_DIRECTION_DISABLED The trust relationship exists, but it has been disabled.
1 TRUST_DIRECTION_INBOUND The trusted domain trusts the primary domain to perform operations such as name lookups and authentication.
2 TRUST_DIRECTION_OUTBOUND The primary domain trusts the trusted domain to perform operations such as name lookups and authentication.
3 TRUST_DIRECTION_BIDIRECTIONAL Both domains trust one another for operations such as name lookups and authentication.
Trust Attributes [Type = UInt32]: the decimal value of attributes for new trust. You need convert decimal value to hexadecimal and find it in the table below. If this attribute was
not changed, then it will have “-“ value or its old value. The following table contains possible values for this field:
© 2016 Microsoft. All rights reserved.
Value Attribute Value Description
0x1 TRUST_ATTRIBUTE_NON_TRANSITI If this bit is set, then the trust cannot be used transitively. For example, if domain A trusts domain B, which in turn
VE trusts domain C, and the A<-->B trust has this attribute set, then a client in domain A cannot authenticate to a server in
domain C over the A<-->B<-->C trust linkage.
0x2 TRUST_ATTRIBUTE_UPLEVEL_ONLY If this bit is set in the attribute, then only Windows 2000 operating system and newer clients may use the trust link.
Netlogon does not consume trust objects that have this flag set.
0x4 TRUST_ATTRIBUTE_QUARANTINED If this bit is set, the trusted domain is quarantined and is subject to the rules of SID Filtering as described in [MS-PAC]
_DOMAIN section 4.1.2.2.
0x8 TRUST_ATTRIBUTE_FOREST_TRANS If this bit is set, the trust link is a cross-forest trust [MS-KILE] between the root domains of two forests, both of which
ITIVE are running in a forest functional level of DS_BEHAVIOR_WIN2003 or greater.
Only evaluated on Windows Server 2003 operating system, Windows Server 2008 operating system, Windows Server
2008 R2 operating system, Windows Server 2012 operating system, Windows Server 2012 R2 operating system, and
Windows Server 2016 Technical Preview operating system.
Can only be set if forest and trusted forest are running in a forest functional level of DS_BEHAVIOR_WIN2003 or
greater.
0x10 TRUST_ATTRIBUTE_CROSS_ORGANI If this bit is set, then the trust is to a domain or forest that is not part of the organization. The behavior controlled by
ZATION this bit is explained in [MS-KILE] section 3.3.5.7.5 and [MS-APDS] section 3.1.5.
Only evaluated on Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012,
Windows Server 2012 R2, and Windows Server 2016 Technical Preview.
Can only be set if forest and trusted forest are running in a forest functional level of DS_BEHAVIOR_WIN2003 or
greater.
0x20 TRUST_ATTRIBUTE_WITHIN_FORES If this bit is set, then the trusted domain is within the same forest.
T Only evaluated on Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012,
Windows Server 2012 R2, and Windows Server 2016 Technical Preview.
0x40 TRUST_ATTRIBUTE_TREAT_AS_EXT If this bit is set, then a cross-forest trust to a domain is to be treated as an external trust for the purposes of SID
ERNAL Filtering. Cross-forest trusts are more stringently filtered than external trusts. This attribute relaxes those cross-forest
trusts to be equivalent to external trusts. For more information on how each trust type is filtered, see [MS-PAC] section
4.1.2.2.
Only evaluated on Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012,
Windows Server 2012 R2, and Windows Server 2016 Technical Preview.
Only evaluated if SID Filtering is used.
Only evaluated on cross-forest trusts having TRUST_ATTRIBUTE_FOREST_TRANSITIVE.
Can only be set if forest and trusted forest are running in a forest functional level of DS_BEHAVIOR_WIN2003 or
greater.
0x80 TRUST_ATTRIBUTE_USES_RC4_ENC This bit is set on trusts with the trustType set to TRUST_TYPE_MIT, which are capable of using RC4 keys. Historically,
RYPTION MIT Kerberos distributions supported only DES and 3DES keys ([RFC4120], [RFC3961]). MIT 1.4.1 adopted the
RC4HMAC encryption type common to Windows 2000 [MS-KILE], so trusted domains deploying later versions of the
MIT distribution required this bit. For more information, see "Keys and Trusts", section 6.1.6.9.1.
© 2016 Microsoft. All rights reserved.
Only evaluated on TRUST_TYPE_MIT
0x200 TRUST_ATTRIBUTE_CROSS_ORGANI If this bit is set, tickets granted under this trust MUST NOT be trusted for delegation. The behavior controlled by this bit
ZATION_NO_TGT_DELEGATION is as specified in [MS-KILE] section 3.3.5.7.5.
Only supported on Windows Server 2012, Windows Server 2012 R2, and Windows Server 2016 Technical Preview.
0x400 TRUST_ATTRIBUTE_PIM_TRUST If this bit and the TATE bit are set, then a cross-forest trust to a domain is to be treated as Privileged Identity
Management trust for the purposes of SID Filtering. For more information on how each trust type is filtered, see [MS-
PAC] section 4.1.2.2.
Evaluated only on Windows Server 2016 Technical Preview
Evaluated only if SID Filtering is used.
Evaluated only on cross-forest trusts having TRUST_ATTRIBUTE_FOREST_TRANSITIVE.
Can be set only if the forest and the trusted forest are running in a forest functional level of
DS_BEHAVIOR_WINTHRESHOLD or greater.
SID Filtering [Type = UnicodeString]: SID Filtering state for the new trust:
o Enabled
o Disabled
If this attribute was not changed, then it will have “-“ value or its old value.
Security Monitoring Recommendations:
For 4716(S): Trusted domain information was modified.
Any changes in Active Directory domain trust settings must be monitored and alerts should be triggered. If this change was not planned, investigate the reason for the change.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4713</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13569</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4717</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13569</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-02T00:02:33.213572000Z" />
<EventRecordID>1049777</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="2064" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC01$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-2104</Data>
<Data Name="AccessGranted">SeInteractiveLogonRight</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that made a change to local logon right user policy. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “Subject\Security ID” (with
anomalies or monitoring potential malicious actions. For example, you might need to other information) to monitor how or when a particular account is being used.
monitor for use of an account outside of working hours.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “Subject\Security ID” that corresponds to the accounts that
accounts that should never be used. should never be used.
Account whitelist: You might have a specific whitelist of accounts that are the only ones If this event corresponds to a “whitelist-only” action, review the “Subject\Security ID” for
allowed to perform actions corresponding to particular events. accounts that are outside the whitelist.
If you have specific user logon rights policies, for example, a whitelist of accounts that can
log on to certain computers, monitor this event to confirm that any “Access Right” was
granted only to the appropriate “Account Modified\Account Name.”
Accounts of different types: You might want to ensure that certain actions are performed If this event corresponds to an action you want to monitor for certain account types,
only by certain account types, for example, local or domain account, machine or user review the “Subject\Security ID” and “Account Modified\Account Name” to see whether
account, vendor or employee account, and so on. the account type is as expected.
For example, if non-service accounts should never be granted certain logon rights (for
example, SeServiceLogonRight), monitor this event for those accounts and rights.
External accounts: You might be monitoring accounts from another domain, or “external” Monitor this event for the “Subject\Account Domain” corresponding to accounts from
accounts that are not allowed to perform certain actions (represented by certain specific another domain or “external” accounts.
events).
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the
devices on which certain people (accounts) should perform only limited actions, or no “Subject\Security ID” that you are concerned about. Also be sure to check “Account
actions at all. Modified\Account Name” to see whether logon rights should be granted to that account.
For high-value servers or other computers, we recommend that you track this event and
investigate whether the specific “Access Right” should be granted to “Account
Modified\Account Name” in each case.
Logon rights that should be restricted: You might have a list of user logon rights that you Monitor this event and compare the “Access Right” to your list of restricted rights.
© 2016 Microsoft. All rights reserved.
want to monitor (for example, SeServiceLogonRight).
Account naming conventions: Your organization might have specific naming conventions Monitor “Subject\Account Name” for names that don’t comply with naming conventions.
for account names.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4718</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13569</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-01T23:35:46.375134200Z" />
<EventRecordID>1049773</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="5028" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC01$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-2104</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="AccessRemoved">SeInteractiveLogonRight</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that made a change to local logon right user policy. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that made a change to local logon right user policy.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Account Modified:
Account Name [Type = SID]: the SID of the security principal for which logon right was removed. Event Viewer automatically tries to resolve SIDs and show the account name. If
the SID cannot be resolved, you will see the source data in the event.
Access Removed:
Access Right [Type = UnicodeString]: the name of removed logon right. This event generates only for logon rights, which are as follows:
Value Group Policy Name
SeNetworkLogonRight Access this computer from the network
SeRemoteInteractiveLogonRight Allow logon through Terminal Services
SeDenyNetworkLogonRight Deny access to this computer from the network
SeDenyBatchLogonRight Deny logon as a batch job
SeDenyServiceLogonRight Deny logon as a service
SeDenyInteractiveLogonRight Deny logon locally
SeDenyRemoteInteractiveLogonRight Deny logon through Terminal Services
SeBatchLogonRight Log on as a batch job
© 2016 Microsoft. All rights reserved.
SeServiceLogonRight Log on as a service
SeInteractiveLogonRight Log on locally
Security Monitoring Recommendations:
For 4718(S): System security access was removed from an account.
High-value accounts: You might have high-value domain or local accounts for which you Monitor this event with the “Subject\Security ID” and “Account Modified\Account
need to monitor each action. Name” that correspond to the high-value account or accounts.
Examples of high-value accounts are database administrators, built-in local administrator
account, domain administrators, service accounts, domain controller accounts and so on.
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “Subject\Security ID” (with
anomalies or monitoring potential malicious actions. For example, you might need to other information) to monitor how or when a particular account is being used.
monitor for use of an account outside of working hours.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “Subject\Security ID” that corresponds to the accounts that
accounts that should never be used. should never be used.
Account whitelist: You might have a specific whitelist of accounts that are the only ones If this event corresponds to a “whitelist-only” action, review the “Subject\Security ID” for
allowed to perform actions corresponding to particular events. accounts that are outside the whitelist.
If you have specific user logon rights policies, for example, a whitelist of accounts that can
log on to certain computers, monitor this event to confirm that it was appropriate that the
“Access Right” was removed from “Account Modified\Account Name.”
Accounts of different types: You might want to ensure that certain actions are performed If this event corresponds to an action you want to monitor for certain account types,
only by certain account types, for example, local or domain account, machine or user review the “Subject\Security ID” and “Account Modified\Account Name” to see whether
account, vendor or employee account, and so on. the account type is as expected.
For example, if critical remote network service accounts have user logon rights which
should never be removed (for example, SeNetworkLogonRight), monitor this event for the
“Account Modified\Account Name” and the appropriate rights.
As another example, if non-service accounts should never be granted certain logon rights
(for example, SeServiceLogonRight), you might monitor this event, because a right can be
External accounts: You might be monitoring accounts from another domain, or “external” Monitor this event for the “Subject\Account Domain” corresponding to accounts from
accounts that are not allowed to perform certain actions (represented by certain specific another domain or “external” accounts.
events).
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the
devices on which certain people (accounts) should perform only limited actions, or no “Subject\Security ID” that you are concerned about. Also be sure to check “Account
actions at all. Modified\Account Name” to see whether logon rights should be removed from that
account.
For high-value servers or other computers, we recommend that you track this event and
investigate whether the specific “Access Right” should be removed from “Account
Modified\Account Name” in each case.
Logon rights that should be restricted: You might have a list of user logon rights that you Monitor this event and compare the “Access Right” to your list of restricted rights.
want to monitor (for example, SeServiceLogonRight).
Monitor this event to discover the removal of a right that should never have been granted,
“Deny” rights that should not be removed: Your organization might use “Deny” rights that so that you can investigate further.
should not be removed, for example, SeDenyRemoteInteractiveLogonRight.
You can also monitor this event to discover the removal of “Deny” rights. When these
rights are removed, it could be an approved action, done by mistake, or part of malicious
activity. These rights include:
SeDenyNetworkLogonRight:
SeDenyBatchLogonRight
SeDenyServiceLogonRight
SeDenyInteractiveLogonRight
SeDenyRemoteInteractiveLogonRight
Account naming conventions: Your organization might have specific naming conventions Monitor “Subject\Account Name” for names that don’t comply with naming conventions.
for account names.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4739</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13569</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-02T00:45:37.587380900Z" />
<EventRecordID>1049781</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="1648" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="DomainPolicyChanged">Password Policy</Data>
<Data Name="DomainName">CONTOSO</Data>
<Data Name="DomainSid">S-1-5-21-3457937927-2839227994-823803824</Data>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC01$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="PrivilegeList">-</Data>
<Data Name="MinPasswordAge">-</Data>
<Data Name="MaxPasswordAge">-</Data>
<Data Name="ForceLogoff">-</Data>
<Data Name="LockoutThreshold">-</Data>
<Data Name="LockoutObservationWindow">-</Data>
<Data Name="LockoutDuration">-</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="PasswordProperties">-</Data>
<Data Name="MinPasswordLength">-</Data>
<Data Name="PasswordHistoryLength">13</Data>
<Data Name="MachineAccountQuota">-</Data>
<Data Name="MixedDomainMode">-</Data>
<Data Name="DomainBehaviorVersion">-</Data>
<Data Name="OemInformation">-</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Change Type [Type = UnicodeString]: the type of change which was made. The format is “policy_name modified”. These are some possible values of policy_name:
Value Group Policy Name \ Description
Lockout Policy Computer’s “\Security Settings\Account Policies\Account Lockout Policy” settings were modified.
Password Policy Computer's “\Security Settings\Account Policies\Password Policy” settings were modified.
Logoff Policy "Network security: Force logoff when logon hours expire" group policy setting was changed.
- Machine Account Quota (ms-DS-MachineAccountQuota) domain attribute was modified.
Subject:
Security ID [Type = SID]: SID of account that made a change to specific local policy. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot
be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that made a change to specific local policy.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Domain:
Domain Name [Type = UnicodeString]: the name of domain for which policy changes were made.
© 2016 Microsoft. All rights reserved.
Domain ID [Type = SID]: the SID of domain for which policy changes were made. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
Changed Attributes: For attributes which were not changed the value will be “-“.
Min. Password Age [Type = UnicodeString]: “\Security Settings\Account Policies\Password Policy\Minimum password age” group policy. Numeric value.
Max. Password Age [Type = UnicodeString]: “\Security Settings\Account Policies\Password Policy\Maximum password age” group policy. Numeric value.
OEM Information [Type = UnicodeString]: there is no information about this field in this document.
Additional Information:
Privileges [Type = UnicodeString]: the list of user privileges which were used during the operation, for example, SeBackupPrivilege. This parameter might not be captured in the
event, and in that case appears as “-”. See full list of user privileges in the table below:
Privilege Name User Right Group Policy Description
Name
SeAssignPrimaryTokenPrivilege Replace a process-level token Required to assign the primary token of a process.
With this privilege, the user can initiate a process to replace the default token associated with a started
subprocess.
SeAuditPrivilege Generate security audits With this privilege, the user can add entries to the security log.
SeBackupPrivilege Back up files and directories Required to perform backup operations.
With this privilege, the user can bypass file and directory, registry, and other persistent object
permissions for the purposes of backing up the system.
This privilege causes the system to grant all read access control to any file, regardless of the access
control list (ACL) specified for the file. Any access request other than read is still evaluated with the
ACL. The following access rights are granted if this privilege is held:
READ_CONTROL
ACCESS_SYSTEM_SECURITY
FILE_GENERIC_READ
© 2016 Microsoft. All rights reserved.
FILE_TRAVERSE
SeChangeNotifyPrivilege Bypass traverse checking Required to receive notifications of changes to files or directories. This privilege also causes the system
to skip all traversal access checks.
With this privilege, the user can traverse directory trees even though the user may not have
permissions on the traversed directory. This privilege does not allow the user to list the contents of a
directory, only to traverse directories.
SeCreateGlobalPrivilege Create global objects Required to create named file mapping objects in the global namespace during Terminal Services
sessions.
SeCreatePagefilePrivilege Create a pagefile With this privilege, the user can create and change the size of a pagefile.
SeCreatePermanentPrivilege Create permanent shared Required to create a permanent object.
objects This privilege is useful to kernel-mode components that extend the object namespace. Components
that are running in kernel mode already have this privilege inherently; it is not necessary to assign
them the privilege.
SeCreateSymbolicLinkPrivilege Create symbolic links Required to create a symbolic link.
SeCreateTokenPrivilege Create a token object Allows a process to create a token which it can then use to get access to any local resources when the
process uses NtCreateToken() or other token-creation APIs.
When a process requires this privilege, we recommend using the LocalSystem account (which already
includes the privilege), rather than creating a separate user account and assigning this privilege to it.
SeDebugPrivilege Debug programs Required to debug and adjust the memory of a process owned by another account.
With this privilege, the user can attach a debugger to any process or to the kernel. Developers who are
debugging their own applications do not need this user right. Developers who are debugging new
system components need this user right. This user right provides complete access to sensitive and
critical operating system components.
SeEnableDelegationPrivilege Enable computer and user Required to mark user and computer accounts as trusted for delegation.
accounts to be trusted for With this privilege, the user can set the Trusted for Delegation setting on a user or computer object.
delegation The user or object that is granted this privilege must have write access to the account control flags on
the user or computer object. A server process running on a computer (or under a user context) that is
trusted for delegation can access resources on another computer using the delegated credentials of a
client, as long as the account of the client does not have the Account cannot be delegated account
control flag set.
SeImpersonatePrivilege Impersonate a client after
With this privilege, the user can impersonate other accounts.
authentication
SeIncreaseBasePriorityPrivileg Increase scheduling priority Required to increase the base priority of a process.
e With this privilege, the user can use a process with Write property access to another process to
increase the execution priority assigned to the other process. A user with this privilege can change the
scheduling priority of a process through the Task Manager user interface.
SeIncreaseQuotaPrivilege Adjust memory quotas for a Required to increase the quota assigned to a process.
process With this privilege, the user can change the maximum memory that can be consumed by a process.
© 2016 Microsoft. All rights reserved.
SeIncreaseWorkingSetPrivilege Increase a process working
Required to allocate more memory for applications that run in the context of users.
set
SeLoadDriverPrivilege Load and unload device Required to load or unload a device driver.
drivers With this privilege, the user can dynamically load and unload device drivers or other code in to kernel
mode. This user right does not apply to Plug and Play device drivers.
SeLockMemoryPrivilege Lock pages in memory Required to lock physical pages in memory.
With this privilege, the user can use a process to keep data in physical memory, which prevents the
system from paging the data to virtual memory on disk. Exercising this privilege could significantly
affect system performance by decreasing the amount of available random access memory (RAM).
SeMachineAccountPrivilege Add workstations to domain With this privilege, the user can create a computer account.
This privilege is valid only on domain controllers.
SeManageVolumePrivilege Perform volume
Required to run maintenance tasks on a volume, such as remote defragmentation.
maintenance tasks
SeProfileSingleProcessPrivilege Profile single process Required to gather profiling information for a single process.
With this privilege, the user can use performance monitoring tools to monitor the performance of non-
system processes.
SeRelabelPrivilege Modify an object label Required to modify the mandatory integrity level of an object.
SeRemoteShutdownPrivilege Force shutdown from a
Required to shut down a system using a network request.
remote system
SeRestorePrivilege Restore files and directories Required to perform restore operations. This privilege causes the system to grant all write access
control to any file, regardless of the ACL specified for the file. Any access request other than write is
still evaluated with the ACL. Additionally, this privilege enables you to set any valid user or group SID as
the owner of a file. The following access rights are granted if this privilege is held:
WRITE_DAC
WRITE_OWNER
ACCESS_SYSTEM_SECURITY
FILE_GENERIC_WRITE
FILE_ADD_FILE
FILE_ADD_SUBDIRECTORY
DELETE
With this privilege, the user can bypass file, directory, registry, and other persistent objects
permissions when restoring backed up files and directories and determines which users can set any
valid security principal as the owner of an object.
SeSecurityPrivilege Manage auditing and security Required to perform a number of security-related functions, such as controlling and viewing audit
log events in security event log.
With this privilege, the user can specify object access auditing options for individual resources, such as
files, Active Directory objects, and registry keys.
A user with this privilege can also view and clear the security log.
© 2016 Microsoft. All rights reserved.
SeShutdownPrivilege Shut down the system Required to shut down a local system.
SeSyncAgentPrivilege Synchronize directory service This privilege enables the holder to read all objects and properties in the directory, regardless of the
data protection on the objects and properties. By default, it is assigned to the Administrator and
LocalSystem accounts on domain controllers.
With this privilege, the user can synchronize all directory service data. This is also known as Active
Directory synchronization.
SeSystemEnvironmentPrivilege Modify firmware Required to modify the nonvolatile RAM of systems that use this type of memory to store
environment values configuration information.
SeSystemProfilePrivilege Profile system performance Required to gather profiling information for the entire system.
With this privilege, the user can use performance monitoring tools to monitor the performance of
system processes.
SeSystemtimePrivilege Change the system time Required to modify the system time.
With this privilege, the user can change the time and date on the internal clock of the computer. Users
that are assigned this user right can affect the appearance of event logs. If the system time is changed,
events that are logged will reflect this new time, not the actual time that the events occurred.
SeTakeOwnershipPrivilege Take ownership of files or Required to take ownership of an object without being granted discretionary access. This privilege
other objects allows the owner value to be set only to those values that the holder may legitimately assign as the
owner of an object.
With this privilege, the user can take ownership of any securable object in the system, including Active
Directory objects, files and folders, printers, registry keys, processes, and threads.
SeTcbPrivilege Act as part of the operating This privilege identifies its holder as part of the trusted computer base.
system This user right allows a process to impersonate any user without authentication. The process can
therefore gain access to the same local resources as that user.
SeTimeZonePrivilege Change the time zone Required to adjust the time zone associated with the computer's internal clock.
SeTrustedCredManAccessPrivil Access Credential Manager
Required to access Credential Manager as a trusted caller.
ege as a trusted caller
SeUndockPrivilege Remove computer from Required to undock a laptop.
docking station With this privilege, the user can undock a portable computer from its docking station without logging
on.
SeUnsolicitedInputPrivilege Not applicable Required to read unsolicited input from a terminal device.
Security Monitoring Recommendations:
For 4739(S): Domain Policy was changed.
Any settings changes to “Account Lockout Policy”, “Password Policy”, or “Network security: Force logoff when logon hours expire”, plus any domain functional level and
attributes changes that are reported by this event, must be monitored and an alert should be triggered. If this change was not planned, investigate the reason for the change.
Target Type:%1
Target Name:%2
Forest Root:%3
Top Level Name:%4
DNS Name:%5
NetBIOS Name:%6
Security ID:%7
New Flags:%8
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4865</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13569</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-02T03:11:33.397715700Z" />
<EventRecordID>1049810</EventRecordID>
© 2016 Microsoft. All rights reserved.
<Correlation />
<Execution ProcessID="500" ThreadID="4808" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ForestRoot">Fabrikam.local</Data>
<Data Name="ForestRootSid">S-1-5-21-2703072690-1374247579-2643703677</Data>
<Data Name="OperationId">0x648620</Data>
<Data Name="EntryType">2</Data>
<Data Name="Flags">0</Data>
<Data Name="TopLevelName">-</Data>
<Data Name="DnsName">Fabrikam.local</Data>
<Data Name="NetbiosName">FABRIKAM</Data>
<Data Name="DomainSid">S-1-5-21-2703072690-1374247579-2643703677</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x138eb0</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “add a trusted forest information entry” operation. Event Viewer automatically tries to resolve SIDs and show the
account name. If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “add a trusted forest information entry” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
© 2016 Microsoft. All rights reserved.
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Trust Information:
Forest Root [Type = UnicodeString]: the name of the Active Directory forest for which trusted forest information entry was added.
Forest Root SID [Type = SID]: the SID of the Active Directory forest for which trusted forest information entry was added. Event Viewer automatically tries to resolve SIDs and
show the account name. If the SID cannot be resolved, you will see the source data in the event.
Operation ID [Type = HexInt64]: unique hexadecimal identifier of the operation. You can correlate this event with other events (4866(S): A trusted forest information entry was
removed, 4867(S): A trusted forest information entry was modified.) using this field.
Entry Type [Type = UInt32]: the type of added entry:
Value Type Name Description
0 ForestTrustTopLevelName The DNS name of the trusted forest. The structure used for this record type is equivalent to LSA_UNICODE_STRING
1 ForestTrustTopLevelNameEx This type commonly used for name suffix exceptions. The structure used for this record type is equivalent to
LSA_UNICODE_STRING.
2 ForestTrustDomainInfo This field specifies a record containing identification and name information
Flags [Type = UInt32]: The following table specifies the possible flags.
Some flag values are reused for different forest record types. See the “Meaning” column for more information.
Value Trust Type Meaning
0 - No flags were set.
1 ForestTrustTopLevelNameEx The top-level name trust record is disabled during initial creation.
ForestTrustTopLevelName
ForestTrustDomainInfo The domain information trust record is disabled by the domain administrator.
2 ForestTrustTopLevelNameEx The top-level name trust record is disabled by the domain administrator.
ForestTrustTopLevelName
ForestTrustDomainInfo The domain information trust record is disabled due to a conflict.
4 ForestTrustTopLevelNameEx The top-level name trust record is disabled due to a conflict.
ForestTrustTopLevelName
ForestTrustDomainInfo The domain information trust record is disabled by the domain administrator.
8 ForestTrustDomainInfo The domain information trust record is disabled due to a conflict.
Top Level Name [Type = UnicodeString]: the name of the new trusted forest information entry.
DNS Name [Type = UnicodeString]: DNS name of the trust partner. This parameter might not be captured in the event, and in that case appears as “-”.
NetBIOS Name [Type = UnicodeString]: NetBIOS name of the trust partner. This parameter might not be captured in the event, and in that case appears as “-”.
Domain SID [Type = SID]: SID of the trust partner. This parameter might not be captured in the event, and in that case appears as “NULL SID”.
© 2016 Microsoft. All rights reserved.
Security Monitoring Recommendations:
For 4865(S): A trusted forest information entry was added.
Any changes related to Active Directory forest trusts (especially creation of the new trust) must be monitored and alerts should be triggered. If this change was not planned,
investigate the reason for the change.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4865</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13569</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-02T03:11:33.397715700Z" />
<EventRecordID>1049810</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="4808" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ForestRoot">Fabrikam.local</Data>
<Data Name="ForestRootSid">S-1-5-21-2703072690-1374247579-2643703677</Data>
<Data Name="OperationId">0x648620</Data>
<Data Name="EntryType">2</Data>
<Data Name="Flags">0</Data>
<Data Name="TopLevelName">-</Data>
<Data Name="DnsName">Fabrikam.local</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="NetbiosName">FABRIKAM</Data>
<Data Name="DomainSid">S-1-5-21-2703072690-1374247579-2643703677</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x138eb0</Data>
</EventData>
</Event>
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “remove a trusted forest information entry” operation. Event Viewer automatically tries to resolve SIDs and show the
account name. If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “remove a trusted forest information entry” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Trust Information:
Forest Root [Type = UnicodeString]: the name of the Active Directory forest for which trusted forest information entry was removed.
Forest Root SID [Type = SID]: the SID of the Active Directory forest for which trusted forest information entry was removed. Event Viewer automatically tries to resolve SIDs and
show the account name. If the SID cannot be resolved, you will see the source data in the event.
Operation ID [Type = HexInt64]: unique hexadecimal identifier of the operation. You can correlate this event with other events (4865(S): A trusted forest information entry was
added, 4867(S): A trusted forest information entry was modified.) using this field.
Entry Type [Type = UInt32]: the type of removed entry:
Value Type Name Description
Flags [Type = UInt32]: The following table specifies the possible flags.
Some flag values are reused for different forest record types. See the “Meaning” column for more information.
Value Trust Type Meaning
0 - No flags were set.
1 ForestTrustTopLevelNameEx The top-level name trust record is disabled during initial creation.
ForestTrustTopLevelName
ForestTrustDomainInfo The domain information trust record is disabled by the domain administrator.
2 ForestTrustTopLevelNameEx The top-level name trust record is disabled by the domain administrator.
ForestTrustTopLevelName
ForestTrustDomainInfo The domain information trust record is disabled due to a conflict.
4 ForestTrustTopLevelNameEx The top-level name trust record is disabled due to a conflict.
ForestTrustTopLevelName
ForestTrustDomainInfo The domain information trust record is disabled by the domain administrator.
8 ForestTrustDomainInfo The domain information trust record is disabled due to a conflict.
Top Level Name [Type = UnicodeString]: the name of the removed trusted forest information entry.
DNS Name [Type = UnicodeString]: DNS name of the trust partner. This parameter might not be captured in the
event, and in that case appears as “-”.
NetBIOS Name [Type = UnicodeString]: NetBIOS name of the trust partner. This parameter might not be captured in
the event, and in that case appears as “-”.
Domain SID [Type = SID]: SID of the trust partner. This parameter might not be captured in the event, and in that
case appears as “NULL SID”.
Security Monitoring Recommendations:
For 4866(S): A trusted forest information entry was removed.
Any changes related to Active Directory forest trusts (especially trust removal) must be monitored and alerts should
be triggered. If this change was not planned, investigate the reason for the change.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4865</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13569</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-02T03:11:33.397715700Z" />
<EventRecordID>1049810</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="4808" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ForestRoot">Fabrikam.local</Data>
<Data Name="ForestRootSid">S-1-5-21-2703072690-1374247579-2643703677</Data>
<Data Name="OperationId">0x648620</Data>
<Data Name="EntryType">2</Data>
<Data Name="Flags">0</Data>
<Data Name="TopLevelName">-</Data>
<Data Name="DnsName">Fabrikam.local</Data>
<Data Name="NetbiosName">FABRIKAM</Data>
<Data Name="DomainSid">S-1-5-21-2703072690-1374247579-2643703677</Data>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x138eb0</Data>
</EventData>
</Event>
© 2016 Microsoft. All rights reserved.
Required Server Roles: Active Directory domain controller.
Minimum OS Version: Windows Server 2008.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “modify/change a trusted forest information entry” operation. Event Viewer automatically tries to resolve SIDs and
show the account name. If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “modify/change a trusted forest information entry” operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Trust Information:
Forest Root [Type = UnicodeString]: the name of the Active Directory forest for which trusted forest information entry was modified.
Forest Root SID [Type = SID]: the SID of the Active Directory forest for which trusted forest information entry was modified. Event Viewer automatically tries to resolve SIDs and
show the account name. If the SID cannot be resolved, you will see the source data in the event.
Operation ID [Type = HexInt64]: unique hexadecimal identifier of the operation. You can correlate this event with other events (4865(S): A trusted forest information entry was
added, 4866(S): A trusted forest information entry was removed) using this field.
Entry Type [Type = UInt32]: the type of modified entry:
Value Type Name Description
0 ForestTrustTopLevelName The DNS name of the trusted forest. The structure used for this record type is equivalent to LSA_UNICODE_STRING
1 ForestTrustTopLevelNameEx This type commonly used for name suffix exceptions. The structure used for this record type is equivalent to
LSA_UNICODE_STRING.
2 ForestTrustDomainInfo This field specifies a record containing identification and name information
Flags [Type = UInt32]: The following table specifies the possible flags.
Some flag values are reused for different forest record types. See the “Meaning” column for more information.
Value Trust Type Meaning
Top Level Name [Type = UnicodeString]: the name of the modified trusted forest information entry.
DNS Name [Type = UnicodeString]: DNS name of the trust partner. This parameter might not be captured in the event, and in that case appears as “-”.
NetBIOS Name [Type = UnicodeString]: NetBIOS name of the trust partner. This parameter might not be captured in the event, and in that case appears as “-”.
Domain SID [Type = SID]: SID of the trust partner. This parameter might not be captured in the event, and in that case appears as “NULL SID”.
Security Monitoring Recommendations:
For 4867(S): A trusted forest information entry was modified.
Any changes in Active Directory forest trust settings must be monitored and alerts should be triggered. If this change was not planned, investigate the reason for the change.
General Stronger
Computer Type Comments
Success Failure Success Failure
Domain Controller IF No IF No
IF – With Success auditing for this subcategory, you can get information related to changes in user rights
policies, or changes of resource attributes or Central Access Policy applied to file system objects.
However, if you are using an application or system service that makes changes to system privileges through the
AdjustPrivilegesToken API, we do not recommend Success auditing because of the high volume of event
“4703(S): A user right was adjusted” that may be generated. As of Windows 10, event 4703 is generated by
applications or services that dynamically adjust token privileges. An example of such an application is System
Center Configuration Manager, which makes WMI queries at recurring intervals and quickly generates a large
number of 4703 events (with the WMI activity listed as coming from svchost.exe).
If one of your applications or services is generating a large number of 4703 events, you might find that your
event-management software has filtering logic that can automatically discard the recurring events, which would
make it easier to work with Success auditing for this category.
This subcategory doesn’t have Failure events, so there is no recommendation to enable Failure auditing for this
subcategory.
Member Server IF No IF No
IF – With Success auditing for this subcategory, you can get information related to changes in user rights
policies, or changes of resource attributes or Central Access Policy applied to file system objects.
However, if you are using an application or system service that makes changes to system privileges through the
AdjustPrivilegesToken API, we do not recommend Success auditing because of the high volume of event
“4703(S): A user right was adjusted” that may be generated. As of Windows 10, event 4703 is generated by
applications or services that dynamically adjust token privileges. An example of such an application is System
Center Configuration Manager, which makes WMI queries at recurring intervals and quickly generates a large
number of 4703 events (with the WMI activity listed as coming from svchost.exe).
If one of your applications or services is generating a large number of 4703 events, you might find that your
event-management software has filtering logic that can automatically discard the recurring events, which would
make it easier to work with Success auditing for this category.
This subcategory doesn’t have Failure events, so there is no recommendation to enable Failure auditing for this
© 2016 Microsoft. All rights reserved.
subcategory.
Workstation IF No IF No
IF – With Success auditing for this subcategory, you can get information related to changes in user rights
policies, or changes of resource attributes or Central Access Policy applied to file system objects.
However, if you are using an application or system service that makes changes to system privileges through the
AdjustPrivilegesToken API, we do not recommend Success auditing because of the high volume of event
“4703(S): A user right was adjusted” that may be generated. As of Windows 10, event 4703 is generated by
applications or services that dynamically adjust token privileges. An example of such an application is System
Center Configuration Manager, which makes WMI queries at recurring intervals and quickly generates a large
number of 4703 events (with the WMI activity listed as coming from svchost.exe).
If one of your applications or services is generating a large number of 4703 events, you might find that your
event-management software has filtering logic that can automatically discard the recurring events, which would
make it easier to work with Success auditing for this category.
This subcategory doesn’t have Failure events, so there is no recommendation to enable Failure auditing for this
subcategory.
Events List:
4703(S): A user right was adjusted.
4704(S): A user right was assigned.
4705(S): A user right was removed.
4670(S): Permissions on an object were changed.
4911(S): Resource attributes of the object were changed.
4913(S): Central Access Policy on the object was changed.
Event volume: Medium to High.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4703</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13570</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-12T20:49:46.365958700Z" />
<EventRecordID>5245</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="3632" />
<Channel>Security</Channel>
<Computer>WIN-GG82ULGC9GO.contoso.local</Computer>
<Security />
</System>
© 2016 Microsoft. All rights reserved.
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">WIN-GG82ULGC9GO$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="TargetUserSid">S-1-5-18</Data>
<Data Name="TargetUserName">WIN-GG82ULGC9GO$</Data>
<Data Name="TargetDomainName">CONTOSO</Data>
<Data Name="TargetLogonId">0x3e7</Data>
<Data Name="ProcessName">C:\Windows\System32\svchost.exe</Data>
<Data Name="ProcessId">0x270</Data>
<Data Name="EnabledPrivilegeList">SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege SeSecurityPrivilege SeTakeOwnershipPrivilege SeLoadDriverPrivilege
SeSystemtimePrivilege SeBackupPrivilege SeRestorePrivilege SeShutdownPrivilege SeSystemEnvironmentPrivilege SeUndockPrivilege SeManageVolumePrivilege</Data>
<Data Name="DisabledPrivilegeList">-</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2016, Windows 10.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “enable” or “disable” operation for Target Account privileges. Event Viewer automatically tries to resolve SIDs and
show the account name. If the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested the “enable” or “disable” operation for Target Account privileges.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Target Account:
© 2016 Microsoft. All rights reserved.
Security ID [Type = SID]: SID of account for which privileges were enabled or disabled. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account for which privileges were enabled or disabled.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Process Information:
Process ID [Type = Pointer]: hexadecimal Process ID of the process that enabled or disabled token privileges. Process ID (PID) is a number used by the operating system to
uniquely identify an active process. To see the PID for a specific process you can, for example, use Task Manager (Details tab, PID column):
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
You can also correlate this process ID with a process ID in other events, for example, “4688: A new process has been created” Process Information\New Process ID.
Disabled Privileges [Type = UnicodeString]: the list of disabled user rights. See possible values in the table above.
Security Monitoring Recommendations:
For 4703(S): A user right was adjusted.
As of Windows 10, event 4703 is generated by applications or services that dynamically adjust token privileges. An example of such an application is System Center Configuration Manager,
which makes WMI queries at recurring intervals and quickly generates a large number of 4703 events (with the WMI activity listed as coming from svchost.exe). If you are using an
application or system service that makes changes to system privileges through the AdjustPrivilegesToken API, you might need to disable Success auditing for this subcategory (Audit
Authorization Policy Change), or work with a very high volume of event 4703.
Otherwise, see the recommendations in the following table.
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “Subject\Security ID” (with
anomalies or monitoring potential malicious actions. For example, you might need to other information) to monitor how or when a particular account is being used.
monitor for use of an account outside of working hours.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “Subject\Security ID” or “Target Account\Security ID” that
accounts that should never be used. correspond to the accounts that should never be used.
Account whitelist: You might have a specific whitelist of accounts that are the only ones If this event corresponds to a “whitelist-only” action, review the “Subject\Security ID” for
allowed to perform actions corresponding to particular events. accounts that are outside the whitelist. Also check the “Target Account\Security ID” and
“Enabled Privileges” to see what was enabled.
External accounts: You might be monitoring accounts from another domain, or “external” Monitor this event for the “Subject\Account Domain” corresponding to accounts from
accounts that are not allowed to perform certain actions (represented by certain specific another domain or “external” accounts.
events).
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the
devices on which certain people (accounts) should perform only limited actions, or no “Subject\Security ID” that you are concerned about.
actions at all.
Also check “Target Account\Security ID” to see whether the change in privileges should
be made on that computer for that account.
User rights that should be restricted or monitored: You might have a list of user rights Monitor this event and compare the “Enabled Privileges” to your list of user rights. Trigger
that you want to restrict or monitor. an alert for user rights that should not be enabled, especially on high-value servers or
other computers.
For example, you might have SeDebugPrivilege on a list of user rights to be restricted.
Account naming conventions: Your organization might have specific naming conventions Monitor “Subject\Account Name” for names that don’t comply with naming conventions.
for account names.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4704</EventID>
<Version>0</Version>
<Level>0</Level>
© 2016 Microsoft. All rights reserved.
<Task>13570</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-02T22:08:07.136050600Z" />
<EventRecordID>1049866</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="1216" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC01$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="PrivilegeList">SeAuditPrivilege SeIncreaseWorkingSetPrivilege</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that made a change to local user right policy. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that made a change to local user right policy.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
© 2016 Microsoft. All rights reserved.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Target Account:
Account Name [Type = SID]: the SID of security principal for which user rights were assigned. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
New Right:
User Right [Type = UnicodeString]: the list of assigned user rights. This event generates only for user rights, not logon rights. Here is the list of possible user rights:
Privilege Name User Right Group Policy Name Description
SeAssignPrimaryTokenPrivilege Replace a process-level token Required to assign the primary token of a process.
With this privilege, the user can initiate a process to replace the default token associated with a
started subprocess.
SeAuditPrivilege Generate security audits With this privilege, the user can add entries to the security log.
SeBackupPrivilege Back up files and directories Required to perform backup operations.
With this privilege, the user can bypass file and directory, registry, and other persistent object
permissions for the purposes of backing up the system.
This privilege causes the system to grant all read access control to any file, regardless of the access
control list (ACL) specified for the file. Any access request other than read is still evaluated with the
ACL. The following access rights are granted if this privilege is held:
READ_CONTROL
ACCESS_SYSTEM_SECURITY
FILE_GENERIC_READ
FILE_TRAVERSE
SeChangeNotifyPrivilege Bypass traverse checking Required to receive notifications of changes to files or directories. This privilege also causes the
system to skip all traversal access checks.
With this privilege, the user can traverse directory trees even though the user may not have
permissions on the traversed directory. This privilege does not allow the user to list the contents of a
directory, only to traverse directories.
SeCreateGlobalPrivilege Create global objects Required to create named file mapping objects in the global namespace during Terminal Services
sessions.
SeCreatePagefilePrivilege Create a pagefile With this privilege, the user can create and change the size of a pagefile.
SeCreatePermanentPrivilege Create permanent shared Required to create a permanent object.
objects This privilege is useful to kernel-mode components that extend the object namespace. Components
that are running in kernel mode already have this privilege inherently; it is not necessary to assign
them the privilege.
SeCreateSymbolicLinkPrivilege Create symbolic links Required to create a symbolic link.
High-value accounts: You might have high-value domain or local accounts for which you Monitor this event with the “Subject\Security ID” that corresponds to the high-value
need to monitor each action. account or accounts.
Examples of high-value accounts are database administrators, built-in local administrator
account, domain administrators, service accounts, domain controller accounts and so on.
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “Subject\Security ID” (with
anomalies or monitoring potential malicious actions. For example, you might need to other information) to monitor how or when a particular account is being used.
monitor for use of an account outside of working hours.
Account whitelist: You might have a specific whitelist of accounts that are the only ones If this event corresponds to a “whitelist-only” action, review the “Subject\Security ID” for
allowed to perform actions corresponding to particular events. accounts that are outside the whitelist. Also check the “Target Account\Account Name”
and “New Right” to see what was enabled.
Accounts of different types: You might want to ensure that certain actions are performed If this event corresponds to an action you want to monitor for certain account types,
only by certain account types, for example, local or domain account, machine or user review the “Subject\Security ID” to see whether the account type is as expected.
account, vendor or employee account, and so on.
External accounts: You might be monitoring accounts from another domain, or “external” Monitor this event for the “Subject\Account Domain” corresponding to accounts from
accounts that are not allowed to perform certain actions (represented by certain specific another domain or “external” accounts.
events).
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the
devices on which certain people (accounts) should perform only limited actions, or no “Subject\Security ID” that you are concerned about.
actions at all.
Also check “Target Account\ Account Name” to see whether the change in rights should
be made on that computer for that account.
User rights that should be restricted or monitored: You might have a list of user rights Monitor this event and compare the “New Right\User Right” to your list of user rights, to
that you want to restrict or monitor. see whether the right should be assigned to “Target Account\Account Name.” Trigger an
alert for user rights that should not be enabled, especially on high-value servers or other
computers.
For example, your list of restricted rights might say that only administrative accounts
should have SeAuditPrivilege. As another example, your list might say that no accounts
should have SeTcbPrivilege or SeDebugPrivilege.
Account naming conventions: Your organization might have specific naming conventions Monitor “Subject\Account Name” for names that don’t comply with naming conventions.
for account names.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4705</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13570</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-02T22:08:07.152488600Z" />
<EventRecordID>1049867</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="1216" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC01$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="TargetSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="PrivilegeList">SeTimeZonePrivilege</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that made a change to local user right policy. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
High-value accounts: You might have high-value domain or local accounts for which you Monitor this event with the “Subject\Security ID” that corresponds to the high-value
© 2016 Microsoft. All rights reserved.
need to monitor each action. account or accounts.
Examples of high-value accounts are database administrators, built-in local administrator
account, domain administrators, service accounts, domain controller accounts and so on.
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “Subject\Security ID” (with
anomalies or monitoring potential malicious actions. For example, you might need to other information) to monitor how or when a particular account is being used.
monitor for use of an account outside of working hours.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor this event with the “Subject\Security ID” or “Target Account\Account Name”
accounts that should never be used. that correspond to the accounts that should never be used.
Account whitelist: You might have a specific whitelist of accounts that are the only ones If this event corresponds to a “whitelist-only” action, review the “Subject\Security ID” for
allowed to perform actions corresponding to particular events. accounts that are outside the whitelist.
If you have specific user rights policies, for example, a whitelist of accounts that can
perform certain actions, monitor this event to confirm that it was appropriate that the
“Removed Right” was removed from “Target Account\Account Name.”
Accounts of different types: You might want to ensure that certain actions are performed If this event corresponds to an action you want to monitor for certain account types,
only by certain account types, for example, local or domain account, machine or user review the “Subject\Security ID” and “Target Account\Account Name” to see whether
account, vendor or employee account, and so on. the account type is as expected.
For example, if some accounts have critical user rights which should never be removed,
monitor this event for the “Target Account\Account Name” and the appropriate rights.
As another example, if non-administrative accounts should never be granted certain user
rights (for example, SeAuditPrivilege), you might monitor this event, because a right can
be removed only after it was previously granted.
External accounts: You might be monitoring accounts from another domain, or “external” Monitor this event for the “Subject\Account Domain” corresponding to accounts from
accounts that are not allowed to perform certain actions (represented by certain specific another domain or “external” accounts.
events).
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the
devices on which certain people (accounts) should perform only limited actions, or no “Subject\Security ID” that you are concerned about. Also be sure to check “Target
actions at all. Account\Account Name” to see whether user rights should be removed from that account
(or whether that account should have any rights on that computer).
For high-value servers or other computers, we recommend that you track this event and
© 2016 Microsoft. All rights reserved.
investigate whether the specific “Removed Right” should be removed from “Target
Account\Account Name” in each case.
User rights that should be restricted: You might have a list of user rights that you want to Monitor this event and compare the “Removed Right” to your list of restricted rights.
monitor.
Monitor this event to discover the removal of a right that should never have been granted
(for example, SeTcbPrivilege), so that you can investigate further.
Account naming conventions: Your organization might have specific naming conventions Monitor “Subject\Account Name” for names that don’t comply with naming conventions.
for account names.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-
3E3B0328C30D}" />
<EventID>4911</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13570</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-09T23:43:04.009319300Z" />
<EventRecordID>1183714</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="524" />
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
© 2016 Microsoft. All rights reserved.
You can also correlate this process ID with a process ID in other events, for example, “4688: A new process has been created” Process Information\New Process ID.
Process Name [Type = UnicodeString]: full path and the name of the executable for the process.
Resource Attributes:
Original Security Descriptor [Type = UnicodeString]: the Security Descriptor Definition Language (SDDL) value for the old resource attributes.
For example: S:AI(RA;ID;;;;WD;("Impact_MS",TI,0x10020,3000))
o Impact_MS: Resource Property ID.
o 3000: Recourse Property Value.
If no resource attributes were set to the object, then SDDL will not contain any attributes, for example “S:AI”.
New Security Descriptor [Type = UnicodeString]: the Security Descriptor Definition Language (SDDL) value for the new resource attributes. See more information in Resource
Attributes\Original Security Descriptor field section for this event.
The Security Descriptor Definition Language (SDDL) defines string elements for enumerating information contained in the security descriptor.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-
3E3B0328C30D}" />
<EventID>4913</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13570</Task>
<Opcode>0</Opcode>
Events List:
4944(S): The following policy was active when the Windows Firewall started.
4945(S): A rule was listed when the Windows Firewall started.
4946(S): A change has been made to Windows Firewall exception list. A rule was added.
4947(S): A change has been made to Windows Firewall exception list. A rule was modified.
4948(S): A change has been made to Windows Firewall exception list. A rule was deleted.
4949(S): Windows Firewall settings were restored to the default values.
4950(S): A Windows Firewall setting has changed.
4951(F): A rule has been ignored because its major version number was not recognized by Windows Firewall.
4952(F): Parts of a rule have been ignored because its minor version number was not recognized by Windows Firewall. The other parts of the rule will be enforced.
4953(F): A rule has been ignored by Windows Firewall because it could not parse the rule.
4954(S): Windows Firewall Group Policy settings have changed. The new settings have been applied.
© 2016 Microsoft. All rights reserved.
4956(S): Windows Firewall has changed the active profile.
4957(F): Windows Firewall did not apply the following rule:
4958(F): Windows Firewall did not apply the following rule because the rule referred to items not configured on this computer:
4944(S): The following policy was active when the Windows Firewall started.
Event Description:
This event generates every time Windows Firewall service starts.
This event shows Windows Firewall settings that were in effect when the Windows Firewall service started.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4944</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13571</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-03T00:14:56.644728300Z" />
<EventRecordID>1050808</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="2216" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="GroupPolicyApplied">No</Data>
<Data Name="Profile">Public</Data>
<Data Name="OperationMode">Off</Data>
<Data Name="RemoteAdminEnabled">Disabled</Data>
<Data Name="MulticastFlowsEnabled">Enabled</Data>
<Data Name="LogDroppedPacketsEnabled">Disabled</Data>
<Data Name="LogSuccessfulConnectionsEnabled">Disabled</Data>
</EventData>
© 2016 Microsoft. All rights reserved.
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Group Policy Applied [Type = UnicodeString]: it always has “No” value for this event. This field should show information about: was Group Policy applied for Windows Firewall when it
starts or not.
Profile Used [Type = UnicodeString]: shows the active profile name for the moment Windows Firewall service starts. It always has value “Public” for this event, because when this event
generates, the active profile is not switched to “Domain” or “Private”. Typically you will see “4956(S): Windows Firewall has changed the active profile” after this event, which will tell you
the real active profile.
Operational mode [Type = UnicodeString]:
On – if “Firewall state:” setting was set to “On” for “Public” profile.
Off - if “Firewall state:” setting was set to “Off” for “Public” profile.
Allow Remote Administration [Type = UnicodeString]: looks like this setting is connected to ”Windows Firewall: Allow remote administration exception” Group Policy setting, but it is
always Disabled, no matter which option is set for “Windows Firewall: Allow remote administration exception” Group Policy.
Allow Unicast Responses to Multicast/Broadcast Traffic [Type = UnicodeString]:
Enabled - if “Allow unicast response:” Settings configuration was set to “Yes” for “Public” profile.
Disabled - if “Allow unicast response:” Settings configuration was set to “No” for “Public” profile.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4945</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13571</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-02T23:48:27.535295100Z" />
<EventRecordID>1049946</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="4744" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ProfileUsed">Public</Data>
<Data Name="RuleId">NPS-NPSSvc-In-RPC</Data>
<Data Name="RuleName">Network Policy Server (RPC)</Data>
© 2016 Microsoft. All rights reserved.
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Profile used [Type = UnicodeString]: the name of the profile that the rule belongs to. It always has value “Public”, because this event shows rules only for “Public” profile.
Rule:
Rule ID [Type = UnicodeString]: the unique firewall rule identifier.
To see the unique ID of the rule you need to navigate to
“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules” registry key and you will see the list of Windows
Firewall rule IDs (Name column) with parameters:
Rule Name [Type = UnicodeString]: the name of the rule which was listed when the Windows Firewall started. You can see the name of Windows Firewall rule using Windows
Firewall with Advanced Security management console (wf.msc), check “Name” column:
4946(S): A change has been made to Windows Firewall exception list. A rule was added.
Event Description:
This event generates when new rule was locally added to Windows Firewall.
This event doesn't generate when new rule was added via Group Policy.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4946</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13571</Task>
<Opcode>0</Opcode>
© 2016 Microsoft. All rights reserved.
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-03T20:05:42.078367200Z" />
<EventRecordID>1050893</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="528" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ProfileChanged">All</Data>
<Data Name="RuleId">{F2649D59-1355-4E3C-B886-CDD08B683199}</Data>
<Data Name="RuleName">Allow All Rule</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Profile Changed [Type = UnicodeString]: the list of profiles to which new rule was applied. Examples:
All
Domain,Public
Domain,Private
Private,Public
Public
Domain
Private
Added Rule:
Rule ID [Type = UnicodeString]: the unique new firewall rule identifier.
To see the unique ID of the rule you need to navigate to
“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules” registry key and you will see the list of Windows
Firewall rule IDs (Name column) with parameters:
4947(S): A change has been made to Windows Firewall exception list. A rule was modified.
Event Description:
This event generates when Windows Firewall rule was modified.
This event doesn't generate when Firewall rule was modified via Group Policy.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4947</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13571</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-03T20:27:22.485152000Z" />
<EventRecordID>1050908</EventRecordID>
© 2016 Microsoft. All rights reserved.
<Correlation />
<Execution ProcessID="500" ThreadID="3796" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ProfileChanged">All</Data>
<Data Name="RuleId">{F2649D59-1355-4E3C-B886-CDD08B683199}</Data>
<Data Name="RuleName">Allow All Rule</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Profile Changed [Type = UnicodeString]: the list of profiles to which changed rule is applied. Examples:
All
Domain,Public
Domain,Private
Private,Public
Public
Domain
Private
Modified Rule:
Rule ID [Type = UnicodeString]: the unique identifier for modified firewall rule.
To see the unique ID of the rule you need to navigate to
“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules” registry key and you will see the list of Windows
Firewall rule IDs (Name column) with parameters:
4948(S): A change has been made to Windows Firewall exception list. A rule was deleted.
Event Description:
This event generates when Windows Firewall rule was deleted.
This event doesn't generate when the rule was deleted via Group Policy.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4948</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13571</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-03T21:19:15.646187500Z" />
<EventRecordID>1050934</EventRecordID>
© 2016 Microsoft. All rights reserved.
<Correlation />
<Execution ProcessID="500" ThreadID="528" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ProfileChanged">All</Data>
<Data Name="RuleId">{F2649D59-1355-4E3C-B886-CDD08B683199}</Data>
<Data Name="RuleName">Allow All Rule</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Profile Changed [Type = UnicodeString]: the list of profiles to which deleted rule was applied. Examples:
All
Domain,Public
Domain,Private
Private,Public
Public
Domain
Private
Deleted Rule:
Rule ID [Type = UnicodeString]: the unique identifier for deleted firewall rule.
To see the unique ID of the rule you need to navigate to
“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules” registry key and you will see the list of Windows
Firewall rule IDs (Name column) with parameters:
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4949</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13571</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-02T23:38:28.804003300Z" />
<EventRecordID>1049926</EventRecordID>
<Correlation />
© 2016 Microsoft. All rights reserved.
<Execution ProcessID="500" ThreadID="3768" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
<EventData />
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Security Monitoring Recommendations:
For 4949(S): Windows Firewall settings were restored to the default values.
You shouldn’t see this event during normal Windows Firewall operations, because it should be intentionally done by user or software. This event should be always monitored and
an alert should be triggered, especially on critical computers or devices.
This event can be helpful in case you want to monitor all changes of Firewall rules which were done locally, especially restores to default configuration.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4950</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13571</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-03T21:38:08.086908400Z" />
<EventRecordID>1050944</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="924" />
<Channel>Security</Channel>
© 2016 Microsoft. All rights reserved.
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ProfileChanged">Domain</Data>
<Data Name="SettingType">Default Outbound Action</Data>
<Data Name="SettingValue">Block</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Changed Profile [Type = UnicodeString]: the name of profile in which setting was changed. Possible values are:
Public
Domain
Private
New Setting:
Type [Type = UnicodeString]: the name of the setting which was modified. You can use “netsh advfirewall” command to see or set Windows Firewall settings, for example, to see
settings for current\active Windows Firewall profile you need to execute “netsh advfirewall show currentprofile” command:
4951(F): A rule has been ignored because its major version number was not recognized by Windows Firewall.
Event Description:
When you create or edit a Windows Firewall rule, the settings that you can include depend upon the version of Windows you
use when creating the rule. As new settings are added to later versions of Windows or to service packs for existing versions of
Windows, the version number of the rules processing engine is updated, and that version number is stamped into rules that
are created by using that version of Windows. For example, Windows Vista produces firewall rules that are stamped with
version "v2.0". Future versions of Windows might use "v2.1", or "v3.0" to indicate, respectively, minor or major changes and
additions.
If you create a firewall rule on a newer version of Windows that references firewall settings that are not available on earlier
versions of Windows, and then try to deploy that rule to computers running the earlier version of Windows, the firewall
engine produces this error to indicate that it cannot process the rule.
The only solution is to remove the incompatible rule, and then deploy a compatible rule.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4951</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13571</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2015-10-07T21:49:06.951537900Z" />
<EventRecordID>1052309</EventRecordID>
<Correlation />
<Execution ProcessID="524" ThreadID="556" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
© 2016 Microsoft. All rights reserved.
<Security />
</System>
- <EventData>
<Data Name="Profile">All</Data>
<Data Name="RuleId">{08CBB349-D158-46BE-81E1-2ABC59BDD523}</Data>
<Data Name="RuleName">-</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Profile [Type = UnicodeString]: the name of the profile of the ignored rule. Possible values are:
All
Domain,Public
Domain,Private
Private,Public
Public
Domain
Private
Ignored Rule:
ID [Type = UnicodeString]: the unique identifier for ignored firewall rule.
To see the unique ID of the rule you need to navigate to
“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules” registry key and you will see the list of Windows
Firewall rule IDs (Name column) with parameters:
4952(F): Parts of a rule have been ignored because its minor version number was not recognized by Windows Firewall. The other parts of the
rule will be enforced.
When you create or edit a Windows Firewall rule, the settings that you can include depend upon the version of Windows you use when creating the rule. As new settings are added to
later versions of Windows or to service packs for existing versions of Windows, the version number of the rules processing engine is updated, and that version number is stamped into
rules that are created by using that version of Windows. For example, Windows Vista produces firewall rules that are stamped with version "v2.0". Future versions of Windows might use
"v2.1", or "v3.0" to indicate, respectively, minor or major changes and additions.
If you create a firewall rule on a newer version of Windows that references firewall settings that are not available on earlier versions of Windows, and then try to deploy that rule to
computers running the earlier version of Windows, the firewall engine produces this error to indicate that it cannot process the rule.
The only solution is to remove the incompatible rule, and then deploy a compatible rule.
There is no example of this event in this document.
Event Schema:
Parts of a rule have been ignored because its minor version number was not recognized by Windows Firewall. The other parts of the rule will be enforced.
%t
Profile:%t%1
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4953</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13571</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2015-10-07T22:03:40.261507200Z" />
<EventRecordID>1052340</EventRecordID>
<Correlation />
<Execution ProcessID="524" ThreadID="5088" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="Profile">All</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="ReasonForRejection">An error occurred.</Data>
<Data Name="RuleId">{08CBB349-D158-46BE-81E1-2ABC59BDD523}</Data>
<Data Name="RuleName">-</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Profile [Type = UnicodeString]: the name of the profile of the ignored rule. Possible values are:
All
Domain,Public
Domain,Private
Private,Public
Public
Domain
Private
Reason for Rejection [Type = UnicodeString]: the reason, why the rule was ignored.
Rule:
ID [Type = UnicodeString]: the unique identifier for ignored firewall rule.
To see the unique ID of the rule you need to navigate to
“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules” registry key and you will see the list of Windows
Firewall rule IDs (Name column) with parameters:
Name [Type = UnicodeString]: the name of the rule which was ignored. You can see the name of Windows Firewall rule using Windows Firewall with Advanced Security
management console (wf.msc), check “Name” column:
© 2016 Microsoft. All rights reserved.
Security Monitoring Recommendations:
For 4953(F): Windows Firewall ignored a rule because it could not be parsed.
This event can be a sign of software issues, Windows Firewall registry errors or corruption, or Group Policy setting misconfigurations. We recommend monitoring this event and
investigating the reason for the condition. Typically this event indicates configuration issues, not security issues.
4954(S): Windows Firewall Group Policy settings have changed. The new settings have been applied.
Event Description:
This event generates every time Windows Firewall group policy is changed, locally or from Active Directory Group Policy.
This event generates every time local Group Policy is refreshed, even if no Windows Firewall settings were modified or
presented.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4954</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13571</Task>
<Opcode>0</Opcode>
© 2016 Microsoft. All rights reserved.
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-02T23:13:14.527924800Z" />
<EventRecordID>1049893</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="2284" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
<EventData />
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Security Monitoring Recommendations:
For 4954(S): Windows Firewall Group Policy settings have changed. The new settings have been applied.
Unfortunately this event generates every time local Group Policy is refreshed and does not indicate that settings really were modified. Typically this event can be ignored.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4956</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13571</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-03T00:14:56.676017600Z" />
<EventRecordID>1050811</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="2216" />
© 2016 Microsoft. All rights reserved.
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ActiveProfile">Domain</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
New Active Profile [Type = UnicodeString]: the name of the new active profile. Possible values are:
o Domain
o Public
o Private
Security Monitoring Recommendations:
For 4956(S): Windows Firewall has changed the active profile.
Typically this event has an informational purpose.
For domain joined machines you could monitor for all events where New Active Profile doesn’t equal “Domain”. This indicates that the computer was connected to another non-
domain network.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4957</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13571</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
© 2016 Microsoft. All rights reserved.
<TimeCreated SystemTime="2015-10-02T23:13:14.496678500Z" />
<EventRecordID>1049892</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="2284" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="RuleId">CoreNet-Teredo-In</Data>
<Data Name="RuleName">Core Networking - Teredo (UDP-In)</Data>
<Data Name="RuleAttr">Local Port</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Rule Information:
ID [Type = UnicodeString]: the unique identifier for not applied firewall rule.
To see the unique ID of the rule you need to navigate to
“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules” registry key and you will see the list of Windows
Firewall rule IDs (Name column) with parameters:
Name [Type = UnicodeString]: the name of the rule which was not applied. You can see the name of Windows Firewall rule using Windows Firewall with Advanced Security
management console (wf.msc), check “Name” column:
© 2016 Microsoft. All rights reserved.
Error Information:
Reason [Type = UnicodeString]: the reason why the rule was not applied.
Security Monitoring Recommendations:
For 4957(F): Windows Firewall did not apply the following rule.
This event can be a sign of software issues, Windows Firewall registry errors or corruption, or Group Policy setting misconfigurations. We recommend monitoring this event and
investigating the reason for the condition. Typically this event indicates configuration issues, not security issues.
4958(F): Windows Firewall did not apply the following rule because the rule referred to items not configured on this computer.
Windows Firewall with Advanced Security processed a rule that contains parameters that cannot be resolved on the local computer. The rule is therefore not enforceable on the computer
and so is excluded from the runtime state of the firewall. This is not necessarily an error. Examine the rule for applicability on the computers to which it was applied.
There is no example of this event in this document.
Event Schema:
Windows Firewall did not apply the following rule because the rule referred to items not configured on this computer:
Rule Information:
%tID:%t%1
%tName:%t%2
Error Information:
%tError:%t%3
%tReason:%t%4
Events List:
4714(S): Encrypted data recovery policy was changed.
4819(S): Central Access Policies on the machine have been changed.
4826(S): Boot Configuration Data loaded.
4909(-): The local policy settings for the TBS were changed.
4910(-): The group policy settings for the TBS were changed.
5063(S, F): A cryptographic provider operation was attempted.
5064(S, F): A cryptographic context operation was attempted.
5065(S, F): A cryptographic context modification was attempted.
© 2016 Microsoft. All rights reserved.
5066(S, F): A cryptographic function operation was attempted.
5067(S, F): A cryptographic function modification was attempted.
5068(S, F): A cryptographic function provider operation was attempted.
5069(S, F): A cryptographic function property operation was attempted.
5070(S, F): A cryptographic function property modification was attempted.
5447(S): A Windows Filtering Platform filter has been changed.
6144(S): Security policy in the group policy objects has been applied successfully.
6145(F): One or more errors occurred while processing security policy in the group policy objects.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
<EventID>4714</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13573</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-08T05:27:40.740602500Z" />
<EventRecordID>1080883</EventRecordID>
<Correlation />
<Execution ProcessID="524" ThreadID="4856" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <ProcessingErrorData>
© 2016 Microsoft. All rights reserved.
<ErrorCode>13</ErrorCode>
<DataItemName>SubjectUserSid</DataItemName>
<EventPayload />
</ProcessingErrorData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Security Monitoring Recommendations:
For 4714(S): Encrypted data recovery policy was changed.
We recommend monitoring this event and if the change was not planned, investigate the reason for the change.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4819</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13573</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-10T01:00:34.352877700Z" />
<EventRecordID>1187659</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="3500" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
© 2016 Microsoft. All rights reserved.
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC01$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="ObjectServer">LSA</Data>
<Data Name="ObjectType">Central Access Policies</Data>
<Data Name="AddedCAPs">Main POlicy</Data>
<Data Name="DeletedCAPs" />
<Data Name="ModifiedCAPs" />
<Data Name="AsIsCAPs" />
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2012, Windows 8.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that changed the Central Access Policies on the machine. Event Viewer automatically tries to resolve SIDs and show the account name. If
the SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that changed the Central Access Policies on the machine.
Account Domain [Type = UnicodeString]: domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Object:
Object Server [Type = UnicodeString]: has “LSA” value for this event.
Object Type [Type = UnicodeString]: The type of an object to which this event applies. Always “Central Access Policies” for this event.
The following table contains the list of the most common Object Types:
Directory Event Timer Device
© 2016 Microsoft. All rights reserved.
Mutant Type File Token
Thread Section WindowStation DebugObject
FilterCommunicationPort EventPair Driver IoCompletion
Controller SymbolicLink WmiGuid Process
Profile Desktop KeyedEvent Central Access Policies
Key WaitablePort Callback
Job Port FilterConnectionPort
ALPC Port Semaphore Adapter
CAPs Added [Type = UnicodeString]: the list of added Central Access Policies. Empty if no Central Access Policies were added.
CAPs Deleted [Type = UnicodeString]: the list of deleted Central Access Policies. Empty if no Central Access Policies were deleted.
CAPs Modified [Type = UnicodeString]: the list of modified Central Access Policies. Empty if no Central Access Policies were modified.
CAPs As-Is [Type = UnicodeString]: the list of non-modified Central Access Policies.
Security Monitoring Recommendations:
For 4819(S): Central Access Policies on the machine have been changed.
Appendix A: Security monitoring recommendations for many audit events
Because this event is typically triggered by the SYSTEM account, we recommend that you report it whenever “Subject\Security ID” is not SYSTEM.
This event can help you to track modifications, additions and deletions of Central Access Policies if it is
required by your security monitoring policy.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4826</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13573</Task>
<Opcode>0</Opcode>
4909(-): The local policy settings for the TBS were changed.
Currently this event doesn’t generate. It is a defined event, but it is never invoked by the operating system.
4910(-): The group policy settings for the TBS were changed.
Currently this event doesn’t generate. It is a defined event, but it is never invoked by the operating system.
Subject:
Security ID:%1
Account Name:%2
Account Domain:%3
Logon ID:%4
Cryptographic Provider:
Name:%5
Module:%6
Operation:%7
Return Code:%8
Subject:
Security ID:%1
Account Name:%2
Account Domain:%3
Logon ID:%4
Configuration Parameters:
Scope:%5
Context:%6
Operation:%7
Return Code:%8
Subject:
Security ID:%1
Account Name:%2
Account Domain:%3
Logon ID:%4
Configuration Parameters:
Scope:%5
Context:%6
Change Information:
Old Value:%7
New Value:%8
Return Code:%9
Subject:
Security ID:%1
Account Name:%2
Account Domain:%3
Logon ID:%4
Configuration Parameters:
Scope:%5
Context:%6
Interface:%7
Function:%8
Position:%9
Operation:%10
Return Code:%11
Subject:
Security ID:%1
Account Name:%2
Account Domain:%3
Logon ID:%4
Configuration Parameters:
Scope:%5
Context:%6
Interface:%7
Function:%8
Change Information:
Old Value:%9
New Value:%10
Return Code:%11
Subject:
Security ID:%1
Account Name:%2
Account Domain:%3
Logon ID:%4
Configuration Parameters:
Scope:%5
Context:%6
Interface:%7
Function:%8
Provider:%9
Position:%10
Operation:%11
Return Code:%12
Subject:
Security ID:%1
Account Name:%2
Account Domain:%3
Logon ID:%4
Configuration Parameters:
Scope:%5
Context:%6
Interface:%7
Function:%8
Property:%9
Operation:%10
Value:%11
Return Code:%12
Subject:
Security ID:%1
Account Name:%2
Account Domain:%3
Logon ID:%4
Configuration Parameters:
Scope:%5
Context:%6
Interface:%7
Function:%8
Property:%9
Change Information:
Old Value:%10
New Value:%11
Return Code:%12
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5447</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13573</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-07T23:51:12.191198900Z" />
<EventRecordID>1060216</EventRecordID>
<Correlation />
<Execution ProcessID="524" ThreadID="3784" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ProcessId">284</Data>
<Data Name="UserSid">S-1-5-19</Data>
<Data Name="UserName">NT AUTHORITY\LOCAL SERVICE</Data>
<Data Name="ProviderKey">{DECC16CA-3F33-4346-BE1E-8FB4AE0F3D62}</Data>
<Data Name="ProviderName">Microsoft Corporation</Data>
<Data Name="ChangeType">%%16385</Data>
<Data Name="FilterKey">{91334E6D-FFAB-40F1-8C43-5554965C228D}</Data>
<Data Name="FilterName">Port Scanning Prevention Filter</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="FilterType">%%16388</Data>
<Data Name="FilterId">100100</Data>
<Data Name="LayerKey">{AC4A9833-F69D-4648-B261-6DC84835EF39}</Data>
<Data Name="LayerName">Inbound Transport v4 Discard Layer</Data>
<Data Name="LayerId">13</Data>
<Data Name="Weight">13835058055315718144</Data>
<Data Name="Conditions">Condition ID: {632ce23b-5167-435c-86d7-e903684aa80c} Match value: No flags set Condition value: 0x00000003</Data>
<Data Name="Action">%%16391</Data>
<Data Name="CalloutKey">{EDA08606-2494-4D78-89BC-67837C03B969}</Data>
<Data Name="CalloutName">WFP Built-in Silent Drop Transport v4 Discard Layer Callout</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Security Monitoring Recommendations:
For 5447(S): A Windows Filtering Platform filter has been changed.
This event mainly used for Windows Filtering Platform troubleshooting and typically has little to no security relevance.
6144(S): Security policy in the group policy objects has been applied successfully.
Event Description:
This event generates every time settings from the “Security Settings” section in the group policy object are applied
successfully to a computer, without any errors. This event generates on the target computer itself.
It is a routine event which shows you the list of Group Policy Objects that include “Security Settings” policies, and that were
applied to the computer.
This event generates every time Group Policy is applied to the computer.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>6144</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13573</Task>
<Opcode>0</Opcode>
© 2016 Microsoft. All rights reserved.
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-07T22:59:32.280498500Z" />
<EventRecordID>1055041</EventRecordID>
<Correlation />
<Execution ProcessID="524" ThreadID="712" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ErrorCode">0</Data>
<Data Name="GPOList">{8AB9311A-E5FB-4A5A-8FB7-027D1B877D6D} DC Main Policy</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Return Code [Type = UInt32]: always has “0” value for this event.
GPO List [Type = UnicodeString]: the list of Group Policy Objects that include “Security Settings” policies, and that were applied to the computer. The format of the list item is:
“GROUP_POLICY_GUID GROUP_POLICY_NAME”.
You can find specific GROUP_POLICY_GUID using Get-GPO PowerShell cmdlet with “–Name GROUP_POLICY_NAME” parameter. Row “Id” is the GUID of the Group Policy:
GUID is an acronym for 'Globally Unique Identifier'. It is a 128-bit integer number used to identify resources, activities or instances.
6145(F): One or more errors occurred while processing security policy in the group policy objects.
Event Description:
This event generates every time settings from the “Security Settings” section in the group policy object are applied to a
computer with one or more errors. This event generates on the target computer itself.
This event generates, for example, if the SID of a security principal which was included in one of the Group Policy settings
cannot be resolved or translated to the real account name.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>6145</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13573</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2015-10-07T22:43:54.183603800Z" />
<EventRecordID>1052680</EventRecordID>
<Correlation />
<Execution ProcessID="524" ThreadID="3476" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ErrorCode">1332</Data>
<Data Name="GPOList">{6AC1786C-016F-11D2-945F-00C04fB984F9} Default Domain Controllers Policy {31B2F340-016D-11D2-945F-00C04FB984F9} Default Domain Policy</Data>
</EventData>
</Event>
© 2016 Microsoft. All rights reserved.
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Error Code [Type = UInt32]: specific error code which shows the error which happened during Group Policy processing. You can find the meaning of specific error code here:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms681381(v=vs.85).aspx. For example, error code 1332 means that “no mapping between account names and security IDs
was done”.
GPO List [Type = UnicodeString]: the list of Group Policy Objects that include “Security Settings” policies, and that were applied with errors to the computer. The format of the list item is:
“GROUP_POLICY_GUID GROUP_POLICY_NAME”.
You can find specific GROUP_POLICY_GUID using Get-GPO PowerShell cmdlet with “–Name GROUP_POLICY_NAME” parameter. Row “Id” is the GUID of the Group Policy:
GUID is an acronym for 'Globally Unique Identifier'. It is a 128-bit integer number used to identify resources, activities or instances.
Events List:
4673(S, F): A privileged service was called.
4674(S, F): An operation was attempted on a privileged object.
4985(S): The state of a transaction has changed.
Events List:
4985(S): The state of a transaction has changed.
Events List:
4673(S, F): A privileged service was called.
4674(S, F): An operation was attempted on a privileged object.
4985(S): The state of a transaction has changed.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4673</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13056</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-09T00:37:36.434836600Z" />
<EventRecordID>1099777</EventRecordID>
<Correlation />
<Execution ProcessID="496" ThreadID="504" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC01$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="ObjectServer">NT Local Security Authority / Authentication Service</Data>
<Data Name="Service">LsaRegisterLogonProcess()</Data>
<Data Name="PrivilegeList">SeTcbPrivilege</Data>
<Data Name="ProcessId">0x1f0</Data>
<Data Name="ProcessName">C:\Windows\System32\lsass.exe</Data>
</EventData>
© 2016 Microsoft. All rights reserved.
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested privileged operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested privileged operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Service:
Server [Type = UnicodeString]: contains the name of the Windows subsystem calling the routine. Subsystems examples are:
o Security
o Security Account Manager
o NT Local Security Authority / Authentication Service
o SC Manager
o Win32 SystemShutdown module
o LSA
Service Name [Type = UnicodeString] [Optional]: supplies a name of the privileged subsystem service or function. For example, "RESET RUNTIME LOCAL SECURITY" might be
specified by a Local Security Authority service used to update the local security policy database or LsaRegisterLogonProcess() might be specified by a NT Local Security
Authority / Authentication Service used to register new logon process.
Process:
Process ID [Type = Pointer]: hexadecimal Process ID of the process that attempted to call the privileged service. Process ID (PID) is a number used by the operating system to
uniquely identify an active process. To see the PID for a specific process you can, for example, use Task Manager (Details tab, PID column):
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4674</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13056</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2015-10-09T00:22:36.237816000Z" />
<EventRecordID>1099680</EventRecordID>
<Correlation />
<Execution ProcessID="496" ThreadID="504" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-19</Data>
<Data Name="SubjectUserName">LOCAL SERVICE</Data>
<Data Name="SubjectDomainName">NT AUTHORITY</Data>
<Data Name="SubjectLogonId">0x3e5</Data>
<Data Name="ObjectServer">LSA</Data>
<Data Name="ObjectType">-</Data>
<Data Name="ObjectName">-</Data>
<Data Name="HandleId">0x0</Data>
<Data Name="AccessMask">16777216</Data>
<Data Name="PrivilegeList">SeSecurityPrivilege</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="ProcessId">0x1f0</Data>
<Data Name="ProcessName">C:\Windows\System32\lsass.exe</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested privileged operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested privileged operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Object:
Object Server [Type = UnicodeString] [Optional]: Contains the name of the Windows subsystem calling the routine. Subsystems examples are:
o Security
o Security Account Manager
o NT Local Security Authority / Authentication Service
o SC Manager
o Win32 SystemShutdown module
o LSA
Object Type [Type = UnicodeString] [Optional]: The type of an object that was accessed during the operation.
The following table contains the list of the most common Object Types:
Directory Event Timer Device
Mutant Type File Token
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
You can also correlate this process ID with a process ID in other events, for example, “4688: A new process has been created” Process Information\New Process ID.
Process Name [Type = UnicodeString]: full path and the name of the executable for the process.
Requested Operation:
Desired Access [Type = UnicodeString]: The desired access mask. This mask depends on Object Server and Object Type parameters values. The value of this parameter is in
decimal format. There is no detailed information about this parameter in this document. If Desired Access is not presented, then this parameter will have “0” value.
Events List:
5024(S): The Windows Firewall Service has started successfully.
5025(S): The Windows Firewall Service has been stopped.
5027(F): The Windows Firewall Service was unable to retrieve the security policy from the local storage. The service will continue enforcing the current policy.
5028(F): The Windows Firewall Service was unable to parse the new security policy. The service will continue with currently enforced policy.
5029(F): The Windows Firewall Service failed to initialize the driver. The service will continue to enforce the current policy.
5030(F): The Windows Firewall Service failed to start.
5032(F): Windows Firewall was unable to notify the user that it blocked an application from accepting incoming connections on the network.
5033(S): The Windows Firewall Driver has started successfully.
5034(S): The Windows Firewall Driver was stopped.
5035(F): The Windows Firewall Driver failed to start.
5037(F): The Windows Firewall Driver detected critical runtime error. Terminating.
5058(S, F): Key file operation.
5059(S, F): Key migration operation.
6400(-): BranchCache: Received an incorrectly formatted response while discovering availability of content.
6401(-): BranchCache: Received invalid data from a peer. Data discarded.
6402(-): BranchCache: The message to the hosted cache offering it data is incorrectly formatted.
© 2016 Microsoft. All rights reserved.
6403(-): BranchCache: The hosted cache sent an incorrectly formatted response to the client.
6404(-): BranchCache: Hosted cache could not be authenticated using the provisioned SSL certificate.
6405(-): BranchCache: %2 instance(s) of event id %1 occurred.
6406(-): %1 registered to Windows Firewall to control filtering for the following: %2
6407(-): 1%
6408(-): Registered product %1 failed and Windows Firewall is now controlling the filtering for %2
6409(-): BranchCache: A service connection point object could not be parsed.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5024</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12292</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-09T03:22:53.842816300Z" />
<EventRecordID>1101613</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="528" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
<EventData />
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
© 2016 Microsoft. All rights reserved.
Security Monitoring Recommendations:
For 5024(S): The Windows Firewall Service has started successfully.
Typically this event has an informational purpose. It’s logged during operating system startup process.
You should not see this event after system startup, so we recommend that you monitor it when it occurs outside the system startup process.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5025</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12292</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-09T03:22:23.742965400Z" />
<EventRecordID>1101606</EventRecordID>
<Correlation />
<Execution ProcessID="508" ThreadID="3780" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
<EventData />
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Security Monitoring Recommendations:
For 5025(S): The Windows Firewall Service has been stopped.
5027(F): The Windows Firewall Service was unable to retrieve the security policy from the local storage. The service will continue enforcing the
current policy.
Event Description:
This error indicates one of two situations, low memory resources or Windows Firewall group policy registry corruption.
Typically if this event occurs it indicates that Windows Firewall service was not able to start.
It typically occurs with “5028(S): The Windows Firewall Service was unable to parse the new security policy. The service will
continue with currently enforced policy.”
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5027</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12292</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2015-10-13T23:10:05.318922900Z" />
<EventRecordID>1101848</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="2000" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ErrorCode">2147942413</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
© 2016 Microsoft. All rights reserved.
Field Descriptions:
Error Code [Type = UInt32]: unique error code. For information about error codes meanings for this event use https://technet.microsoft.com/ or other informational resources.
Security Monitoring Recommendations:
For 5027(F): The Windows Firewall Service was unable to retrieve the security policy from the local storage. The service will continue enforcing the current policy.
This event can be a sign of software or operating system issues, Windows Firewall registry errors or corruption, or Group Policy setting misconfigurations. We recommend
monitoring this event and investigating the reason for the condition. Typically this event indicates configuration issues, not security issues.
5028(F): The Windows Firewall Service was unable to parse the new security policy. The service will continue with currently enforced policy.
Event Description:
This error indicates one of two situations, low memory resources or Windows Firewall group policy registry corruption.
Typically if this event occurs it indicates that Windows Firewall service was not able to start.
It typically occurs with “5027(S): The Windows Firewall Service was unable to retrieve the security policy from the local
storage. The service will continue enforcing the current policy.”
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5028</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12292</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2015-10-13T23:10:05.318922900Z" />
<EventRecordID>1101849</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="2000" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="ErrorCode">2147942413</Data>
</EventData>
</Event>
© 2016 Microsoft. All rights reserved.
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Error Code [Type = UInt32]: unique error code. For information about error codes meanings for this event use https://technet.microsoft.com/ or other informational resources.
Security Monitoring Recommendations:
For 5028(F): The Windows Firewall Service was unable to parse the new security policy. The service will continue with currently enforced policy.
This event can be a sign of software or operating system issues, Windows Firewall registry errors or corruption, or Group Policy setting misconfigurations. We recommend
monitoring this event and investigating the reason for the condition. Typically this event indicates configuration issues, not security issues.
5029(F): The Windows Firewall Service failed to initialize the driver. The service will continue to enforce the current policy.
Windows logs an error if either the Windows Firewall service or its driver fails to start, or if they unexpectedly terminate. The error message indicates the cause of the service failure by
including an error code in the text of the message.
There is no example of this event in this document.
Event Schema:
The Windows Firewall service failed to initialize the driver. Windows Firewall will continue to enforce the current policy.
Error Code:%1
Error Code:%1
5032(F): Windows Firewall was unable to notify the user that it blocked an application from accepting incoming connections on the network.
Windows Firewall with Advanced Security can be configured to notify the user when an application is blocked by the firewall, and ask if the application should continue to be blocked in
the future.
This event generates if Windows Firewall was unable to notify the user that it blocked an application from accepting incoming connections on the network.
There is no example of this event in this document.
Event Schema:
Windows Firewall was unable to notify the user that it blocked an application from accepting incoming connections on the network.
Error Code:%1
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5033</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12292</Task>
© 2016 Microsoft. All rights reserved.
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-09T03:22:53.526024800Z" />
<EventRecordID>1101612</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="148" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
<EventData />
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Security Monitoring Recommendations:
For 5033(S): The Windows Firewall Driver has started successfully.
Typically this event has an informational purpose. It’s logged during operating system startup process.
You should not see this event after system startup, so we recommend that you monitor it when it occurs outside the system startup process.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5034</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12292</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-13T23:40:55.482270000Z" />
© 2016 Microsoft. All rights reserved.
<EventRecordID>1101856</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="140" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
<EventData />
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Security Monitoring Recommendations:
For 5034(S): The Windows Firewall Driver was stopped.
This event is NOT logged during the operating system shutdown process.
You should not see this event during normal operating system operations, so we recommend that when it occurs, you investigate why the Windows Firewall driver was stopped.
Error Code:%1
5037(F): The Windows Firewall Driver detected critical runtime error. Terminating.
Windows logs this event if Windows Firewall driver fails to start, or if it unexpectedly terminates. The error message indicates the cause of the failure by including an error code in the text
of the message.
There is no example of this event in this document.
© 2016 Microsoft. All rights reserved.
Event Schema:
The Windows Firewall Driver detected a critical runtime error, terminating.
Error Code:%1
Event XML:
- <Event
xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing"
Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5058</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12292</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
© 2016 Microsoft. All rights reserved.
<TimeCreated SystemTime="2015-10-14T19:32:07.888796600Z" />
<EventRecordID>1048275</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="2312" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x38e2d</Data>
<Data Name="ProviderName">Microsoft Software Key Storage Provider</Data>
<Data Name="AlgorithmName">ECDH_P521</Data>
<Data Name="KeyName">le-SuperAdmin-5e350d8e-ae46-458c-bac0-d8f3279c944e</Data>
<Data Name="KeyType">%%2500</Data>
<Data Name="KeyFilePath">C:\Users\dadmin\AppData\Roaming\Microsoft\Crypto\Keys\c0a496c6786f0d25e8624fee96e4e580_7a1bf91d-ebdd-449c-825d-c97f2f47cd01</Data>
<Data Name="Operation">%%2459</Data>
<Data Name="ReturnCode">0x0</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested key file operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested key file operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
© 2016 Microsoft. All rights reserved.
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Cryptographic Parameters:
Provider Name [Type = UnicodeString]: the name of KSP through which the operation was performed. Can have one of the following values:
o Microsoft Software Key Storage Provider
o Microsoft Smart Card Key Storage Provider
Algorithm Name [Type = UnicodeString]: the name of cryptographic algorithm through which the key was used or accessed. For “Read persisted key from file” operation, this
typically has “UNKNOWN” value. Can also have one of the following values:
o RSA – algorithm created by Ron Rivest, Adi Shamir, and Leonard Adleman.
o DSA – Digital Signature Algorithm.
o DH – Diffie-Hellman.
o ECDH_P521 – Elliptic Curve Diffie-Hellman algorithm with 512-bit key length.
o ECDH_P384 – Elliptic Curve Diffie-Hellman algorithm with 384-bit key length.
o ECDH_P256 – Elliptic Curve Diffie-Hellman algorithm with 256-bit key length.
o ECDSA_P256 – Elliptic Curve Digital Signature Algorithm with 256-bit key length.
o ECDSA_P384 – Elliptic Curve Digital Signature Algorithm with 384-bit key length.
o ECDSA_P521 – Elliptic Curve Digital Signature Algorithm with 521-bit key length.
Key Name [Type = UnicodeString]: the name of the key (key container) with which operation was performed. For example, to get the list of Key Names for certificates for logged
in user you can use “certutil -store -user my” command and check Key Container parameter in the output. Here is an output example:
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5059</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12292</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-14T19:42:08.135265600Z" />
<EventRecordID>1048447</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="3496" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x38e2d</Data>
<Data Name="ProviderName">Microsoft Software Key Storage Provider</Data>
<Data Name="AlgorithmName">ECDH_P521</Data>
<Data Name="KeyName">le-SuperAdmin-795fd6c1-2fae-4bef-a6bc-4f4d464bc083</Data>
<Data Name="KeyType">%%2500</Data>
<Data Name="Operation">%%2464</Data>
<Data Name="ReturnCode">0x0</Data>
© 2016 Microsoft. All rights reserved.
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested key migration operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested key migration operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Cryptographic Parameters:
Provider Name [Type = UnicodeString]: the name of KSP through which the operation was performed. Can have one of the following values:
o Microsoft Software Key Storage Provider
o Microsoft Smart Card Key Storage Provider
Algorithm Name [Type = UnicodeString]: the name of cryptographic algorithm through which the key was used or accessed. For “Read persisted key from file” operation, this
typically has “UNKNOWN” value. Can also have one of the following values:
o RSA – algorithm created by Ron Rivest, Adi Shamir, and Leonard Adleman.
o DSA – Digital Signature Algorithm.
o DH – Diffie-Hellman.
o ECDH_P521 – Elliptic Curve Diffie-Hellman algorithm with 512-bit key length.
o ECDH_P384 – Elliptic Curve Diffie-Hellman algorithm with 384-bit key length.
o ECDH_P256 – Elliptic Curve Diffie-Hellman algorithm with 256-bit key length.
o ECDSA_P256 – Elliptic Curve Digital Signature Algorithm with 256-bit key length.
o ECDSA_P384 – Elliptic Curve Digital Signature Algorithm with 384-bit key length.
Key Type [Type = UnicodeString]: can have one of the following values:
o “User key.” – user’s cryptographic key.
o “Machine key.” – machine’s cryptographic key.
Additional Information:
Operation [Type = UnicodeString]: performed operation. Examples:
o “Export of persistent cryptographic key.” – typically generates during key read operations, which means that the key was taken for read purposes. But it also generates
during real key export operations (export certificate with private key, for example).
o “Import of persistent cryptographic key.” – key import operation was performed (import certificate with private key, for example).
Return Code [Type = HexInt32]: has “0x0” value for Success events. For failure events, provides a hexadecimal error code number.
Security Monitoring Recommendations:
For 5059(S, F): Key migration operation.
Typically this event is required for detailed monitoring of KSP-related actions with cryptographic keys. If you need to monitor actions related to specific cryptographic keys ( “Key
Name”) or a specific “Operation”, such as “Export of persistent cryptographic key”, create monitoring rules and use this event as an information source.
Appendix A: Security monitoring recommendations for many audit events
© 2016 Microsoft. All rights reserved.
6400(-): BranchCache: Received an incorrectly formatted response while discovering availability of content.
BranchCache events are outside the scope of this document.
There is no example of this event in this document.
Event Schema:
BranchCache: Received an incorrectly formatted response while discovering availability of content.
6402(-): BranchCache: The message to the hosted cache offering it data is incorrectly formatted.
BranchCache events are outside the scope of this document.
There is no example of this event in this document.
Event Schema:
BranchCache: The message to the hosted cache offering it data is incorrectly formatted.
6403(-): BranchCache: The hosted cache sent an incorrectly formatted response to the client.
BranchCache events are outside the scope of this document.
There is no example of this event in this document.
Event Schema:
BranchCache: The hosted cache sent an incorrectly formatted response to the client’s message to offer it data.
6404(-): BranchCache: Hosted cache could not be authenticated using the provisioned SSL certificate.
BranchCache events are outside the scope of this document.
There is no example of this event in this document.
Event Schema:
BranchCache: Hosted cache could not be authenticated using the provisioned SSL certificate.
Error Code:%2
6406(-): %1 registered to Windows Firewall to control filtering for the following: %2.
BranchCache events are outside the scope of this document.
There is no example of this event in this document.
Event Schema:
%1 registered to Windows Firewall to control filtering for the following:
%2.
6407(-): 1%.
BranchCache events are outside the scope of this document.
There is no example of this event in this document.
Event Schema:
%1
Events List:
4608(S): Windows is starting up.
4609(S): Windows is shutting down.
4616(S): The system time was changed.
4621(S): Administrator recovered system from CrashOnAuditFail.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4608</EventID>
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
© 2016 Microsoft. All rights reserved.
<EventID>4616</EventID>
<Version>1</Version>
<Level>0</Level>
<Task>12288</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-09T05:04:29.995794600Z" />
<EventRecordID>1101699</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="148" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x48f29</Data>
<Data Name="PreviousTime">2015-10-09T05:04:30.000941900Z</Data>
<Data Name="NewTime">2015-10-09T05:04:30.000000000Z</Data>
<Data Name="ProcessId">0x1074</Data>
<Data Name="ProcessName">C:\Windows\WinSxS\amd64_microsoft-windows-com-surrogate-core_31bf3856ad364e35_6.3.9600.16384_none_25a8f00faa8f185c\dllhost.exe</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions:
0 - Windows Server 2008, Windows Vista.
1 - Windows Server 2008 R2, Windows 7.
o Added “Process Information” section.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested the “change system time” operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the
SID cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
If you convert the hexadecimal value to decimal, you can compare it to the values in Task Manager.
You can also correlate this process ID with a process ID in other events, for example, “4688: A new process has been created” Process Information\New Process ID.
Name [Type = UnicodeString] [Version 1]: full path and the name of the executable for the process.
Previous Time [Type = FILETIME]: previous time in UTC time zone. The format is YYYY-MM-DDThh:mm:ss.nnnnnnnZ:
Y - years
M - months
© 2016 Microsoft. All rights reserved.
D - days
T - the beginning of the time element, as specified in ISO 8601.
h - hours
m - minutes
s - seconds
n - fractional seconds
Z - the zone designator for the zero UTC offset. "09:30 UTC" is therefore represented as "09:30Z". "14:45:15 UTC" would be "14:45:15Z".
New Time [Type = FILETIME]: new time that was set in UTC time zone. The format is YYYY-MM-DDThh:mm:ss.nnnnnnnZ:
Y - years
M - months
D - days
T - the beginning of the time element, as specified in ISO 8601.
h - hours
m - minutes
s - seconds
n - fractional seconds
Z - the zone designator for the zero UTC offset. "09:30 UTC" is therefore represented as "09:30Z". "14:45:15 UTC" would be "14:45:15Z".
Security Monitoring Recommendations:
For 4616(S): The system time was changed.
Appendix A: Security monitoring recommendations for many audit events
Report all “Subject\Security ID” not equals “LOCAL SERVICE”, which means that the time change was not made not by Windows Time service.
Report all “Process Information\Name” not equals “C:\Windows\System32\svchost.exe” (path to svchost.exe can be different, you can search for “svchost.exe” substring),
which means that the time change was not made not by Windows Time service.
If you have a pre-defined “Process Name” for the process reported in this event, monitor all events with “Process Name” not equal to your defined value.
You can monitor to see if “Process Name” is not in a standard folder (for example, not in System32 or Program Files) or is in a restricted folder (for example, Temporary Internet
Files).
If you have a pre-defined list of restricted substrings or words in process names (for example, “mimikatz” or “cain.exe”), check for these substrings in “Process Name.”
Value of CrashOnAuditFail:%1
Events List:
4610(S): An authentication package has been loaded by the Local Security Authority.
4611(S): A trusted logon process has been registered with the Local Security Authority.
4614(S): A notification package has been loaded by the Security Account Manager.
4622(S): A security package has been loaded by the Local Security Authority.
4697(S): A service was installed in the system.
4610(S): An authentication package has been loaded by the Local Security Authority.
Event Description:
This event generates every time Authentication Package has been loaded by the Local Security
Authority (LSA).
Each time the system starts, the LSA loads the Authentication Package DLLs from
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Authentication Packages
registry value and performs the initialization sequence for every package located in these DLLs.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-
3E3B0328C30D}" />
<EventID>4610</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12289</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-14T03:36:41.391489300Z" />
<EventRecordID>1048138</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="520" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
© 2016 Microsoft. All rights reserved.
- <EventData>
<Data Name="AuthenticationPackageName">C:\Windows\system32\msv1_0.DLL : MICROSOFT_AUTHENTICATION_PACKAGE_V1_0</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Authentication Package Name [Type = UnicodeString]: the name of loaded Authentication Package. The format is: DLL_PATH_AND_NAME: AUTHENTICATION_PACKAGE_NAME.
By default the only one Authentication Package loaded by Windows 10 is “MICROSOFT_AUTHENTICATION_PACKAGE_V1_0”.
Security Monitoring Recommendations:
For 4610(S): An authentication package has been loaded by the Local Security Authority.
Report all “Authentication Package Name” not equals “C:\Windows\system32\msv1_0.DLL : MICROSOFT_AUTHENTICATION_PACKAGE_V1_0”, because by default this is the only
Authentication Package loaded by Windows 10.
Typically this event has an informational purpose. If you have a pre-defined list of allowed Authentication Packages in the system, then you can check whether “Authentication
Package Name” is in your defined list.
4611(S): A trusted logon process has been registered with the Local Security Authority.
Event Description:
This event indicates that a logon process has registered with the Local Security Authority (LSA). Also, logon requests will now
be accepted from this source.
At the technical level, the event does not come from the registration of a trusted logon process, but from a confirmation that
the process is a trusted logon process. If it is a trusted logon process, the event generates.
A logon process is a trusted part of the operating system that handles the overall logon function for different logon methods
(network, interactive, etc.).
You typically see these events during operating system startup or user logon and authentication actions.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4611</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12289</Task>
<Opcode>0</Opcode>
© 2016 Microsoft. All rights reserved.
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-14T03:43:29.604031000Z" />
<EventRecordID>1048175</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="548" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC01$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="LogonProcessName">Winlogon</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that registered the trusted logon process. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot
be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that registered the trusted logon process.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
© 2016 Microsoft. All rights reserved.
Logon Process Name [Type = UnicodeString]: the name of registered logon process.
Security Monitoring Recommendations:
For 4611(S): A trusted logon process has been registered with the Local Security Authority.
Appendix A: Security monitoring recommendations for many audit events
Because this event is typically triggered by the SYSTEM account, we recommend that you report it whenever “Subject\Security ID” is not SYSTEM.
Typically this event has an informational purpose. If you defined the list of allowed Logon Processes in the system, then you can check is “Logon Process Name” field value in the
whitelist or not.
4614(S): A notification package has been loaded by the Security Account Manager.
Event Description:
This event generates every time a Notification Package has been loaded by the Security Account Manager.
In reality, starting with Windows Vista, a notification package should be interpreted as afs Password Filter.
Password Filters are DLLs that are loaded or called when passwords are set or changed.
Each time a system starts, it loads the notification package DLLs from
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Notification Packages registry value and performs the
initialization sequence for every package.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4614</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12289</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-14T03:36:43.073484900Z" />
<EventRecordID>1048140</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="520" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
© 2016 Microsoft. All rights reserved.
</System>
- <EventData>
<Data Name="NotificationPackageName">WDIGEST</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Notification Package Name [Type = UnicodeString]: the name of loaded Notification Package.
Security Monitoring Recommendations:
For 4614(S): A notification package has been loaded by the Security Account Manager.
Typically this event has an informational purpose. If you defined the list of allowed Notification Packages in the system, then you can check is “Notification Package Name” field
value in the whitelist or not.
4622(S): A security package has been loaded by the Local Security Authority.
Event Description:
This event generates every time Security Package has been loaded by the Local Security Authority (LSA).
Security Package is the software implementation of a security protocol (Kerberos, NTLM, for example). Security packages are
contained in security support provider DLLs or security support provider/authentication package DLLs.
Each time the system starts, the LSA loads the Security Package DLLs from
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\OSConfig\Security Packages registry value and performs
the initialization sequence for every package located in these DLLs.
It is also possible to add security package dynamically using AddSecurityPackage function, not only during system startup
process.
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4622</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12289</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
© 2016 Microsoft. All rights reserved.
<TimeCreated SystemTime="2015-10-14T03:36:41.359331100Z" />
<EventRecordID>1048131</EventRecordID>
<Correlation />
<Execution ProcessID="516" ThreadID="520" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SecurityPackageName">C:\Windows\system32\kerberos.DLL : Kerberos</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Security Package Name [Type = UnicodeString]: the name of loaded Security Package. The format is: DLL_PATH_AND_NAME: SECURITY_PACKAGE_NAME.
These are some Security Package DLLs loaded by default in Windows 10:
C:\Windows\system32\schannel.DLL : Microsoft Unified Security Protocol Provider
C:\Windows\system32\schannel.DLL : Schannel
C:\Windows\system32\cloudAP.DLL : CloudAP
C:\Windows\system32\wdigest.DLL : WDigest
C:\Windows\system32\pku2u.DLL : pku2u
C:\Windows\system32\tspkg.DLL : TSSSP
C:\Windows\system32\msv1_0.DLL : NTLM
C:\Windows\system32\kerberos.DLL : Kerberos
C:\Windows\system32\negoexts.DLL : NegoExtender
C:\Windows\system32\lsasrv.dll : Negotiate
Security Monitoring Recommendations:
For 4622(S): A security package has been loaded by the Local Security Authority.
Typically this event has an informational purpose. If you defined the list of allowed Security Packages in the system,
then you can check is “Security Package Name” field value in the whitelist or not.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4697</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12289</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-12T01:36:11.991070500Z" />
<EventRecordID>2778</EventRecordID>
<Correlation ActivityID="{913FBE70-1CE6-0000-67BF-3F91E61CD101}" />
<Execution ProcessID="736" ThreadID="2800" />
<Channel>Security</Channel>
<Computer>WIN-GG82ULGC9GO.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">WIN-GG82ULGC9GO$</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="ServiceName">AppHostSvc</Data>
<Data Name="ServiceFileName">%windir%\system32\svchost.exe -k apphost</Data>
<Data Name="ServiceType">0x20</Data>
<Data Name="ServiceStartType">2</Data>
<Data Name="ServiceAccount">localSystem</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2016, Windows 10.
Event Versions: 0.
Field Descriptions:
Subject:
© 2016 Microsoft. All rights reserved.
Security ID [Type = SID]: SID of account that was used to install the service. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot be
resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that was used to install the service.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Service Information:
Service Name [Type = UnicodeString]: the name of installed service.
Events List:
4612(S): Internal resources allocated for the queuing of audit messages have been exhausted, leading to the loss of some audits.
4615(S): Invalid use of LPC port.
4618(S): A monitored security event pattern has occurred.
© 2016 Microsoft. All rights reserved.
4816(S): RPC detected an integrity violation while decrypting an incoming message.
5038(F): Code integrity determined that the image hash of a file is not valid. The file could be corrupt due to unauthorized modification or the invalid hash could indicate a
potential disk device error.
5056(S): A cryptographic self-test was performed.
5062(S): A kernel-mode cryptographic self-test was performed.
5057(F): A cryptographic primitive operation failed.
5060(F): Verification operation failed.
5061(S, F): Cryptographic operation.
6281(F): Code Integrity determined that the page hashes of an image file are not valid. The file could be improperly signed without page hashes or corrupt due to unauthorized
modification. The invalid hashes could indicate a potential disk device error.
6410(F): Code integrity determined that a file does not meet the security requirements to load into a process.
4612(S): Internal resources allocated for the queuing of audit messages have been exhausted, leading to the loss of some audits.
This event is generated when audit queues are filled and events must be discarded. This most commonly occurs when security events are being generated faster than they are being
written to disk.
This event doesn't generate when the event log service is stopped or event log is full and events retention is disabled.
There is no example of this event in this document.
Event Schema:
Internal resources allocated for the queuing of audit messages have been exhausted, leading to the loss of some audits.
This event is generated when audit queues are filled and events must be discarded. This most commonly occurs when security events are being generated faster than they are being
written to disk, or when the auditing system loses connectivity to the event log, such as when the event log service is stopped.
Subject:
Process Information:
PID:%7
Name:%8
Invalid Use:%5
Windows Local Security Authority (LSA) communicates with the Windows kernel using Local Procedure Call (LPC) ports. If you see this event, an application has inadvertently or
intentionally accessed this port which is reserved exclusively for LSA’s use. The application (process) should be investigated to ensure that it is not attempting to tamper with this
communications channel."
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>4618</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12290</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-11T21:42:33.264246700Z" />
<EventRecordID>1198759</EventRecordID>
<Correlation />
<Execution ProcessID="500" ThreadID="528" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="EventId">4624</Data>
<Data Name="ComputerName">DC01.contoso.local</Data>
<Data Name="TargetUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="TargetUserName">dadmin</Data>
<Data Name="TargetUserDomain">CONTOSO</Data>
<Data Name="TargetLogonId">0x1</Data>
<Data Name="EventCount">10</Data>
<Data Name="Duration">“Hour"</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
© 2016 Microsoft. All rights reserved.
Event Versions: 0.
Security Monitoring Recommendations:
For 4618(S): A monitored security event pattern has occurred.
This event can be invoked only manually/intentionally, it is up to you how interpret this event depends on information you put inside of it.
Peer Name: %1
Protocol Sequence: %2
Security Error: %3
5038(F): Code integrity determined that the image hash of a file is not valid. The file could be corrupt due to unauthorized modification or the
invalid hash could indicate a potential disk device error.
This event generates by Code Integrity feature, if signature of a file is not valid.
Code Integrity is a feature that improves the security of the operating system by validating the integrity of a driver or system file each time it is loaded into memory. Code Integrity detects
whether an unsigned driver or system file is being loaded into the kernel, or whether a system file has been modified by malicious software that is being run by a user account with
administrative permissions. On x64-based versions of the operating system, kernel-mode drivers must be digitally signed.
There is no example of this event in this document.
Event Schema:
Code integrity determined that the image hash of a file is not valid. The file could be corrupt due to unauthorized modification or the invalid hash could indicate a potential disk device
error.
Subject:
Security ID%1
Account Name:%2
Account Domain:%3
Logon ID:%4
Module:%5
Return Code:%6
Module:%1
Return Code:%2
© 2016 Microsoft. All rights reserved.
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Security Monitoring Recommendations:
Typically this event is required for detailed monitoring of CNG-related actions with cryptographic keys. If you need to monitor or troubleshoot actions related to specific
cryptographic keys and operations, review this event to see if it provides the information you need.
Subject:
Security ID%1
Account Name:%2
Account Domain:%3
Logon ID:%4
Cryptographic Parameters:
Provider Name:%5
Algorithm Name%6
Failure Information:
Reason:%7
Return Code:%8
Subject:
Security ID%1
Account Name:%2
Account Domain:%3
Logon ID:%4
Cryptographic Parameters:
Provider Name:%5
Algorithm Name%6
Key Name:%7
Key Type:%8
Failure Information:
Reason:%7
Return Code:%8
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
<EventID>5061</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>12290</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-14T19:42:08.104008000Z" />
<EventRecordID>1048444</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="3496" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <EventData>
<Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data>
<Data Name="SubjectUserName">dadmin</Data>
<Data Name="SubjectDomainName">CONTOSO</Data>
<Data Name="SubjectLogonId">0x38e2d</Data>
<Data Name="ProviderName">Microsoft Software Key Storage Provider</Data>
<Data Name="AlgorithmName">ECDH_P521</Data>
© 2016 Microsoft. All rights reserved.
<Data Name="KeyName">le-SuperAdmin-795fd6c1-2fae-4bef-a6bc-4f4d464bc083</Data>
<Data Name="KeyType">%%2500</Data>
<Data Name="Operation">%%2480</Data>
<Data Name="ReturnCode">0x0</Data>
</EventData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that requested specific cryptographic operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID
cannot be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that requested specific cryptographic operation.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Cryptographic Parameters:
Provider Name [Type = UnicodeString]: the name of KSP through which the operation was performed. Can have one of the following values:
o Microsoft Software Key Storage Provider
o Microsoft Smart Card Key Storage Provider
Algorithm Name [Type = UnicodeString]: the name of cryptographic algorithm through which the key was used or accessed. For “Read persisted key from file” operation, this
typically has “UNKNOWN” value. Can also have one of the following values:
o RSA – algorithm created by Ron Rivest, Adi Shamir, and Leonard Adleman.
o DSA – Digital Signature Algorithm.
o DH – Diffie-Hellman.
o ECDH_P521 – Elliptic Curve Diffie-Hellman algorithm with 512-bit key length.
o ECDH_P384 – Elliptic Curve Diffie-Hellman algorithm with 384-bit key length.
© 2016 Microsoft. All rights reserved.
o ECDH_P256 – Elliptic Curve Diffie-Hellman algorithm with 256-bit key length.
o ECDSA_P256 – Elliptic Curve Digital Signature Algorithm with 256-bit key length.
o ECDSA_P384 – Elliptic Curve Digital Signature Algorithm with 384-bit key length.
o ECDSA_P521 – Elliptic Curve Digital Signature Algorithm with 521-bit key length.
Key Name [Type = UnicodeString]: the name of the key (key container) with which operation was performed. For example, to get the list of Key Names for certificates for logged
in user you can use “certutil -store -user my” command and check Key Container parameter in the output. Here is an output example:
Key Type [Type = UnicodeString]: can have one of the following values:
o “User key.” – user’s cryptographic key.
o “Machine key.” – machine’s cryptographic key.
Cryptographic Operation:
Operation [Type = UnicodeString]: performed operation. Possible values:
o Open Key. – open existing cryptographic key.
o Create Key. – create new cryptographic key.
o Delete Key. – delete existing cryptographic key.
o Sign hash. – cryptographic signing operation.
o Secret agreement.
o Key Derivation. – key derivation operation.
o Encrypt. – encryption operation.
© 2016 Microsoft. All rights reserved.
o Decrypt. – decryption operation.
Return Code [Type = HexInt32]: has “0x0” value for Success events. For failure events, provides a hexadecimal error code number.
Security Monitoring Recommendations:
For 5061(S, F): Cryptographic operation.
Typically this event is required for detailed monitoring of KSP-related actions with cryptographic keys. If you need to monitor actions related to specific cryptographic keys ( “Key
Name”) or a specific “Operation”, such as “Delete Key”, create monitoring rules and use this event as an information source.
Appendix A: Security monitoring recommendations for many audit events
6281(F): Code Integrity determined that the page hashes of an image file are not valid. The file could be improperly signed without page hashes
or corrupt due to unauthorized modification. The invalid hashes could indicate a potential disk device error.
Code Integrity is a feature that improves the security of the operating system by validating the integrity of a driver or system file each time it is loaded into memory. Code Integrity detects
whether an unsigned driver or system file is being loaded into the kernel, or whether a system file has been modified by malicious software that is being run by a user account
with administrative permissions. On x64-based versions of the operating system, kernel-mode drivers must be digitally signed.
This event generates when code Integrity determined that the page hashes of an image file are not valid. The file could be improperly signed without page hashes or corrupt due to
unauthorized modification. This event also generates when signing certificate was revoked. The invalid hashes could indicate a potential disk device error.
There is no example of this event in this document.
Event Schema:
Code Integrity determined that the page hashes of an image file are not valid. The file could be improperly signed without page hashes or corrupt due to unauthorized modification. The
invalid hashes could indicate a potential disk device error.
File Name:%1
6410(F): Code integrity determined that a file does not meet the security requirements to load into a process.
Code Integrity is a feature that improves the security of the operating system by validating the integrity of a driver or system file each time it is loaded into memory. Code Integrity detects
whether an unsigned driver or system file is being loaded into the kernel, or whether a system file has been modified by malicious software that is being run by a user account
with administrative permissions. On x64-based versions of the operating system, kernel-mode drivers must be digitally signed.
This event generates due to writable shared sections being present in a file image.
There is no example of this event in this document.
Event Schema:
© 2016 Microsoft. All rights reserved.
Code integrity determined that a file does not meet the security requirements to load into a process. This could be due to the use of shared sections or other issues.
File Name:%1
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Eventlog" Guid="{fc65ddd8-d6ef-4962-83d5-6e5cfe9ce148}" />
<EventID>1100</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>103</Task>
<Opcode>0</Opcode>
<Keywords>0x4020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-15T07:02:20.010585400Z" />
<EventRecordID>1048124</EventRecordID>
<Correlation />
<Execution ProcessID="820" ThreadID="964" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <UserData>
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Eventlog" Guid="{fc65ddd8-d6ef-4962-83d5-6e5cfe9ce148}" />
<EventID>1102</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>104</Task>
<Opcode>0</Opcode>
<Keywords>0x4020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-16T00:39:58.656871200Z" />
<EventRecordID>1087729</EventRecordID>
<Correlation />
<Execution ProcessID="820" ThreadID="2644" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <UserData>
- <LogFileCleared xmlns="http://manifests.microsoft.com/win/2004/08/windows/eventlog">
<SubjectUserSid>S-1-5-21-3457937927-2839227994-823803824-1104</SubjectUserSid>
© 2016 Microsoft. All rights reserved.
<SubjectUserName>dadmin</SubjectUserName>
<SubjectDomainName>CONTOSO</SubjectDomainName>
<SubjectLogonId>0x55cd1d</SubjectLogonId>
</LogFileCleared>
</UserData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Subject:
Security ID [Type = SID]: SID of account that cleared the system security audit log. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID cannot
be resolved, you will see the source data in the event.
A security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such
as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it
in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been
used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security Identifiers.
Account Name [Type = UnicodeString]: the name of the account that cleared the system security audit log.
Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following:
o Domain NETBIOS name example: CONTOSO
o Lowercase full domain name: contoso.local
o Uppercase full domain name: CONTOSO.LOCAL
o For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.
o For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.
Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account
was successfully logged on.”
Security Monitoring Recommendations:
For 1102(S): The audit log was cleared.
Appendix A: Security monitoring recommendations for many audit events
Typically you should not see this event. There is no need to manually clear the Security event log in most cases. We
recommend monitoring this event and investigating why this action was performed.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Eventlog" Guid="{fc65ddd8-d6ef-4962-83d5-6e5cfe9ce148}" />
<EventID>1104</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>101</Task>
<Opcode>0</Opcode>
<Keywords>0x4020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-15T23:36:50.479431200Z" />
<EventRecordID>1087728</EventRecordID>
<Correlation />
<Execution ProcessID="820" ThreadID="4224" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <UserData>
<FileIsFull xmlns="http://manifests.microsoft.com/win/2004/08/windows/eventlog" />
</UserData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Security Monitoring Recommendations:
If the Security event log retention method is set to “Do not overwrite events (Clear logs manually)”,
then this event will indicate that log file is full and you need to perform immediate actions, for
example, archive the log or clear it.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Eventlog" Guid="{fc65ddd8-d6ef-4962-83d5-6e5cfe9ce148}" />
<EventID>1105</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>105</Task>
<Opcode>0</Opcode>
<Keywords>0x4020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-16T00:50:12.715302700Z" />
<EventRecordID>1128551</EventRecordID>
<Correlation />
<Execution ProcessID="820" ThreadID="3660" />
<Channel>Security</Channel>
<Computer>DC01.contoso.local</Computer>
<Security />
</System>
- <UserData>
- <AutoBackup xmlns="http://manifests.microsoft.com/win/2004/08/windows/eventlog">
<Channel>Security</Channel>
<BackupPath>C:\Windows\System32\Winevt\Logs\Archive-Security-2015-10-16-00-50-12-621.evtx</BackupPath>
</AutoBackup>
</UserData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008, Windows Vista.
Event Versions: 0.
Field Descriptions:
Log [Type = UnicodeString]: the name of the log which was archived (new event log file was created and previous event log was archived). Always “Security” for Security Event Logs.
File: [Type = FILETIME]: full path and filename of archived log file.
The format of archived log file name is: “Archive-LOG_FILE_NAME-YYYY-MM-DD-hh-mm-ss-nnn.evtx”. Where:
LOG_FILE_NAME – the name of archived file.
Y – years.
© 2016 Microsoft. All rights reserved.
M – months.
D – days.
h – hours.
m – minutes.
s – seconds.
n – fractional seconds.
The time in this event is always in GMT+0/UTC+0 time zone.
Security Monitoring Recommendations:
For 1105(S): Event log automatic backup.
Typically it’s an informational event and no actions are needed. But if your baseline settings are not set to Archive the log when full, do not overwrite events, then this event will
be a sign that some settings are not set to baseline settings or were changed.
1108(S): The event logging service encountered an error while processing an incoming event published from %1.
Event Description:
This event generates when event logging service encountered an error while processing an incoming
event.
It typically generates when logging service will not be able to correctly write the event to the event log or
some parameters were not passed to logging service to log the event correctly. You will typically see a
defective or incorrect event before 1108.
For example, event 1108 might be generated after an incorrect 4703 event:
Note For recommendations, see Security Monitoring Recommendations for this event.
Event XML:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
© 2016 Microsoft. All rights reserved.
- <System>
<Provider Name="Microsoft-Windows-Eventlog" Guid="{fc65ddd8-d6ef-4962-83d5-6e5cfe9ce148}" />
<EventID>1108</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>101</Task>
<Opcode>0</Opcode>
<Keywords>0x4020000000000000</Keywords>
<TimeCreated SystemTime="2015-11-12T20:59:47.431979300Z" />
<EventRecordID>5599</EventRecordID>
<Correlation />
<Execution ProcessID="972" ThreadID="1320" />
<Channel>Security</Channel>
<Computer>WIN-GG82ULGC9GO.contoso.local</Computer>
<Security />
</System>
- <UserData>
- <EventProcessingFailure xmlns="http://manifests.microsoft.com/win/2004/08/windows/eventlog">
<Error Code="15005" />
<EventID>0</EventID>
<PublisherID>Microsoft-Windows-Security-Auditing</PublisherID>
</EventProcessingFailure>
</UserData>
</Event>
Required Server Roles: None.
Minimum OS Version: Windows Server 2008 R2, Windows 7.
Event Versions: 0.
Field Descriptions:
%1 [Type = UnicodeString]: the name of security event source from which event was received for processing. You can see all registered security event source names in this registry path:
“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Security”. Here is an example:
Anomalies or malicious actions: You might have specific requirements for detecting When you monitor for anomalies or malicious actions, use the “Subject\Security ID” (with
anomalies or monitoring potential malicious actions. For example, you might need to other information) to monitor how or when a particular account is being used.
monitor for use of an account outside of working hours.
Non-active accounts: You might have non-active, disabled, or guest accounts, or other Monitor relevant events for the “Subject\Security ID” that corresponds to the accounts
accounts that should never be used. that should never be used.
Account whitelist: You might have a specific whitelist of accounts that are the only ones Monitor the relevant events for “Subject\Security ID” accounts that are outside the
allowed to perform actions corresponding to particular events. whitelist of accounts.
Accounts of different types: You might want to ensure that certain actions are performed Identify events that correspond to the actions you want to monitor, and for those events,
only by certain account types, for example, local or domain account, machine or user review the “Subject\Security ID” to see whether the account type is as expected.
account, vendor or employee account, and so on.
External accounts: You might be monitoring accounts from another domain, or “external” Monitor the specific events for the “Subject\Account Domain” corresponding to accounts
accounts that are not allowed to perform certain actions (represented by certain specific from another domain or “external” accounts.
events).
Restricted-use computers or devices: You might have certain computers, machines, or Monitor the target Computer: (or other target device) for actions performed by the
devices on which certain people (accounts) should not typically perform any actions. “Subject\Security ID” that you are concerned about.
Account naming conventions: Your organization might have specific naming conventions Monitor “Subject\Account Name” for names that don’t comply with naming conventions.
for account names.