<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Kubernetes (All Versions) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/kubernetes-all-versions/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 18 Sep 2026 19:15:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/kubernetes-all-versions/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Detection of Unauthorized Interactive Kubernetes API Probing</title><link>https://feed.craftedsignal.io/briefs/2026-09-forbidden-k8s-api-access/</link><pubDate>Fri, 18 Sep 2026 19:15:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-forbidden-k8s-api-access/</guid><description>Adversaries performing hands-on-keyboard enumeration within compromised containers are detected by correlating interactive process execution with forbidden Kubernetes API audit responses.</description><content:encoded><![CDATA[<p>This detection pattern identifies unauthorized interactive access attempts within a Kubernetes cluster. When an attacker gains access to a container, they often utilize shell environments to perform discovery and lateral movement. By leveraging utilities such as kubectl, curl, or openssl, attackers attempt to communicate with the Kubernetes API server to enumerate resources, probe for secrets, or test service account privileges. Because these actions are often performed by under-privileged accounts or against sensitive endpoints, they result in 'forbid' decisions within the Kubernetes audit logs. This rule provides a mechanism for detection engineers to correlate the specific interactive shell activity within a container with these denied API requests, identifying potential hands-on-keyboard probing even when the attacker lacks the necessary permissions to succeed. This visibility is critical for identifying compromised workloads that are being repurposed for cluster-level discovery.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker gains initial access to a container process (e.g., via web application exploit).</li>
<li>Attacker executes an interactive shell (e.g., /bin/bash or /bin/sh) within the container.</li>
<li>Attacker identifies native tooling within the container (e.g., kubectl, curl, openssl) or drops malicious binaries.</li>
<li>Attacker uses the container's mounted ServiceAccount token to initiate an API request to the Kubernetes API server.</li>
<li>API request is sent from the pod to the API server endpoint (e.g., <a href="https://kubernetes.default.svc">https://kubernetes.default.svc</a>).</li>
<li>Kubernetes authorization policy evaluates the request and returns an HTTP 403 Forbidden status.</li>
<li>Audit logs record the forbidden action associated with the specific pod identity.</li>
<li>Security monitoring platform correlates the local shell activity with the denied API audit log.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful unauthorized discovery can provide an attacker with a map of the cluster's network, services, and secrets. If the attacker successfully leverages an over-privileged service account, they may escalate privileges or pivot to other nodes within the cluster. This activity indicates a breakdown in container isolation and least-privilege RBAC.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Enable Kubernetes Audit Logging and stream to the SIEM to support the audit correlation logic described in this brief.</li>
<li>Deploy the EQL detection logic to identify unauthorized interactive attempts originating from pods.</li>
<li>Implement NetworkPolicies that restrict egress from non-admin containers to the Kubernetes API server IP addresses.</li>
<li>Perform regular audits of ServiceAccount permissions, ensuring pods only possess the minimal RBAC roles required for their function.</li>
<li>Rebuild container images to exclude administrative tooling (kubectl, curl, nmap, socat) where such functionality is not required for application operation.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>execution</category><category>discovery</category><category>kubernetes</category><category>cloud-native</category><category>container-security</category><category>container</category><category>threat-detection</category></item><item><title>Detection of Interactive Kubernetes API Abuse via Container Utilities</title><link>https://feed.craftedsignal.io/briefs/2026-09-k8s-interactive-api-abuse/</link><pubDate>Fri, 18 Sep 2026 19:14:52 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-k8s-interactive-api-abuse/</guid><description>Adversaries may move laterally or perform reconnaissance by compromising a container and using interactive shells or networking utilities to query the Kubernetes API server directly.</description><content:encoded><![CDATA[<p>This threat involves adversaries who have gained initial access to a containerized environment attempting to escalate privileges or perform reconnaissance by interacting directly with the Kubernetes API server. Attackers leverage existing containerized utilities such as 'curl', 'wget', 'kubectl', 'socat', or 'ncat' to perform 'hands-on-keyboard' discovery. By compromising a pod, an attacker can access the mounted Kubernetes service account token located at '/var/run/secrets/kubernetes.io/serviceaccount/token'. Using this token, they perform direct HTTP(S) requests to the Kubernetes API server to enumerate pods, secrets, and cluster-scoped RBAC objects, facilitating further lateral movement. This detection approach focuses on correlating interactive process execution within a container with near-simultaneous Kubernetes audit log events. Defenders should focus on workloads that do not require network utilities or direct API access to function as part of their standard operations.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker exploits a vulnerability in a containerized application to gain remote code execution.</li>
<li>Attacker invokes an interactive shell (e.g., '/bin/sh', 'bash') inside the compromised container.</li>
<li>Attacker locates the Kubernetes service account token at '/var/run/secrets/kubernetes.io/serviceaccount/token'.</li>
<li>Attacker uses an installed utility like 'curl' or 'kubectl' to initiate an interactive session.</li>
<li>Attacker executes a command targeting the Kubernetes API server endpoint (e.g., 'https://kubernetes.default.svc').</li>
<li>The Kubernetes API server logs the request in the audit logs, reflecting the pod's service account identity.</li>
<li>Attacker parses the API response to enumerate cluster resources, secrets, or RBAC configurations.</li>
<li>Attacker uses identified information to move laterally or exfiltrate sensitive data from the cluster.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows attackers to bypass pod-level isolation to discover cluster topology, gain unauthorized access to secrets, or modify RBAC configurations. This activity often precedes full cluster compromise, exfiltration of sensitive credentials stored in Kubernetes Secrets, or the deployment of persistent backdoor pods, potentially affecting any enterprise utilizing Kubernetes for production workloads.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritize the following actions for your detection and response teams:</p>
<ul>
<li>Deploy the provided EQL-based logic to correlate 'logs-cloud_defend.process' events with 'kubernetes.audit_logs' entries to surface interactive API abuse.</li>
<li>Audit all container images to remove unnecessary networking utilities (e.g., curl, wget, ncat, socat) and Kubernetes binaries (kubectl) to minimize the attack surface.</li>
<li>Implement and enforce NetworkPolicies to restrict pod-level egress, specifically blocking traffic to the 'kubernetes.default.svc' API endpoint for pods that do not require cluster administration.</li>
<li>Regularly rotate service account tokens and use fine-grained RBAC with 'automountServiceAccountToken' set to 'false' for all pods where it is not strictly necessary.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>kubernetes</category><category>container-security</category><category>discovery</category><category>execution</category><category>cloud</category></item></channel></rss>