Detection rules › Sigma

Binary Proxy Execution Via Dotnet-Trace.EXE

Status
test
Severity
medium
Log source
category process_creation, product windows
Author
Jimmy Bayne (@bohops)
Source
github.com/SigmaHQ/sigma

Detects commandline arguments for executing a child process via dotnet-trace.exe

Known false positives

  • Legitimate usage of the utility in order to debug and trace a program.

MITRE ATT&CK coverage

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule body

title: Binary Proxy Execution Via Dotnet-Trace.EXE
id: 9257c05b-4a4a-48e5-a670-b7b073cf401b
status: test
description: Detects commandline arguments for executing a child process via dotnet-trace.exe
references:
    - https://twitter.com/bohops/status/1740022869198037480
author: Jimmy Bayne (@bohops)
date: 2024-01-02
tags:
    - attack.execution
    - attack.stealth
    - attack.t1218
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\dotnet-trace.exe'
        - OriginalFileName: 'dotnet-trace.dll'
    selection_cli:
        CommandLine|contains|all:
            - '-- '
            - 'collect'
    condition: all of selection_*
falsepositives:
    - Legitimate usage of the utility in order to debug and trace a program.
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\dotnet-trace.exe'
    - OriginalFileName: 'dotnet-trace.dll'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains|all:
        - '-- '
        - 'collect'

Indicators

These rows show field, operator, and value matches.