{"id":"37222991-11e9-4b6d-8bdf-60fbe48f753e","title":"Overwriting the File with Dev Zero or Null","description":"Detects overwriting (effectively wiping/deleting) of a file.","author":"Jakob Weinzettl, oscd.community","status":"stable","level":"low","date":"2019-10-23","modified":"","tags":["attack.impact","attack.t1485"],"technique_ids":["T1485"],"logsource":{"product":"linux","service":"auditd"},"falsepositives":["Appending null bytes to files.","Legitimate overwrite of files."],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1485/T1485.md"],"source_path":"rules/linux/auditd/execve/lnx_auditd_dd_delete_file.yml","source_sha256":"52b3ce61990b7ee3a36fa48afbe41f57e7863c2df1152e22fea69b7372e7a22f","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/linux/auditd/execve/lnx_auditd_dd_delete_file.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Overwriting the File with Dev Zero or Null\nid: 37222991-11e9-4b6d-8bdf-60fbe48f753e\nstatus: stable\ndescription: Detects overwriting (effectively wiping/deleting) of a file.\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1485/T1485.md\nauthor: Jakob Weinzettl, oscd.community\ndate: 2019-10-23\ntags:\n    - attack.impact\n    - attack.t1485\nlogsource:\n    product: linux\n    service: auditd\ndetection:\n    selection:\n        type: 'EXECVE'\n        a0|contains: 'dd'\n        a1|contains:\n            - 'if=/dev/null'\n            - 'if=/dev/zero'\n    condition: selection\nfalsepositives:\n    - Appending null bytes to files.\n    - Legitimate overwrite of files.\nlevel: low\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1485","id":"T1485","name":"Data Destruction","page":"techniques/enterprise/T1485/"}],"data_path":"data/detection-rules/37222991-11e9-4b6d-8bdf-60fbe48f753e.json","kind":"sigma"}
