EXPLORE
← Back to Explore
sigmamediumHunting

Touch Suspicious Service File

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

MITRE ATT&CK

defense-evasion

Detection Query

selection:
  Image|endswith: /touch
  CommandLine|contains: " -t "
  CommandLine|endswith: .service
condition: selection

Author

Joseliyo Sanchez, @Joseliyo_Jstnk

Created

2023-01-11

Data Sources

linuxProcess Creation Events

Platforms

linux

Tags

attack.defense-evasionattack.t1070.006
Raw Content
title: Touch Suspicious Service File
id: 31545105-3444-4584-bebf-c466353230d2
status: test
description: Detects usage of the "touch" process in service file.
references:
    - https://blogs.blackberry.com/
    - https://twitter.com/Joseliyo_Jstnk/status/1620131033474822144
author: Joseliyo Sanchez, @Joseliyo_Jstnk
date: 2023-01-11
tags:
    - attack.defense-evasion
    - attack.t1070.006
logsource:
    product: linux
    category: process_creation
detection:
    selection:
        Image|endswith: '/touch'
        CommandLine|contains: ' -t '
        CommandLine|endswith: '.service'
    condition: selection
falsepositives:
    - Admin changing date of files.
level: medium