MSSQL Disable Audit Settings
Detects when an attacker calls the "ALTER SERVER AUDIT" or "DROP SERVER AUDIT" transaction in order to delete or disable audit logs on the server
Detection logic
Detection requirements
- Log source product
- windows
- Log source service
- application
Known benign triggers
- This event should only fire when an administrator is modifying the audit policy. Which should be a rare occurrence once it's set up
MITRE ATT&CK mappings
Not mapped to ATT&CK.
References
| Reference | Cited by |
|---|---|
| learn.microsoft.com/en-us/sql/t-sql/statements/alter-server-audit-transact-sql?view=sql-server-ver16 | Only this detection cites it |
| learn.microsoft.com/en-us/sql/t-sql/statements/drop-server-audit-transact-sql?view=sql-server-ver16 | Only this detection cites it |
| www.netspi.com/blog/technical/network-penetration-testing/sql-server-persistence-part-1-startup-stored-procedures/ | 6from 2 sources |
From the source
- At source
- Open at source
- Upstream identifier
- 350dfb37-3706-4cdc-9e2e-5e24bc3a46df
- Tagged by the source as
- attack.defense-impairment
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Published
- Aug 26, 2026
- Version
- 1