title: Linux explicit log removal command
id: 965ed3c2-048f-46a7-bc0d-720c29352572
status: experimental
description: >-
    An observed rm, truncate, or shred process command names a supported explicit log path.
    It is a command attempt, not proof that a log was erased.
author: Deception Check
date: '2026-10-29'
logsource:
    category: process_creation
    product: linux
detection:
    selection:
        Image|exists: true
        Image|re: '/(rm|truncate|shred)$'
        CommandLine|re: '^(?:/[^\s]+/)?(?:rm|truncate|shred)\s+[^\n]*(?:/var/(?:run/)?log/|/scratch/log/)'
    condition: selection
falsepositives:
    - >-
        Authorized rotation, disk recovery, and support cleanup.
level: medium
fields:
    - Image
    - ParentImage
    - CommandLine
    - User
    - ProcessGuid
    - ParentProcessGuid
