Last updated
Was this helpful?
Last updated
Was this helpful?
is a widely used tool for backing up virtual environments built on VMware vSphere, Nutanix AHV, and Microsoft Hyper-V hypervisors. If you manage to compromise the Veeam Backup & Replication serveur, you can extract passwords and hashes from its database or from the machines that are backed up
Veam servers used for the backup should not be joined to the domain, so when attackers compromise the domain, they can't destroy your backup.
Veeam requires the username and password for any machine you want to back it up. The user provided should have high privileges on the machine, so usually, if you're going to backup the domain devices, you will put administrator creds. Veeam stores these creds on MS-SQL using method of CryptoAPI. You can easily extract them if you have admin privilege on the Veeam Server.
You can do this step by running the script and extract passwords.
If you can access a backup image, you can restore it on your local disk. More interesting, we can use the Veam individual files recover feature. Depending on the server backup type, you may extract SAM and LSA secrets from registry hives or even the NTDS.dit file if it's a domain controller. Check this section for more information about .
When you have a valid backup image, Veeam provides a restore mechanism by "". You can exfiltrate the backup images and extract the backup in multiple extensions like VMDM, VHD, or VHDX on your attacking host.
We can then create a new VM from this files or mount it to our disk to recover sensitive files.
Vulnerability CVE-2023-27532 in a Veeam Backup & Replication component allows an unauthenticated user operating within the backup infrastructure network perimeter to obtain encrypted credentials stored in the configuration database or perform remote code execution.
You may use the module witch adapted Veeam-Get-Creds.ps1 script.
Any Veeam Backup & Replication version prior to V12 () and V11a () is vulnerable.
We may use the (C#) to dump credentials from a remote Veeam server.
Alternatively, we may use (C#) from horizon3ai.
We may use the (C#) to run an arbitrary command with local system privileges on the remote Veeam server.
MITRE ATT&CK™ Credential Access - Tactic TA0006