T1059.013 Container CLI/API
Executionon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0083 Container CLI and API Abuse via Docker/Kubernetes (T1059.013)
AN0233 Containers
Execution of container orchestration commands (e.g., `docker exec`, `kubectl exec`) or API-driven interactions with running containers from unauthorized hosts or non-standard user contexts. Defender sees programmatic or interactive command execution within containers outside expected CI/CD tools or automation frameworks, often followed by file writes, privilege escalation, or lateral discovery.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve: Execution of container management CLIs (docker, crictl, kubectl) or interpreted shells (sh, bash, python) within container context | Not mapped to Sentinel yet. |
docker:eventsexec_create: docker exec events targeting running containers from non-CI sources | Not mapped to Sentinel yet. |
kubernetes:apiservercreate/exec: Kubernetes API calls to exec into containers or create pods from curl, kubectl, or SDK clients | Not mapped to Sentinel yet. |
AWS:CloudTrailCreatePod: Programmatic creation of new pod resources using container images not seen before in the environment | Not mapped to Sentinel yet. |
kubernetes:auditShell process (e.g., /bin/sh, /bin/bash) spawned in a container without an interactive session attached (i.e., automation anomaly) | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (0)
No Content Hub rule is tagged with this technique.
In Sigma rules
Mitigations
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.