Detectionmediumtest

New Network Trace Capture Started Via Netsh.EXE

Detects the execution of netsh with the "trace" flag in order to start a network capture

Open in Detection LabConvert ruleBuild Package
Kutepov Anton, oscd.communityCreated 2019-10-24Updated 2023-02-13d3c3861d-c504-4c77-ba55-224ba82d0118windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection_img:
        - Image|endswith: '\netsh.exe'
        - OriginalFileName: 'netsh.exe'
    selection_cli:
        CommandLine|contains|all:
            - 'trace'
            - 'start'
    condition: all of selection_*
False Positives

Legitimate administration activity

Rule Metadata
Rule ID
d3c3861d-c504-4c77-ba55-224ba82d0118
Status
test
Level
medium
Type
Detection
Created
2019-10-24
Modified
2023-02-13
Path
rules/windows/process_creation/proc_creation_win_netsh_packet_capture.yml
Raw Tags
attack.discoveryattack.credential-accessattack.t1040
View on GitHub