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