- dSniff
-
dsniff Developer(s) Dug Song Stable release 2.3 / December 17, 2000 Operating system Unix-like Type Packet sniffer Website www.monkey.org/~dugsong/dsniff/ Dsniff is a password sniffer written by Dug Song [1] and a package of utilities that parse many different application protocols and extract interesting information.[1]
Contents
Overview
dsniff is a packet sniffer and set of traffic analysis tools written by Dug Song. The application sniffs usernames and passwords, web pages being visited, contents of email, etc. Dsniff, as the name implies, is a network sniffer, but designed for different testings. Furthermore, it can be used to crush the normal behavior of switched networks and cause network traffic from other hosts on the same network segment to be visible, not just traffic involving the host dsniff is running on.
It handles FTP, Telnet, SMTP, HTTP, POP, poppass, NNTP, IMAP, SNMP, LDAP, Rlogin, RIP, OSPF, PPTP MS-CHAP, NFS, VRRP, YP/NIS, SOCKS, X11, CVS, IRC, AIM, ICQ, Napster, PostgreSQL, Meeting Maker, Citrix ICA, Symantec pc Anywhere, NAI Sniffer, Microsoft SMB, Oracle SQL*Net, Sybase and Microsoft SQL protocols.
The name "dsniff" refers both to the package as well as an included tool. "dsniff" the tool decodes passwords sent in cleartext across a switched or unswitched Ethernet network. Its man page explains that he wrote dsniff with "honest intentions - to audit my own network, and to demonstrate the insecurity of cleartext network protocols." He then requests, "Please do not abuse this software."
These are the files that are configured in dsniff folder /etc/dsniff/
/etc/dsniff/dnsspoof.hosts --> Sample hosts file. [2] If no hostfile is specified, replies will forged for all address queries on the LAN with an answer of the local machine’s IP address.
/etc/dsniff/dsniff.magic --> Network protocol magic
/etc/dsniff/dsniff.services --> Default trigger table
The man page for dsniff explains all the flags. To learn more about using dsniff you can explore the Linux man page. [3]
This is a list of descriptions for the various dsniff programs. This text belong to the dsniff “README” written by the author Dug Song.
Name Description arpspoofing ARP spoofing Redirect packets from a target host (or all hosts) on the LAN intended for another local host by forging ARP replies. This is an extremely effective way of sniffing traffic on a switch. kernel IP forwarding (or a userland program which accomplishes the same, e.g. fragrouter :-) must be turned on ahead of time. dnsspoof Forge replies to arbitrary DNS address / pointer queries on the LAN. this is useful in bypassing hostname-based access controls, or in implementing a variety of man-in-the middle attacks (HTTP, HTTPS, SSH, Kerberos, etc). tcpkill Kills specified in-progress TCP connections (useful for libnids-based applications which require a full TCP 3-whs for TCB creation). Can be effective for bandwidth control. See also: filesnarf [4], macof [5], mailsnarf [6], msgsnarf [7], sshmitm [8], tcpnice [9], urlsnarf [10] webmitm [11], webspy [12].
Other tools included with the package include:- "webspy", a program which intercepts URLs sent by a specific IP address and directs your web browser to connect to the same URL. This results in your browser opening up the same web pages as the target being sniffed.
- "sshmitm" and "webmitm", programs designed to intercept SSH version 1 communications and web traffic respectively with a man-in-the-middle attack
- "msgsnarf", a program designed to intercept Instant Messenger and IRC conversations
- "macof", a program designed to break poorly-designed Ethernet switches by flooding them with packets with bogus MAC addresses (MAC flooding).
Bandwidth Control
Tomasz Chmielewski's Bandwidth−Limiting−HOWTO [13] is a clear reference document for CBQ (Class Based Queueing). CBQ will let you to allocate bandwidth to particular network services. To learn more about CBQ read more information in the link mentioned above.
References
- ^ Christopher R. Russel. "Penetration Testing with dsniff". http://www.ouah.org/dsniffintr.htm.
- [1] Song, Dug. "dsniff." http://www.monkey.org/~dugsong/dsniff/
- [3] Dsniff - Linux man page, http://linux.die.net/man/8/dsniff
- [4] Dsniff most recent version 2.3, http://dsniff.darwinports.com/
- [6] Dunston, Duane, Linuxsecurity.com, “And away we spoof!!!” http://www.linuxsecurity.com/docs/PDF/dsniff-n-mirror.pdf
External links
See also
Categories:- Network analyzers
- Password cracking software
- Open source network management software
Wikimedia Foundation. 2010.