Cloud Metadata Endpoint Access
This detects attempts to contact a cloud provider's internal metadata endpoint, the address every cloud instance can query for information about itself. That endpoint can hand back temporary credentials, IAM role details, and configuration data, which makes it a favorite target once an attacker gets any code execution inside a cloud workload.
How the attack works
An attacker first gains some form of code execution or command injection inside a cloud-hosted process, often through a vulnerable web application, an AI agent with tool access, or a compromised script. From that foothold they send a request to the metadata endpoint (the well-known internal IP address cloud providers reserve for this purpose). If the endpoint responds, the attacker reads back instance role names, temporary access keys, or other configuration secrets. Those credentials can then be used to move further into the cloud account, often without needing any additional exploit.
Netzilo detection
Netzilo can block this behaviour when it is observed.
- Signature ID
- 2fdcc1b0-2bdc-5fd3-9f49-bb91969fded6
- Severity
- Critical
Why it matters
A successful metadata request can hand an attacker live cloud credentials, letting them access storage, other services, or pivot deeper into the account without further exploitation.
What you can do
- →Restrict or require a hop-limit/token step for metadata service access (e.g., enforce IMDSv2 or the equivalent on your cloud provider).
- →Apply least-privilege IAM roles to instances so a stolen metadata credential grants minimal access.
- →Block outbound requests to the metadata address from application code that has no legitimate need to reach it.
- →Review the listed false-positive sources (management scripts, automation tools, monitoring agents) and allow-list only those specific processes rather than the whole network path.
Known benign look-alikes
- Legitimate cloud instance management scripts
- Infrastructure automation tools
- Monitoring and logging applications
- Cloud service discovery tools