How Malware Detection Works

When you enable malware detection, the following actions are performed:

  1. The backup appliance uses the AWS Systems Manager (SSM) service to connect to guest OSes of the processed EC2 instances.

For the backup appliance to be able to establish the connection, it is recommended that you check whether the EC2 instances meet the SSM requirements listed in section Requirements and Limitations. To do that, click Test Configuration — the backup appliance will display the Test guest indexing configuration window where you can track the progress and view the results of the configuration check.

  1. The backup appliance creates a catalog of guest OS files and folders and saves the catalog to the target repository. Veeam Backup & Replication will further use this catalog to scan indexing data for suspicious files and extensions, indicators of compromise, deleted files and extension changes. For more information on this malware detection method, see File System Activity Analysis.

For Veeam Backup & Replication to be able to use the catalog of guest OS files and directories for malware detection, you must enable file system activity analysis and indicators of compromise detection as described in section Configuring Malware Detection.

Note

Keep in mind that catalogs of guest OS files and folders may consume up to 5 GB of storage space per each image-level backup in the target repository.

  1. The backup appliance creates an index of volume metadata and ransomware data and saves it to the target repository. Veeam Backup & Replication will further use this index to scan blocks in the data stream — and to detect encrypted files, onion links and ransom notes. For more information on this malware detection method, see Inline Scan.

For Veeam Backup & Replication to be able to use the index of volume metadata and ransomware data for malware detection, you must enable inline entropy analysis as described in section Configuring Malware Detection.

  1. After the backup policy completes successfully, Veeam Backup & Replication analyzes the created catalog and index, and then marks EC2 instances and their restore points as Suspicious if malware activity is detected by either of the malware detection methods.

For Veeam Backup & Replication to be able to determine whether the Suspicious EC2 instances and their restore points are infected indeed, you must configure signature detection settings as described in section Configuring Malware Detection.

Note

Veeam Backup & Replication does not support excluding specific EC2 instances from the malware detection scan.

Considerations and Limitations

Before you enable malware detection, consider the following:

  • The backup server to which the backup appliance is connected must be licensed using the Veeam Universal License (VUL). For more information on Veeam Data Platform editions that support malware detection, see Veeam Data Platform Feature Comparison.
  • The processed EC2 instances must be able to connect to the public s3.<region>.amazonaws.com endpoint to access the Amazon S3 service.
  • If the EC2 instances are not connected to the internet, you must enable the private network deployment functionality in the backup appliance Web UI, create interface endpoints and ensure connectivity between your resources as described in section Private Network Deployment.

Additionally, make sure that the EC2 instances are able to connect to the S3 interface endpoint specified in the target backup repository settings.

  • The EC2 instances must be running and have the 443 network port opened for outbound internet access to the AWS Systems Manager (SSM) service.
  • The EC2 instances must be configured to communicate with AWS Systems Manager as described in AWS Documentation.
  • SSM Agent must be installed on the EC2 instances as described in AWS Documentation.
  • The IAM role attached to the EC2 instances must meet the following requirements:
  1. The IAM role must be included in the instance profiles as described in AWS Documentation.
  2. The Amazon EC2 service must be granted permissions to assume the IAM role. To do that, configure trust relationships for the role and add the following statement to these relationships:

{

 "Version": "2012-10-17",

 "Statement": [

   {

     "Effect": "Allow",

     "Action": "sts:AssumeRole",

     "Principal": {

       "Service": "ec2.amazonaws.com"

     }

   }

 ]

}

  • Veeam Plug-in for AWS supports malware detection only for Windows-based and Linux-based EC2 instances with the x86_64-based architecture.
  • Veeam Plug-in for AWS does not support creating catalogs and indexes for EC2 instances whose EBS volumes you exclude from processing at step 4 of the wizard. As a result, Veeam Backup & Replication will not be able to detect signs of malware activity on these volumes at all.

However, this limitation does not apply to system volumes of Linux-based EC2 instances. For these instances, the backup appliance will create only a catalog of guest OS files and folders and will not be able to create an index of volume metadata and ransomware data. As a result, Veeam Backup & Replication will be able to detect some signs of malware activity on these volumes.

  • Veeam Plug-in for AWS does not support creating catalogs of guest OS files and folders for EC2 instances whose EBS volumes are mounted in folders on other EBS volumes.
  • Veeam Plug-in for AWS does not support creating catalogs of guest OS files and folders for EC2 instances if the backup appliance resides in an AWS China Region.

Related Topics

EC2 Backup

Page updated 2026-11-16

Page content applies to build 13.2.0.193