{"name":"Windows detection event IDs by Active Directory attack technique","source":"https://adscan.eu/windows-event-ids-active-directory","license":"https://creativecommons.org/licenses/by/4.0/","lastModified":"2026-10-09","figures":{"techniques":108,"executed":69,"categories":15,"withEvent":105,"withoutEvent":3,"events":38,"securityEvents":31,"otherEvents":7,"serverOnly":15},"subcategories":[{"name":"Audit Logon","category":"Logon/Logoff","events":["4624","4625","4648"],"def":"Windows Server default: Success and Failure","extra":null,"caveat":"4625 also travels through Audit Account Lockout."},{"name":"Audit Special Logon","category":"Logon/Logoff","events":["4672"],"def":"Success yes, Failure no","extra":null},{"name":"Audit Other Logon/Logoff Events","category":"Logon/Logoff","events":["4778"],"def":"Microsoft does not document it","extra":null},{"name":"Audit Process Creation","category":"Detailed Tracking","events":["4688"],"def":"Not configured","blind":true,"extra":"To see the command line, also the policy Administrative Templates > System > Audit Process Creation > Include command line in process creation events.","caveat":"Without that second policy the field arrives empty."},{"name":"Audit Other Object Access Events","category":"Object Access","events":["4698"],"def":"Microsoft does not document it","extra":null},{"name":"Audit User Account Management","category":"Account Management","events":["4720","4722","4723","4724"],"def":"Success yes, Failure no","extra":null,"caveat":"4723 and 4724 do record failure; 4720 and 4722 only success."},{"name":"Audit Security Group Management","category":"Account Management","events":["4728","4732","4756"],"def":"Microsoft does not document it","extra":null,"caveat":"It has no failure events: a denied attempt leaves nothing. 4728 and 4756 are only generated for domain groups."},{"name":"Audit Computer Account Management","category":"Account Management","events":["4741","4742"],"def":"Microsoft does not document it","extra":null,"caveat":"Only generated on domain controllers."},{"name":"Audit Kerberos Authentication Service","category":"Account Logon","events":["4768","4771"],"def":"Server SKU: Success","extra":null,"caveat":"Domain controllers only. 4771 is not generated for an account flagged \"Do not require Kerberos preauthentication\"."},{"name":"Audit Kerberos Service Ticket Operations","category":"Account Logon","events":["4769"],"def":"Not configured","blind":true,"extra":"Domain controllers only. Some failures surface only with HKLM\\SYSTEM\\CurrentControlSet\\Services\\Kdc → KdcExtraLogLevel (REG_DWORD, default 2): bit 0x01 audits unknown SPNs and 0x10 audits encryption-type and option errors, both as failure-audit 4769.","caveat":"The bits combine, and Microsoft never publishes the combined value."},{"name":"Audit Directory Service Access","category":"DS Access","events":["4662"],"def":"Server SKU: Success","extra":"An audit entry (SACL) on the Active Directory object.","caveat":"Microsoft: \"this event generates only if the appropriate SACL was set on the object and the performed operation matches that SACL\"."},{"name":"Audit Directory Service Changes","category":"DS Access","events":["5136","5137","5138"],"def":"No Auditing","blind":true,"extra":"A SACL on the object: writes on the specific attributes for 5136, creating or restoring child objects for 5137 and 5138.","caveat":"Some classes and properties generate no event at all, by how the schema defines them."},{"name":"Audit File System · Audit Registry","category":"Object Access","events":["4656","4663"],"def":"Microsoft does not document it","extra":"A SACL on the file, folder or key.","caveat":"4656 records that a handle was requested; 4663 that the right was used, and it has no failure events."},{"name":"Audit Registry","category":"Object Access","events":["4657"],"def":"Microsoft does not document it","extra":"A SACL auditing \"Set Value\" on the key.","caveat":"It only fires when a value changes, not when the key is modified."},{"name":"Audit File Share","category":"Object Access","events":["5140"],"def":"Microsoft does not document it","extra":"No SACL is possible: turning it on audits every share.","caveat":"One event per session, on first access."},{"name":"Audit Detailed File Share","category":"Object Access","events":["5145"],"def":"Microsoft does not document it","extra":"No SACL is possible: it audits access to every shared file and folder.","caveat":"Microsoft recommends not auditing success on domain controllers, because of SYSVOL volume."},{"name":"Audit Certification Services","category":"Object Access","events":["4882","4886","4887"],"def":"Microsoft does not document it","extra":"Two gates, and the second is the one almost nobody has open: the certification authority's own audit filter."}],"events":[{"id":"150","log":"DNS Server","gate":"Nothing extra documented. The only official control is the DNS server log level (Set-DnsServerDiagnostics -EventLogLevel).","secondGate":false,"techniques":[{"category":"Privilege escalation","name":"DnsAdmins Abuse"}]},{"id":"316","log":"Print Service","gate":"Not verified whether the operational channel is disabled by default.","secondGate":false,"unverified":"The meaning is: source Microsoft-Windows-PrintSpooler, \"printer driver was added or updated\". Microsoft classes it as a normal condition. The specific channel is not in official documentation.","techniques":[{"category":"Privilege escalation","name":"Print Operators Abuse"},{"category":"Known CVEs","name":"PrintNightmare"}]},{"id":"770","log":"DNS Server","gate":"Not verified.","secondGate":false,"unverified":"No Microsoft page. They do not appear in the DNS server configuration event table. The only things tying them here are third-party rules.","techniques":[{"category":"Privilege escalation","name":"DnsAdmins Abuse"}]},{"id":"771","log":"DNS Server","gate":"Not verified.","secondGate":false,"unverified":"No Microsoft page. They do not appear in the DNS server configuration event table. The only things tying them here are third-party rules.","techniques":[{"category":"Privilege escalation","name":"DnsAdmins Abuse"}]},{"id":"4624","log":"Windows Security log","gate":"Audit Logon","secondGate":false,"subcategory":{"name":"Audit Logon","slug":"audit-logon"},"techniques":[{"category":"AD CS, Certificate Services","name":"Certighost (AD CS Chase-Fallback DC Impersonation)"},{"category":"Credential access","name":"Domain Password Reuse, Local-to-Domain Credential Reuse"},{"category":"Credential access","name":"DPAPI Secret Extraction"},{"category":"Credential access","name":"RODC krbtgt Secret Extraction"},{"category":"Credential access","name":"MSSQL NetNTLMv2 Theft"},{"category":"Credential access","name":"LLMNR/NBT-NS Poisoning and NetNTLMv2 Recovery"},{"category":"Credential access","name":"Readable Share"},{"category":"Lateral movement","name":"Local Admin Rights"},{"category":"Lateral movement","name":"PowerShell Remoting Access"},{"category":"Lateral movement","name":"RDP Access"},{"category":"Lateral movement","name":"DCOM Execution"},{"category":"Lateral movement","name":"Guest Session"},{"category":"Lateral movement","name":"Local Admin Password Reuse, MSSQL Linked Server Lateral Movement"},{"category":"Lateral movement","name":"MSSQL Access, MSSQL Sysadmin"},{"category":"Privilege escalation","name":"Backup Operators Escalation"},{"category":"Privilege escalation","name":"Privileged Session Abuse"},{"category":"Privilege escalation","name":"Scheduled Task Execution"},{"category":"Initial access","name":"Blank Password, Pre-Windows 2000 Computer Account, Password Spraying, Username as Password"},{"category":"Initial access","name":"Group Policy Preferences Password"},{"category":"Initial access","name":"Credentials in User Description"},{"category":"Authentication coercion","name":"DFSCoerce, MS-EVEN Coercion (EventLog Remoting), PetitPotam, PrinterBug (MS-RPRN)"},{"category":"NTLM weaknesses","name":"NetNTLMv1 Enabled"}]},{"id":"4625","log":"Windows Security log","gate":"Audit Logon","secondGate":false,"subcategory":{"name":"Audit Logon","slug":"audit-logon"},"techniques":[{"category":"Credential access","name":"DPAPI Secret Extraction"},{"category":"Credential access","name":"Readable Share"},{"category":"Initial access","name":"Blank Password, Pre-Windows 2000 Computer Account, Password Spraying, Username as Password"},{"category":"Initial access","name":"Group Policy Preferences Password"},{"category":"Initial access","name":"Credentials in User Description"}]},{"id":"4648","log":"Windows Security log","gate":"Audit Logon","secondGate":false,"subcategory":{"name":"Audit Logon","slug":"audit-logon"},"techniques":[{"category":"Credential access","name":"Domain Password Reuse, Local-to-Domain Credential Reuse"},{"category":"Credential access","name":"MSSQL NetNTLMv2 Theft"},{"category":"Credential access","name":"LLMNR/NBT-NS Poisoning and NetNTLMv2 Recovery"},{"category":"Lateral movement","name":"Local Admin Rights"},{"category":"Lateral movement","name":"Local Admin Password Reuse, MSSQL Linked Server Lateral Movement"}]},{"id":"4656","log":"Windows Security log","gate":"A SACL on the file, folder or key.","secondGate":true,"subcategory":{"name":"Audit File System · Audit Registry","slug":"audit-file-system-audit-registry"},"techniques":[{"category":"AD CS, Certificate Services","name":"AD CS ESC12"},{"category":"Credential access","name":"LSA Secrets Extraction, SAM Database Extraction"},{"category":"Credential access","name":"LSASS Credential Extraction"},{"category":"Credential access","name":"RODC krbtgt Secret Extraction"},{"category":"Privilege escalation","name":"Backup Operators Escalation"},{"category":"Initial access","name":"Password in File"}]},{"id":"4657","log":"Windows Security log","gate":"A SACL auditing \"Set Value\" on the key.","secondGate":true,"subcategory":{"name":"Audit Registry","slug":"audit-registry"},"techniques":[{"category":"Privilege escalation","name":"DnsAdmins Abuse"}]},{"id":"4662","log":"Windows Security log","gate":"An audit entry (SACL) on the Active Directory object.","secondGate":true,"subcategory":{"name":"Audit Directory Service Access","slug":"audit-directory-service-access"},"techniques":[{"category":"AD CS, Certificate Services","name":"Certighost (AD CS Chase-Fallback DC Impersonation)"},{"category":"ACL and ACE abuse","name":"All Extended Rights"},{"category":"ACL and ACE abuse","name":"GenericAll"},{"category":"ACL and ACE abuse","name":"RODC Password Replication Policy Control"},{"category":"ACL and ACE abuse","name":"Object Ownership"},{"category":"ACL and ACE abuse","name":"Read gMSA Password, Read LAPS Password, Sync LAPS Password"},{"category":"ACL and ACE abuse","name":"Write Account Restrictions"},{"category":"Credential access","name":"DCSync, DS-Replication-Get-Changes, DS-Replication-Get-Changes-All, DS-Replication-Get-Changes-In-Filtered-Set"},{"category":"Credential access","name":"DPAPI Secret Extraction"},{"category":"Privilege escalation","name":"RODC Credential Caching"},{"category":"Initial access","name":"Credentials in User Description"}]},{"id":"4663","log":"Windows Security log","gate":"A SACL on the file, folder or key.","secondGate":true,"subcategory":{"name":"Audit File System · Audit Registry","slug":"audit-file-system-audit-registry"},"techniques":[{"category":"AD CS, Certificate Services","name":"AD CS ESC12"},{"category":"AD CS, Certificate Services","name":"AD CS ESC5: Vulnerable PKI Object Access Control"},{"category":"Credential access","name":"DPAPI Secret Extraction"},{"category":"Credential access","name":"LSA Secrets Extraction, SAM Database Extraction"},{"category":"Credential access","name":"LSASS Credential Extraction"},{"category":"Credential access","name":"RODC krbtgt Secret Extraction"},{"category":"Lateral movement","name":"Local Admin Rights"},{"category":"Lateral movement","name":"PowerShell Remoting Access"},{"category":"Privilege escalation","name":"Backup Operators Escalation"},{"category":"Privilege escalation","name":"Scheduled Task Execution"},{"category":"Initial access","name":"Password in File"},{"category":"Collection","name":"MSSQL OPENROWSET Bulk Read"}]},{"id":"4672","log":"Windows Security log","gate":"Audit Special Logon","secondGate":false,"subcategory":{"name":"Audit Special Logon","slug":"audit-special-logon"},"techniques":[{"category":"Lateral movement","name":"Local Admin Rights"},{"category":"Privilege escalation","name":"Privileged Session Abuse"},{"category":"Privilege escalation","name":"Print Operators Abuse"},{"category":"Privilege escalation","name":"Privileged Group Control"},{"category":"Privilege escalation","name":"Scheduled Task Execution"}]},{"id":"4688","log":"Windows Security log","gate":"To see the command line, also the policy Administrative Templates > System > Audit Process Creation > Include command line in process creation events.","secondGate":true,"subcategory":{"name":"Audit Process Creation","slug":"audit-process-creation"},"techniques":[{"category":"Credential access","name":"LSA Secrets Extraction, SAM Database Extraction"},{"category":"Lateral movement","name":"DCOM Execution"},{"category":"Privilege escalation","name":"MSSQL SeImpersonate Escalation"},{"category":"Privilege escalation","name":"MSSQL Token Theft Escalation"},{"category":"Execution","name":"xp_cmdshell Execution"}]},{"id":"4698","log":"Windows Security log","gate":"Audit Other Object Access Events","secondGate":false,"subcategory":{"name":"Audit Other Object Access Events","slug":"audit-other-object-access-events"},"techniques":[{"category":"Privilege escalation","name":"Scheduled Task Execution"}]},{"id":"4720","log":"Windows Security log","gate":"Audit User Account Management","secondGate":false,"subcategory":{"name":"Audit User Account Management","slug":"audit-user-account-management"},"techniques":[{"category":"Lateral movement","name":"MSSQL Access, MSSQL Sysadmin"},{"category":"Privilege escalation","name":"MSSQL SeImpersonate Escalation"},{"category":"Privilege escalation","name":"Scheduled Task Execution"}]},{"id":"4722","log":"Windows Security log","gate":"Audit User Account Management","secondGate":false,"subcategory":{"name":"Audit User Account Management","slug":"audit-user-account-management"},"techniques":[{"category":"ACL and ACE abuse","name":"GenericAll"},{"category":"ACL and ACE abuse","name":"GenericWrite"},{"category":"ACL and ACE abuse","name":"Object Ownership"},{"category":"ACL and ACE abuse","name":"Write Account Restrictions"}]},{"id":"4723","log":"Windows Security log","gate":"Audit User Account Management","secondGate":false,"subcategory":{"name":"Audit User Account Management","slug":"audit-user-account-management"},"techniques":[{"category":"ACL and ACE abuse","name":"All Extended Rights"},{"category":"ACL and ACE abuse","name":"Force Change Password"},{"category":"ACL and ACE abuse","name":"GenericAll"},{"category":"ACL and ACE abuse","name":"Write Logon Script"}]},{"id":"4724","log":"Windows Security log","gate":"Audit User Account Management","secondGate":false,"subcategory":{"name":"Audit User Account Management","slug":"audit-user-account-management"},"techniques":[{"category":"ACL and ACE abuse","name":"All Extended Rights"},{"category":"ACL and ACE abuse","name":"Force Change Password"},{"category":"ACL and ACE abuse","name":"GenericAll"},{"category":"ACL and ACE abuse","name":"Write Logon Script"}]},{"id":"4728","log":"Windows Security log","gate":"Audit Security Group Management","secondGate":false,"subcategory":{"name":"Audit Security Group Management","slug":"audit-security-group-management"},"techniques":[{"category":"ACL and ACE abuse","name":"Add Member to Group, Add Self to Group"},{"category":"Lateral movement","name":"MSSQL Access, MSSQL Sysadmin"},{"category":"Privilege escalation","name":"MSSQL SeImpersonate Escalation"},{"category":"Privilege escalation","name":"Privileged Group Control"},{"category":"Privilege escalation","name":"Scheduled Task Execution"}]},{"id":"4732","log":"Windows Security log","gate":"Audit Security Group Management","secondGate":false,"subcategory":{"name":"Audit Security Group Management","slug":"audit-security-group-management"},"techniques":[{"category":"ACL and ACE abuse","name":"Add Member to Group, Add Self to Group"},{"category":"Lateral movement","name":"MSSQL Access, MSSQL Sysadmin"},{"category":"Privilege escalation","name":"MSSQL SeImpersonate Escalation"},{"category":"Privilege escalation","name":"Privileged Group Control"}]},{"id":"4741","log":"Windows Security log","gate":"Audit Computer Account Management","secondGate":false,"subcategory":{"name":"Audit Computer Account Management","slug":"audit-computer-account-management"},"techniques":[{"category":"AD CS, Certificate Services","name":"AD CS ESC14"},{"category":"AD CS, Certificate Services","name":"Certighost (AD CS Chase-Fallback DC Impersonation)"},{"category":"ACL and ACE abuse","name":"GenericAll"},{"category":"ACL and ACE abuse","name":"GenericWrite"},{"category":"ACL and ACE abuse","name":"Object Ownership"},{"category":"ACL and ACE abuse","name":"Write Account Restrictions"},{"category":"Known CVEs","name":"noPac (CVE-2021-42278/42287)"},{"category":"NTLM relay","name":"NetNTLMv1 Relay to RBCD"}]},{"id":"4742","log":"Windows Security log","gate":"Audit Computer Account Management","secondGate":false,"subcategory":{"name":"Audit Computer Account Management","slug":"audit-computer-account-management"},"techniques":[{"category":"Known CVEs","name":"noPac (CVE-2021-42278/42287)"},{"category":"Known CVEs","name":"Zerologon (CVE-2020-1472)"}]},{"id":"4756","log":"Windows Security log","gate":"Audit Security Group Management","secondGate":false,"subcategory":{"name":"Audit Security Group Management","slug":"audit-security-group-management"},"techniques":[{"category":"ACL and ACE abuse","name":"Add Member to Group, Add Self to Group"},{"category":"Lateral movement","name":"MSSQL Access, MSSQL Sysadmin"},{"category":"Privilege escalation","name":"MSSQL SeImpersonate Escalation"},{"category":"Privilege escalation","name":"Privileged Group Control"}]},{"id":"4768","log":"Windows Security log","gate":"Audit Kerberos Authentication Service","secondGate":false,"subcategory":{"name":"Audit Kerberos Authentication Service","slug":"audit-kerberos-authentication-service"},"techniques":[{"category":"AD CS, Certificate Services","name":"Certighost (AD CS Chase-Fallback DC Impersonation)"},{"category":"AD CS, Certificate Services","name":"Coerce and Relay NTLM to AD CS (ESC8)"},{"category":"Credential access","name":"Domain Password Reuse, Local-to-Domain Credential Reuse"},{"category":"Credential access","name":"DPAPI Secret Extraction"},{"category":"Credential access","name":"Shadow Credentials Present"},{"category":"Credential access","name":"Readable Share"},{"category":"Initial access","name":"Blank Password, Pre-Windows 2000 Computer Account, Password Spraying, Username as Password"},{"category":"Initial access","name":"Group Policy Preferences Password"},{"category":"Initial access","name":"Credentials in User Description"},{"category":"Known CVEs","name":"noPac (CVE-2021-42278/42287)"},{"category":"Delegation abuse","name":"Unconstrained Delegation"},{"category":"Kerberos","name":"AS-REP Roasting"},{"category":"Kerberos","name":"RODC Golden Ticket"},{"category":"NTLM relay","name":"NetNTLMv1 Offline Recovery"},{"category":"NTLM relay","name":"NetNTLMv1 Relay to RBCD"},{"category":"NTLM relay","name":"NetNTLMv1 Relay to Shadow Credentials"},{"category":"Trust abuse","name":"Cross-Forest TGT Delegation"},{"category":"Trust abuse","name":"Child-to-Forest-Root Escalation"}]},{"id":"4769","log":"Windows Security log","gate":"Domain controllers only. Some failures surface only with HKLM\\SYSTEM\\CurrentControlSet\\Services\\Kdc → KdcExtraLogLevel (REG_DWORD, default 2): bit 0x01 audits unknown SPNs and 0x10 audits encryption-type and option errors, both as failure-audit 4769.","secondGate":true,"subcategory":{"name":"Audit Kerberos Service Ticket Operations","slug":"audit-kerberos-service-ticket-operations"},"techniques":[{"category":"AD CS, Certificate Services","name":"Certighost (AD CS Chase-Fallback DC Impersonation)"},{"category":"Credential access","name":"Domain Password Reuse, Local-to-Domain Credential Reuse"},{"category":"Known CVEs","name":"noPac (CVE-2021-42278/42287)"},{"category":"Delegation abuse","name":"Resource-Based Constrained Delegation (inbound), Constrained Delegation"},{"category":"Delegation abuse","name":"SPN-Jacking"},{"category":"Delegation abuse","name":"Unconstrained Delegation"},{"category":"Kerberos","name":"RODC Golden Ticket"},{"category":"Kerberos","name":"Kerberoasting, Kerberos Key List (RODC)"},{"category":"NTLM relay","name":"NetNTLMv1 Offline Recovery"},{"category":"NTLM relay","name":"NetNTLMv1 Relay to RBCD"},{"category":"NTLM relay","name":"NetNTLMv1 Relay to Shadow Credentials"},{"category":"Trust abuse","name":"Cross-Forest TGT Delegation"},{"category":"Trust abuse","name":"Child-to-Forest-Root Escalation"}]},{"id":"4771","log":"Windows Security log","gate":"Audit Kerberos Authentication Service","secondGate":false,"subcategory":{"name":"Audit Kerberos Authentication Service","slug":"audit-kerberos-authentication-service"},"techniques":[{"category":"Credential access","name":"DPAPI Secret Extraction"},{"category":"Credential access","name":"Readable Share"},{"category":"Initial access","name":"Blank Password, Pre-Windows 2000 Computer Account, Password Spraying, Username as Password"},{"category":"Initial access","name":"Group Policy Preferences Password"},{"category":"Initial access","name":"Credentials in User Description"}]},{"id":"4778","log":"Windows Security log","gate":"Audit Other Logon/Logoff Events","secondGate":false,"subcategory":{"name":"Audit Other Logon/Logoff Events","slug":"audit-other-logon-logoff-events"},"techniques":[{"category":"Lateral movement","name":"RDP Access"}]},{"id":"4882","log":"Windows Security log","gate":"Two gates, and the second is the one almost nobody has open: the certification authority's own audit filter.","secondGate":true,"subcategory":{"name":"Audit Certification Services","slug":"audit-certification-services"},"techniques":[{"category":"AD CS, Certificate Services","name":"AD CS ESC7"}]},{"id":"4886","log":"Windows Security log","gate":"Two gates, and the second is the one almost nobody has open: the certification authority's own audit filter.","secondGate":true,"subcategory":{"name":"Audit Certification Services","slug":"audit-certification-services"},"techniques":[{"category":"AD CS, Certificate Services","name":"AD CS ESC1, AD CS ESC10, AD CS ESC11, AD CS ESC13, AD CS ESC16, AD CS ESC17, AD CS ESC2, AD CS ESC3, AD CS ESC6, AD CS ESC8"},{"category":"AD CS, Certificate Services","name":"AD CS ESC12"},{"category":"AD CS, Certificate Services","name":"AD CS ESC14"},{"category":"AD CS, Certificate Services","name":"AD CS ESC15, AD CS ESC4, AD CS ESC9"},{"category":"AD CS, Certificate Services","name":"AD CS ESC7"},{"category":"AD CS, Certificate Services","name":"Certighost (AD CS Chase-Fallback DC Impersonation)"},{"category":"AD CS, Certificate Services","name":"Coerce and Relay NTLM to AD CS (ESC8)"}]},{"id":"4887","log":"Windows Security log","gate":"Two gates, and the second is the one almost nobody has open: the certification authority's own audit filter.","secondGate":true,"subcategory":{"name":"Audit Certification Services","slug":"audit-certification-services"},"techniques":[{"category":"AD CS, Certificate Services","name":"AD CS ESC1, AD CS ESC10, AD CS ESC11, AD CS ESC13, AD CS ESC16, AD CS ESC17, AD CS ESC2, AD CS ESC3, AD CS ESC6, AD CS ESC8"},{"category":"AD CS, Certificate Services","name":"AD CS ESC12"},{"category":"AD CS, Certificate Services","name":"AD CS ESC14"},{"category":"AD CS, Certificate Services","name":"AD CS ESC15, AD CS ESC4, AD CS ESC9"},{"category":"AD CS, Certificate Services","name":"AD CS ESC7"},{"category":"AD CS, Certificate Services","name":"Certighost (AD CS Chase-Fallback DC Impersonation)"},{"category":"AD CS, Certificate Services","name":"Coerce and Relay NTLM to AD CS (ESC8)"}]},{"id":"5136","log":"Windows Security log","gate":"A SACL on the object: writes on the specific attributes for 5136, creating or restoring child objects for 5137 and 5138.","secondGate":true,"subcategory":{"name":"Audit Directory Service Changes","slug":"audit-directory-service-changes"},"techniques":[{"category":"AD CS, Certificate Services","name":"AD CS ESC14"},{"category":"AD CS, Certificate Services","name":"AD CS ESC15, AD CS ESC4, AD CS ESC9"},{"category":"AD CS, Certificate Services","name":"AD CS ESC7"},{"category":"ACL and ACE abuse","name":"Shadow Credentials (Key Credential Link), WriteDACL, WriteOwner, Write SPN"},{"category":"ACL and ACE abuse","name":"GenericAll"},{"category":"ACL and ACE abuse","name":"GenericWrite"},{"category":"ACL and ACE abuse","name":"RODC Password Replication Policy Control"},{"category":"ACL and ACE abuse","name":"Object Ownership"},{"category":"ACL and ACE abuse","name":"Write Account Restrictions"},{"category":"ACL and ACE abuse","name":"Write Logon Script"},{"category":"Privilege escalation","name":"RODC Credential Caching"},{"category":"Delegation abuse","name":"SPN-Jacking"},{"category":"NTLM relay","name":"NetNTLMv1 Relay to RBCD"},{"category":"NTLM relay","name":"NetNTLMv1 Relay to Shadow Credentials"},{"category":"Trust abuse","name":"Cross-Forest TGT Delegation"}]},{"id":"5137","log":"Windows Security log","gate":"A SACL on the object: writes on the specific attributes for 5136, creating or restoring child objects for 5137 and 5138.","secondGate":true,"subcategory":{"name":"Audit Directory Service Changes","slug":"audit-directory-service-changes"},"techniques":[{"category":"Trust abuse","name":"Cross-Forest TGT Delegation"}]},{"id":"5138","log":"Windows Security log","gate":"A SACL on the object: writes on the specific attributes for 5136, creating or restoring child objects for 5137 and 5138.","secondGate":true,"subcategory":{"name":"Audit Directory Service Changes","slug":"audit-directory-service-changes"},"techniques":[{"category":"ACL and ACE abuse","name":"GenericAll"},{"category":"ACL and ACE abuse","name":"GenericWrite"},{"category":"ACL and ACE abuse","name":"Write Account Restrictions"}]},{"id":"5140","log":"Windows Security log","gate":"No SACL is possible: turning it on audits every share.","secondGate":true,"subcategory":{"name":"Audit File Share","slug":"audit-file-share"},"techniques":[{"category":"Credential access","name":"Readable Share"},{"category":"Lateral movement","name":"Full Control Share"},{"category":"Lateral movement","name":"Guest Session"},{"category":"Initial access","name":"Group Policy Preferences Password"},{"category":"Initial access","name":"Password in Share"}]},{"id":"5145","log":"Windows Security log","gate":"No SACL is possible: it audits access to every shared file and folder.","secondGate":true,"subcategory":{"name":"Audit Detailed File Share","slug":"audit-detailed-file-share"},"techniques":[{"category":"AD CS, Certificate Services","name":"AD CS ESC12"},{"category":"ACL and ACE abuse","name":"Write Logon Script"},{"category":"ACL and ACE abuse","name":"Writable SMB Path"},{"category":"Credential access","name":"DPAPI Secret Extraction"},{"category":"Credential access","name":"LSASS Credential Extraction"},{"category":"Credential access","name":"RODC krbtgt Secret Extraction"},{"category":"Credential access","name":"MSSQL NetNTLMv2 Theft"},{"category":"Lateral movement","name":"Local Admin Rights"},{"category":"Lateral movement","name":"PowerShell Remoting Access"},{"category":"Lateral movement","name":"Full Control Share"},{"category":"Lateral movement","name":"Writable Share"},{"category":"Privilege escalation","name":"MSSQL Token Theft Escalation"},{"category":"Initial access","name":"Group Policy Preferences Password"},{"category":"Initial access","name":"Password in File"},{"category":"Initial access","name":"Password in Share"},{"category":"Authentication coercion","name":"DFSCoerce, MS-EVEN Coercion (EventLog Remoting), PetitPotam, PrinterBug (MS-RPRN)"}]},{"id":"7045","log":"System","gate":"Nothing documented.","secondGate":false,"unverified":"No Microsoft page for 7045. Its Security-log equivalent, 4697 (\"attempt was made to install a service\"), is documented and does depend on a subcategory, Audit Security System Extension. If you want this signal with a verifiable precondition, use 4697.","techniques":[{"category":"AD CS, Certificate Services","name":"AD CS ESC5: Vulnerable PKI Object Access Control"}]},{"id":"15457","log":"SQL Server error log, mirrored to Application","gate":"Not verified.","secondGate":false,"unverified":"The mechanism is documented: SQL Server writes to its error log and to the Windows Application log, source MSSQLSERVER. The ID 15457 and its text do not appear in documentation.","techniques":[{"category":"Lateral movement","name":"MSSQL Access, MSSQL Sysadmin"},{"category":"Privilege escalation","name":"MSSQL SeImpersonate Escalation"},{"category":"Execution","name":"xp_cmdshell Execution"}]},{"id":"33205","log":"SQL Server Audit","gate":"Yes, and quite a lot: create a server audit object and an audit specification (which is born disabled), then enable it with ALTER SERVER AUDIT ... WITH (STATE = ON).","secondGate":false,"unverified":"The mechanism is verified. The ID 33205 appears only in community content, not in documentation.","techniques":[{"category":"Privilege escalation","name":"MSSQL Login Impersonation, MSSQL TRUSTWORTHY Database Escalation"},{"category":"Privilege escalation","name":"MSSQL SeImpersonate Escalation"},{"category":"Privilege escalation","name":"MSSQL Token Theft Escalation"}]}],"techniques":[{"category":"AD CS, Certificate Services","key":"adcs","count":19,"rows":[{"name":"AD CS ESC1, AD CS ESC10, AD CS ESC11, AD CS ESC13, AD CS ESC16, AD CS ESC17, AD CS ESC2, AD CS ESC3, AD CS ESC6, AD CS ESC8","relations":["adcsesc1","adcsesc10","adcsesc11","adcsesc13","adcsesc16","adcsesc17","adcsesc2","adcsesc3","adcsesc6","adcsesc8"],"events":["4886","4887"],"needs":["Certification Services + CA audit filter"]},{"name":"AD CS ESC12","relations":["adcsesc12"],"events":["4656","4663","4886","4887","5145"],"needs":["File System or Registry + SACL","Certification Services + CA audit filter","Detailed File Share"],"sacl":true},{"name":"AD CS ESC14","relations":["adcsesc14"],"events":["4741","4886","4887","5136"],"needs":["Computer Account Management","Certification Services + CA audit filter","Directory Service Changes + write SACL"],"sacl":true},{"name":"AD CS ESC15, AD CS ESC4, AD CS ESC9","relations":["adcsesc15","adcsesc4","adcsesc9"],"events":["4886","4887","5136"],"needs":["Certification Services + CA audit filter","Directory Service Changes + write SACL"],"sacl":true},{"name":"AD CS ESC5: Vulnerable PKI Object Access Control","relations":["adcsesc5"],"events":["4663","7045"],"needs":["File System or Registry + SACL","System log"],"sacl":true},{"name":"AD CS ESC7","relations":["adcsesc7"],"events":["4882","4886","4887","5136"],"needs":["Certification Services + CA audit filter","Directory Service Changes + write SACL"],"sacl":true},{"name":"Certighost (AD CS Chase-Fallback DC Impersonation)","relations":["certighost"],"events":["4624","4662","4741","4768","4769","4886","4887"],"needs":["Logon","Directory Service Access + SACL","Computer Account Management","Kerberos Authentication Service","Kerberos Service Ticket Operations","Certification Services + CA audit filter"],"sacl":true},{"name":"Coerce and Relay NTLM to AD CS (ESC8)","relations":["coerceandrelayntlmtoadcs"],"events":["4768","4886","4887"],"needs":["Kerberos Authentication Service","Certification Services + CA audit filter"]}]},{"category":"ACL and ACE abuse","key":"acl_ace","count":18,"rows":[{"name":"Shadow Credentials (Key Credential Link), WriteDACL, WriteOwner, Write SPN","relations":["addkeycredentiallink","writedacl","writeowner","writespn"],"events":["5136"],"needs":["Directory Service Changes + write SACL"],"sacl":true},{"name":"Add Member to Group, Add Self to Group","relations":["addmember","addself"],"events":["4728","4732","4756"],"needs":["Security Group Management"]},{"name":"All Extended Rights","relations":["allextendedrights"],"events":["4662","4723","4724"],"needs":["Directory Service Access + SACL","User Account Management"],"sacl":true},{"name":"Force Change Password","relations":["forcechangepassword"],"events":["4723","4724"],"needs":["User Account Management"]},{"name":"GenericAll","relations":["genericall"],"events":["4662","4722","4723","4724","4741","5136","5138"],"needs":["Directory Service Access + SACL","User Account Management","Computer Account Management","Directory Service Changes + write SACL","Directory Service Changes + create SACL"],"sacl":true},{"name":"GenericWrite","relations":["genericwrite"],"events":["4722","4741","5136","5138"],"needs":["User Account Management","Computer Account Management","Directory Service Changes + write SACL","Directory Service Changes + create SACL"],"sacl":true},{"name":"RODC Password Replication Policy Control","relations":["managerodcprp"],"events":["4662","5136"],"needs":["Directory Service Access + SACL","Directory Service Changes + write SACL"],"sacl":true},{"name":"Object Ownership","relations":["owns"],"events":["4662","4722","4741","5136"],"needs":["Directory Service Access + SACL","User Account Management","Computer Account Management","Directory Service Changes + write SACL"],"sacl":true},{"name":"Read gMSA Password, Read LAPS Password, Sync LAPS Password","relations":["readgmsapassword","readlapspassword","synclapspassword"],"events":["4662"],"needs":["Directory Service Access + SACL"],"sacl":true},{"name":"Write Account Restrictions","relations":["writeaccountrestrictions"],"events":["4662","4722","4741","5136","5138"],"needs":["Directory Service Access + SACL","User Account Management","Computer Account Management","Directory Service Changes + write SACL","Directory Service Changes + create SACL"],"sacl":true},{"name":"Write Logon Script","relations":["writelogonscript"],"events":["4723","4724","5136","5145"],"needs":["User Account Management","Directory Service Changes + write SACL","Detailed File Share"],"sacl":true},{"name":"Writable SMB Path","relations":["writesmbpath"],"events":["5145"],"needs":["Detailed File Share"]}]},{"category":"Credential access","key":"credential_access","count":16,"rows":[{"name":"DCSync, DS-Replication-Get-Changes, DS-Replication-Get-Changes-All, DS-Replication-Get-Changes-In-Filtered-Set","relations":["dcsync","getchanges","getchangesall","getchangesinfilteredset"],"events":["4662"],"needs":["Directory Service Access + SACL"],"sacl":true},{"name":"Domain Password Reuse, Local-to-Domain Credential Reuse","relations":["domainpassreuse","localcredtodomainreuse"],"events":["4624","4648","4768","4769"],"needs":["Logon","Kerberos Authentication Service","Kerberos Service Ticket Operations"]},{"name":"DPAPI Secret Extraction","relations":["dumpdpapi"],"events":["4624","4625","4662","4663","4768","4771","5145"],"needs":["Logon","Directory Service Access + SACL","File System or Registry + SACL","Kerberos Authentication Service","Detailed File Share"],"sacl":true},{"name":"LSA Secrets Extraction, SAM Database Extraction","relations":["dumplsa","dumpsam"],"events":["4656","4663","4688"],"needs":["File System or Registry + SACL","Process Creation"],"sacl":true},{"name":"LSASS Credential Extraction","relations":["dumplsass"],"events":["4656","4663","5145"],"needs":["File System or Registry + SACL","Detailed File Share"],"sacl":true},{"name":"RODC krbtgt Secret Extraction","relations":["extractrodckrbtgtsecret"],"events":["4624","4656","4663","5145"],"needs":["Logon","File System or Registry + SACL","Detailed File Share"],"sacl":true},{"name":"Shadow Credentials Present","relations":["hasshadowcredentials"],"events":["4768"],"needs":["Kerberos Authentication Service"]},{"name":"MSSQL NetNTLMv2 Theft","relations":["mssql_ntlmv2_theft"],"events":["4624","4648","5145"],"needs":["Logon","Detailed File Share"]},{"name":"LLMNR/NBT-NS Poisoning and NetNTLMv2 Recovery","relations":["poisoncapturentlmv2crack"],"events":["4624","4648"],"needs":["Logon"]},{"name":"Readable Share","relations":["readshare"],"events":["4624","4625","4768","4771","5140"],"needs":["Logon","Kerberos Authentication Service","File Share"]},{"name":"Timeroasting","relations":["timeroasting"],"events":[],"needs":["No event of its own: see part 4"],"noEvent":true}]},{"category":"Lateral movement","key":"lateral_movement","count":11,"rows":[{"name":"Local Admin Rights","relations":["adminto"],"events":["4624","4648","4663","4672","5145"],"needs":["Logon","File System or Registry + SACL","Special Logon","Detailed File Share"],"sacl":true},{"name":"PowerShell Remoting Access","relations":["canpsremote"],"events":["4624","4663","5145"],"needs":["Logon","File System or Registry + SACL","Detailed File Share"],"sacl":true},{"name":"RDP Access","relations":["canrdp"],"events":["4624","4778"],"needs":["Logon","Other Logon/Logoff Events"]},{"name":"DCOM Execution","relations":["executedcom"],"events":["4624","4688"],"needs":["Logon","Process Creation"]},{"name":"Full Control Share","relations":["fullcontrolshare"],"events":["5140","5145"],"needs":["File Share","Detailed File Share"]},{"name":"Guest Session","relations":["guestsession"],"events":["4624","5140"],"needs":["Logon","File Share"]},{"name":"Local Admin Password Reuse, MSSQL Linked Server Lateral Movement","relations":["localadminpassreuse","mssql_linked_server_lateral"],"events":["4624","4648"],"needs":["Logon"]},{"name":"MSSQL Access, MSSQL Sysadmin","relations":["sqlaccess","sqladmin"],"events":["4624","4720","4728","4732","4756","15457"],"needs":["Logon","User Account Management","Security Group Management","SQL Server error log"]},{"name":"Writable Share","relations":["writeshare"],"events":["5145"],"needs":["Detailed File Share"]}]},{"category":"Privilege escalation","key":"privilege","count":11,"rows":[{"name":"Backup Operators Escalation","relations":["backupoperatorescalation"],"events":["4624","4656","4663"],"needs":["Logon","File System or Registry + SACL"],"sacl":true},{"name":"DnsAdmins Abuse","relations":["dnsadminabuse"],"events":["150","770","771","4657"],"needs":["DNS Server log","Registry + \"Set Value\" SACL"],"sacl":true},{"name":"Privileged Session Abuse","relations":["hassession"],"events":["4624","4672"],"needs":["Logon","Special Logon"]},{"name":"MSSQL Login Impersonation, MSSQL TRUSTWORTHY Database Escalation","relations":["mssql_impersonate_login","mssql_trustworthy_db_escalation"],"events":["33205"],"needs":["SQL Server Audit enabled"]},{"name":"MSSQL SeImpersonate Escalation","relations":["mssql_seimpersonate_escalation"],"events":["4688","4720","4728","4732","4756","15457","33205"],"needs":["Process Creation","User Account Management","Security Group Management","SQL Server error log","SQL Server Audit enabled"]},{"name":"MSSQL Token Theft Escalation","relations":["mssql_token_theft_escalation"],"events":["4688","5145","33205"],"needs":["Process Creation","Detailed File Share","SQL Server Audit enabled"]},{"name":"RODC Credential Caching","relations":["preparerodccredentialcaching"],"events":["4662","5136"],"needs":["Directory Service Access + SACL","Directory Service Changes + write SACL"],"sacl":true},{"name":"Print Operators Abuse","relations":["printoperatorabuse"],"events":["316","4672"],"needs":["Print Service log","Special Logon"]},{"name":"Privileged Group Control","relations":["privilegedgroupcontrol"],"events":["4672","4728","4732","4756"],"needs":["Special Logon","Security Group Management"]},{"name":"Scheduled Task Execution","relations":["scheduledtask"],"events":["4624","4663","4672","4698","4720","4728"],"needs":["Logon","File System or Registry + SACL","Special Logon","Other Object Access Events","User Account Management","Security Group Management"],"sacl":true}]},{"category":"Initial access","key":"entry_vector","count":9,"rows":[{"name":"Blank Password, Pre-Windows 2000 Computer Account, Password Spraying, Username as Password","relations":["blankpassword","computerpre2k","passwordspray","useraspass"],"events":["4624","4625","4768","4771"],"needs":["Logon","Kerberos Authentication Service"]},{"name":"Group Policy Preferences Password","relations":["gpppassword"],"events":["4624","4625","4768","4771","5140","5145"],"needs":["Logon","Kerberos Authentication Service","File Share","Detailed File Share"]},{"name":"Anonymous LDAP Bind","relations":["ldapanonymousbind"],"events":[],"needs":["No event of its own: see part 4"],"noEvent":true},{"name":"Password in File","relations":["passwordinfile"],"events":["4656","4663","5145"],"needs":["File System or Registry + SACL","Detailed File Share"],"sacl":true},{"name":"Password in Share","relations":["passwordinshare"],"events":["5140","5145"],"needs":["File Share","Detailed File Share"]},{"name":"Credentials in User Description","relations":["userdescription"],"events":["4624","4625","4662","4768","4771"],"needs":["Logon","Directory Service Access + SACL","Kerberos Authentication Service"],"sacl":true}]},{"category":"Authentication coercion","key":"coercion","count":4,"rows":[{"name":"DFSCoerce, MS-EVEN Coercion (EventLog Remoting), PetitPotam, PrinterBug (MS-RPRN)","relations":["dfscoerce","mseven","petitpotam","printerbug"],"events":["4624","5145"],"needs":["Logon","Detailed File Share"]}]},{"category":"Known CVEs","key":"cve","count":4,"rows":[{"name":"MS17-010 (EternalBlue)","relations":["ms17-010"],"events":[],"needs":["No event of its own: see part 4"],"noEvent":true},{"name":"noPac (CVE-2021-42278/42287)","relations":["nopac"],"events":["4741","4742","4768","4769"],"needs":["Computer Account Management","Kerberos Authentication Service","Kerberos Service Ticket Operations"]},{"name":"PrintNightmare","relations":["printnightmare"],"events":["316"],"needs":["Print Service log"]},{"name":"Zerologon (CVE-2020-1472)","relations":["zerologon"],"events":["4742"],"needs":["Computer Account Management"]}]},{"category":"Delegation abuse","key":"delegation","count":4,"rows":[{"name":"Resource-Based Constrained Delegation (inbound), Constrained Delegation","relations":["allowedtoact","allowedtodelegate"],"events":["4769"],"needs":["Kerberos Service Ticket Operations"]},{"name":"SPN-Jacking","relations":["spnjack"],"events":["4769","5136"],"needs":["Kerberos Service Ticket Operations","Directory Service Changes + write SACL"],"sacl":true},{"name":"Unconstrained Delegation","relations":["unconstraineddelegation"],"events":["4768","4769"],"needs":["Kerberos Authentication Service","Kerberos Service Ticket Operations"]}]},{"category":"Kerberos","key":"kerberos","count":4,"rows":[{"name":"AS-REP Roasting","relations":["asreproasting"],"events":["4768"],"needs":["Kerberos Authentication Service"]},{"name":"RODC Golden Ticket","relations":["forgerodcgoldenticket"],"events":["4768","4769"],"needs":["Kerberos Authentication Service","Kerberos Service Ticket Operations"]},{"name":"Kerberoasting, Kerberos Key List (RODC)","relations":["kerberoasting","kerberoskeylist"],"events":["4769"],"needs":["Kerberos Service Ticket Operations"]}]},{"category":"NTLM relay","key":"ntlm_relay","count":3,"rows":[{"name":"NetNTLMv1 Offline Recovery","relations":["crackntlmv1"],"events":["4768","4769"],"needs":["Kerberos Authentication Service","Kerberos Service Ticket Operations"]},{"name":"NetNTLMv1 Relay to RBCD","relations":["ntlmv1relayrbcd"],"events":["4741","4768","4769","5136"],"needs":["Computer Account Management","Kerberos Authentication Service","Kerberos Service Ticket Operations","Directory Service Changes + write SACL"],"sacl":true},{"name":"NetNTLMv1 Relay to Shadow Credentials","relations":["ntlmv1relayshadowcreds"],"events":["4768","4769","5136"],"needs":["Kerberos Authentication Service","Kerberos Service Ticket Operations","Directory Service Changes + write SACL"],"sacl":true}]},{"category":"Trust abuse","key":"trust","count":2,"rows":[{"name":"Cross-Forest TGT Delegation","relations":["crossorgtgtdelegation"],"events":["4768","4769","5136","5137"],"needs":["Kerberos Authentication Service","Kerberos Service Ticket Operations","Directory Service Changes + write SACL","Directory Service Changes + create SACL"],"sacl":true},{"name":"Child-to-Forest-Root Escalation","relations":["raisechild"],"events":["4768","4769"],"needs":["Kerberos Authentication Service","Kerberos Service Ticket Operations"]}]},{"category":"Collection","key":"collection","count":1,"rows":[{"name":"MSSQL OPENROWSET Bulk Read","relations":["mssql_openrowset_bulk_read"],"events":["4663"],"needs":["File System or Registry + SACL"],"sacl":true}]},{"category":"Execution","key":"execution","count":1,"rows":[{"name":"xp_cmdshell Execution","relations":["xp_cmdshell"],"events":["4688","15457"],"needs":["Process Creation","SQL Server error log"]}]},{"category":"NTLM weaknesses","key":"ntlm","count":1,"rows":[{"name":"NetNTLMv1 Enabled","relations":["ntlmv1enabled"],"events":["4624"],"needs":["Logon"]}]}]}