{"id":"95d61234-7f56-465c-6f2d-b562c6fedbc4","title":"Linux Package Uninstall","description":"Detects linux package removal using builtin tools such as \"yum\", \"apt\", \"apt-get\" or \"dpkg\".","author":"Tuan Le (NCSGroup), Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"low","date":"2023-03-09","modified":"","tags":["attack.stealth","attack.t1070"],"technique_ids":["T1070"],"logsource":{"product":"linux","category":"process_creation"},"falsepositives":["Administrator or administrator scripts might delete packages for several reasons (debugging, troubleshooting)."],"references":["https://sysdig.com/blog/mitre-defense-evasion-falco","https://www.tutorialspoint.com/how-to-install-a-software-on-linux-using-yum-command","https://linuxhint.com/uninstall_yum_package/","https://linuxhint.com/uninstall-debian-packages/"],"source_path":"rules/linux/process_creation/proc_creation_lnx_remove_package.yml","source_sha256":"5e9e0b95b8072ac8178b12f1e33cf271790da0e52a9303f7f5ad2b16b9e99b97","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/linux/process_creation/proc_creation_lnx_remove_package.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Linux Package Uninstall\nid: 95d61234-7f56-465c-6f2d-b562c6fedbc4\nstatus: test\ndescription: Detects linux package removal using builtin tools such as \"yum\", \"apt\", \"apt-get\" or \"dpkg\".\nreferences:\n    - https://sysdig.com/blog/mitre-defense-evasion-falco\n    - https://www.tutorialspoint.com/how-to-install-a-software-on-linux-using-yum-command\n    - https://linuxhint.com/uninstall_yum_package/\n    - https://linuxhint.com/uninstall-debian-packages/\nauthor: Tuan Le (NCSGroup), Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-03-09\ntags:\n    - attack.stealth\n    - attack.t1070\nlogsource:\n    product: linux\n    category: process_creation\ndetection:\n    selection_yum:\n        Image|endswith: '/yum'\n        CommandLine|contains:\n            - 'erase'\n            - 'remove'\n    selection_apt:\n        Image|endswith:\n            - '/apt'\n            - '/apt-get'\n        CommandLine|contains:\n            - 'remove'\n            - 'purge'\n    selection_dpkg:\n        Image|endswith: '/dpkg'\n        CommandLine|contains:\n            - '--remove '\n            - ' -r '\n    selection_rpm:\n        Image|endswith: '/rpm'\n        CommandLine|contains: ' -e '\n    condition: 1 of selection_*\nfalsepositives:\n    - Administrator or administrator scripts might delete packages for several reasons (debugging, troubleshooting).\nlevel: low\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1070","id":"T1070","name":"Indicator Removal","page":"techniques/enterprise/T1070/"}],"data_path":"data/detection-rules/95d61234-7f56-465c-6f2d-b562c6fedbc4.json","kind":"sigma"}
