Skip to main content

PS-Remote Get Network Traffic

This Playbook is part of the Windows Forensics Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

This playbook leverages the Windows built-in PowerShell and WinRM capabilities to connect to a Windows host. It then connects to the Netsh tool to create an ETL file which is the equivalent of a Wireshark PCAP file by using the PS-Remote integration. After receiving the resultant ETL, XSOAR will convert the ETL to a PCAP file to be parsed and enriched later. Review Microsoft documentation for how to use ETL filters (


This playbook uses the following sub-playbooks, integrations, and scripts.


This playbook does not use any sub-playbooks.


This playbook does not use any integrations.


  • Etl2Pcap
  • AddEvidence
  • IsIntegrationAvailable
  • UnzipFile
  • Sleep
  • Set


  • ps-remote-download-file
  • ps-remote-etl-create-stop
  • ps-remote-etl-create-start

Playbook Inputs#

NameDescriptionDefault ValueRequired
HostA single hostname or IP address from which to create the ETL file. For example, testpc01.Optional
EtlSizeLimitThe maximum file size in MB for the ETL. Once the file reached this size the capute will stop. For example, 10MB.10Optional
EtlPathThe path on the hostname on which to create the ETL file. The default path will be c:\etl.etl.
If the AddHostNameToFile input is "true", the file downloaded to XSOAR will contain the hostname.
EtlFilterThe filter to apply when creating the ETL file. For example, IPv4.Address= will capture traffic just from the IP address. If no filter is specified, all traffic will be recorded.Optional
ETlTimeToRecordThe time to record in seconds.60Optional
ZipEtlSpecify "true" to zip the ETL file before sending it to XSOAR.trueOptional
AddHostNameToFileSpecify "true" for the downloaded filename to contain the hostname, or "false" to keep the filename as configured in the FilePath argument.trueOptional

Playbook Outputs#

PcapDetailsThe PCAP file details.string

Playbook Image#

PS-Remote Get Network Traffic