Touch Suspicious Service File (via process_creation)
This rule detects use of the "touch" process in service file.
SigmamediumLinuxv1
sigma
touch-suspicious-service-file-via-process-creation
title: Touch Suspicious Service File (via process_creation)
id: c19d755c-f8b2-52f4-8f87-cd296b38cf62
status: stable
description: This rule detects use of the "touch" process in service file.
references:
- https://attack.mitre.org/techniques/T1070/006/
- https://blogs.blackberry.com/
- https://twitter.com/Joseliyo_Jstnk/status/1620131033474822144
author: Huntrule Team
date: 2026-07-13
tags:
- attack.stealth
- attack.t1070.006
logsource:
product: linux
category: process_creation
detection:
selection:
Image|endswith: '/touch'
CommandLine|contains: ' -t '
CommandLine|endswith: '.service'
condition: selection
falsepositives:
- Unknown
level: medium
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.