Skip to content

Commit 6468c5f

Browse files
authored
feature(rules/google): add rule GCS Bucket Created (#2185)
1 parent 3fc6a0a commit 6468c5f

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 Cloud Storage Bucket Created
6+
impact:
7+
confidentiality: 3
8+
integrity: 2
9+
availability: 1
10+
category: Collection
11+
technique: "T1560 - Archive Collected Data"
12+
adversary: origin
13+
references:
14+
- https://cloud.google.com/storage/docs/audit-logging
15+
- https://cloud.google.com/logging/docs/audit/cal-categories#cloud_storage
16+
- https://attack.mitre.org/techniques/T1560/
17+
description: |
18+
Detects creation of a new Google Cloud Storage (GCS) bucket. Attackers may create buckets to stage stolen data, host malware, or establish command-and-control infrastructure. Unexpected bucket creation should be investigated, especially if the bucket has public access configured.
19+
20+
Next Steps:
21+
1. Verify if the bucket creation was authorized
22+
2. Check the bucket's name and location for suspicious patterns
23+
3. Review the bucket's IAM bindings and uniform bucket-level access settings
24+
4. Check if the bucket has public access or default object ACLs
25+
5. If unauthorized, delete the bucket and investigate the user
26+
6. Review other storage operations by the same user in the same time window
27+
where: |
28+
equals("log.protoPayloadServiceName", "storage.googleapis.com") &&
29+
equals("log.protoPayloadMethodName", "storage.buckets.create") &&
30+
exists("origin.user")

0 commit comments

Comments
 (0)