AWS CloudTrail EC2 CreateInstanceExportTask Failure
Flags failed EC2 VM export task creation events in AWS CloudTrail to surface potential instance data extraction attempts.
- Product
- aws
- Service
- cloudtrail
- Author
- Diogo Braz (SigmaHQ), DRL 1.1
- Published
- 2020-04-16
- Updated
- 2026-07-31
ATT&CK techniques
Collection → ExfiltrationRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule identifies CloudTrail events where an EC2 VM export task is created (CreateInstanceExportTask) and the event indicates a failure. Attackers may attempt VM export to collect or exfiltrate information from an EC2 instance, and repeated or failed export attempts can still signal reconnaissance or data collection activity. The detection relies on CloudTrail telemetry fields for event name, event source, and response content indicating failure.
Reporting behind it
Changelog
v5- v5Candidate ingested via manual entry.2026-07-31
- v4Candidate ingested via manual entry.2026-07-31
- v3Candidate ingested via manual entry.2026-07-31
- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: AWS CloudTrail EC2 CreateInstanceExportTask Failure
id: e33f577f-5f28-472e-a870-6c6e29785d6d
status: test
description: This rule identifies CloudTrail events where an EC2 VM export task is created (CreateInstanceExportTask) and the event indicates a failure. Attackers may attempt VM export to collect or exfiltrate information from an EC2 instance, and repeated or failed export attempts can still signal reconnaissance or data collection activity. The detection relies on CloudTrail telemetry fields for event name, event source, and response content indicating failure.
references:
- https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html#export-instance
- https://github.com/SigmaHQ/sigma/blob/master/rules/cloud/aws/cloudtrail/aws_ec2_vm_export_failure.yml
author: Diogo Braz, Huntrule Team
date: 2020-04-16
modified: 2022-10-05
tags:
- attack.collection
- attack.t1005
- attack.exfiltration
- attack.t1537
logsource:
product: aws
service: cloudtrail
detection:
selection:
eventName: CreateInstanceExportTask
eventSource: ec2.amazonaws.com
filter1:
errorMessage|contains: "*"
filter2:
errorCode|contains: "*"
filter3:
responseElements|contains: Failure
condition: selection and not 1 of filter*
level: low
license: DRL-1.1
related:
- id: 54b9a76a-3c71-4673-b4b3-2edb4566ea7b
type: derived