Join our Newsletter — 33% off our NHI Course
Home› Guides› Wireshark and Packet Capture for Beginners: Seeing What…
Guide Network Security

Wireshark and Packet Capture for Beginners: Seeing What Is on Your Network

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 28 November 2026 13 min read
On this page

Packet capture means recording the small pieces of data that travel across a network, so you can study them.

This guide is for anyone who has heard of Wireshark and wants to know what it does, when it helps and how to use it safely. You do not need to run a network to care: if your business has Wi-Fi, a card machine or a shared printer, packet capture is one way to find out what those devices are really doing.

In short

  • Everything on a network travels in small chunks called packets. Packet capture records copies of them.
  • Wireshark is a free tool that records packets and shows them in a readable list. It only watches; it does not block anything.
  • A capture shows who talked to whom and when. If the traffic is not encrypted, it can also show the content, including passwords.
  • Only capture on networks you own or have written permission to watch, and lock away the files you save.

What you will learn

  • Explain what a packet and a packet capture are.
  • Spot the main parts of a Wireshark packet list.
  • Check what a capture can and cannot show when traffic is encrypted.
  • Ask the right permission and storage questions before anyone captures.
Chunk of data (packet)
a small piece of a message, with a label saying where it came from and where it is going.
Recording (packet capture)
a saved copy of the packets that crossed a network, kept in a file for study.
Device address (IP address)
a number that tells the network which device sent or should receive a packet.

What is Wireshark and packet capture?

Think of a sorting office where every envelope is photocopied as it passes through. You can read the address on each envelope and the time it went by. If someone sent a postcard, you can read the message too.

A network works in a similar way. When your laptop loads a web page, the data is split into small chunks called packets. Each packet carries a label with the sending and receiving IP address, which is the number that tells the network which device it is for.

Packet capture means recording copies of those packets as they pass. Wireshark is a free, open source program that does this and shows the result as a list you can read.[1] Its makers say network staff use it to fix problems. Security staff use it to look into security issues, and students use it to learn.[1]

Wireshark only watches. Its manual says it does not send packets of its own, apart from name lookups you can turn off. It is also not an alarm system that warns you about intruders.[1]

Where the comparison stops working: most web traffic today is like a sealed, scrambled letter, not a postcard. A sorting office could still see the address and the size, but not read what is inside. Encryption does the same for packets.

Why does it matter?

Packet capture shows what is really going on in a network. It needs care, because a saved file can hold private data.

If you run a small business

What could happen: a camera or printer sends data somewhere you did not expect. Nobody notices.

Check this: ask your IT helper if they ever look at your traffic, and who says yes.

Next: Network Segmentation for Beginners

If you are new to IT or security work

What could happen: you capture without clear permission. Or you leave a file full of private data on a shared drive.

Check this: get written approval first, and store captures somewhere only the right people can open.

Next: Intrusion Detection and Prevention for Beginners

If you manage a team

What could happen: staff use capture tools with no rules. A file with passwords or customer data ends up in an email.

Check this: your rules should say who may capture, where, for how long and where files go.

Next: Security Logging for Beginners

What does it look like?

Wireshark shows one line per packet. This is a simplified view of that list.

Example only. All values are made up.

No.  Time   Source        Destination   Protocol  Info
1    0.000  192.0.2.10    192.0.2.1     DNS       Who is printer.example.com?   (1)
2    0.004  192.0.2.1     192.0.2.10    DNS       printer.example.com is 192.0.2.50
3    0.120  192.0.2.10    198.51.100.7  TLS       Encrypted data (1,400 bytes)    (2)
4    0.350  192.0.2.50    203.0.113.99  HTTP      POST /upload  user=FAKE pass=0000  (3)
5    0.351  203.0.113.99  192.0.2.50    HTTP      200 OK                     (4)
  1. A device asks for the address of a name. This is like looking up a number in a phone book.
  2. Encrypted traffic. You can see who talked and how much, but not the content.
  3. Unencrypted traffic. In a real file, this line would contain the actual words sent, including any password.
  4. The far end replies that it accepted the data.

Why this is risky: line 4 shows a device sending a password without encryption. Anyone who can capture that traffic could read it, and so could anyone who later opens the saved file.

The safer way: use services that encrypt traffic, such as HTTPS, and treat every capture file as sensitive. The addresses above come from ranges set aside for examples.[6]

How does it work?

  1. Devices talk in packets. Every message is split into packets, each labelled with where it came from and where it is going.
  2. A copy is made. Wireshark copies packets that reach a network connection on the computer it runs on. You may need extra rights on that computer to start a capture.[2]
  3. You pick the right place. On a normal office network, a computer mostly sees its own traffic. To see other devices, staff use a switch feature called a mirror port, which copies traffic from other ports. Another option is a small box on a cable, called a network tap.[3]
  4. Wireshark decodes it. It turns raw data into a list with times, addresses and the kind of traffic, such as web or name lookups.[1]
  5. You filter and save. Filters hide everything except what you care about. Wireshark saves captures in a file format called pcapng by default.[4]
Diagram titled How packet capture works, with four boxes joined by arrows. Box 1, Devices talk: laptops, phones and printers send packets. Box 2, A copy is made: on your own computer, or a switch mirror port. Box 3, Wireshark shows it: one line per packet, showing who, when and what kind. Box 4, Filter and save: narrow to what matters and keep the file locked. A note underneath says capture only on networks you own or have written permission to watch.
Figure 1. Packet capture in four steps, from devices talking to a saved file.

Encryption changes what you can see. Most websites use HTTPS, which relies on a protocol called TLS that is designed to stop others listening in.[5] A capture still shows the addresses, the timing and roughly how much data moved, because TLS does not hide the length of the data.[5] To read the content, Wireshark needs the secret keys for that session.[7]

Two panels titled What a capture can show. Left panel, Not encrypted, for example plain web or old email: which devices talked and when; how much data moved; the words and files inside; passwords, if sent in the clear. Right panel, Encrypted, for example HTTPS: which devices talked and when; how much data moved; the content is scrambled; reading it needs the keys.
Figure 2. Encryption hides the content, but a capture can still show who talked, when and how much.

A worked example

This story is made up to show how it can work.

Theo Marchetti looks after the computers at Riverbend Vets, a small animal practice. Staff say the internet slows to a crawl every afternoon. The broadband company says the line is fine.

Theo wants to see the traffic for himself. First he emails the practice owner, explains what he plans to capture and why, and gets a written yes. He agrees to delete the file once the problem is found.

The practice switch has a mirror port, so Theo sets it to copy the traffic from the port that leads to the internet. He plugs in a laptop and starts Wireshark at 2pm.

After half an hour he stops the capture and sorts the list by device. One address stands out. It belongs to the new security camera in the waiting room. It is sending a large stream of data to an address outside the practice.

The traffic is encrypted, so Theo cannot see what is inside. He does not need to. The timing and size match the slowdowns. He checks the camera settings and finds that cloud video backup is set to the highest quality every afternoon.

Theo lowers the quality and moves the backup to the evening. He also puts the camera on its own part of the network, away from the reception computers. The next day, staff report no slowdown in the afternoon.

Finally, he deletes the capture file from the laptop, as agreed, and writes a short note of what he found.

What made the difference: Theo got permission first, captured in the right place, and treated the file as private.

Myths and mistakes

What people thinkWhat is true
Wireshark is a hacking tool.It is a widely used troubleshooting and learning tool. What matters is permission: capture only where you are allowed to.
Wireshark will warn me about attacks.It shows traffic but is not an alarm system. Its own manual says it is not an intrusion detection system.[1]
If I run Wireshark on my laptop, I will see the whole office.On most office networks you mainly see your own traffic. Seeing other devices needs a mirror port or a tap.[3]
Encryption means a capture shows nothing useful.The content is hidden, but addresses, timing and data size are still visible.[5]
A capture file is just technical data, so it is fine to share.It can hold passwords and private details. The Wireshark team asks people not to send files that contain passwords.[8]

What can I do this week?

  1. Ask who at work may capture traffic. Ask where that rule is written down.
  2. Get Wireshark from its official website on your own computer. Open one of its sample files and look around.
  3. Check that the sites your team uses show HTTPS. That means their content is scrambled on the way.
  4. Find where old capture files are kept. Delete the ones you no longer need.

Checklist

  • I can explain what a packet and a packet capture are.
  • I know Wireshark only watches traffic; it does not block it or raise alarms.
  • I get written permission before capturing on any network I do not own.
  • I know that encrypted traffic still shows addresses, timing and size.
  • I treat capture files as sensitive and store them where only the right people can open them.
  • I delete capture files when the job is done.
  • I know a mirror port or tap is needed to see other devices' traffic on most office networks.

Common questions

Is Wireshark free?

Yes. Wireshark is open source software released under the GNU General Public License. You can run it on as many computers as you like, with no licence keys or fees. The source code is freely available too.[1]

Is it legal to use Wireshark?

Using it on your own home network or with clear written permission is the safe path. Capturing other people's traffic without permission may break privacy or computer misuse laws in many countries. This is general information, not legal advice, so check with your organisation before you start.

Can Wireshark read my HTTPS traffic?

Not on its own. It sees that the traffic is there, where it goes and how big it is. To read the content, it needs the secret keys for that session. A browser saves those keys to a file only if someone sets it up to do so.[7]

Why do I only see my own computer's traffic?

Because most networks use switches, which send each device only the traffic meant for it, plus some shared announcements. To see other devices, you need a switch with a mirror port or a network tap on the cable.[3][8]

What is the difference between pcap and pcapng?

Both are file formats for saved captures. Pcap is the older format, used by many tools such as tcpdump. Pcapng is newer and can hold extra details. Wireshark has saved in pcapng by default since version 1.8.[4]

Where next?

Ready for the detail? Read the practitioner guide: Network Monitoring and Packet Capture Guide. It goes further into flow data versus full capture, where to place sensors, and how long to keep capture files.

Also useful:

Related NHI Mgmt Group resources: Wireshark Display Filters Cheat Sheet · tcpdump and BPF Filters · Zeek Network Monitoring Guide

Key terms

Packet capture (PCAP)
A saved record of network packets, used to fix problems or investigate incidents, which can also hold private data.
Packet sniffer
A tool, such as Wireshark, that copies and shows the packets crossing a network.
IP address
A number that identifies which device sent or should receive network traffic.
Port mirroring
A switch feature that copies traffic from one port to another so it can be inspected without interrupting it.
pcapng
A capture file format that stores traffic with extra details such as comments and timestamps.
Cleartext traffic
Network traffic sent without encryption, so anyone who captures it can read it.
TLS
The protocol that encrypts traffic such as HTTPS so others on the network cannot read it.

Sources and further reading

  1. Wireshark User's Guide, Chapter 1: Introduction (What is Wireshark?, intended purposes, what Wireshark is not, open source licence). Wireshark Foundation. https://www.wireshark.org/docs/wsug_html_chunked/ChapterIntroduction.html, accessed 28 Nov 2026.
  2. Wireshark User's Guide, 4.2 Prerequisites (privileges, interface and capture location). Wireshark Foundation. https://www.wireshark.org/docs/wsug_html_chunked/ChCapPrerequisitesSection.html, accessed 28 Nov 2026.
  3. Ethernet capture setup (switches, port mirroring or SPAN, network taps). Wireshark Wiki. https://wiki.wireshark.org/CaptureSetup/Ethernet, accessed 28 Nov 2026.
  4. Wireshark User's Guide, Saving captured packets (pcapng default since 1.8; pcap format). Wireshark Foundation. https://www.wireshark.org/docs/wsug_html_chunked/ChIOSaveSection.html, accessed 28 Nov 2026.
  5. RFC 8446, The Transport Layer Security (TLS) Protocol Version 1.3 (abstract and section 1, data length not hidden). IETF, August 2018. https://datatracker.ietf.org/doc/html/rfc8446, accessed 28 Nov 2026.
  6. RFC 5737, IPv4 Address Blocks Reserved for Documentation. IETF, January 2010. https://datatracker.ietf.org/doc/html/rfc5737, accessed 28 Nov 2026.
  7. TLS (decryption with a key log file, RSA private key or pre-shared key). Wireshark Wiki. https://wiki.wireshark.org/TLS, accessed 28 Nov 2026.
  8. Wireshark Frequently Asked Questions (switched networks; do not send trace files containing passwords). Wireshark Foundation. https://www.wireshark.org/faq.html, accessed 28 Nov 2026.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.