Veeam Backup & Replication (CVE-2024-40711): when attackers target your backups first

A critical flaw in a popular backup server allowed code execution without a password and was used by ransomware groups. How to protect the backup system itself.

Publicly disclosed: 5 September 2024

Backups are the last line of defense against ransomware — which is exactly why attackers go after them first. On 5 September 2024 Veeam released fixes for a critical vulnerability in Veeam Backup & Replication that allowed remote code execution through unsafe data deserialization. Security researchers later reported ransomware groups using it.

CVESeverityAffectedFixed in
CVE-2024-40711Critical, CVSS 9.8 (deserialization, remote code execution)Backup & Replication 12.1.2.172 and earlier version 12 builds12.2 (build 12.2.0.334) and later

How to protect the backup system

  1. Install backup software updates quickly — the backup server deserves the same priority as the firewall.
  2. Do not join the backup server to the main Windows domain; use separate administrator accounts with MFA.
  3. Isolate the backup server in its own network segment and block access to its ports from user networks and the internet.
  4. Keep at least one copy immutable or offline (hardened Linux repository, object storage with object lock, tape).
  5. Monitor backup jobs and alert on deleted restore points or changed retention settings.
  6. Regularly test full restores.

If attackers can delete your backups, you do not have backups — you have hope.

Sources: Veeam KB4649, CERT-EU 2024-092, NVD CVE-2024-40711.

Need help with this? Contact CySec for a free consultation.


All articles

Need help with this?

Our engineers can review your current setup and propose concrete improvements.