Learning Wireshark with Me - Blee
Welcome to the Wireshark Learning Guide! This document will help you get started with Wireshark, a powerful tool for network protocol analysis.
Introduction Wireshark is an open-source packet analyzer used for network troubleshooting, analysis, and communications protocol development. It allows you to capture and interactively browse the traffic running on a computer network.
Installation
- Download Wireshark:
- Visit the Wireshark website to download the latest version of Wireshark for your operating system. Here’s a Youtube video for guide: How to download and install Wireshark on Windows
- Install Wireshark:
- Follow the installation instructions specific to your operating system. I personally used the wireshark in my Kali Linux
Setting Up Wireshark
- Edit Preferences:
- Go to
Edit > Preferences
and choose the layout you prefer (Frame Layout).
- Go to
- Adjust Delta Time:
- If needed, change the delta time settings to UTC.
- Customise Colour Rules:
- Set up colouring rules to highlight specific protocols or types of traffic. Navigate to
View > Colouring Rules
and adjust as necessary.
- Set up colouring rules to highlight specific protocols or types of traffic. Navigate to
- Set Display Filters:
- Learn to use display filters to focus on specific types of packets. This is essential for efficient analysis.
Capturing Network Traffic
- Check Interfaces:
- Determine which interface Wireshark will use to capture packets.
- Use the command:
help -> About Wireshark -> OK
- Capture Options:
- Go to
Capture > Options
to manage interfaces and settings. - Adjust capture options such as
Manage Interfaces
, buffer sizes, and output locations.
- Go to
- Start Capturing:
- Select the appropriate interface and click the
Start
button to begin capturing traffic.
- Select the appropriate interface and click the
Using Dumpcap for Command-Line Capture
- List Available Interfaces:
- Use the command:
dumpcap -D
to list all interfaces.
- Use the command:
- Capture Packets:
- Choose an interface and start capturing with:
dumpcap -i 1
(replace1
with the desired interface number). - Store the captured data:
dumpcap -i 1 -w /path/to/store/file.pcapng
- Choose an interface and start capturing with:
- Advanced Capture Options:
- Split files if needed:
dumpcap -i 1 -W /path/to/store/file.pcapng -b filesize:1000 -b files:10
- Split files if needed:
Filtering Traffic
- Capture Filters:
- Define how data is brought into the network card. Set capture filters before starting the capture.
- Display Filters:
- Apply display filters to focus on specific packets of interest after the capture.
Resources
Chris Greer: https://youtu.be/OU-A2EmVrKQ?si=TReWlboASfyVgk95
Lisa Bock: https://lnkd.in/dzHGNRJQ
The is also more platform on which you can learn wireshark , i will highly recommend Tryhackme cause of the labs