Detection rules › Sigma

Suspicious Kernel Dump Using Dtrace

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

Detects suspicious way to dump the kernel on Windows systems using dtrace.exe, which is available on Windows systems since Windows 10 19H1

MITRE ATT&CK coverage

TacticTechniques
Discovery

Telemetry coverage

Rule body

title: Suspicious Kernel Dump Using Dtrace
id: 7124aebe-4cd7-4ccb-8df0-6d6b93c96795
status: test
description: Detects suspicious way to dump the kernel on Windows systems using dtrace.exe, which is available on Windows systems since Windows 10 19H1
references:
    - https://twitter.com/0gtweet/status/1474899714290208777?s=12
    - https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/dtrace
author: Florian Roth (Nextron Systems)
date: 2021-12-28
tags:
    - attack.discovery
    - attack.t1082
logsource:
    product: windows
    category: process_creation
detection:
    selection_plain:
        Image|endswith: '\dtrace.exe'
        CommandLine|contains: 'lkd(0)'
    selection_obfuscated:
        CommandLine|contains|all:
            - 'syscall:::return'
            - 'lkd('
    condition: 1 of selection*
falsepositives:
    - Unknown
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_dtrace_kernel_dump/info.yml

Stages and Predicates

Stage 0: condition

1 of selection*

Stage 1: selection_plain

selection_plain:
    Image|endswith: '\dtrace.exe'
    CommandLine|contains: 'lkd(0)'

Stage 2: selection_obfuscated

selection_obfuscated:
    CommandLine|contains|all:
        - 'syscall:::return'
        - 'lkd('

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • lkd(
  • lkd(0)
  • syscall:::return
field:"CommandLine" kind:match
Imageends_with
  • \dtrace.exe
field:"Image" kind:ends_with value:"\dtrace.exe"