{"id":"08f26069-6f80-474b-8d1f-d971c6fedea0","title":"User Has Been Deleted Via Userdel","description":"Detects execution of the \"userdel\" binary. Which is used to delete a user account and related files. This is sometimes abused by threat actors in order to cover their tracks","author":"Tuan Le (NCSGroup)","status":"test","level":"medium","date":"2022-12-26","modified":"","tags":["attack.impact","attack.t1531"],"technique_ids":["T1531"],"logsource":{"product":"linux","category":"process_creation"},"falsepositives":["Legitimate administrator activities"],"references":["https://linuxize.com/post/how-to-delete-group-in-linux/","https://www.cyberciti.biz/faq/linux-remove-user-command/","https://www.cybrary.it/blog/0p3n/linux-commands-used-attackers/","https://linux.die.net/man/8/userdel"],"source_path":"rules/linux/process_creation/proc_creation_lnx_userdel.yml","source_sha256":"9e496bef69fe6c2932295d13c9a5d9778f5bb86eb7e733b81cf1da41803a2225","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/linux/process_creation/proc_creation_lnx_userdel.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: User Has Been Deleted Via Userdel\nid: 08f26069-6f80-474b-8d1f-d971c6fedea0\nstatus: test\ndescription: Detects execution of the \"userdel\" binary. Which is used to delete a user account and related files. This is sometimes abused by threat actors in order to cover their tracks\nreferences:\n    - https://linuxize.com/post/how-to-delete-group-in-linux/\n    - https://www.cyberciti.biz/faq/linux-remove-user-command/\n    - https://www.cybrary.it/blog/0p3n/linux-commands-used-attackers/\n    - https://linux.die.net/man/8/userdel\nauthor: Tuan Le (NCSGroup)\ndate: 2022-12-26\ntags:\n    - attack.impact\n    - attack.t1531\nlogsource:\n    product: linux\n    category: process_creation\ndetection:\n    selection:\n        Image|endswith: '/userdel'\n    condition: selection\nfalsepositives:\n    - Legitimate administrator activities\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1531","id":"T1531","name":"Account Access Removal","page":"techniques/enterprise/T1531/"}],"data_path":"data/detection-rules/08f26069-6f80-474b-8d1f-d971c6fedea0.json","kind":"sigma"}
