linux poison RSS
linux poison Email

mz (Mausezahn) : Network Traffic Generation Tool for Linux

Note: Mausezahn is basically a network and firewall testing tool. Don't use this tool when you are not aware of its consequences or have little knowledge about networks and data communication. If you get caught, or damage something of your own, then this is completely your fault.

Mausezahn is a fast traffic generator written in C which allows you to send nearly every possible and impossible packet. Mausezahn can be used for example

 * As traffic generator (e. g. to stress multi-cast networks)
 * For penetration testing of firewalls and IDS
 * For DoS attacks on networks (for audit purposes of course)
 * To find bugs in network software or appliances
 * For reconnaissance attacks using ping sweeps and port scans
 * To test network behavior under strange circumstances (stress test, malformed packets, ...)

...and more. Mausezahn is basically a versatile packet creation tool on the command line with a simple syntax and on-line help. It could also be used within (bash-) scripts to perform combination of tests.

Installation:
OpenSuSe user can install Mausezahn using "1-click" installer  - here
Ubuntu user can install it using command: sudo apt-get install mz

Using Mausezahn:
Send an arbitrary sequence of bytes through your network card 1000 times:
# mz eth0 -c 1000 "ff:ff:ff:ff:ff:ff ff:ff:ff:ff:ff:ff cc:dd 00:00:00:ca:fe:ba:be"

You can send more complex packets easily with the built-in packet builders using the -t option. Let's send a forged DNS response to host 192.168.1.2 by impersonating the DNS server x.x.x.x:
# mz eth0  -A x.x.x.x -B 192.168.1.2 -t dns "q=www.xxxxxxxx.com, a=172.16.6.66"

Perform a TCP SYN-Flood attack against all hosts in subnet 10.5.5.0/24
# mz eth0 -c 0 -Q 50,100 -A rand -B 10.5.5.0/25 -t tcp "flags=syn, dp=1-1023"

Look at the Mausezahn man pages for more details.

Note: Above examples are very dangerous command, use at your own risk, author (njauhari@cybage.com) is not responsible for any damage caused while using above examples. 



0 comments:

Post a Comment

Related Posts with Thumbnails