Debian Codegraph @

README

raw
1
2 dsniff-2.3
3 ----------
4
5 i wrote these tools with honest intentions - to audit my own network,
6 and to demonstrate the insecurity of cleartext / weakly-encrypted
7 network protocols and ad-hoc PKI. please do not abuse this software.
8
9 these programs require:
10
11 Berkeley DB - http://www.sleepycat.com/
12 OpenSSL - http://www.openssl.org/
13 libpcap - http://www.tcpdump.org/
14 libnids - http://www.packetfactory.net/Projects/Libnids/
15 libnet - http://www.packetfactory.net/Projects/Libnet/
16
17 built and tested on OpenBSD, Linux, and Solaris. YMMV.
18
19 what's here:
20
21 arpspoof
22 redirect packets from a target host (or all hosts) on the LAN
23 intended for another local host by forging ARP replies. this
24 is an extremely effective way of sniffing traffic on a switch.
25 kernel IP forwarding (or a userland program which accomplishes
26 the same, e.g. fragrouter :-) must be turned on ahead of time.
27
28 dnsspoof
29 forge replies to arbitrary DNS address / pointer queries on
30 the LAN. this is useful in bypassing hostname-based access
31 controls, or in implementing a variety of man-in-the-middle
32 attacks (HTTP, HTTPS, SSH, Kerberos, etc).
33
34 dsniff
35 password sniffer. handles FTP, Telnet, SMTP, HTTP, POP,
36 poppass, NNTP, IMAP, SNMP, LDAP, Rlogin, RIP, OSPF, PPTP
37 MS-CHAP, NFS, VRRP, YP/NIS, SOCKS, X11, CVS, IRC, AIM, ICQ,
38 Napster, PostgreSQL, Meeting Maker, Citrix ICA, Symantec
39 pcAnywhere, NAI Sniffer, Microsoft SMB, Oracle SQL*Net, Sybase
40 and Microsoft SQL auth info.
41
42 dsniff automatically detects and minimally parses each
43 application protocol, only saving the interesting bits, and
44 uses Berkeley DB as its output file format, only logging
45 unique authentication attempts. full TCP/IP reassembly is
46 provided by libnids(3) (likewise for the following tools as
47 well).
48
49 filesnarf
50 saves selected files sniffed from NFS traffic in the current
51 working directory.
52
53 macof
54 flood the local network with random MAC addresses (causing
55 some switches to fail open in repeating mode, facilitating
56 sniffing). a straight C port of the original Perl Net::RawIP
57 macof program.
58
59 mailsnarf
60 a fast and easy way to violate the Electronic Communications
61 Privacy Act of 1986 (18 USC 2701-2711), be careful. outputs
62 selected messages sniffed from SMTP and POP traffic in Berkeley
63 mbox format, suitable for offline browsing with your favorite
64 mail reader (mail -f, pine, etc.).
65
66 msgsnarf
67 record selected messages from sniffed AOL Instant Messenger,
68 ICQ 2000, IRC, and Yahoo! Messenger chat sessions.
69
70 sshmitm
71 SSH monkey-in-the-middle. proxies and sniffs SSH traffic
72 redirected by dnsspoof(8), capturing SSH password logins, and
73 optionally hijacking interactive sessions. only SSH protocol
74 version 1 is (or ever will be) supported - this program is far
75 too evil already.
76
77 sshow
78 SSH traffic analysis tool. analyzes encrypted SSH-1 and SSH-2
79 traffic, identifying authentication attempts, the lengths of
80 passwords entered in interactive sessions, and command line
81 lengths.
82
83 tcpkill
84 kills specified in-progress TCP connections (useful for
85 libnids-based applications which require a full TCP 3-whs for
86 TCB creation).
87
88 tcpnice
89 slow down specified TCP connections via "active" traffic
90 shaping. forges tiny TCP window advertisements, and optionally
91 ICMP source quench replies.
92
93 urlsnarf
94 output selected URLs sniffed from HTTP traffic in CLF
95 (Common Log Format, used by almost all web servers), suitable
96 for offline post-processing with your favorite web log
97 analysis tool (analog, wwwstat, etc.).
98
99 webmitm
100 HTTP / HTTPS monkey-in-the-middle. transparently proxies and
101 sniffs web traffic redirected by dnsspoof(8), capturing most
102 "secure" SSL-encrypted webmail logins and form submissions.
103
104 webspy
105 sends URLs sniffed from a client to your local Netscape
106 browser for display, updated in real-time (as the target
107 surfs, your browser surfs along with them, automagically).
108 a fun party trick. :-)
109
110 -d.
111
112 ---
113 http://www.monkey.org/~dugsong/