AWS EC2 VM Export Failure
Identifies an attempt to export an AWS EC2 instance. A virtual machine (VM) export may indicate an attempt to extract or exfiltrate information.
Elastic rule (View on GitHub)
1[metadata]
2creation_date = "2021/04/22"
3integration = ["aws"]
4maturity = "production"
5min_stack_comments = "AWS integration breaking changes, bumping version to ^2.0.0"
6min_stack_version = "8.9.0"
7updated_date = "2023/10/24"
8[rule]
9author = ["Elastic", "Austin Songer"]
10description = """
11Identifies an attempt to export an AWS EC2 instance. A virtual machine (VM) export may indicate an attempt to extract or
12exfiltrate information.
13"""
14false_positives = [
15 """
16 VM exports may be done by a system or network administrator. Verify whether the user identity, user agent, and/or
17 hostname should be making changes in your environment. VM exports from unfamiliar users or hosts should be
18 investigated. If known behavior is causing false positives, it can be exempted from the rule.
19 """,
20]
21from = "now-60m"
22index = ["filebeat-*", "logs-aws*"]
23interval = "10m"
24language = "kuery"
25license = "Elastic License v2"
26name = "AWS EC2 VM Export Failure"
27note = """## Setup
28
29The AWS Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule."""
30references = ["https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html#export-instance"]
31risk_score = 21
32rule_id = "e919611d-6b6f-493b-8314-7ed6ac2e413b"
33severity = "low"
34tags = ["Domain: Cloud", "Data Source: AWS", "Data Source: Amazon Web Services", "Use Case: Asset Visibility", "Tactic: Exfiltration", "Tactic: Collection"]
35timestamp_override = "event.ingested"
36type = "query"
37
38query = '''
39event.dataset:aws.cloudtrail and event.provider:ec2.amazonaws.com and event.action:CreateInstanceExportTask and event.outcome:failure
40'''
41
42
43[[rule.threat]]
44framework = "MITRE ATT&CK"
45[[rule.threat.technique]]
46id = "T1537"
47name = "Transfer Data to Cloud Account"
48reference = "https://attack.mitre.org/techniques/T1537/"
49
50
51[rule.threat.tactic]
52id = "TA0010"
53name = "Exfiltration"
54reference = "https://attack.mitre.org/tactics/TA0010/"
55[[rule.threat]]
56framework = "MITRE ATT&CK"
57[[rule.threat.technique]]
58id = "T1005"
59name = "Data from Local System"
60reference = "https://attack.mitre.org/techniques/T1005/"
61
62
63[rule.threat.tactic]
64id = "TA0009"
65name = "Collection"
66reference = "https://attack.mitre.org/tactics/TA0009/"
Setup
The AWS Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule.
References
Related rules
- AWS EC2 Full Network Packet Capture Detected
- AWS EC2 Snapshot Activity
- AWS RDS Snapshot Export
- AWS CloudTrail Log Created
- AWS Deletion of RDS Instance or Cluster