Detection rules › Sigma

Terminate Linux Process Via Kill

Status
test
Severity
medium
Log source
category process_creation, product linux
Author
Tuan Le (NCSGroup)
Source
github.com/SigmaHQ/sigma

Detects usage of command line tools such as "kill", "pkill" or "killall" to terminate or signal a running process.

MITRE ATT&CK coverage

TacticTechniques
Defense Impairment

Telemetry coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule body

title: Terminate Linux Process Via Kill
id: 64c41342-6b27-523b-5d3f-c265f3efcdb3
status: test
description: Detects usage of command line tools such as "kill", "pkill" or "killall" to terminate or signal a running process.
references:
    - https://www.trendmicro.com/en_us/research/23/c/iron-tiger-sysupdate-adds-linux-targeting.html
    - https://www.cyberciti.biz/faq/how-force-kill-process-linux/
    - https://www.geeksforgeeks.org/how-to-kill-processes-on-the-linux-desktop-with-xkill/
author: Tuan Le (NCSGroup)
date: 2023-03-16
modified: 2024-12-12
tags:
    - attack.defense-impairment
    - attack.t1685
    - detection.threat-hunting
logsource:
    product: linux
    category: process_creation
detection:
    selection:
        Image|endswith:
            - '/kill'
            - '/killall'
            - '/pkill'
            - '/xkill'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith:
        - '/kill'
        - '/killall'
        - '/pkill'
        - '/xkill'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • /kill
  • /killall
  • /pkill
  • /xkill
field:"Image" kind:ends_with