Cyber Security: How to use Wireshark


Ever stop to think about how data travels on your network? – I do and it was one of my main forces behind me getting into IT all those years ago.  It was a fun concept and back then there was a program called Ethereal that allow you to monitor the network traffic and do some kool things.

Fast forward to 2019 and the guy who once worked on Ethereal left the company and created Wireshark.

I’m sure you all heard of Wireshark but were unsure how to use it. Well I’ve been using it day in and day out for the best part of 10 months in my pursuit of cybersecurity dreamland. 

It is assumed you have port mirroring enabled, if you don’t follow this link to another blog article: 



Below are some commands you can use to make the most of Wireshark:

Configure Capture Options:

At the top of Wireshark you’ll see: File, Edit, View, Go, and Capture. Click on ‘Capture’ and then ‘Options’

Tab: Input

  1. This is were you can select the interfaces you want to monitor, noticed that when you select the checkbox it assumes the interface is in promiscuous mode. This mean the port can ‘peer’ into the traffic of other ports data and/or data that comes across trunks also known as port mirroring. If you missed the article linked above on how to set this up, scroll back up. 😀

Tab: Output

  1. These setting are pretty self-explanatory

Tab: Options

  1. These settings are a but more resource intensive. The more of them you have checked the more strain it put on a system doing the scanning. But the name resolution ones are pretty nice, but do add strain.

In this Section we go over Filters. Filter are added in this window below:

Here are some filter I’ve used. You can literally use hundreds of filters, but this will arm you with the basics. 🙂

  1. ip.src == [ip address] <<- shows traffic going from the address
  2. ip.dst == [ip address] <– shows traffic going to the address
  3. ip.addr == [ip address] <<– this is used to find a specific address
  4. ip.src == [ip address] or ip.dst == [ip address] <<– this is used to find a source and destination address
  5. ! (ip.src == [ip address] or ip.dst == [ip address]) <<– this is used to NOT find the source and destination address in the results, notice the ! at the beginning and the parenthesis 
  6. ip.src == [192.168.0/24] <<– allows you to see a specific vlan or trunked traffic
  7. tcp.port == 80 <<- show http traffic
  8. tcp.port == 80 or tcp.port == 443 <<– show unencrypted and encrypted web traffic
  9. you can also search via protocol name like http, ftp, rdp, snmp, https, etc

This only scratches the surface of Wireshark and I’m sure I could add to this, but this is really just for me, so I can remember what I did. This blog is like my long-term storage of knowledge. 🙂