Detectionmediumtest
Potential Packet Capture Activity Via Start-NetEventSession - ScriptBlock
Detects the execution of powershell scripts with calls to the "Start-NetEventSession" cmdlet. Which allows an attacker to start event and packet capture for a network event session. Adversaries may attempt to capture network to gather information over the course of an operation. Data captured via this technique may include user credentials, especially those sent over an insecure, unencrypted protocol.
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script
Definition
Requirements: Script Block Logging must be enabled
Detection Logic
Detection Logic1 selector
detection:
selection:
ScriptBlockText|contains: 'Start-NetEventSession'
condition: selectionFalse Positives
Legitimate network diagnostic scripts.
MITRE ATT&CK
Techniques
Rule Metadata
Rule ID
da34e323-1e65-42db-83be-a6725ac2caa3
Status
test
Level
medium
Type
Detection
Created
Sun May 12
Author
Path
rules/windows/powershell/powershell_script/posh_ps_packet_capture.yml
Raw Tags
attack.credential-accessattack.discoveryattack.t1040