GCP Virtual Private Cloud Route Deletion

Identifies when a Virtual Private Cloud (VPC) route is deleted in Google Cloud Platform (GCP). Google Cloud routes define the paths that network traffic takes from a virtual machine (VM) instance to other destinations. These destinations can be inside a Google VPC network or outside it. An adversary may delete a route in order to impact the flow of network traffic in their target's cloud environment.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2020/09/22"
 3integration = ["gcp"]
 4maturity = "production"
 5min_stack_comments = "New fields added: required_fields, related_integrations, setup"
 6min_stack_version = "8.3.0"
 7updated_date = "2023/06/22"
 8
 9[rule]
10author = ["Elastic"]
11description = """
12Identifies when a Virtual Private Cloud (VPC) route is deleted in Google Cloud Platform (GCP). Google Cloud routes
13define the paths that network traffic takes from a virtual machine (VM) instance to other destinations. These
14destinations can be inside a Google VPC network or outside it. An adversary may delete a route in order to impact the
15flow of network traffic in their target's cloud environment.
16"""
17false_positives = [
18    """
19    Virtual Private Cloud routes may be deleted by system administrators. Verify that the configuration change was
20    expected. Exceptions can be added to this rule to filter expected behavior.
21    """,
22]
23index = ["filebeat-*", "logs-gcp*"]
24language = "kuery"
25license = "Elastic License v2"
26name = "GCP Virtual Private Cloud Route Deletion"
27note = """## Setup
28
29The GCP Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule."""
30references = ["https://cloud.google.com/vpc/docs/routes", "https://cloud.google.com/vpc/docs/using-routes"]
31risk_score = 47
32rule_id = "a17bcc91-297b-459b-b5ce-bc7460d8f82a"
33severity = "medium"
34tags = ["Domain: Cloud", "Data Source: GCP", "Data Source: Google Cloud Platform", "Use Case: Configuration Audit", "Tactic: Defense Evasion"]
35timestamp_override = "event.ingested"
36type = "query"
37
38query = '''
39event.dataset:gcp.audit and event.action:v*.compute.routes.delete and event.outcome:success
40'''
41
42
43[[rule.threat]]
44framework = "MITRE ATT&CK"
45[[rule.threat.technique]]
46id = "T1562"
47name = "Impair Defenses"
48reference = "https://attack.mitre.org/techniques/T1562/"
49[[rule.threat.technique.subtechnique]]
50id = "T1562.007"
51name = "Disable or Modify Cloud Firewall"
52reference = "https://attack.mitre.org/techniques/T1562/007/"
53
54
55
56[rule.threat.tactic]
57id = "TA0005"
58name = "Defense Evasion"
59reference = "https://attack.mitre.org/tactics/TA0005/"

Setup

The GCP Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule.

References

Related rules

to-top