Sniffing is listening (withsoftware) to the raw network device for packets that interest you. When yoursoftware sees a packet that fits certain criteria, it logs it to a file. Themost common criteria for an interesting packet is one that contains words like "login"or "password."
SNIFFER CODE : DOWNLOAD LINK
You will have to obtain or code asniffer that is capable of working with the appropriate type of networkinterface. Popular network interfaces include NIT (Network Interface Tap), andDLPI (Data Link Provider Interface), and BPF (Berkeley Packet Filter.)
LLI was a network interface used bySCO, which has been augmented with DLPI support as of SCO OpenServer Release V.NIT was a network interface used by Sun, but has been replaced in laterreleases of SunOS/Solaris with DLPI. Ultrix supported the Ultrix Packet Filterbefore Digital implemented support for BPF.
DLPI is supported under currentreleases of System V Release 4, SunOS/Solaris, AIX, HP/UX, UnixWare, Irix, andMacOS. DLPI is partially supported under Digital Unix. Sun DLPI version 2supports Ethernet, X.25 LAPB, SDLC, ISDN LAPD, CSMA/CD, FDDI, token ring, tokenbus, and Bisync as data-link protocols. The DLPI network interface providedwith HP/UX supports Ethernet/IEEE 802.3, IEEE 802.5, FDDI, and Fibre Channel.
For more information regarding DLPIrefer to the DLPI Specification or the paper "How to Use DLPI in Solaris2.x" by Neal Nuckolls.
BPF is supported under currentreleases of BSD and Digital Unix, and has been ported to SunOS and Solaris. AIXsupports BPF reads, but not writes. A BPF library is available for Linux.
Many sniffers are available forvarious operating systems:
Sniffer | Platform(s) | URL |
Ethereal | Most | |
tcpdump | Most | |
snort | Most | |
nettl/netfmt | HP-UX | |
nfswatch (NFS sniffer) | Unix | |
Etherman | Unix | |
snoop | Solaris | |
etherfind | SunOS | |
The Gobbler | DOS | |
LanWatch | DOS/Windows | |
Microsoft Networm Monitor (Netmon) | Windows | |
Netwatch | DOS, Windows, NetWare | |
Etherpeek | Windows, Macintosh | |
NetMinderEthernet | Macintosh | |
Sniff'em | Windows | |
Network Associates Sniffer Pro | Windows |
Here is source code for a sampleethernet sniffer using NIT under SunOS 4.x:
Thanks...
0 comments:
Post a Comment