DoS attacks with Metasploit
The Metasploit framework has numerous auxiliary module scripts that can be used to perform DoS attacks. This specific recipe will demonstrate how to locate DoS modules, identify the usage of the modules, and execute them.
Getting ready
To use Metasploit to perform DoS attacks, you will need to have a system that is running a vulnerable service addressed by one of the Metasploit DoS auxiliary modules. 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 steps demonstrate the use of Metasploit to perform Dos attacks:
- Prior to using Metasploit auxiliary modules to perform DoS testing, we will need to identify what DoS modules are available. The relevant modules can be identified by browsing through the Metasploit directory tree:

- By browsing to the
/modules/auxiliary/dos
directory, we can see...