Penetration testing
Wireshark for Beginners: Filters and What to Look For
Wireshark lets you see the individual packets crossing a network. For penetration testers it shows what a tool really sends; for SOC analysts it is how you prove what happened on the wire. It is free, and it is the best way to make networking theory concrete. Capture only on networks you own or are authorized to monitor.
Capture Filters vs Display Filters
A capture filter decides what Wireshark records in the first place, using the older BPF syntax, for example "host 192.168.56.101". A display filter hides packets from view after capture, using Wireshark's own syntax. Beginners should capture everything in a lab and use display filters to focus.
Display Filters You Will Use Constantly
- "ip.addr == 192.168.56.101": traffic to or from one host
- "tcp.port == 445": SMB traffic
- "dns": DNS queries and answers
- "http.request": HTTP requests only
- "tcp.flags.syn == 1 && tcp.flags.ack == 0": connection attempts, useful for spotting scans
- "!(arp || dns)": hide noisy background protocols
Follow a Conversation
Right-click a packet and choose Follow, then TCP Stream (or HTTP Stream), to read the whole conversation in order. For unencrypted protocols you will see requests, responses and sometimes credentials, which is exactly why those protocols should not be used.
Use the Statistics Menu
- Conversations: which hosts talked the most
- Protocol Hierarchy: what kinds of traffic are in the capture
- Endpoints: every address seen
These views turn a capture of thousands of packets into a short list of things worth examining.
What Scans and Attacks Look Like
- Port scans: many SYN packets from one host to many ports, mostly answered with resets
- ARP spoofing: one hardware address claiming several IP addresses
- DNS tunneling: long, random-looking subdomains in many queries
- Beaconing: a host contacting the same external address at regular intervals
HTTPS and Encryption
Most traffic is encrypted today, so you will see that a connection happened, to which server name, and how much data moved, but not the content. That metadata is still valuable in an investigation.
A First Exercise
In your home lab, start a capture, run an Nmap scan from Kali against a lab machine, then stop and filter for the SYN packets. Compare a default scan with a version scan. Then read networking basics for cybersecurity with the capture open.
Wireshark in Our Courses
Wireshark is used in our network and Active Directory course to read the traffic of attacks, and in the SOC course for network evidence in investigations.
Want to read packets with an instructor? Book free trial classes. Contact us or call +91 86868 92922.
Courses Mentioned in This Guide
More Guides
How to Build a Cyber Security Home Lab on Your Laptop
Build a free cybersecurity home lab: the laptop you need, VirtualBox, Kali Linux, vulnerable machines, a Windows domain and a SIEM, kept safely isolated.
Read the guide →CVSS Scores Explained: How Vulnerability Severity Is Rated
What CVSS is, how a score from 0 to 10 is built, the severity ratings, what changed in CVSS v4.0, and why a score alone should not decide what to fix first.
Read the guide →Active Directory Attacks Explained for Beginners
How penetration testers assess Active Directory: enumeration, Kerberoasting, NTLM relay, ACL abuse and DCSync in plain language, with the fix for each.
Read the guide →What Is VAPT? Vulnerability Assessment vs Penetration Testing
VAPT explained: how a vulnerability assessment differs from a penetration test, the types of VAPT, how an engagement runs and what the final report contains.
Read the guide →Start Your Cyber Security Career
Talk to a counselor, choose the right course for your goals, and get the fee, syllabus and next batch dates in writing.
- Call+91 86868 92922
Open 7 days: Mon to Fri 8:30 AM to 8:30 PM IST
Sat and Sun 10 AM to 6 PM IST - Emailinfo@hackingtrainer.com
- VisitGround Floor, G-3, Sri Venkatasai Nest, Kallu Compound Road, Nagarjuna Nagar Colony, Yella Reddy Guda, Ameerpet, Hyderabad – 500073
Open in Google Maps