{"id":"30aed7b6-d2c1-4eaf-9382-b6bc43e50c57","title":"File Deletion","description":"Detects file deletion using \"rm\", \"shred\" or \"unlink\" commands which are used often by adversaries to delete files left behind by the actions of their intrusion activity","author":"Ömer Günal, oscd.community","status":"stable","level":"informational","date":"2020-10-07","modified":"2022-09-15","tags":["attack.stealth","attack.t1070.004"],"technique_ids":["T1070.004"],"logsource":{"product":"linux","category":"process_creation"},"falsepositives":["Legitimate administration activities"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1070.004/T1070.004.md"],"source_path":"rules/linux/process_creation/proc_creation_lnx_file_deletion.yml","source_sha256":"b04df68365821d699fe47bb38276c1132199746e9941c735495b8ee9722c5906","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/linux/process_creation/proc_creation_lnx_file_deletion.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: File Deletion\nid: 30aed7b6-d2c1-4eaf-9382-b6bc43e50c57\nstatus: stable\ndescription: Detects file deletion using \"rm\", \"shred\" or \"unlink\" commands which are used often by adversaries to delete files left behind by the actions of their intrusion activity\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1070.004/T1070.004.md\nauthor: Ömer Günal, oscd.community\ndate: 2020-10-07\nmodified: 2022-09-15\ntags:\n    - attack.stealth\n    - attack.t1070.004\nlogsource:\n    product: linux\n    category: process_creation\ndetection:\n    selection:\n        Image|endswith:\n            - '/rm'     # covers /rmdir as well\n            - '/shred'\n            - '/unlink'\n    condition: selection\nfalsepositives:\n    - Legitimate administration activities\nlevel: informational\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1070.004","id":"T1070.004","name":"File Deletion","page":"techniques/enterprise/T1070.004/"}],"data_path":"data/detection-rules/30aed7b6-d2c1-4eaf-9382-b6bc43e50c57.json","kind":"sigma"}
