DoS attacks with Nmap NSE
The Nmap Scripting Engine (NSE) has numerous scripts that can be used to perform DoS attacks. This specific recipe will demonstrate how to locate DoS NSE scripts, identify the usage of the scripts, and execute them.
Getting ready
To use Nmap NSE to perform DoS attacks, you will need to have a system that is running a vulnerable service addressed by one of the Nmap NSE DoS scripts. In the examples provided, an instance of Windows XP is used for this purpose. For more information on setting up a Windows system, refer to the Installing Windows Server recipe in Chapter 1, Getting Started.
How to do it…
The following are the steps demonstrate an Dos attacks using Nmap NSE:
- Prior to using Nmap NSE scripts to perform DoS testing, we will need to identify what DoS scripts are available. There is a greppable
script.db
file in the Nmap NSE script directory that can be used to identify scripts in any given category:

- By grepping DoS from the
script.db
file and then piping the output...