TechKnowSurge
Cisco CCST Networking 5.2 Cisco CyberOps Associate 4.6 CompTIA Network+ 5.5 Cisco CyberOps Associate 4.4 Cisco CyberOps Associate 4.5 CompTIA Network+ 3.2 CompTIA Security+ 4.4
VideoNetworkFree

What is Wireshark

Wireshark is a network protocol analyzer used to capture and inspect the binary data flowing across a network interface card. It translates raw bits into readable, structured information for troubleshooting, security analysis, traffic verification, and deeper understanding of how network communication works.

Complete this video to capture a CTF flag worth 1 point.

About this video

Network communication is built on the same fundamental principle as older signaling methods like Morse code: two parties agree on a set of rules for encoding and decoding information. In modern networks, computers transmit data by varying electrical voltage across a cable, producing a continuous stream of binary ones and zeros. Those bits follow standardized formats so that receiving devices can correctly interpret what is being sent, whether that data represents a login request, a file transfer, or any other network activity. Wireshark is a network protocol analyzer designed to capture that stream of bits at the network interface card level and translate it into structured, readable output that network professionals can actually work with. Rather than presenting raw binary, Wireshark decodes the data according to the protocols in use and displays it in a way that makes the contents and behavior of network traffic clear and accessible. This makes it possible to examine exactly what is happening on a network at a granular level. The practical applications of Wireshark span several areas of IT and cybersecurity work. On the operational side, it serves as a powerful troubleshooting tool, allowing engineers to dig into live or captured traffic to diagnose network issues and verify that configuration changes are producing the expected results. From a security standpoint, understanding how Wireshark works is essential for both offense and defense: attackers use it to sniff unencrypted traffic and extract sensitive data such as cleartext credentials, while defenders use it to monitor network behavior, identify anomalies, and ensure that systems are properly secured against that kind of exposure.

What you'll learn

What's covered

Wireshark Introduction

Aligned to

Cisco CCST Networking
5.2 Perform a packet capture with Wireshark and save it to a file
Cisco CyberOps Associate
4.6 Extract files from a TCP stream when given a PCAP file and Wireshark
4.4 Compare inline traffic interrogation and taps or traffic monitoring
4.5 Compare data from taps/traffic monitoring and NetFlow in network traffic analysis
CompTIA Network+
5.5 Given a scenario, use the appropriate tool or protocol to solve networking issues
3.2 Given a scenario, use network monitoring technologies
CompTIA Security+
4.4 Explain security alerting and monitoring concepts and tools

Key terms

Packet
A unit of data formatted for transmission over a network, containing a header, payload, and sometimes a trailer.
Network Interface Card
NIC
A hardware component that connects a computer to a network.
Protocol
A set of rules governing the format and transmission of data between devices.
Packet Filtering
A firewall technique that inspects packets and allows or blocks them based on source, destination, and protocol.
Wireshark
Wireshark is an open-source network protocol analyzer that captures and interactively displays packet-level traffic, used by security professionals for network forensics, vulnerability research, and incident investigation.
Packet Capture
PCAP
Packet Capture is the process of intercepting and recording network packets as they traverse a network interface, used in network forensics, intrusion analysis, protocol troubleshooting, and incident response investigations.

Topics

Wireshark Packet Analysis Network Traffic Capture Protocol Analyzer Network Troubleshooting Network Security Networking

Transcript

If you like learning new things and geeking out over small technical details, then Wireshark is a program for you. If you don't — well, why are you getting into the IT field? Because it's a lot of learning about technical details.

Sending a Coded Message

If I wanted to send you a message, I could do it with something as simple as this flashlight. I could take this flashlight and shine it on and off in some sort of repeated pattern that you could recognize and translate into some sort of message that I'm sending you. All we would need ahead of time is to understand what code we're going to use to transmit this message. As an example, it might be Morse code. Morse code is just a series of dots and dashes. A dot is just a single on and off, versus a dash is an extended period of on before it turns off. By those two signals, dots and dashes, we can represent different letters.

Computers operate very similarly. I can take a cable, usually made of copper wire, and connect two computers together and then send a signal across those two computers. I could do this by varying the voltage across the cable. I can turn the power off completely so there's zero volts going across it, and then that could represent just a zero. And then what I could do is I could turn the voltage on — maybe it's 5 volts, maybe it's 12 volts, maybe it's 24 volts, maybe it's 120 volts. Whatever the voltage is, we're just going to represent that by a one. So if I turn the power off it's going to be a zero; if I turn it on it's going to be a one. There's going to be some sort of timing involved in how I turn these zeros and ones on and off, and so in the end we can map out some sort of coded message that I'm sending across the wire. This coded message is going to be a series of zeros and ones.

Capturing Network Communication

Now let's see what that looks like when someone is trying to access maybe some sort of servers or another user on the network. Between those two there's going to be the series of ones and zeros that are going to be sent back and forth. Wireshark is designed to capture this information so we can analyze it.

This device right here has something called a network interface card on it — it's an interface that gives it access to a network. Same thing with these servers: they have some sort of network interface on them that gives them access to this network, and then they can communicate back and forth. So what we're going to do in Wireshark is we're going to specify an interface that we're going to capture the data from, and then we can go and further analyze it.

One of the views that Wireshark gives us is the view of the actual bits that are flowing across that network interface card. Of course, this is not really useful, because what do all of these bits mean? If we were communicating through a flashlight, then we would have a set of rules agreed upon for how we were going to do that communication, and it would probably be something like Morse code. The same thing is true for a computer: there has to be some sort of format so that way, when this data is being sent from one device to another, there's an understanding of what these bits mean. Certain bits within here are going to have different meanings, so that way this device can interpret what the meaning of those bits are going to be.

What's great about Wireshark is it takes all of these bits of information and presents it in such a way that we can actually go in and understand and geek out over the information that's being passed across the network interface card.

Why Capture Traffic

So what would be the purpose of doing this? Number one, we could be doing it to analyze the traffic across our network for troubleshooting purposes. We may need to dig deeper into our network to figure out what's happening across it and figure out some sort of solution to an issue that we're having.

Another thing is from a security standpoint: the hackers will use Wireshark in order to analyze traffic coming across the network to be able to find out information and hack that network, perhaps capturing data like clear text passwords. But also from a security perspective — which I hope you're on this side of this — we can better understand what's happening on our network so we can secure it and make sure that it's locked down and not susceptible to these hackers.

Another thing is that we may need to just verify something. There are changes that we make on our network, and we may need to go in there and just do some verification of the traffic on there.

And finally, from a learning perspective, if you like learning you're going to love Wireshark, because we can start digging in and see what's happening. How is this traffic flowing, and how does it work? So I'm excited about showing you Wireshark so we can capture some data and start digging in and figuring out what this communication looks like across our network.

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →