Kubernetes security threats: detecting attackers with deception
An intruder who lands in a pod does not start by attacking the control plane. They read the service account token mounted in the container, ask the API server what that token can see, and list secrets, services, and namespaces until something useful turns up. Every one of those requests is a legitimate API call. That is the core problem with Kubernetes security threats: the activity that matters looks like routine platform traffic. Securing Kubernetes with deception means placing isolated decoy pods, services, and synthetic secrets that no workload or administrator should touch, then treating any interaction as a high-fidelity lead that platform and SOC teams corroborate with audit logs.
At a glance
- Concept: Decoy pods, services, and synthetic secrets give a behavior-independent signal inside the cluster.
- Process: Six steps, from namespace inventory to cleanup, each with an owner and a stop condition.
- Decision artifact: A four-row threat-to-evidence map linking each signal to the audit context that confirms or clears it.
- Proof point: In the U.S. Navy ANTX FY25 exercise, Acalvio deception produced 100% true positive alerts and denied 80% of attacker objectives against automated, credential-driven techniques in the exercise.
- Limit: Scanners, operators, and administrators can touch decoys too, so every interaction needs corroboration.
Kubernetes threats and trust boundaries
Kubernetes security threats are the ways an attacker can misuse cluster identities, workloads, secrets, services, or the control plane to gain access, move between workloads, or reach data and infrastructure beyond the cluster.
Five trust boundaries define where those threats land. Identities include human users, service accounts, and cloud workload identities, each bound to permissions through role-based access control (RBAC). Workloads are pods and the nodes they run on; a compromised container is the most common starting point. Secrets hold credentials for databases, registries, and cloud APIs, and are only as protected as the RBAC and encryption around them. Services and ingress expose workloads inside and outside the cluster. The control plane, especially the API server and any dashboard, is the highest-value target because it can create workloads anywhere.
The 2018 Tesla incident, in which attackers reached an unprotected Kubernetes console and used cloud credentials stored there to run cryptomining workloads, showed how one exposed boundary can open the rest. Clusters differ widely by provider, network policy, and identity model, so each team needs to map its own paths rather than assume a generic one.
Preventive controls, runtime monitoring, and deception
Each Kubernetes control answers a different question, and a mature cluster uses all of them together.
| Control | Objective | Prerequisites | What it produces | Limitation |
| RBAC | Limit what each identity can do | Accurate role design and review | Denied or allowed API requests | Over-broad roles are common and hard to audit |
| Admission policy | Block non-compliant workloads at creation | Policy engine and agreed rules | Rejected deployments | Does not see what a running workload does |
| Secret management | Protect credentials at rest and in use | External vault or encryption, rotation | Scoped, rotated secrets | A stolen valid secret still works |
| Runtime monitoring | Observe process, file, and network behavior | Sensors or eBPF tooling on nodes | Behavioral alerts | Authorized-looking activity is hard to judge in isolation |
| Isolated deception | Flag access to assets no workload should need | Approved decoy design and audit logging | High-fidelity leads | Signal quality depends on credible placement and automation at scale |
Deception runs alongside RBAC, admission control, secret management, runtime monitoring, SIEM, and EDR rather than replacing them. The scenario later in this article shows why that combination matters.
Plan a Kubernetes detection workflow
A Kubernetes deception workflow moves from inventory to cleanup in six steps. This is an editorial framework that organizes current practice; it is not a published standard.
| Step | Input | Owner | Output | Review or stop condition |
| 1. Inventory namespaces and owners | Cluster API, Helm and manifest repos | Platform engineering | Namespace map with named owners | Stop if a namespace has no owner |
| 2. Prioritize credible scenarios | Threat intelligence, RBAC review, exposed services | Security architect | Ranked attack paths per cluster | Drop scenarios with no plausible path |
| 3. Design isolated synthetic resources | Ranked scenarios, real workload descriptors | Security and platform engineering | Decoy pods, services, and secrets per scenario | Reject any design that holds a real credential |
| 4. Validate permissions and exposure | Draft manifests, network policy | Platform engineering | Approved RBAC and network isolation | Block deployment if a decoy can reach production data |
| 5. Collect approved audit context | API server audit policy, SIEM pipeline | SOC and platform engineering | Audit events routed with decoy alerts | Pause if audit logging is incomplete |
| 6. Define triage, rollback, and cleanup | Response playbook, change process | SOC lead and platform owner | Runbook, rollback plan, removal date | Review at every cluster upgrade |
Acalvio’s published 2019 walkthrough on a GKE cluster used a similar pattern in four steps: discover the cluster and running applications, deploy decoys as pods and services, inject breadcrumbs as ConfigMap or Ingress entries, and track access to the decoys, with the first three steps using the Kubernetes API and tracking handled in ShadowPlex.
Decoy pods, services, and synthetic secrets
Kubernetes deception decoys work by mirroring the cluster’s own resources closely enough to be credible, while giving no legitimate workload or person a reason to touch them. The patterns below are illustrative and need platform and Acalvio approval before deployment.
Kubernetes makes credible decoys easier than many environments, because Helm charts and manifests already describe real applications in detail: pod and service names, ports, replica counts, environment variables, and access privileges. A decoy pod or service can mirror that shape, for example a database or CI service that looks like part of an existing application. A synthetic secret can sit in a namespace where an intruder enumerating secrets would find it, holding a deceptive credential that works only against a monitored endpoint. Breadcrumbs, such as a ConfigMap entry or an Ingress rule, point toward the decoys.
Most cluster activity is authorized, so intent is hard to judge in isolation. A decoy changes the question: why did anything touch an asset no legitimate process should need?
Interpretation still takes care. Admission controllers, backup operators, policy scanners, and administrators listing resources can all touch decoys. Teams should document which tools are expected to read decoy resources and exclude or annotate them before triage.
Hand-built honeypots cannot keep pace with automated, credential-driven intrusions, so automation is the entry requirement. The ShadowPlex Preemptive Cybersecurity Platform deploys and adapts deceptive assets autonomously, and 360 Deception, Acalvio’s three-vector framework, aims to detect, divert, and degrade the attacker. For cloud environments specifically, see ShadowPlex Cloud Security.
Kubernetes threat-to-evidence map
A decoy interaction is useful only when the team knows what evidence confirms or clears it. The rows below are illustrative planning prompts, not a verified deployment or official mapping. Technique references come from the MITRE ATT&CK Containers matrix.
| Signal | What to review | Evidence and limitation | Owner and next step |
| Synthetic-secret access (Unsecured Credentials: Container API, T1552.007) | API server audit event for the read | Identity, workload, and authorized-test context; a read alone does not prove misuse | Platform owner reviews identity and permissions |
| Decoy service interaction | Isolated monitored endpoint logs | Source pod, routing, namespace, and known scanners | SOC correlates before escalation |
| Discovery concern (Container and Resource Discovery, T1613) | Access to synthetic resources during enumeration | Process and cluster context; operators enumerate too | SOC assesses scope and benign alternatives |
| Privilege concern | Policy or identity event tied to a decoy | RBAC history and approved changes | Platform owner reviews the change |
Each row establishes what to check next. None establishes intent on its own; that takes corroborating audit evidence and, for any change to RBAC or workloads, owner approval. For more on applying ATT&CK to detection planning, see MITRE ATT&CK use cases.
An isolated cloud-native investigation
This example is hypothetical. It shows the reasoning, not a real customer event.
Objective: Investigate an alert that a synthetic secret named for a payments database was read in the payments namespace.
Observation: The decoy alert fires on a read of the synthetic secret. No production workload references it.
Audit corroboration: API server audit logs show the read came from a service account belonging to a reporting pod in a different namespace, followed within a minute by list requests across several namespaces. The reporting pod’s role was recently broadened.
Benign alternative: A newly installed policy scanner might list secrets cluster-wide. The team checks the scanner’s service account and schedule; neither matches.
Safe escalation: The SOC escalates through the incident response process. The platform owner, not the analyst, decides whether to cordon the node, isolate the pod with network policy, or revoke the role binding. Nobody uses the deceptive credential or touches production secrets during triage.
Decision: The reporting pod’s image is pulled for analysis, the over-broad role is reverted, and the threat-to-evidence map gains a row for unexpected cross-namespace secret reads.
Implementation and operational guardrails
Deception in a cluster is a change to that cluster and goes through the same review as any other workload.
Before deployment, confirm this readiness checklist:
- Namespace isolation: decoys run where network policy prevents them from reaching production data.
- No real secrets: synthetic secrets hold only deceptive credentials that work against monitored endpoints.
- Approved RBAC: decoy resources have their own minimal roles, reviewed by the platform owner.
- Resource limits: decoy pods have CPU and memory limits so they cannot affect real workloads.
- Logging: API server audit policy captures reads of decoy resources and routes them to the SIEM.
- Ownership: each decoy has a named owner and a documented purpose.
- Cleanup: decoys are reviewed at each cluster upgrade and removed on a set date if no longer needed.
Assign each item an owner, an input, a validation step, an escalation path, and a review date. Provider-specific behavior and Acalvio product compatibility need validation for each cluster type.
Measure validated coverage and readiness
Measure whether credible scenarios are covered and whether the team can act on a signal, not how many interactions occur. Set a baseline, a calculation method, and a data owner before reporting any figure.
| Measure | What it shows | What it cannot show |
| Prioritized scenarios with a decoy and an owner | Design coverage | Whether attackers follow those paths |
| Clusters with complete audit context | Readiness to corroborate | Quality of the audit policy itself |
| Benign tests run and cleared | Triage works as designed | Performance in a real intrusion |
| Data gaps closed | Better evidence for decisions | Fewer attacks |
| Response steps with a named owner | Escalation readiness | Speed under pressure |
Interaction counts belong in investigations, not in progress reports. A quiet decoy may mean good isolation or an intruder who has not reached that namespace.
The path forward
Kubernetes security threats move through identities, secrets, and API calls that look routine, so detection depends on signals that do not need a behavioral baseline. Map the trust boundaries, prioritize credible scenarios, place isolated decoys and synthetic secrets, and corroborate every interaction with audit context before anyone acts. The goal is to stop asking analysts to infer intent from weak evidence when the environment can produce a stronger signal.
See how Acalvio approaches cloud detection and response with deception, or read the U.S. Navy ANTX FY25 results.
Frequently asked questions about Kubernetes deception
Map cluster trust boundaries and prioritize credible attack paths, then place isolated decoy pods, services, and synthetic secrets that no workload or administrator should touch. Route API server audit events with decoy alerts so every interaction can be corroborated before anyone acts.
No single control is enough. Combine RBAC review, admission policy, secret management, runtime monitoring, and audit logging, and add deception for a high-fidelity signal on access that no legitimate process should make.
Decoys mirror real resources, using the cluster’s own manifests and Helm charts as a template, so they look credible to an intruder enumerating the cluster. Because no legitimate workload needs them, any read, connection, or credential use is a lead for investigation.
No. RBAC and admission policy limit what can happen, and runtime monitoring observes behavior. Decoys add detection for activity those controls allow but cannot easily judge.
API server audit logs showing the identity and source workload, recent RBAC changes, network flows to the decoy, and a check against known scanners, operators, and authorized tests.
