14

I'd like to capture all traffic from one particular .exe application. I tried to follow this guide with only the one application running on a windows 10 VM, but the VM was very slow and crashed a plenty of times.

Is there any other way to capture the traffic?

layton
  • 151
  • 1
  • 1
  • 5
  • A couple solutions: You could run the program in a Virtual Machine and sniff the traffic from that network device, or you could try using something called ForceBindIP and sniff it using a VPN. Either of those might work. – xorist Aug 28 '18 at 15:06
  • The easiest and IMHO most effective [solution](https://turbofuture.com/internet/Intercepting-HTTPS-Traffic-Using-the-Squid-Proxy-in-pfSense). We doing it in enterprise environments to keep corporate's secrets. – Alex Sep 02 '18 at 17:10
  • Why was this question migrated from security stackexchange? – sandyp Sep 02 '18 at 18:14
  • @sandyp Intercepting HTTPS (encrypted) requests from an application, before they are encrypted is a security issue for applications that somewhat want to keep the requests secret from the user. – Ribo Aug 07 '22 at 22:12

3 Answers3

18

You can use Fiddler. Just download and install the CA root cert and you should be good to go.

Helpful information on how to do this -

https://audministrator.wordpress.com/2016/03/21/fiddler-how-to-capture-non-web-browser-traffic/

sandyp
  • 314
  • 2
  • 3
3

You might start with something like TCPview to determine the source and destination IPs/ports/protocols. Then you can find and isolate the specific stream in Wireshark to look at the actual packets

https://docs.microsoft.com/en-us/sysinternals/downloads/tcpview https://www.wireshark.org/

You shouldn't need a VM for this approach

1

Your guide is pointing to intercept traffic. I think you just need to capture the traffic, not intercepting and modifying them.

Fidder most probably will meet with your need as sandyp answered. However, it captures only HTTP, HTTPS, and FTP protocols. Just to extend Matt G's answer, If you want to capture other protocols as well, you might use more advanced sniffing tools such as Wireshark. Wireshark is a very well known tool, so you can find guides and examples very easily on the internet.

It may seem more difficult to use than using Fiddler. Wireshark captures whole network traffic ( not only application layer, but other layers too ) You need to use right IP address, protocol , packet ( whatever you need to ) for filtering. Wireshark Filtering

You can use Wireshark, just in case you need an advanced capturing.

In addition, decrypting SSL is also possible in Wireshark How to Decrypt SSL and TLS Traffic Using Wireshark