Rapid7 Vulnerability & Exploit Database

Xdh / LinuxNet Perlbot / fBot IRC Bot Remote Code Execution

Back to Search

Xdh / LinuxNet Perlbot / fBot IRC Bot Remote Code Execution



This module allows remote command execution on an IRC Bot developed by xdh. This perl bot was caught by Conor Patrick with his shellshock honeypot server and is categorized by Markus Zanke as an fBot (Fire & Forget - DDoS Bot). Matt Thayer also found this script which has a description of LinuxNet perlbot. The bot answers only based on the servername and nickname in the IRC message which is configured on the perl script thus you need to be an operator on the IRC network to spoof it and in order to exploit this bot or have at least the same ip to the config.


  • Jay Turla
  • Conor Patrick
  • Matt Thayer






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/xdh_x_exec
msf exploit(xdh_x_exec) > show targets
msf exploit(xdh_x_exec) > set TARGET < target-id >
msf exploit(xdh_x_exec) > show options
    ...show and set options...
msf exploit(xdh_x_exec) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security