The Investigators Blog

Private Investigation, OSINT & Due Diligence Insights in Ontario


Digital Surveillance Technologies: The Invisible World of Wi-Fi Packet Sniffing

Every second, an enormous amount of information moves invisibly through the air around us.

Phones communicate with Wi-Fi routers. Laptops contact websites. Smart televisions connect to streaming services. Security cameras transmit video. Printers announce themselves on networks. Smart-home devices contact cloud servers, and applications continuously exchange small pieces of information with systems scattered across the Internet.

To the ordinary user, all of this is invisible.

To a network-analysis system, however, it can appear as a stream of digital communications known as packets.

The technologies capable of observing and analysing those packets are commonly known as packet sniffers, network protocol analysers and wireless reconnaissance tools. They have legitimate and important applications in cybersecurity, network administration and digital forensics. At the same time, their ability to observe communications makes them an interesting — and potentially intrusive — form of digital surveillance technology.

This article looks at what these systems actually do, what information they can reveal, how modern encryption has changed their capabilities, and where tools such as Wireshark, NetworkMiner, Kismet and the WiFi Pineapple fit into the picture.


What Exactly Is a Network Packet?

Information generally does not travel across a computer network as one continuous stream.

It is divided into smaller units called packets.

A simplified packet might contain information identifying:

  • where the packet came from;
  • where it is going;
  • the communications protocol being used;
  • sequencing and timing information; and
  • some portion of the information being transmitted.

Thousands — sometimes millions — of these packets can pass through a network in a relatively short period.

A packet sniffer captures packets visible to a network interface and allows them to be examined.

This is analogous to observing traffic on a highway.

A normal user sees cars passing.

A network analyser may be able to determine:

which vehicle came from where → where it went → when it travelled → what type of traffic it represented → and, where the contents are not adequately protected, potentially what it was carrying.

That last distinction — between observing traffic and reading its contents — has become enormously important as Internet encryption has improved.


Wireshark: Seeing the Packets

Perhaps the best-known network protocol analyser is Wireshark.

Wireshark captures network traffic and allows an analyst to examine individual packets and the protocols contained within them. Wireless capture can also be performed where the operating system, network interface and wireless hardware support the necessary monitor-mode capabilities.

Instead of simply saying:

“This computer visited the Internet.”

a packet-analysis environment may reveal a much richer technical picture of communications taking place between devices.

Depending upon the network and encryption involved, an analyst may be able to observe information relating to:

  • network addresses;
  • communicating hosts;
  • connection times;
  • protocols;
  • network services;
  • packet volumes;
  • wireless-management traffic;
  • DNS activity where it is visible;
  • connection failures;
  • certificates and protocol negotiations; and
  • unencrypted application data.

Wireshark is primarily packet-centric.

The analyst is presented with the communications themselves and can progressively dissect what happened.

This makes Wireshark extraordinarily powerful for troubleshooting and digital forensics — but it can also produce an overwhelming amount of information.

A busy network can generate an enormous packet capture.

That led to another category of tool: systems designed to turn network traffic into something more immediately intelligible.


NetworkMiner: Turning Traffic Into Intelligence

NetworkMiner approaches the same problem differently.

It is described by its developer as a Network Forensic Analysis Tool and can analyse previously captured PCAP files or passively examine live network traffic. Rather than focusing primarily on packets, its interface is designed around the hosts and forensic artefacts discovered from the traffic.

That difference is significant.

Imagine capturing 200,000 packets.

Wireshark essentially helps an analyst ask:

“What happened inside these packets?”

NetworkMiner tries to help answer:

“What computers, sessions and useful artefacts can be reconstructed from this network activity?”

Depending on what the captured traffic actually contains and whether it is encrypted, NetworkMiner can identify or reconstruct material such as:

  • hosts;
  • hostnames;
  • operating-system indicators;
  • sessions;
  • ports;
  • certificates;
  • files;
  • images; and
  • email-related artefacts.

The developer specifically documents the extraction of files, emails and certificates from suitable network captures.

From a digital-forensics perspective, this makes NetworkMiner particularly interesting.

Wireshark exposes the conversation at packet level. NetworkMiner attempts to organize the conversation into evidence.


Kismet: Watching the Wireless Environment

Kismet moves the focus another level outward.

Instead of primarily asking what is contained inside an Internet conversation, Kismet examines the wireless environment itself.

The project describes Kismet as a sniffer, wireless intrusion-detection system and wardriving tool supporting technologies including Wi-Fi, Bluetooth and other radio-frequency systems.

With appropriate hardware, Kismet can passively observe wireless activity and build a picture of devices and networks operating in the surrounding radio environment.

Its usefulness therefore extends beyond analysing a single network connection.

Conceptually, Kismet can help answer questions such as:

What wireless networks are present?

What devices appear to be operating?

What kinds of wireless activity are taking place?

Has something unusual appeared in the environment?

Kismet can also function as a Wireless Intrusion Detection System (WIDS), producing alerts for particular wireless events and suspicious behavioural patterns.

That makes it useful not only for security testing but also for detecting unauthorized or unexpected wireless infrastructure.


WiFi Pineapple: When the Sniffer Becomes Hardware

Some wireless-surveillance technology is not merely software.

The Hak5 WiFi Pineapple is a dedicated wireless auditing and penetration-testing platform. Hak5 describes the product as a Wi-Fi pen-testing platform intended for wireless security assessment.

Unlike running Wireshark on an ordinary workstation, a dedicated wireless-auditing appliance is specifically designed around observing and testing Wi-Fi environments.

In authorized cybersecurity work, such systems can be used to evaluate how wireless devices and users behave, identify security weaknesses, analyse surrounding wireless infrastructure and demonstrate risks caused by poorly configured networks.

This class of hardware is particularly important because it demonstrates how surveillance technology has evolved.

A device capable of sophisticated wireless reconnaissance no longer needs to resemble a room full of telecommunications equipment.

It can be small, portable and relatively inexpensive.


Four Technologies, Four Different Questions

Although these tools are often grouped together, they actually answer different questions.

TechnologyPrimary Question
WiresharkWhat exactly is happening inside the network traffic?
NetworkMinerWhat useful forensic artefacts can be reconstructed from that traffic?
KismetWhat wireless networks and devices exist around me, and what are they doing?
WiFi PineappleHow does this wireless environment behave when subjected to an authorized security assessment?

Together they illustrate several different layers of digital surveillance:

radio environment → devices → connections → packets → reconstructed information.


The Golden Age of Packet Sniffing Is Largely Over

There is an important historical dimension to this technology.

Years ago, substantial amounts of Internet traffic travelled without application-layer encryption.

HTTP rather than HTTPS was commonplace.

Some applications transmitted usernames, session information and even passwords in ways that could potentially be observed by anyone positioned appropriately on the network.

This made packet sniffing extraordinarily revealing.

Modern communications are very different.

Today, HTTPS/TLS protects most ordinary web traffic, while modern Wi-Fi deployments normally use technologies such as WPA2 or WPA3.

Consequently, successfully capturing a packet does not necessarily mean that its contents can be read.

Wireshark’s own documentation illustrates the distinction: although the software supports analysing encrypted 802.11 environments when the required keys and circumstances permit it, modern Wi-Fi security increasingly uses session-specific cryptographic material.

A modern network capture might therefore reveal:

Device A communicated with Server B at 14:03

without necessarily revealing:

what Device A told Server B.

That is a major improvement for privacy.


Encryption Does Not Make Network Surveillance Meaningless

Encryption protects content, but communications can still generate metadata.

Depending upon the technology and circumstances, network observations can reveal patterns such as:

  • when a device became active;
  • how frequently it communicated;
  • how long connections lasted;
  • how much information moved;
  • what network protocols were involved;
  • what local devices existed;
  • which infrastructure systems communicated; and
  • whether communication patterns changed.

This is an important concept in modern surveillance.

Sometimes the contents of a communication are less revealing than the pattern of communication.

Consider a hypothetical situation.

An observer cannot read the encrypted conversation between two systems.

But the observer sees that:

Device X appears every weekday at 07:55.

It disappears at approximately 17:10.

It is absent every Saturday and Sunday.

A second device normally appears approximately five minutes later.

Both devices disappear during a particular week.

No message has been read.

Yet patterns have emerged.

This illustrates why metadata can itself become intelligence.


Passive Surveillance Versus Active Interception

Another important distinction is the difference between passive observation and active interference.

A passive wireless reconnaissance system attempts to observe signals or traffic already present in its environment.

It does not necessarily communicate with the devices being observed.

An active system may interact with devices, networks or communications.

That distinction is important technically, ethically and legally.

Merely describing all such technology as a “Wi-Fi sniffer” can therefore be misleading.

There is a substantial difference between:

observing the existence of a wireless access point

and

deliberately attempting to acquire someone’s private communications.

The technology may overlap.

The activity does not.


Is Packet Sniffing OSINT?

Strictly speaking, no.

Open Source Intelligence — OSINT — concerns intelligence derived from information available through openly or legitimately accessible sources.

Examples include:

  • websites;
  • search engines;
  • social-media platforms;
  • corporate registries;
  • government databases;
  • archived web pages;
  • court records;
  • news archives;
  • domain records; and
  • publicly exposed digital information.

Intercepting network communications is fundamentally different.

It sits more naturally within disciplines such as:

Network Forensics

Wireless Reconnaissance

Cybersecurity

Digital Forensics

Communications Intelligence

Nevertheless, understanding this technology is valuable to an OSINT practitioner.

A digital investigator should understand not only how publicly available information is discovered, but also the technologies by which digital information can be generated, transmitted, protected, leaked or intercepted.


The Defensive Side of Packet Sniffing

It would be a mistake to regard packet sniffers simply as surveillance tools.

Their most important applications are frequently defensive.

A cybersecurity analyst can use network analysis to investigate:

  • malware communicating with command-and-control infrastructure;
  • compromised computers;
  • unexpected devices;
  • unauthorized services;
  • suspicious network connections;
  • network-performance problems;
  • incorrectly configured equipment;
  • data exfiltration;
  • rogue wireless access points; and
  • intrusion attempts.

Kismet, for example, expressly supports wireless intrusion-detection functionality.

NetworkMiner can reconstruct network evidence from captured traffic, while Wireshark allows an analyst to drill down to the packet and protocol

The very same ability that creates a surveillance risk can therefore help defenders identify an intrusion.


What This Teaches Us About Digital Privacy

Packet sniffing demonstrates an uncomfortable truth about modern technology:

information does not have to be stored somewhere permanently before it can become intelligence.

Information exists while it is moving.

Every connection between two devices creates signals, packets and metadata.

Security therefore depends on more than protecting databases.

It also requires protecting data in transit.

This is why technologies such as HTTPS, TLS, encrypted messaging and secure Wi-Fi protocols have become so important.

A stolen database compromises information at rest.

A compromised communication channel exposes information while it travels.

Both are forms of digital exposure.


The Larger Digital-Surveillance Ecosystem

Packet analysis represents only one branch of modern digital surveillance.

Other technologies include:

  • cellular-network analysis;
  • GPS and location tracking;
  • automatic licence-plate recognition;
  • facial recognition;
  • Bluetooth and proximity detection;
  • advertising-device identifiers;
  • browser fingerprinting;
  • metadata analysis;
  • CCTV analytics;
  • satellite imagery;
  • Internet-of-Things telemetry;
  • acoustic surveillance;
  • drone surveillance; and
  • large-scale data correlation.

What makes today’s surveillance environment remarkable is not necessarily any single sensor.

It is the ability to correlate information from multiple sensors.

A wireless identifier alone may reveal little.

A location alone may reveal little.

A timestamp alone may reveal little.

But:

identifier + location + timestamp + device + public records + social media

can potentially create a much more detailed picture.

That process of correlation is one of the defining characteristics of modern intelligence analysis.


The Irony of Modern Surveillance Technology

The same technology frequently protects us and exposes us.

Packet analysis can identify malware.

It can also reveal communications.

Wireless reconnaissance can identify rogue access points.

It can also map surrounding wireless devices.

Location technology can find a stolen vehicle.

It can also track an individual.

Facial recognition can locate a missing person.

It can also enable persistent monitoring.

Technology itself rarely determines the ethical outcome.

Purpose, authority, proportionality and method do.

Understanding digital-surveillance technology therefore requires more than understanding how the equipment works.

It requires understanding when its use crosses the boundary between legitimate observation and intrusion.


A Canadian Private-Investigation Perspective

For licensed private investigators in Ontario, this distinction is particularly important.

Holding a private-investigator licence does not confer police powers or a general authority to intercept private communications. Ontario’s official Private Investigator Study Guide specifically notes that private investigators have neither police nor peace-officer powers and are expected to operate within their lawful authority.

Ontario’s Private Security and Investigative Services Act, 2005 (PSISA) and its Code of Conduct require licensed investigators to comply with federal, provincial and municipal laws. The Code also requires licensees to respect privacy and treat information received during their work as confidential, subject to lawful disclosure requirements.

Where an investigation is conducted commercially, PIPEDA may also apply to the collection, use and disclosure of personal information. The Office of the Privacy Commissioner of Canada states that organizations generally require knowledge and consent for the collection, use or disclosure of personal information, subject to statutory exceptions, and that collection must be limited and conducted by fair and lawful means.

Most importantly for communications interception, Canada’s Criminal Code defines “intercept” broadly to include listening to, recording or acquiring a communication or its substance, meaning or purport. Section 184 generally prohibits knowingly intercepting a private communication using an electromagnetic, acoustic, mechanical or other device, subject to the exceptions and authorizations set out in the legislation.

Disclaimer

This article discusses packet analysis and wireless-surveillance technologies for educational and technological awareness purposes only. It is not a guide to intercepting communications.

Ontario private investigators should not assume that their licence gives them authority to deploy packet sniffers, wireless-interception equipment or similar technology to collect another person’s private communications or personal information. Any investigative collection must remain within the PSISA and its Code of Conduct, applicable privacy legislation including PIPEDA where it applies, the Criminal Code and any other applicable law. Lawful cybersecurity testing of one’s own systems or systems for which appropriate authority has been granted is a different context from covertly acquiring another person’s communications.


Digital Surveillance Technologies Series — THE INVESTIGATORS