Vulnerability & Exploit Database

Back to search

Legend Perl IRC Bot Remote Code Execution

This module exploits a remote command execution on the Legend Perl IRC Bot. This bot has been used as a payload in the Shellshock spam last October 2014. This particular bot has functionalities like NMAP scanning, TCP, HTTP, SQL, and UDP flooding, the ability to remove system logs, and ability to gain root, and VNC scanning. Kevin Stevens, a Senior Threat Researcher at Damballa, has uploaded this script to VirusTotal with a md5 of 11a9f1589472efa719827079c3d13f76.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • Jay Turla



  • Legend IRC Bot


  • unix
  • windows


  • cmd



Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/multi/misc/legend_bot_exec msf exploit(legend_bot_exec) > show targets ...targets... msf exploit(legend_bot_exec) > set TARGET <target-id> msf exploit(legend_bot_exec) > show options and set options... msf exploit(legend_bot_exec) > exploit