Skip to content
Threat Feed
medium advisory

Potential Network Sniffing via Start-NetEventSession

Adversaries may use the legitimate Windows PowerShell cmdlet Start-NetEventSession to capture network traffic and perform reconnaissance or credential theft.

Attackers may abuse the built-in Windows PowerShell cmdlet 'Start-NetEventSession' to initiate unauthorized packet capture on a compromised host. This technique, classified as Network Sniffing (T1040), allows an adversary to monitor network traffic for sensitive information, such as plaintext credentials, configuration data, or internal network topology details. By leveraging native administrative tools, actors can often bypass legacy security controls that rely on signature-based detection of third-party sniffing utilities like Wireshark or tcpdump. Defenders should monitor PowerShell Script Block logs for the invocation of this cmdlet to identify post-exploitation sniffing activity. This detection is particularly critical in environments where unencrypted protocols are still in use, as the impact of such sniffing can lead to widespread credential compromise.

Impact

Successful exploitation allows attackers to gain visibility into internal network communications, potentially leading to the interception of sensitive data, authentication tokens, and user credentials transmitted via insecure protocols. This provides a foundation for lateral movement and further escalation of privileges within the victim's environment.

Recommendation

  • Enable PowerShell Script Block Logging (Event ID 4104) across all Windows endpoints to ensure visibility into cmdlet execution.
  • Deploy the provided Sigma rule to detect the use of Start-NetEventSession and triage alerts against known network administration baselines.
  • Audit administrative usage of network diagnostic tools to establish a baseline of expected behavior and reduce false positives from authorized IT operations.

Immediate actions

Deploy Sigma rule for Start-NetEventSession to SIEM

Detection Engineering 48h

Mitigations

Enforce Script Block Logging via Group Policy

medium_term IT Operations

Telemetry visibility

Detection coverage 1

Detect Start-NetEventSession Cmdlet Usage

medium

Detects the execution of PowerShell scripts calling the Start-NetEventSession cmdlet, which can be used for unauthorized network packet capture.

sigma tactics: credential_access, discovery techniques: T1040 sources: ps_script, windows

Detection queries are available on the platform. Get full rules →