This repository contains scripts for recovering passwords from the Veeam Backup and Replication credential manager.
A PowerShell script for getting and decrypting accounts directly from the Veeam's database.
Usage
- Run as administrator (elevated) in PowerShell on a host in a Veeam server.
PowerShell Empire module with adapted Veeam-Get-Creds.ps1 script.
Usage
- copy VeeamGetCreds.yaml to empire/server/modules/powershell/credentials/ folder
- Run Empire server and client
- Use as usual Empire module by name /powershell/credentials/VeeamGetCreds
Python script to emulate vSphere responses to retrieve stored credentials from Veeam.
Usage
- Run the script ./veeampot.py
- Start the VMware vSphere Server Add Wizard from the Infrastructure section
- Enter the address and port (default 8443) of the host on which the script is running
- Select an account and connect (ignore the message about the invalid certificate)
- The script will print the credentials sent by Veeam
The script is written for educational purposes. Use only if you have permission to disclose credentials.