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

to-top