Vulnerability & Exploit Database

Back to search

Metasploit msfd Remote Code Execution

Metasploit's msfd-service makes it possible to get a msfconsole-like interface over a TCP socket. If this socket is accessible on a remote interface, an attacker can execute commands on the victim's machine. If msfd is running with higher privileges than the current local user, this module can also be used for privilege escalation. In that case, port forwarding on the compromised host can be used. Code execution is achieved with the msfconsole command: irb -e 'CODE'.

Free Metasploit Download

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

 Download Now

Module Name

exploit/multi/misc/msfd_rce_remote

Authors

  • Robin Stenvi <robin.stenvi [at] gmail.com>

Targets

  • Automatic

Platforms

  • ruby

Architectures

  • ruby

Reliability

Development

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