Windows Audit Policy Sub-Category Disabled
This rule detects attempts to disable auditing for security-sensitive audit policy sub-categories on Windows systems, often done by attackers to evade detection and forensic analysis.
Attackers often disable Windows auditing for security-sensitive audit policy sub-categories in an attempt to evade detection and forensic analysis on a system. This technique is part of a broader effort to impair defenses and hinder incident response. This detection identifies instances where specific audit policies, such as those related to logon events, process creation, and user account management, are disabled without being re-enabled within a defined time frame. This behavior is flagged by monitoring Windows Event ID 4719, which logs changes to audit policies. This rule is designed to detect potential attempts to undermine security monitoring and forensic capabilities on Windows endpoints.
Attack Chain
- The attacker gains initial access to the system via phishing or exploiting a vulnerability (not described in source).
- The attacker escalates privileges to an administrator level, which is required to modify audit policies (not described in source).
- The attacker uses
auditpol.exeor modifies Group Policy Objects (GPO) to disable specific audit policy sub-categories. - The system generates Windows Event ID 4719, indicating a change in audit policy. This event contains information about the sub-category affected and the type of change (e.g., "Success removed").
- The attacker attempts to perform actions without being logged by disabling audit policies for events such as logon, process creation, or user account management.
- The attacker avoids detection by clearing or tampering with event logs to remove any traces of their activities (not described in source).
- The attacker continues with their malicious activities, such as lateral movement, data exfiltration, or deploying ransomware, with reduced risk of detection (not described in source).
Impact
Successful disabling of audit policies can severely impair an organization's ability to detect and respond to security incidents. By removing critical audit logs, attackers can operate undetected, prolonging the duration of attacks and increasing the potential for data breaches, financial loss, and reputational damage. The absence of audit logs hinders forensic investigations, making it difficult to determine the scope and impact of an attack.
Recommendation
- Ensure the 'Audit Audit Policy Change' logging policy is configured for (Success, Failure) as outlined in the setup instructions, to generate the necessary event logs for detection.
- Deploy the Sigma rule "Detect Audit Policy Sub-Category Disabled" to your SIEM to identify instances where sensitive audit policies are disabled.
- Investigate any instances of Event ID 4719 where sensitive audit sub-categories are disabled, focusing on the associated processes and user accounts as described in the investigation steps.
- Review and harden Group Policy settings related to audit policies to prevent unauthorized modifications, referencing Microsoft documentation on GPO management.
- Enable Sysmon process creation logging to provide additional context around processes that modify audit policies.
Detection coverage 2
Detect Audit Policy Sub-Category Disabled
mediumDetects when sensitive audit policy sub-categories are disabled via event ID 4719.
Auditpol.exe Used to Modify Audit Policy
mediumDetects usage of auditpol.exe to modify audit policy, a common technique to disable logging.
Detection queries are available on the platform. Get full rules →