T1552.007 Container API
Credential Accesson attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0198 Detect Abuse of Container APIs for Credential Access
AN0571 Containers
Detection correlates anomalous Docker or Kubernetes API requests with access to logs, secrets, or service accounts. Observes unauthorized use of `docker logs`, `kubectl get secrets`, or direct API calls to Kubernetes API server endpoints. Identifies behavioral patterns where adversaries escalate from basic pod/container interaction to privileged API calls exposing sensitive credential material.
| MITRE log source | In Microsoft Sentinel |
|---|---|
docker:apidocker logs access or container inspect commands from non-administrative users | Not mapped to Sentinel yet. |
kubernetes:apiserverget/list requests to /api/v1/secrets or /api/v1/namespaces/*/serviceaccounts | Not mapped to Sentinel yet. |
kubernetes:apiserverexec into pod followed by secret retrieval via API | Not mapped to Sentinel yet. |
kubernetes:orchestratorAccess to orchestrator logs containing credentials (Docker/Kubernetes logs) | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (5)
- Key Vault harvest to SPN sign-in then out-of-scope resource access
- Key Vault secret harvest followed by novel SPN sign-in from non-1P IP
- Key Vault secret read then partial storage exfil
- Key Vault secret read then Storage key-auth pivot
- Novel identity then Key Vault secret burst
How the Content Hub rules for T1552.007 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
4 SigmaHQ community rules name it in their tags.
- Azure Kubernetes Admission Controller
- Google Cloud Kubernetes Admission Controller
- Kubernetes Admission Controller Modification
- Kubernetes Secrets Enumeration
Mitigations
M1018User Account ManagementM1026Privileged Account ManagementM1030Network SegmentationM1035Limit Access to Resource Over Network
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.