Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/documentation/modules/post/multi/gather/dbeaver.md
Views: 11788
Vulnerable Application
DBeaver is free and open source universal database tool for developers and database administrators.
This module will determine if Dbeaver is installed on the target system and, if it is, it will try to dump all saved session information from the target. The passwords for these saved sessions will then be decrypted where possible.
Any Dbeaver version on any operating system are supported.
If it works normally, the connection name, host, username and password saved in the certificate file will be printed
Installation Steps
Download and run the Dbeaver installer (https://dbeaver.io/files/). Since the encryption algorithm changed in version 6.1.3, it is recommended to test this module against a version below 6.1.3 and also against the latest version.
Select default installation
Open the software and create a database connection complete password setting, add the test account password to the certificate.
Verification Steps
Get a session.
Do:
set session <session number>
Do:
run post/multi/gather/credentials/dbeaver
If the system has registry keys for Dbeaver passwords they will be printed out.
Options
XML_FILE_PATH
Specify an XML configuration file (eg. C:\Users\FireEye\.dbeaver4\General\.dbeaver-data-sources.xml
or C:\Users\FireEye\AppData\Roaming\DBeaverData\workspace6\General\.dbeaver-data-sources.xml
).
JSON_DIR_PATH
Specifies the config dir path for Dbeaver. Ensure that there are two files credentials-config.json
and data-sources.json
under the directory (eg. "C:\Users\FireEye\AppData\Roaming\DBeaverData\workspace6\General\.dbeaver
).