Azure AKS Secret get or list with Suspicious User Agent
Detects successful AKS (Azure Kubernetes Service) secret get or list operations where the user agent matches scripting runtimes (python, ruby, perl), command-line HTTP clients (curl, wget, HTTPie), or generic HTTP…
Description
Detects successful AKS (Azure Kubernetes Service) secret get or list operations where the user agent matches scripting runtimes (python, ruby, perl), command-line HTTP clients (curl, wget, HTTPie), or generic HTTP libraries (Go-http-client, okhttp, Apache-HttpClient, Guzzle, axios, undici) rather than typical kubectl or named controller traffic. Reading Kubernetes secrets with a generic client is a common credential-access step after a token or kubeconfig is stolen, and offensive tooling (for example peirates and kdigger) frequently reaches the API with a default Go HTTP client.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- event_index
Known benign triggers
- Approved scripts, CI jobs, or penetration tests may use generic HTTP clients. Validate change tickets and identity scope before treating as compromise. Internal automation using generic libraries can be excluded by stable service account after review.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| github.com/kubernetes/kubernetes/issues/108726 | Only this detection cites it |
| kubernetes.io/docs/concepts/configuration/secret/ | 2 |
| microsoft.github.io/Threat-Matrix-for-Kubernetes/ | 15 |
| unit42.paloaltonetworks.com/hildegard-malware-teamtnt/ | 5from 2 sources |
| unit42.paloaltonetworks.com/modern-kubernetes-threats/ | Only this detection cites it |
| www.sysdig.com/blog/teamtnt-kubelet-credentials | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- 4eaf5dd4-c511-4d0e-b66d-e218e6e3da76
- Tagged by the source as
- Data Source: AzureData Source: Azure Platform LogsData Source: KubernetesDomain: CloudDomain: ContainersDomain: KubernetesNoise: UnknownPerformance: FastPlatform: AzurePlatform: KubernetesResources: Investigation GuideRule Type: Custom Query (KQL)Tactic: Credential AccessUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Sep 20, 2026
- Version
- 3