
Summary
This detection rule identifies potential privilege escalation attempts within Google Cloud Platform (GCP) by monitoring the creation of API keys via the `serviceusage.apiKeys.create` method. API Keys created without restrictions can provide more access privileges than those assigned to the user making the request. Thus, if an unauthorized API Key is generated, it may allow attackers to gain elevated access to resources within the project, creating significant security risks. The rule utilizes GCP audit logs to examine API key creation events, confirming whether the actions are authorized and if the principle of least privilege is being adhered to. It alerts on instances where an API Key is misused or created without appropriate authorization.
Categories
- Cloud
- GCP
- Infrastructure
- Application
- Identity Management
Data Sources
- Cloud Storage
- Network Traffic
- Logon Session
- User Account
- Application Log
ATT&CK Techniques
- T1548
Created: 2024-01-30