Detectioninformationalstable

File Deletion

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

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Ömer Günal, oscd.communityCreated Wed Oct 07Updated Thu Sep 1530aed7b6-d2c1-4eaf-9382-b6bc43e50c57linux
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:
            - '/rm'     # covers /rmdir as well
            - '/shred'
            - '/unlink'
    condition: selection
False Positives

Legitimate administration activities

Rule Metadata
Rule ID
30aed7b6-d2c1-4eaf-9382-b6bc43e50c57
Status
stable
Level
informational
Type
Detection
Created
Wed Oct 07
Modified
Thu Sep 15
Path
rules/linux/process_creation/proc_creation_lnx_file_deletion.yml
Raw Tags
attack.defense-evasionattack.t1070.004
View on GitHub