Veritas Backup Exec Server Registry Access - Metasploit
This page contains detailed information about how to use the auxiliary/admin/backupexec/registry metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: Veritas Backup Exec Server Registry Access
Module: auxiliary/admin/backupexec/registry
Source code: modules/auxiliary/admin/backupexec/registry.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): 6106
List of CVEs: CVE-2005-0771
This modules exploits a remote registry access flaw in the BackupExec Windows Server RPC service. This vulnerability was discovered by Pedram Amini and is based on the NDR stub information posted to openrce.org. Please see the action list for the different attack modes.
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/registry
msf auxiliary(registry) > show targets
... a list of targets ...
msf auxiliary(registry) > set TARGET target-id
msf auxiliary(registry) > show options
... show and set options ...
msf auxiliary(registry) > 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/registry auxiliary module looks in the msfconsole:
msf6 > use auxiliary/admin/backupexec/registry
msf6 auxiliary(admin/backupexec/registry) > show info
Name: Veritas Backup Exec Server Registry Access
Module: auxiliary/admin/backupexec/registry
License: Metasploit Framework License (BSD)
Rank: Normal
Provided by:
hdm <[email protected]>
Available actions:
Name Description
---- -----------
Create Logon Notice Add a logon notice
System Information Dump system info (user, owner, OS, CPU...)
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 6106 yes The target port (TCP)
WARN Compromised by Metasploit! no The warning to display for the Logon Notice action
Description:
This modules exploits a remote registry access flaw in the
BackupExec Windows Server RPC service. This vulnerability was
discovered by Pedram Amini and is based on the NDR stub information
posted to openrce.org. Please see the action list for the different
attack modes.
References:
OSVDB (17627)
https://nvd.nist.gov/vuln/detail/CVE-2005-0771
http://www.idefense.com/application/poi/display?id=269&type=vulnerabilities
Module Options
This is a complete list of options available in the admin/backupexec/registry auxiliary module:
msf6 auxiliary(admin/backupexec/registry) > show options
Module options (auxiliary/admin/backupexec/registry):
Name Current Setting Required Description
---- --------------- -------- -----------
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 6106 yes The target port (TCP)
WARN Compromised by Metasploit! no The warning to display for the Logon Notice action
Auxiliary action:
Name Description
---- -----------
System Information Dump system info (user, owner, OS, CPU...)
Advanced Options
Here is a complete list of advanced options supported by the admin/backupexec/registry auxiliary module:
msf6 auxiliary(admin/backupexec/registry) > show advanced
Module advanced options (auxiliary/admin/backupexec/registry):
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
DCERPC::ReadTimeout 10 yes The number of seconds to wait for DCERPC responses
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/registry module can do:
msf6 auxiliary(admin/backupexec/registry) > show actions
Auxiliary actions:
Name Description
---- -----------
Create Logon Notice Add a logon notice
System Information Dump system info (user, owner, OS, CPU...)
Evasion Options
Here is the full list of possible evasion options supported by the admin/backupexec/registry auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(admin/backupexec/registry) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
DCERPC::fake_bind_multi true no Use multi-context bind calls
DCERPC::fake_bind_multi_append 0 no Set the number of UUIDs to append the target
DCERPC::fake_bind_multi_prepend 0 no Set the number of UUIDs to prepend before the target
DCERPC::max_frag_size 4096 yes Set the DCERPC packet fragmentation size
DCERPC::smb_pipeio rw no Use a different delivery method for accessing named pipes (Accepted: rw, trans)
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.
Failed to read <HIVE>\<SUBKEY>\<SUBVAL>...
Here is a relevant code snippet related to the "Failed to read <HIVE>\<SUBKEY>\<SUBVAL>..." error message:
77: data = backupexec_regread(hive, subkey, subval)
78:
79: if (data)
80: print_status("DATA: #{deunicode(data)}")
81: else
82: print_error("Failed to read #{hive}\\#{subkey}\\#{subval}...")
83: end
84:
85: end
86:
87: def cmd_regenum(*args)
Failed to enumerate <HIVE>\<SUBKEY>...
Here is a relevant code snippet related to the "Failed to enumerate <HIVE>\<SUBKEY>..." error message:
97: data = backupexec_regenum(hive, subkey)
98:
99: if (data)
100: print_status("DATA: #{deunicode(data)}")
101: else
102: print_error("Failed to enumerate #{hive}\\#{subkey}...")
103: end
104:
105: end
106:
107: def system_info
Go back to menu.
Related Pull Requests
- #13443 Merged Pull Request: Add descriptions to auxiliary modules Actions
- #8888 Merged Pull Request: spelling/grammar fixes part 1
- #8716 Merged Pull Request: Print_Status -> Print_Good (And OCD bits 'n bobs)
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #7338 Merged Pull Request: Relocate Rex::Platform:Windows content (fixes MS-1714)
- #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
- #2525 Merged Pull Request: Change module boilerplate
- #1228 Merged Pull Request: MSFTIDY cleanup #1 - auxiliary
References
- OSVDB (17627)
- CVE-2005-0771
- http://www.idefense.com/application/poi/display?id=269&type=vulnerabilities
See Also
Check also the following modules related to this module:
- auxiliary/admin/backupexec/dump
- exploit/windows/backupexec/name_service
- exploit/windows/backupexec/remote_agent
- exploit/windows/backupexec/ssl_uaf
- exploit/windows/browser/symantec_backupexec_pvcalendar
- exploit/windows/local/registry_persistence
- auxiliary/gather/java_rmi_registry
- auxiliary/gather/snare_registry
- exploit/windows/local/ms13_097_ie_registry_symlink
Authors
- hdm
Version
This page has been produced using Metasploit Framework version 6.1.24-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.