Azure Arc Cluster Credential Access by Identity from Unusual Source
Description
Detects when a service principal or user performs an Azure Arc cluster credential listing operation from a source IP not
previously associated with that identity. The listClusterUserCredential action retrieves credentials for the Arc
Cluster Connect proxy, enabling kubectl access through the Azure ARM API. An adversary using stolen service principal
credentials will typically call this operation from infrastructure not previously seen for that SP. By tracking the
combination of caller identity and source IP, this rule avoids false positives from backend services and CI/CD pipelines
that rotate IPs but maintain consistent identity-to-IP patterns over time.
Query · kuery
data_stream.dataset: "azure.activitylogs"
and azure.activitylogs.operation_name: "MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/LISTCLUSTERUSERCREDENTIAL/ACTION"
and event.outcome: (Success or success)
Investigation fields
Pivot points the source recommends for triage.
@timestampazure.activitylogs.operation_nameazure.activitylogs.identity.claims.appidazure.activitylogs.identity.authorization.evidence.roleazure.activitylogs.identity.authorization.evidence.principalTypeazure.resource.idsource.ipsource.geo.country_namesource.geo.city_namesource.as.organization.name
Known false positives
- A service principal used by a CI/CD pipeline may trigger this rule when the pipeline runs from a new IP range for the first time (e.g., migrating to a new runner pool). The 7-day history window will learn the new IPs after the first occurrence.
- Administrators accessing Arc clusters from a new VPN endpoint or travel location. Validate the caller identity matches an expected user and correlate with known travel or access patterns.
Analyst notes
Investigating Azure Arc Cluster Credential Access by Identity from Unusual Source
The listClusterUserCredential operation on an Azure Arc-connected cluster returns credentials that allow the caller
to establish a proxy tunnel via az connectedk8s proxy. This proxy routes kubectl commands through the Azure ARM API,
enabling Kubernetes access without direct network connectivity to the cluster API server.
Possible investigation steps
- Identify the caller service principal using
azure.activitylogs.identity.claims.appidand cross-reference with Azure AD to determine if this is a known application. - Check the source IP and geolocation — is this from a country or ASN where your organization operates?
- Correlate with Azure Sign-In Logs around the same time to see the full authentication chain (SP login followed by credential listing).
- Verify the Azure role used — the
Azure Arc Enabled Kubernetes Cluster User Roleis required for this operation. Was this role recently assigned? - Check if subsequent Arc-proxied operations (secret/configmap CRUD) occurred after the credential access.
- Review the service principal creation date in Azure AD — recently created SPs are more suspicious.
Response and remediation
- If the source IP is from an unexpected country or the service principal is not recognized, treat as potential credential compromise.
- Revoke the service principal credentials and remove Arc RBAC role assignments.
- Review Kubernetes audit logs for any operations performed through the Arc proxy after credential access.
- Rotate any Kubernetes secrets that may have been accessed.