Detectionmediumtest

Touch Suspicious Service File

Detects usage of the "touch" process in service file.

Open in Detection LabConvert ruleBuild Package
Joseliyo SanchezCreated 2023-01-1131545105-3444-4584-bebf-c466353230d2linux
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: '/touch'
        CommandLine|contains: ' -t '
        CommandLine|endswith: '.service'
    condition: selection
False Positives

Admin changing date of files.

MITRE ATT&CK
Rule Metadata
Rule ID
31545105-3444-4584-bebf-c466353230d2
Status
test
Level
medium
Type
Detection
Created
2023-01-11
Path
rules/linux/process_creation/proc_creation_lnx_touch_susp.yml
Raw Tags
attack.stealthattack.t1070.006
View on GitHub