Nemesis – A Command-Line Network Packet Crafting And Injection Utility

The Nemesis Project is designed to be a command line based, portable human IP stack for UNIX-like and Windows systems. The suite is broken down by protocol, and should allow for useful scripting of injected packets from simple shell scripts.Key FeaturesARP/RARP, DNS, ETHERNET, ICMP, IGMP, IP, OSPF, RIP, TCP and UDP protocol supportLayer 2 or Layer 3 injection on UNIX-like systemsLayer 2 injection (only) on Windows systemsPacket payload from fileIP and TCP options from fileTested on OpenBSD, Linux, Solaris, Mac OS X and Windows 2000Each supported protocol uses its own protocol “injector" which is accompanied by a man page explaining its functionality.Consult the ChangeLog for release details, and the documentation for each protocol injector for in-depth descriptions of the available functionality.ExamplesInject malformed ICMP redirect sudo nemesis icmp -S -D -G -i 5IGMP v2 join for group sudo nemesis igmp -v -p 22 -S -i -D v2 query, max resp. time 10 sec, with Router Alert IP option echo -ne ‘\x94\x04\x00\x00’ >RA sudo nemesis igmp -v -p 0x11 -c 100 -D -O RAor echo -ne ‘\x94\x04\x00\x00’ | sudo nemesis igmp -v -p 0x11 -c 100 -D -O -IGMP v3 query, with Router Alert IP option echo -ne ‘\x03\x64\x00\x00’ > v3 sudo ./src/nemesis igmp -p 0x11 -c 100 -i -P v3 -D -O RARandom TCP packet sudo nemesis tcpDoS and DDoS testing sudo nemesis tcp -v -S -D -fSA -y 22 -P foo sudo nemesis udp -v -S -D -x 11111 -y 53 -P bindpkt sudo nemesis icmp redirect -S -D -G -qR sudo nemesis arp -v -d ne0 -H 0:1:2:3:4:5 -S -D & InstallNemesis is built around libnet. Windows platform builds require libpcap as well. On Debian and Ubuntu derived GNU/Linux systems:sudo apt install libnet1-devThe GNU Configure & Build system use /usr/local as the default install prefix. Usually this is sufficient, the below example installs to /usr instead:tar xf nemesis-1.5.tar.xzcd nemesis-1.5/./configure –prefix=/usrmake -j5sudo make install-stripBuilding from GITIf you want to contribute, or simply want to try out the latest but still unreleased features, then you need to know a few things about the GNU Configure & Build and a per-directory are key filesconfigure and are generated from, they are not stored in GIT but automatically generated for the release tarballsMakefile is generated by configure scriptTo build from GIT you first need to clone the repository and run the script. This requires automake and autoconf to be installed on your system.git clone inadyn/./ && makeGIT sources are a moving target and are not recommended for production systems, unless you know what you are doing!Origin & References1999: Nemesis was created by Mark Grimes2001: Jeff Nathan took over maintainership2018: Project resurrected by Joachim NilssonThe project is currently maintained at GitHub with the intention to serve as a focal point for new development. If you have patches and/or ideas, please submit them using the issue tracker or as pull requests.Download Nemesis