Skip to content

Commit 9ca25da

Browse files
committed
feature(rules/google): add rule GCS Sensitive Data Access
1 parent a21ec9d commit 9ca25da

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 — Sensitive Data Access
6+
impact:
7+
confidentiality: 4
8+
integrity: 1
9+
availability: 1
10+
category: Discovery
11+
technique: "T1083 - File and Directory Discovery"
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/T1083/
17+
description: |
18+
Detects data access operations (object listing) on GCS buckets via the data_access audit log. Attackers enumerate bucket contents after gaining access to identify sensitive files for exfiltration. Listing objects is often the precursor to bulk download or data theft.
19+
20+
Next Steps:
21+
1. Verify if the data access was from an authorized service or user
22+
2. Check which bucket was accessed and what type of data it contains
23+
3. Review if the user has a legitimate business need to access this bucket
24+
4. Look for subsequent object download operations from the same user
25+
5. Check the OAuth client ID to identify the application performing access
26+
6. Review bucket-level IAM bindings for overly permissive access
27+
where: |
28+
equals("log.protoPayloadServiceName", "storage.googleapis.com") &&
29+
oneOf("log.protoPayloadMethodName", ["storage.objects.list", "storage.buckets.getStorageLayout"]) &&
30+
contains("log.logName", "data_access") && exists("origin.user")

0 commit comments

Comments
 (0)