Skip to content
WETNav

Defense evasionHigh

Audit policy tampering

Also known as auditpol clearing, Disable Windows event logging

Disabling audit subcategories with auditpol so the events you rely on stop being written. The change itself is recorded in 4719.

Signals in the logs

  1. 01Security4719System audit policy was changedAny host

    A subcategory had Success or Failure auditing removed.

    SubcategoryGuid
    GUID of the subcategory changed, e.g. {0CCE922B-...} for Process Creation
    AuditPolicyChanges
    %%8448 = Success removed, %%8450 = Failure removed
    SubjectUserName
    account that changed the policy
  2. 02Security4688A new process has been createdAny host

    auditpol.exe executed with a disabling argument.

    NewProcessName
    C:\Windows\System32\auditpol.exe
    CommandLine
    auditpol /set ... /success:disable, /clear, or /remove
  3. 03Security4907Auditing settings on object were changedAny host

    The SACL (auditing settings) on a file or registry key was changed, removing object-level auditing.

    ObjectName
    object whose auditing was changed
    ProcessName
    process that changed it

What happens

Rather than clear logs after the fact, an intruder stops the logs from being written at all. auditpol /set turns off Success or Failure auditing for individual subcategories such as Logon, Process Creation, or Security System Extension; auditpol /clear and auditpol /remove wipe the whole policy or a specific user policy. Once a subcategory is off, the events that depend on it (4624, 4688, 4697, and others) simply never appear, which is far quieter than clearing. The saving grace is that the change to the audit policy is itself audited: Security 4719 fires for each subcategory altered and names the subcategory and whether Success or Failure auditing was added or removed, so the act of blinding the host is visible even when the downstream events go dark.

Logging you need

  • 4719 is in the Audit Policy Change subcategory, which is enabled for Success by default, so this change is usually recorded without extra configuration.
  • Catching auditpol.exe itself needs Security 4688 with command-line auditing, or Sysmon 1.
  • 4907 requires that object-level auditing (a SACL) existed on the object before it was removed.

Hunt queries

Starting points. Tune thresholds and exclusions to your environment before alerting on them.

Get-WinEvent -FilterHashtable @{LogName='Security'; Id=4719} |
  Where-Object { $_.Message -match 'Success removed|Failure removed' }

Benign look-alikes

  • Deliberate audit policy rollout by GPO or a hardening script, which can generate many 4719 events at once.
  • Administrators tuning noisy subcategories to control log volume.
  • Monitoring agents or backup software that adjust SACLs on objects they manage.

Notes

  • A quiet subcategory is only visible by its absence. Baseline the hourly volume of key events (4624, 4688) per host so a drop to zero stands out.
  • auditpol runs at an elevated prompt; a 4719 immediately after a privileged logon on a host that is not a policy management server deserves attention.

References