Detection rules › Sigma

Binary Proxy Execution Via Dotnet-Trace.EXE

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

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

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

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

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
  • --
  • collect corpus 2 (sigma 2)
Imageends_with
  • \dotnet-trace.exe
OriginalFileNameeq
  • dotnet-trace.dll