Detection rules › Sigma

Windows traffic capture abuse

Status
experimental
Severity
medium
Log source
product windows, category process_creation
Author
mdecrevoisier
Source
github.com/mdecrevoisier/SIGMA-detection-rules

Detects scenarios where an attacker use the native Windows sniffer in order to capture sensitive information or credentials.

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1040 Network Sniffing

Event coverage

Rule body yaml

title: Windows traffic capture abuse
description: Detects scenarios where an attacker use the native Windows sniffer in order to capture sensitive information or credentials.
references:
- https://bakerstreetforensics.com/2022/01/07/quickpcap-capturing-a-pcap-with-powershell/
tags:
- attack.credential_access
- attack.t1040 # Network Sniffing 
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  category: process_creation
detection:
  selection:
    NewProcessName|endswith: '\netsh.exe'
    CommandLine|contains|all: # full command : 'netsh trace start capture=yes IPv4.Address=192.168.1.167 '
      - netsh
      - start
      - capture
  condition: selection
falsepositives:
- Administrator network troubleshooting
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  NewProcessName|endswith: '\netsh.exe'
  CommandLine|contains|all:
    - netsh
    - start
    - capture

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
  • capture
  • netsh corpus 9 (sigma 9)
  • start corpus 13 (sigma 11, splunk 2)
NewProcessNameends_with
  • \netsh.exe corpus 28 (sigma 28)