Possible DD File Overwrite (via process_creation)

This rule detects potential overwriting and deletion of a file using DD.

SigmalowLinuxv1
sigma
title: Possible DD File Overwrite (via process_creation)
id: 342c5056-1344-5c80-a13c-83906f7c192f
status: stable
description: This rule detects potential overwriting and deletion of a file using DD.
references:
    - https://attack.mitre.org/techniques/T1485/
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1485/T1485.md#atomic-test-2---macoslinux---overwrite-file-with-dd
author: Huntrule Team
date: 2026-01-26
tags:
    - attack.impact
    - attack.t1485
logsource:
    product: linux
    category: process_creation
detection:
    selection1:
        Image:
            - '/bin/dd'
            - '/usr/bin/dd'
    selection2:
        CommandLine|contains: 'of='
    selection3:
        CommandLine|contains:
            - 'if=/dev/zero'
            - 'if=/dev/null'
    condition: all of 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.