Veeam

What Is?

Veeam is a backup tool the allows the backing up and storage of data in online and offline backups.

Threat Actor Value:

  • Stores credentials of hosts that it uses to authenticate to and backup.

    • Could potentially allow a TA to steal ESXi credentials from a Veeam host.

  • Could store images of DCs, allowing a TA to mount and extract NTDS.dit.

    • These images can be encrypted and require a password to decrypt and mount.

  • Shows locations of offline backups and possibly ESXi hosts.

    • Can be used to discover these important hosts.

  • Allows a TA to delete backups to hinder recovery process.

File Location:

  • C:\ProgramData\Veeam\Backup\Svc.VeeamCatalog.log will have "[CRemoveBackupCmd]" line with clear BackupRef following. Using that you can get exact timestamp when Delete From Disk was initiated for backup you are missing.

  • C:\ProgramData\Veeam\Backup\Satellites\ you can find who exactly was logged on to your VBR server at said timestamp

  • Finally, there is a log at user console machine(or VBR server if logged on locally) C:\Users\UserName\AppData\Local\Veeam\Console that tracks every single click user does, including "[Backup] Delete" with clear ID of deleted backup too.

Parse Data:

Considerations:

  • By default, grants local administrators on host administrative privileges to Veeam.

  • By default, Veeam wants to allow SYSTEM to access mssql or postgress.

Analysis Tips:

Attacking:

Credential Dumping:

Script Output:

Sqlcmd:

If the database is a MSSQL database, credentials can be dumped with SQLCmd.

Defending:

  • Enable MFA authentication for Veeam.

  • Do not domain join the Veeam server.

    • This allows a lot of entry points into it.

  • Segregate Veeam to a maintenance network.

  • Encrypt backups to prevent access to sensitive data without proper authentication.

  • Save backups in offline storage to prevent access and deletion.

  • Offline storages should pull and not push when it comes to downloading data.

    • This method only allows the offline storage to access the backup hosts and not the other way around.

Last updated