Detection rules › Sigma

Suspicious Child Process Of Manage Engine ServiceDesk

Status
test
Severity
high
Log source
product windows, category process_creation
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects suspicious child processes of the "Manage Engine ServiceDesk Plus" Java web service

MITRE ATT&CK coverage

TacticTechniques
Command & ControlT1102 Web Service

Event coverage

Rule body yaml

title: Suspicious Child Process Of Manage Engine ServiceDesk
id: cea2b7ea-792b-405f-95a1-b903ea06458f
status: test
description: Detects suspicious child processes of the "Manage Engine ServiceDesk Plus" Java web service
references:
    - https://www.horizon3.ai/manageengine-cve-2022-47966-technical-deep-dive/
    - https://github.com/horizon3ai/CVE-2022-47966/blob/3a51c6b72ebbd87392babd955a8fbeaee2090b35/CVE-2022-47966.py
    - https://blog.viettelcybersecurity.com/saml-show-stopper/
author: Florian Roth (Nextron Systems)
date: 2023-01-18
modified: 2023-08-29
tags:
    - attack.command-and-control
    - attack.t1102
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|contains|all:
            - '\ManageEngine\ServiceDesk\'
            - '\java.exe'
        Image|endswith:
            - '\AppVLP.exe'
            - '\bash.exe'
            - '\bitsadmin.exe'
            - '\calc.exe'
            - '\certutil.exe'
            - '\cscript.exe'
            - '\curl.exe'
            - '\forfiles.exe'
            - '\mftrace.exe'
            - '\mshta.exe'
            - '\net.exe'
            - '\net1.exe'
            - '\notepad.exe'  # Often used in POCs
            - '\powershell.exe'
            - '\pwsh.exe'
            - '\query.exe'
            - '\reg.exe'
            - '\schtasks.exe'
            - '\scrcons.exe'
            - '\sh.exe'
            - '\systeminfo.exe'
            - '\whoami.exe'  # Often used in POCs
            - '\wmic.exe'
            - '\wscript.exe'
            # - '\hh.exe'
            # - '\regsvr32.exe'
            # - '\rundll32.exe'
            # - '\scriptrunner.exe'
    filter_main_net:
        Image|endswith:
            - '\net.exe'
            - '\net1.exe'
        CommandLine|contains: ' stop'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Legitimate sub processes started by Manage Engine ServiceDesk Pro
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    ParentImage|contains|all:
        - '\ManageEngine\ServiceDesk\'
        - '\java.exe'
    Image|endswith:
        - '\AppVLP.exe'
        - '\bash.exe'
        - '\bitsadmin.exe'
        - '\calc.exe'
        - '\certutil.exe'
        - '\cscript.exe'
        - '\curl.exe'
        - '\forfiles.exe'
        - '\mftrace.exe'
        - '\mshta.exe'
        - '\net.exe'
        - '\net1.exe'
        - '\notepad.exe'
        - '\powershell.exe'
        - '\pwsh.exe'
        - '\query.exe'
        - '\reg.exe'
        - '\schtasks.exe'
        - '\scrcons.exe'
        - '\sh.exe'
        - '\systeminfo.exe'
        - '\whoami.exe'
        - '\wmic.exe'
        - '\wscript.exe'

Stage 2: not filter_main_net

filter_main_net:
    Image|endswith:
        - '\net.exe'
        - '\net1.exe'
    CommandLine|contains: ' stop'

Exclusions

Top-level NOT(...) conjuncts: predicates this rule actively suppresses.

FieldKindExcluded values
Imageends_with\net.exe
Imageends_with\net1.exe
CommandLinematch stop

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
Imageends_with
  • \AppVLP.exe corpus 6 (sigma 6)
  • \bash.exe corpus 22 (sigma 22)
  • \bitsadmin.exe corpus 29 (sigma 29)
  • \calc.exe corpus 13 (sigma 13)
  • \certutil.exe corpus 43 (sigma 43)
  • \cscript.exe corpus 73 (sigma 73)
  • \curl.exe corpus 30 (sigma 30)
  • \forfiles.exe corpus 12 (sigma 12)
  • \mftrace.exe corpus 6 (sigma 6)
  • \mshta.exe corpus 67 (sigma 67)
  • \net.exe corpus 49 (sigma 49)
  • \net1.exe corpus 47 (sigma 47)
  • \notepad.exe corpus 9 (sigma 9)
  • \powershell.exe corpus 182 (sigma 182)
  • \pwsh.exe corpus 168 (sigma 168)
  • \query.exe corpus 6 (sigma 6)
  • \reg.exe corpus 58 (sigma 58)
  • \schtasks.exe corpus 56 (sigma 56)
  • \scrcons.exe corpus 9 (sigma 9)
  • \sh.exe corpus 16 (sigma 16)
  • \systeminfo.exe corpus 11 (sigma 11)
  • \whoami.exe corpus 19 (sigma 19)
  • \wmic.exe corpus 60 (sigma 60)
  • \wscript.exe corpus 75 (sigma 75)
ParentImagematch
  • \ManageEngine\ServiceDesk\
  • \java.exe