423 events · Partly on by default · 20 MB default size
Windows Security
Security
The audit log written by the Local Security Authority: logons, Kerberos and NTLM, account and group changes, process creation, object access and policy changes.
Why it matters
It is the primary record of who authenticated where and what they changed. It is also the log attackers clear first, and at the default 20 MB it often holds only hours of history on a busy server or domain controller.
Start with these
1102The audit log was clearedPolicy Change4624An account was successfully logged onAuthentication4625An account failed to log onAuthentication4634An account was logged offAuthentication4648A logon was attempted using explicit credentialsAuthentication4657A registry value was modifiedObject Access4662An operation was performed on an objectDS Access4663An attempt was made to access an objectObject Access4670Permissions on an object were changedPolicy Change4672Special privileges assigned to new logonPrivilege Use4688A new process has been createdProcess Execution4697A service was installed in the systemSystem Change4698A scheduled task was createdProcess Execution4719System audit policy was changedPolicy Change4720A user account was createdAccount Management4728A member was added to a security-enabled global groupAccount Management4732A member was added to a security-enabled local groupAccount Management4756A member was added to a security-enabled universal groupAccount Management4768A Kerberos authentication ticket (TGT) was requestedAuthentication4769A Kerberos service ticket was requestedAuthentication4771Kerberos pre-authentication failedAuthentication4776The domain controller attempted to validate the credentials for an accountAuthentication5136A directory service object was modifiedDS Access5140A network share object was accessedObject Access5145A network share object access checkObject Access
All Security events
Policy Change 98
1102The audit log was cleared4670Permissions on an object were changed4703A user right was adjusted4704A user right was assigned4705A user right was removed4706A new trust was created to a domain4707A trust to a domain was removed4709IPsec Services was started4710IPsec Services was disabled4711PAStore Engine applied IPsec policy4712IPsec Services encountered a potentially serious failure4713Kerberos policy was changed4714Encrypted data recovery policy was changed4715The audit policy (SACL) on an object was changed4716Trusted domain information was modified4717System security access was granted to an account4718System security access was removed from an account4719System audit policy was changed4739Domain Policy was changed4817Auditing settings on an object were changed4819Central Access Policies on the machine have been changed4864A namespace collision was detected4865A trusted forest information entry was added4866A trusted forest information entry was removed4867A trusted forest information entry was modified4902The Per-user audit policy table was created4904An attempt was made to register a security event source4905An attempt was made to unregister a security event source4906The CrashOnAuditFail value has changed4907Auditing settings on object were changed4908Special Groups Logon table modified4909The local policy settings for the TBS were changed4910The group policy settings for the TBS were changed4911Resource attributes of the object were changed4912Per User Audit Policy was changed4913Central Access Policy on the object was changed4944Windows Firewall policy was active when service started4945A rule was listed when the Windows Firewall started4946A Windows Firewall exception list rule was added4947A Windows Firewall exception list rule was modified4948A Windows Firewall exception list rule was deleted4949Windows Firewall settings were restored to default values4950A Windows Firewall setting has changed4951A rule has been ignored (version mismatch)4952Parts of a rule have been ignored (version mismatch)4953A rule has been ignored (parse error)4954Windows Firewall Group Policy settings have changed4956Windows Firewall has changed the active profile4957Windows Firewall did not apply a rule4958Windows Firewall did not apply a rule (missing items)5040An IPsec Authentication Set was added5041An IPsec Authentication Set was modified5042An IPsec Authentication Set was deleted5043An IPsec Connection Security Rule was added5044An IPsec Connection Security Rule was modified5045An IPsec Connection Security Rule was deleted5046An IPsec Crypto Set was added5047An IPsec Crypto Set was modified5048An IPsec Crypto Set was deleted5050An attempt to programmatically disable the Windows Firewall was rejected5063A cryptographic provider operation was attempted5064A cryptographic context operation was attempted5065A cryptographic context modification was attempted5066A cryptographic function operation was attempted5067A cryptographic function modification was attempted5068A cryptographic function provider operation was attempted5069A cryptographic function property operation was attempted5070A cryptographic function property modification was attempted5440A WFP callout was present at boot5441A WFP filter was present at boot5442A WFP provider was present at boot5443A WFP provider context was present at boot5444A WFP sub-layer was present at boot5446A Windows Filtering Platform callout has been changed5447A Windows Filtering Platform filter has been changed5448A Windows Filtering Platform provider has been changed5449A Windows Filtering Platform provider context has been changed5450A Windows Filtering Platform sub-layer has been changed5456PAStore Engine applied Active Directory storage IPsec policy5457PAStore Engine failed to apply Active Directory storage IPsec policy5458PAStore Engine applied locally cached copy of AD IPsec policy5459PAStore Engine failed to apply locally cached copy of AD IPsec policy5460PAStore Engine applied local registry storage IPsec policy5461PAStore Engine failed to apply local registry storage IPsec policy5462PAStore Engine failed to apply some rules of the active IPsec policy5463PAStore Engine polled for changes to the active IPsec policy and detected no changes5464PAStore Engine polled for changes and applied them5465PAStore Engine received forced reload control5466PAStore Engine polled, AD unreachable, used cache5467PAStore Engine polled, AD reachable, no changes5468PAStore Engine polled, AD reachable, applied changes5471PAStore Engine loaded local storage IPsec policy5472PAStore Engine failed to load local storage IPsec policy5473PAStore Engine loaded directory storage IPsec policy5474PAStore Engine failed to load directory storage IPsec policy5477PAStore Engine failed to add quick mode filter6144Security policy in the group policy objects has been applied successfully6145One or more errors occurred while processing security policy in the group policy objects
System 69
4608Windows is starting up4609Windows is shutting down4610An authentication package has been loaded by the Local Security Authority4611A trusted logon process has been registered with the Local Security Authority4612Internal resources allocated for the queuing of audit messages have been exhausted, leading to the loss of some audits4614A notification package has been loaded by the Security Account Manager4615Invalid use of LPC port4616The system time was changed4618A monitored security event pattern has occurred4621Administrator recovered system from CrashOnAuditFail4622A security package has been loaded by the Local Security Authority4816RPC detected an integrity violation while decrypting an incoming message4826Boot Configuration Data loaded4960IPsec dropped an inbound packet that failed an integrity check4961IPsec dropped an inbound packet that failed a replay check4962IPsec dropped an inbound packet that failed a replay check (low sequence number)4963IPsec dropped an inbound clear text packet that should have been secured4965IPsec received a packet from a remote computer with an incorrect SPI5024The Windows Firewall Service has started successfully5025The Windows Firewall Service has been stopped5027The Windows Firewall Service was unable to retrieve the security policy from local storage5028The Windows Firewall Service was unable to parse the new security policy5029The Windows Firewall Service failed to initialize the driver5030The Windows Firewall Service failed to start5032Windows Firewall was unable to notify the user that it blocked an application5033The Windows Firewall Driver has started successfully5034The Windows Firewall Driver has been stopped5035The Windows Firewall Driver failed to start5037The Windows Firewall Driver detected critical runtime error5038Code integrity determined that the image hash of a file is not valid5056A cryptographic self-test was performed5057A cryptographic primitive operation failed5058Key file operation5059Key migration operation5060Verification operation failed5061Cryptographic operation5062A kernel-mode cryptographic self-test was performed5071Key access denied by Microsoft key distribution service5478IPsec Services has started successfully5479IPsec Services has been shut down successfully5480IPsec Services failed to get the complete list of network interfaces5483IPsec Services failed to initialize RPC server5484IPsec Services has experienced a critical failure and has been shut down5485IPsec Services failed to process some IPsec filters on a plug-and-play event6281Code Integrity determined that the page hashes of an image file are not valid6400BranchCache: Received an incorrectly formatted response discovering content availability6401BranchCache: Received invalid data from a peer6402BranchCache: The message to the hosted cache offering data is incorrectly formatted6403BranchCache: Hosted cache sent an incorrectly formatted response6404BranchCache: Hosted cache could not be authenticated6405BranchCache: Multiple instances of an event occurred6406A client registered with Windows Firewall6407A client unregistered from Windows Firewall6408A registered product failed, Windows Firewall is now controlling filtering6409BranchCache: A service connection point object could not be parsed6410Code integrity determined that a file does not meet security requirements6416A new external device was recognized by the System6417The FIPS mode crypto self-tests succeeded6418The FIPS mode crypto self-tests failed6419A request was made to disable a device8193An error occurred while retrieving the retrieve the certificate revocation list (CRL)8194The certificate revocation list (CRL) was successfully retrieved8195An error occurred while downloading the certificate revocation list (CRL)8196An error occurred while retrieving the Online Certificate Status Protocol (OCSP) response8197The Online Certificate Status Protocol (OCSP) response was successfully retrieved8198An error occurred while downloading the Online Certificate Status Protocol (OCSP) response8199An error occurred while retrieving the Authority Information Access (AIA) certificate8200The Authority Information Access (AIA) certificate was successfully retrieved8201An error occurred while downloading the Authority Information Access (AIA) certificate
Object Access 69
4656A handle to an object was requested4657A registry value was modified4658The handle to an object was closed4659A handle to an object was requested with intent to delete4660An object was deleted4661A handle to an object was requested4663An attempt was made to access an object4664An attempt was made to create a hard link4665An attempt was made to create an application client context4666An application attempted an operation4667An application client context was deleted4668An application was initialized4671An application attempted to access a blocked ordinal through the TBS4690An attempt was made to duplicate a handle to an object4691Indirect access to an object was requested4818Proposed Central Access Policy does not grant the same permissions4868The certificate manager denied a pending certificate request4869Certificate Services received a resubmitted certificate request4870Certificate Services revoked a certificate4871Certificate Services received a request to publish the CRL4872Certificate Services published the CRL4873A certificate request extension changed4874One or more certificate request attributes changed4875Certificate Services received a request to shut down4876Certificate Services backup started4877Certificate Services backup completed4878Certificate Services restore started4879Certificate Services restore completed4880Certificate Services started4881Certificate Services stopped4882The security permissions for Certificate Services changed4883Certificate Services retrieved an archived key4884Certificate Services imported a certificate into its database4885The audit filter for Certificate Services changed4886Certificate Services received a certificate request4887Certificate Services approved a certificate request and issued a certificate4888Certificate Services denied a certificate request4889Certificate Services set the status of a certificate request to pending4890The certificate manager settings for Certificate Services changed4891A configuration entry changed in Certificate Services4892A property of Certificate Services changed4893Certificate Services archived a key4894Certificate Services imported and archived a key4895Certificate Services published the CA certificate to Active Directory4896One or more rows have been deleted from the certificate database4897Role separation enabled4898Certificate Services loaded a template4899A Certificate Services template was updated4900Certificate Services template security was updated4985The state of a transaction has changed5039A registry key was virtualized5051A file was virtualized5120OCSP Responder Service Started5121OCSP Responder Service Stopped5122A Configuration entry changed in the OCSP Responder Service5123A configuration entry changed in the OCSP Responder Service5124A security setting was updated on OCSP Responder Service5125A request was submitted to OCSP Responder Service5126Signing Certificate was automatically updated by the OCSP Responder Service5127The OCSP Revocation Provider successfully updated the revocation information5140A network share object was accessed5142A network share object was added5143A network share object was modified5144A network share object was deleted5145A network share object access check5168SPN check for SMB/SMB2 failed5888An object in the COM+ Catalog was modified5889An object was deleted from the COM+ Catalog5890An object was added to the COM+ Catalog
Account Management 65
4720A user account was created4722A user account was enabled4723An attempt was made to change an account's password4724An attempt was made to reset an account's password4725A user account was disabled4726A user account was deleted4727A security-enabled global group was created4728A member was added to a security-enabled global group4729A member was removed from a security-enabled global group4730A security-enabled global group was deleted4731A security-enabled local group was created4732A member was added to a security-enabled local group4733A member was removed from a security-enabled local group4734A security-enabled local group was deleted4735A security-enabled local group was changed4737A security-enabled global group was changed4738A user account was changed4740A user account was locked out4741A computer account was created4742A computer account was changed4743A computer account was deleted4744A security-disabled local group was created4745A security-disabled local group was changed4746A member was added to a security-disabled local group4747A member was removed from a security-disabled local group4748A security-disabled local group was deleted4749A security-disabled global group was created4750A security-disabled global group was changed4751A member was added to a security-disabled global group4752A member was removed from a security-disabled global group4753A security-disabled global group was deleted4754A security-enabled universal group was created4755A security-enabled universal group was changed4756A member was added to a security-enabled universal group4757A member was removed from a security-enabled universal group4758A security-enabled universal group was deleted4759A security-disabled universal group was created4760A security-disabled universal group was changed4761A member was added to a security-disabled universal group4762A member was removed from a security-disabled universal group4763A security-disabled universal group was deleted4764A group’s type was changed4765SID History was added to an account4766An attempt to add SID History to an account failed4767A user account was unlocked4780The ACL was set on accounts which are members of administrators groups4781The name of an account was changed4782The password hash an account was accessed4783A basic application group was created4784A basic application group was changed4785A member was added to a basic application group4786A member was removed from a basic application group4787A non-member was added to a basic application group4788A non-member was removed from a basic application group4789A basic application group was deleted4790An LDAP query group was created4791An LDAP query group was changed4792An LDAP query group was deleted4793The Password Policy Checking API was called4794An attempt was made to set the Directory Services Restore Mode administrator password4797An attempt was made to query the existence of a blank password for an account4798A user's local group membership was enumerated4799A security-enabled local group membership was enumerated5376Credential Manager credentials were backed up5377Credential Manager credentials were restored from a backup
Authentication 62
4624An account was successfully logged on4625An account failed to log on4626User/Device claims information4627Group membership information4634An account was logged off4646IKE DoS prevention mode started4647User initiated logoff4648A logon was attempted using explicit credentials4649A replay attack was detected4650An IPsec Main Mode security association was established (No Certificate)4651An IPsec Main Mode security association was established (Certificate)4652An IPsec Main Mode negotiation failed4653An IPsec Main Mode negotiation failed4654An IPsec Quick Mode negotiation failed4655An IPsec Main Mode security association ended4675SIDs were filtered4768A Kerberos authentication ticket (TGT) was requested4769A Kerberos service ticket was requested4770A Kerberos service ticket was renewed4771Kerberos pre-authentication failed4772A Kerberos authentication ticket request failed4773A Kerberos service ticket request failed4774An account was mapped for logon4775An account could not be mapped for logon4776The domain controller attempted to validate the credentials for an account4777The domain controller failed to validate the credentials for an account4778A session was reconnected to a Window Station4779A session was disconnected from a Window Station4800The workstation was locked4801The workstation was unlocked4802The screen saver was invoked4803The screen saver was dismissed4820A Kerberos TGT was denied because the device does not meet access control restrictions4821A Kerberos service ticket was denied because access control restrictions were not met4822NTLM authentication failed because the account was a member of the Protected User group4823NTLM authentication failed because access control restrictions are required4824Kerberos preauthentication using DES or RC4 failed (Protected User)4825A user was denied access to Remote Desktop4964Special groups have been assigned to a new logon4976IPsec received an invalid Main Mode negotiation packet4977IPsec received an invalid Quick Mode negotiation packet4978IPsec received an invalid Extended Mode negotiation packet4979IPsec Main Mode and Extended Mode SAs were established (User)4980IPsec Main Mode and Extended Mode SAs were established (Computer)4981IPsec Main Mode and Extended Mode SAs were established (Anonymous)4982IPsec Main Mode and Extended Mode SAs were established (No Impersonation)4983An IPsec Extended Mode negotiation failed (User)4984An IPsec Extended Mode negotiation failed (Computer)5049An IPsec Security Association was deleted5378The requested credentials delegation was disallowed by policy5451An IPsec Quick Mode security association was established5452An IPsec Quick Mode security association ended5453An IPsec negotiation failed because IKEEXT service stopped5632A request was made to authenticate to a wireless network5633A request was made to authenticate to a wired network8001NTLM authentication failed because the SuppressDomainCredentialForwarding registry key was set8002NTLM server blocked NTLM pass-through authentication8003NTLM authentication failed because the NTLM policy audit-only8004NTLM authentication failed because NTLM was blocked in the domain8005NTLM authentication used because the SuppressDomainCredentialForwarding registry key was not set8006NTLM pass-through authentication was not blocked by the NTLM server8007NTLM authentication used because the NTLM policy audit-only
DS Access 17
4662An operation was performed on an object4928An Active Directory replica source naming context was established4929An Active Directory replica source naming context was removed4930An Active Directory replica source naming context was modified4931An Active Directory replica destination naming context was modified4932Synchronization of a replica of an Active Directory naming context has begun4933Synchronization of a replica of an Active Directory naming context has ended4934Attributes of an Active Directory object were replicated4935Replication failure begins4936Replication failure ends4937A lingering object was removed from a replica5136A directory service object was modified5137A directory service object was created5138A directory service object was undeleted5139A directory service object was moved5141A directory service object was deleted5169A directory service object was modified (Win10+)
Network Activity 11
5031Windows Firewall blocked an application from accepting incoming connections5150The Windows Filtering Platform has blocked a packet5151A more restrictive Windows Filtering Platform filter has blocked a packet5152The Windows Filtering Platform blocked a packet5153A more restrictive Windows Filtering Platform filter has blocked a packet5154The Windows Filtering Platform has permitted an application to listen on a port5155The Windows Filtering Platform has blocked an application from listening on a port5156The Windows Filtering Platform has allowed a connection5157The Windows Filtering Platform has blocked a connection5158The Windows Filtering Platform has permitted a bind to a local port5159The Windows Filtering Platform has blocked a bind to a local port
Network Policy Server 9
6272Network Policy Server granted access to a user6273Network Policy Server denied access to a user6274Network Policy Server discarded the request for a user6275Network Policy Server discarded the accounting request for a user6276Network Policy Server quarantined a user6277Network Policy Server granted probation access to a user6278Network Policy Server granted full access to a user6279Network Policy Server locked the user account6280Network Policy Server unlocked the user account
Detailed Tracking 7
4689A process has exited4692Backup of data protection master key was attempted4693Recovery of data protection master key was attempted4694Protection of auditable protected data was attempted4695Unprotection of auditable protected data was attempted4696A primary token was assigned to process5712A Remote Procedure Call (RPC) was attempted
System Change 7
Process Execution 4
Privilege Use 3
Event Viewer path
Windows Logs > Security
Turn it on, make it bigger
- Most subcategories are off by default. Configure Advanced Audit Policy under Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration.
- Turn on 'Audit: Force audit policy subcategory settings' so Advanced Audit Policy overrides the legacy categories.
- Raise the maximum size, for example: wevtutil sl Security /ms:1073741824 (1 GB).
Collect this log
wevtutil epl "Security" "C:\IR\Security.evtx"Which of these do you actually have?
Paste auditpol output and see which events and detections you are missing.