Detectionmediumtest

User Has Been Deleted Via Userdel

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

Open in Detection LabConvert ruleBuild Package
Tuan Le (NCSGroup)Created 2022-12-2608f26069-6f80-474b-8d1f-d971c6fedea0linux
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 Logic1 selector
detection:
    selection:
        Image|endswith: '/userdel'
    condition: selection
False Positives

Legitimate administrator activities

Rule Metadata
Rule ID
08f26069-6f80-474b-8d1f-d971c6fedea0
Status
test
Level
medium
Type
Detection
Created
2022-12-26
Path
rules/linux/process_creation/proc_creation_lnx_userdel.yml
Raw Tags
attack.impactattack.t1531
View on GitHub