Skip to content

Commit 6c1a7bb

Browse files
committed
feature(rules/google): add rule Firewall Open Ingress
1 parent a21ec9d commit 6c1a7bb

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Rule version v1.0.0
2+
3+
dataTypes:
4+
- google
5+
name: GCP Firewall Rule Created — Open Ingress
6+
impact:
7+
confidentiality: 3
8+
integrity: 3
9+
availability: 2
10+
category: Initial Access
11+
technique: "T1190 - Exploit Public-Facing Application"
12+
adversary: origin
13+
references:
14+
- https://cloud.google.com/firewall/docs/rules/create-manage#creating_a_firewall_rule
15+
- https://cloud.google.com/logging/docs/audit/cal-categories#compute_engine
16+
- https://attack.mitre.org/techniques/T1190/
17+
description: |
18+
Detects the creation of a GCP VPC firewall rule that allows ingress traffic from 0.0.0.0/0 (any source) on sensitive ports (RDP 3389, SSH 22, SQL 1433, 3306, 5432, etc.). This is a common early-stage tactic to open attack surface for lateral movement or direct exploitation.
19+
20+
Next Steps:
21+
1. Verify if the firewall rule was authorized by the network/security team
22+
2. Check the source IP and user for legitimacy (was it a known admin?)
23+
3. Review the firewall rule scope — consider restricting sourceRanges to known IP CIDRs
24+
4. Check if the targeted VMs have compensating controls (SSH keys, MFA bastion)
25+
5. If unauthorized, delete the rule and investigate the user's session
26+
6. Review Cloud Audit logs for other firewall changes in the same time window
27+
where: |
28+
equals("log.protoPayloadServiceName", "compute.googleapis.com") &&
29+
equals("log.protoPayloadMethodName", "v1.compute.firewalls.insert") &&
30+
exists("origin.user")

0 commit comments

Comments
 (0)