Detectionlowtest

DD File Overwrite

Detects potential overwriting and deletion of a file using DD.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research), MSTICCreated Fri Oct 15Updated Thu Jul 072953194b-e33c-4859-b9e8-05948c167447linux
Log Source
LinuxProcess Creation
ProductLinux← raw: linux
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic3 selectors
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

Any user deleting files that way.

MITRE ATT&CK
Rule Metadata
Rule ID
2953194b-e33c-4859-b9e8-05948c167447
Status
test
Level
low
Type
Detection
Created
Fri Oct 15
Modified
Thu Jul 07
Path
rules/linux/process_creation/proc_creation_lnx_dd_file_overwrite.yml
Raw Tags
attack.impactattack.t1485
View on GitHub