Event type
GuardDuty Malware Protection for Backup Finding Types
Malware detection in backups, snapshots, and recovery points
AWS GuardDuty Malware Protection for Backup finding types detecting malicious files in EBS snapshots, EC2 AMIs, AWS Backup EC2 Recovery Points, and AWS Backup S3 Recovery Points through backup scanning, including trojans, backdoors, viruses, ransomware, spyware, rootkits, miners, worms, and potentially unwanted applications
Overview
What this event covers
Malware Protection for Backup provides single findings for all threats detected during scans of EBS snapshots, EC2 AMIs, AWS Backup EC2 Recovery Points, and AWS Backup S3 Recovery Points. Includes total number of detections and details for top 32 threats based on severity. Findings are not updated when same resource is scanned again - new finding generated for each scan that detects malware.
When generated
- ›Malicious file detected in EBS snapshot during backup scan
- ›Malicious file detected in EC2 AMI during backup scan
- ›Malicious file detected in AWS Backup EC2 Recovery Point (snapshot or AMI)
- ›Malicious file detected in AWS Backup S3 Recovery Point
- ›Scan triggered by GuardDuty threat detection finding
- ›Scheduled backup malware scan detects threats
- ›On-demand backup scan detects threats
Security relevance
HighCompliance
Frequency notes
Malware Protection for Backup findings are generated when backup scans detect threats. Frequency depends on backup volume, scan frequency, and threat landscape. Production environments typically see 1-10 findings per week. Each finding represents one backup scan with detected threats - findings are not updated when same resource is scanned again. New finding generated for each scan that detects malware. Severity varies depending on detected threat.
Resources
Docs and tools
Generation
Configuration
- Base frequency
- 3 events/hour
- Time patterns
- business_hours night_hours weekend
- Business hours
- 1.2x
- Night hours
- 1.0x
- Weekend
- 0.8x
Schema
Field definitions
Field reference for this event type — types, requirements, examples, and allowed values.
detail.type
Malware Protection for Backup finding type indicating resource type and threat classification
Source: random_choice() of 4 Malware Protection for Backup finding types
Execution:EC2/MaliciousFile!Snapshot-
Execution:EC2/MaliciousFile!SnapshotMalicious file detected in EBS snapshot -
Execution:EC2/MaliciousFile!AMIMalicious file detected in EC2 AMI -
Execution:EC2/MaliciousFile!RecoveryPointMalicious file detected in AWS Backup EC2 Recovery Point (snapshot or AMI) -
Execution:S3/MaliciousFile!RecoveryPointMalicious file detected in AWS Backup S3 Recovery Point
detail.resource.resourceType
Type of resource where malware was detected
Source: random_choice(['Instance', 'Snapshot', 'AMI', 'RecoveryPoint', 'S3Bucket'])
Snapshot-
InstanceAmazon EC2 instance (source of snapshot/AMI) -
SnapshotEBS snapshot (for !Snapshot findings) -
AMIEC2 AMI (for !AMI findings) -
RecoveryPointAWS Backup recovery point (for !RecoveryPoint findings) -
S3BucketS3 bucket (for S3 Recovery Point findings)
detail.service.malwareProtectionScanDetails.scannedResourceDetails.snapshotArn
ARN of the EBS snapshot that was scanned (for !Snapshot findings)
Source: EBS snapshot ARN from scan details
EBS snapshot ARNarn:aws:ec2:us-east-1:snapshot/snap-1234567890abcdef0detail.service.malwareProtectionScanDetails.scannedResourceDetails.amiArn
ARN of the EC2 AMI that was scanned (for !AMI findings)
Source: EC2 AMI ARN from scan details
EC2 AMI ARNarn:aws:ec2:us-east-1::image/ami-12345678detail.service.malwareProtectionScanDetails.scannedResourceDetails.recoveryPointArn
ARN of the AWS Backup recovery point that was scanned (for !RecoveryPoint findings)
Source: AWS Backup recovery point ARN from scan details
AWS Backup recovery point ARNarn:aws:backup:us-east-1:123456789012:recovery-point:EC2:abc123...detail.service.malwareProtectionScanDetails.scannedResourceDetails.volumeDetails
EBS volume details from snapshot/AMI that were scanned
Source: EBS volume metadata from backup scan
[{volumeArn, volumeType, deviceName, volumeSizeInGB, encryptionType}]detail.service.malwareProtectionScanDetails.scanId
Unique identifier for the backup malware scan
Source: random_guid()
UUID550e8400-e29b-41d4-a716-446655440000detail.service.malwareProtectionScanDetails.triggerFindingId
GuardDuty finding ID that triggered this scan (if scan was triggered by finding)
Source: random_hex(32, 32) or empty if scheduled/on-demand scan
32-character hexadecimal stringa1b2c3d4e5f6...detail.service.malwareProtectionScanDetails.sources
Source that initiated the backup scan
Source: random_choice(['THREAT_DETECTION', 'SCHEDULED_SCAN', 'ON_DEMAND'])
['THREAT_DETECTION']-
THREAT_DETECTIONScan triggered by GuardDuty threat detection finding -
SCHEDULED_SCANScan performed on scheduled basis -
ON_DEMANDScan triggered on-demand
detail.service.additionalInfo.threatsDetectedItemCount
Total number of threats detected during the backup scan
Source: random_int(1, 32) - total detections in scan
Integer (1 or more)5detail.service.additionalInfo.threatsDetected
Details for top 32 threats detected (based on severity). Each finding includes up to 32 threats.
Source: Array of threat details from backup malware scan
[{threatName, severity, itemCount, files}]detail.service.additionalInfo.threatsDetected[].threatName
Name of the detected threat
Source: random_choice() of malware threat names
Threat nameTrojan.Win32.Generic-
Trojan.Win32.GenericWindows trojan -
Trojan.Linux.GenericLinux trojan -
Backdoor.Linux.GenericLinux backdoor -
Virus.Win32.GenericWindows virus -
Ransomware.Win32.GenericWindows ransomware -
Spyware.Win32.GenericWindows spyware -
Rootkit.Linux.GenericLinux rootkit -
Miner.Linux.GenericCryptocurrency miner -
Worm.Win32.GenericWindows worm -
PUA.Win32.GenericPotentially Unwanted Application
detail.service.additionalInfo.threatsDetected[].files[].filePath
Full path to the malicious file in the backup/snapshot/AMI. Note: File paths may be controlled by malicious actors and should be sanitized when displayed
Source: File path from backup malware scan
Absolute file path/tmp/malware.exedetail.service.additionalInfo.threatsDetected[].files[].fileHash
SHA-256 hash of the malicious file
Source: SHA-256 hash of file content
64-character hexadecimal stringa1b2c3d4e5f6...detail.severity
Finding severity level (varies depending on detected threat severity)
Source: random_choice([2, 5, 5, 8, 8, 8]) - varies based on threat
8-
2Low severity (1.0-3.9) -
5Medium severity (4.0-6.9) -
8High severity (7.0-8.9)