Possible Overwriting the File with Dev Zero or Null (via auditd)
This rule detects overwriting (effectively wiping/deleting) of a file.
SigmalowLinuxv1
sigma
possible-overwriting-the-file-with-dev-zero-or-null-via-auditd
title: Possible Overwriting the File with Dev Zero or Null (via auditd)
id: be1667f9-c78c-596d-b2ad-f681b48eb470
status: stable
description: This rule detects overwriting (effectively wiping/deleting) of a file.
references:
- https://attack.mitre.org/techniques/T1485/
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1485/T1485.md
author: Huntrule Team
date: 2026-01-12
tags:
- attack.impact
- attack.t1485
logsource:
product: linux
service: auditd
detection:
selection:
type: 'EXECVE'
a0|contains: 'dd'
a1|contains:
- 'if=/dev/null'
- 'if=/dev/zero'
condition: selection
falsepositives:
- Unknown
level: low
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.