Sigma rule: DD File Overwrite

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-2925883df2e3, updated 2022-07-07T00:00:00.000Z.

Rule

Title
DD File Overwrite
Status
test
Level
low
Author
Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research), MSTIC
Date
2021-10-15
Modified
2022-07-07
File
rules/linux/process_creation/proc_creation_lnx_dd_file_overwrite.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects potential overwriting and deletion of a file using DD.

Log source

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*

False positives (as the rule lists them)

  • Any user deleting files that way.

Tags

  • attack.impact
  • attack.t1485

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_dd_file_overwrite.yml

Sources and licences

  • SigmaHQ

    "DD File Overwrite" by Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research), MSTIC (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_dd_file_overwrite.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: DD File Overwrite",
entity page, dataset version ref-2925883df2e3, updated 2022-07-07T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/2953194b-e33c-4859-b9e8-05948c167447 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 2953194b-e33c-4859-b9e8-05948c167447, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.