Introduction To Packet Sniffing
Introduction To Packet Sniffing
The packet filter is a device driver that adds to Windows 95, 98, ME, NT, 2000,
XP and 2003 the ability to capture and send raw data from a network card, with
the possibility to filter and store in a buffer the captured packets.
Packet.dll is an API that can be used to directly access the functions of the
packet driver, offering a programming interface independent from the Microsoft
OS.
Wpcap.dll exports a set of high level capture primitives that are compatible with
libpcap, the well known Unix capture library. These functions allow to capture
packets in a way independent from the underlying network hardware and
operating system.
Frame 1
WinPcap is released under a BSD-style license.
Ethereal Application
• Requires WinPcap for Captures
• Can run standalone to examine captures
A Capture
• Let’s define a capture as a period of time that Ethereal
captured data frames.
• Frames can be assembled to examine application traffic
TCP / UDP
- Ports not Addresses
- Layer 4 not 3
- FTP uses 20 and 21
IP
- Addresses not Ports
- Layer 3 not 4
- 192.168.1.1 (octet)
TCP
• TCP is connection-oriented transport layer protocol
designed to provide a reliable connection for data
exchange between two systems.
1200
1000 PCs Connected
Millions
to Web
800
600 Mobile
400 Internet
Users
200
0
1995 1996 1997 1998 1999 2000 2001 2002 2003 2004
Packet List
Packet Details
Packet Bytes
Packet List
Packet Order
Time Order
Destination IP Information
Source IP Protocol
Packet Details
• OmniPeek
• Observer