Detection rules › Sigma

Suspicious Java Children Processes

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

Detects java process spawning suspicious children

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Suspicious Java Children Processes
id: d292e0af-9a18-420c-9525-ec0ac3936892
status: test
description: Detects java process spawning suspicious children
references:
    - https://www.tecmint.com/different-types-of-linux-shells/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-06-03
tags:
    - attack.execution
    - attack.t1059
logsource:
    category: process_creation
    product: linux
detection:
    selection:
        ParentImage|endswith: '/java'
        CommandLine|contains:
            - '/bin/sh'
            - 'bash'
            - 'dash'
            - 'ksh'
            - 'zsh'
            - 'csh'
            - 'fish'
            - 'curl'
            - 'wget'
            - 'python'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith: '/java'
    CommandLine|contains:
        - '/bin/sh'
        - 'bash'
        - 'dash'
        - 'ksh'
        - 'zsh'
        - 'csh'
        - 'fish'
        - 'curl'
        - 'wget'
        - 'python'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • /bin/sh
  • bash
  • csh
  • curl
  • dash
  • fish
  • ksh
  • python
  • wget
  • zsh
ParentImageends_with
  • /java