Detection rules › Sigma

Triple Cross eBPF Rootkit Install Commands

Status
test
Severity
high
Log source
category process_creation, product linux
Author
Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects default install commands of the Triple Cross eBPF rootkit based on the "deployer.sh" script

Known false positives

  • Unlikely

MITRE ATT&CK coverage

TacticTechniques
Stealth

Telemetry coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule body

title: Triple Cross eBPF Rootkit Install Commands
id: 22236d75-d5a0-4287-bf06-c93b1770860f
status: test
description: Detects default install commands of the Triple Cross eBPF rootkit based on the "deployer.sh" script
references:
    - https://github.com/h3xduck/TripleCross/blob/1f1c3e0958af8ad9f6ebe10ab442e75de33e91de/apps/deployer.sh
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-07-05
tags:
    - attack.stealth
    - attack.t1014
logsource:
    category: process_creation
    product: linux
detection:
    selection:
        Image|endswith: '/sudo'
        CommandLine|contains|all:
            - ' tc '
            - ' enp0s3 '
        CommandLine|contains:
            - ' qdisc '
            - ' filter '
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '/sudo'
    CommandLine|contains|all:
        - ' tc '
        - ' enp0s3 '
    CommandLine|contains:
        - ' qdisc '
        - ' filter '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • enp0s3
  • filter
  • qdisc
  • tc
field:"CommandLine" kind:match
Imageends_with
  • /sudo
field:"Image" kind:ends_with value:"/sudo"