Detection rules › Sigma

Potential SystemNightmare Exploitation Attempt

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

Detects an exploitation attempt of SystemNightmare in order to obtain a shell as LOCAL_SYSTEM

MITRE ATT&CK coverage

TacticTechniques
Privilege Escalation

Telemetry coverage

Rule body

title: Potential SystemNightmare Exploitation Attempt
id: c01f7bd6-0c1d-47aa-9c61-187b91273a16
status: test
description: Detects an exploitation attempt of SystemNightmare in order to obtain a shell as LOCAL_SYSTEM
references:
    - https://github.com/GossiTheDog/SystemNightmare
author: Florian Roth (Nextron Systems)
date: 2021-08-11
modified: 2023-02-04
tags:
    - attack.privilege-escalation
    - attack.t1068
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains:
            - 'printnightmare.gentilkiwi.com'
            - ' /user:gentilguest '
            - 'Kiwi Legit Printer'
    condition: selection
falsepositives:
    - Unknown
level: critical

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    CommandLine|contains:
        - 'printnightmare.gentilkiwi.com'
        - ' /user:gentilguest '
        - 'Kiwi Legit Printer'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • /user:gentilguest
  • Kiwi Legit Printer
  • printnightmare.gentilkiwi.com corpus 2 (sigma 2)
field:"CommandLine" kind:match