kevmap

TechniquesT1552.007 › AN0571

AN0571 Analytic 0571

Containers · attack.mitre.org · ATT&CK Enterprise v19.2

<p>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.</p>
Detects
T1552.007 Container API
Part of
DET0198 Detect Abuse of Container APIs for Credential Access

Log sources and channels

Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.

Log sourceChannelData component
docker:apidocker logs access or container inspect commands from non-administrative usersDC0064 Command Execution
kubernetes:apiserverget/list requests to /api/v1/secrets or /api/v1/namespaces/*/serviceaccountsDC0002 User Account Authentication
kubernetes:apiserverexec into pod followed by secret retrieval via APIDC0032 Process Creation
kubernetes:orchestratorAccess to orchestrator logs containing credentials (Docker/Kubernetes logs)DC0038 Application Log Content

Mutable elements

Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.

FieldDescription
UserContextTune to exclude known orchestrator admin service accounts or CI/CD pipelines that legitimately access secrets
NamespaceScopeRestrict detection to sensitive namespaces (e.g., kube-system, production apps)
TimeWindowAdjust correlation timing between pod execution and subsequent API secret retrieval
SourceIPFilter based on allowed internal API calls vs anomalous external or cross-cluster access