← Back to SOC feed Coverage →

Audit Rules Deleted Via Auditctl

sigma HIGH SigmaHQ
T1562.012
imProcessCreate
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at SigmaHQ →
Retrieved: 2026-03-25T02:50:08Z · Confidence: low

Hunt Hypothesis

Attackers may delete audit rules using ‘auditctl -D’ to evade detection and persist undetected on Linux systems by disabling audit logging. SOC teams should proactively hunt for this behavior in Azure Sentinel to identify potential adversarial tampering with system monitoring capabilities.

Detection Rule

Sigma (Original)

title: Audit Rules Deleted Via Auditctl
id: bed26dea-4525-47f4-b24a-76e30e44ffb0
status: experimental
description: |
    Detects the execution of 'auditctl' with the '-D' command line parameter, which deletes all configured audit rules and watches on Linux systems.
    This technique is commonly used by attackers to disable audit logging and cover their tracks by removing monitoring capabilities.
    Removal of audit rules can significantly impair detection of malicious activities on the affected system.
references:
    - https://www.atomicredteam.io/atomic-red-team/atomics/T1562.012
    - https://linux.die.net/man/8/auditct
author: Mohamed LAKRI
date: 2025-10-17
tags:
    - attack.defense-evasion
    - attack.t1562.012
logsource:
    product: linux
    category: process_creation
detection:
    selection:
        Image|endswith: '/auditctl'
        CommandLine|re: '-D'
    condition: selection
falsepositives:
    - An administrator troubleshooting. Investigate all attempts.
level: high

KQL (Azure Sentinel)

imProcessCreate
| where TargetProcessName endswith "/auditctl" and TargetProcessCommandLine matches regex "-D"

False Positive Guidance

MITRE ATT&CK Context

Original source: https://github.com/SigmaHQ/sigma/blob/master/rules/linux/process_creation/proc_creation_lnx_auditctl_clear_rules.yml