VxWorks WDB Agent Remote Reboot - Metasploit


This page contains detailed information about how to use the auxiliary/admin/vxworks/wdbrpc_reboot metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.

Module Overview


Name: VxWorks WDB Agent Remote Reboot
Module: auxiliary/admin/vxworks/wdbrpc_reboot
Source code: modules/auxiliary/admin/vxworks/wdbrpc_reboot.rb
Disclosure date: -
Last modification time: 2020-05-12 22:15:21 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 17185
List of CVEs: -

This module provides the ability to reboot a VxWorks target through WDBRPC

Module Ranking and Traits


Module Ranking:

  • normal: The exploit is otherwise reliable, but depends on a specific version and can't (or doesn't) reliably autodetect. More information about ranking can be found here.

Basic Usage


This module is a scanner module, and is capable of testing against multiple hosts.

msf > use auxiliary/admin/vxworks/wdbrpc_reboot
msf auxiliary(wdbrpc_reboot) > show options
    ... show and set options ...
msf auxiliary(wdbrpc_reboot) > set RHOSTS ip-range
msf auxiliary(wdbrpc_reboot) > exploit

Other examples of setting the RHOSTS option:

Example 1:

msf auxiliary(wdbrpc_reboot) > set RHOSTS 192.168.1.3-192.168.1.200 

Example 2:

msf auxiliary(wdbrpc_reboot) > set RHOSTS 192.168.1.1/24

Example 3:

msf auxiliary(wdbrpc_reboot) > set RHOSTS file:/tmp/ip_list.txt

Required Options


  • RHOSTS: The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'

Go back to menu.

Msfconsole Usage


Here is how the admin/vxworks/wdbrpc_reboot auxiliary module looks in the msfconsole:

msf6 > use auxiliary/admin/vxworks/wdbrpc_reboot

msf6 auxiliary(admin/vxworks/wdbrpc_reboot) > show info

       Name: VxWorks WDB Agent Remote Reboot
     Module: auxiliary/admin/vxworks/wdbrpc_reboot
    License: Metasploit Framework License (BSD)
       Rank: Normal

Provided by:
  hdm <[email protected]>

Available actions:
  Name    Description
  ----    -----------
  Reboot  Reboot target

Check supported:
  No

Basic options:
  Name     Current Setting  Required  Description
  ----     ---------------  --------  -----------
  CONTEXT  0                yes       The context to terminate (0=system reboot)
  RHOSTS                    yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
  RPORT    17185            yes       The target port
  THREADS  1                yes       The number of concurrent threads (max one per host)

Description:
  This module provides the ability to reboot a VxWorks target through 
  WDBRPC

References:
  OSVDB (66842)
  http://blog.metasploit.com/2010/08/vxworks-vulnerabilities.html
  https://www.kb.cert.org/vuls/id/362332

Module Options


This is a complete list of options available in the admin/vxworks/wdbrpc_reboot auxiliary module:

msf6 auxiliary(admin/vxworks/wdbrpc_reboot) > show options

Module options (auxiliary/admin/vxworks/wdbrpc_reboot):

   Name     Current Setting  Required  Description
   ----     ---------------  --------  -----------
   CONTEXT  0                yes       The context to terminate (0=system reboot)
   RHOSTS                    yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
   RPORT    17185            yes       The target port
   THREADS  1                yes       The number of concurrent threads (max one per host)

Auxiliary action:

   Name    Description
   ----    -----------
   Reboot  Reboot target

Advanced Options


Here is a complete list of advanced options supported by the admin/vxworks/wdbrpc_reboot auxiliary module:

msf6 auxiliary(admin/vxworks/wdbrpc_reboot) > show advanced

Module advanced options (auxiliary/admin/vxworks/wdbrpc_reboot):

   Name                 Current Setting  Required  Description
   ----                 ---------------  --------  -----------
   ShowProgress         true             yes       Display progress messages during a scan
   ShowProgressPercent  10               yes       The interval in percent that progress should be shown
   VERBOSE              false            no        Enable detailed status messages
   WORKSPACE                             no        Specify the workspace for this module

Auxiliary Actions


This is a list of all auxiliary actions that the admin/vxworks/wdbrpc_reboot module can do:

msf6 auxiliary(admin/vxworks/wdbrpc_reboot) > show actions

Auxiliary actions:

   Name    Description
   ----    -----------
   Reboot  Reboot target

Evasion Options


Here is the full list of possible evasion options supported by the admin/vxworks/wdbrpc_reboot auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):

msf6 auxiliary(admin/vxworks/wdbrpc_reboot) > show evasion

Module evasion options:

   Name  Current Setting  Required  Description
   ----  ---------------  --------  -----------

Go back to menu.


References


See Also


Check also the following modules related to this module:

Authors


  • hdm

Version


This page has been produced using Metasploit Framework version 6.1.27-dev. For more modules, visit the Metasploit Module Library.

Go back to menu.