CaptureSetup/ETW/SMB

Using Wireshark's etwdump, you can capture decrypted SMB client/server traffic on Windows by tapping into the ETW logs. Those logs are internal Windows traces that enable capturing traffic before SMB encryption.

Capture SMB Client traffic

  1. You need Wireshark 4.7.3 or greater
  2. Open wireshark as Administrator
  3. Select etwdump in the interface list (if it doesn't appear, make sure you selected 'etwdump' during install)
  4. Click on 'Add' to add a provider and select "SMB Client Payloads", then start the capture

wireshark-etwdump-smb-client

Demo

Capture SMB Server traffic

  1. You need Wireshark 4.7.3 or greater
  2. Open wireshark as Administrator
  3. Select etwdump in the interface list (if it doesn't appear, make sure you selected 'etwdump' during install)
  4. Click on 'Add' to add a provider and select "SMB Server Payloads", then start the capture

wireshark-etwdump-smb-server

See also