Detection rules › Sigma
Audit policy disabled by command line
Detects scenarios where an attacker attempts to disbale or clear the audit policy for defense evasion purposes.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Stealth | T1562.002 Impair Defenses: Disable Windows Event Logging |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Sysmon | Event ID 1 | Process creation |
| Security-Auditing | Event ID 4688 | A new process has been created. |
Rule body yaml
title: Audit policy disabled by command line
description: Detects scenarios where an attacker attempts to disbale or clear the audit policy for defense evasion purposes.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0005-Defense%20Evasion/T1562.002-Disable%20Windows%20Event%20Logging
- https://searchitchannel.techtarget.com/feature/Using-AuditPol-to-audit-Windows-users-and-set-policies
tags:
- attack.defense_evasion
- attack.t1562.002 # Impair Defenses: Disable Windows Event Logging
author: mdecrevoisier
status: experimental
logsource:
product: windows
category: process_creation
detection:
selection:
NewProcessName|endswith: '\auditpol.exe'
CommandLine|contains:
- clear # "auditpol /clear /y"
- disable # "auditpol /set /category:* /success:disable /failure:disable"
condition: selection
falsepositives:
- Administrator debugging audit policy
level: high
Stages and Predicates
Stage 0: condition
selectionStage 1: selection
selection:
NewProcessName|endswith: '\auditpol.exe'
CommandLine|contains:
- clear
- disable
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
NewProcessName | ends_with |
|