Detection rules › Sigma

Kaspersky Endpoint Security Stopped Via CommandLine - Linux

Status
experimental
Severity
high
Log source
category process_creation, product linux
Author
Milad Cheraghi
Source
github.com/SigmaHQ/sigma

Detects execution of the Kaspersky init.d stop script on Linux systems either directly or via systemctl. This activity may indicate a manual interruption of the antivirus service by an administrator, or it could be a sign of potential tampering or evasion attempts by malicious actors.

Known false positives

  • System administrator manually stopping Kaspersky services

MITRE ATT&CK coverage

TacticTechniques
Defense Impairment

Telemetry coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule body

title: Kaspersky Endpoint Security Stopped Via CommandLine - Linux
id: 36388120-b3f1-4ce9-b50b-280d9a7f4c04
status: experimental
description: |
  Detects execution of the Kaspersky init.d stop script on Linux systems either directly or via systemctl.
  This activity may indicate a manual interruption of the antivirus service by an administrator, or it could be a sign of potential tampering or evasion attempts by malicious actors.
references:
    - https://support.kaspersky.com/KES4Linux/12.0.0/en-US/197929.htm
author: Milad Cheraghi
date: 2025-10-18
tags:
    - attack.execution
    - attack.defense-impairment
    - attack.t1685
logsource:
    product: linux
    category: process_creation
detection:
    selection:
        Image|endswith:
            # Note: Add the list of shells allowed in your environment that can be used to run init.d scripts.
            - '/systemctl'
            - '/bash'
            - '/sh'
        CommandLine|contains|all:
            - 'stop'
            - 'kesl'
    condition: selection
falsepositives:
    - System administrator manually stopping Kaspersky services
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith:
        - '/systemctl'
        - '/bash'
        - '/sh'
    CommandLine|contains|all:
        - 'stop'
        - 'kesl'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • kesl
  • stop
field:"CommandLine" kind:match
Imageends_with
  • /bash
  • /sh
  • /systemctl
field:"Image" kind:ends_with