Microsoft Defender XDR
Cloud and workloads

Investigate and respond to container threats in the Microsoft Defender portal

In brief

The article’s wording and structure were revised to explain container threat investigation, response actions, incident-graph hunting, supported network-plugin checks, permissions, and threat analytics reports. The publication date and authoring metadata were also updated.

What Defender admins need to know

Administrators and SOC teams can use the clearer guidance when reviewing container response workflows, permissions, and network-plugin validation.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

Investigate and respond to container threats in the Microsoft Defender portal

The Microsoft Defender portal helps security teams investigate and respond to container threats in near real-time. It combines cloud-native response actions, investigation logs, and attack path analysis in one place.

Organizations use containers and Kubernetes on platforms like Azure Kubernetes Service (AKS), Google Kubernetes Engine (GKE), and Amazon Elastic Kubernetes Service (EKS). As adoption grows, the attack surface expands. Threat actors can target containers for malicious purposes.

Security operations center (SOC) analysts can track container threats with near real-time alerts. They can respond by isolating or terminating container pods in a single click.

Analysts can also hunt for related activities in the incident graph to find the full scope of an attack. Attack paths in the incident graph help security teams spot vulnerable paths and prevent breaches. Threat analytics reports cover active container threats and provide steps for response and prevention.

Prerequisites

Users on AKS, EKS, and GKE platforms need the following licenses to use cloud response actions, investigation logs, and attack paths in the Microsoft Defender portal:

Required license Actions

To verify your network plugins are supported, follow the steps to access your platform's Cloud Shell and run the network plugin check your network pluginscommand. For detailed steps, see Troubleshoot issues later in the Troubleshoot issues section.this article.

The terminate pod response action functions regardless of the presence of a network policy.

Required permissions

Response actions require the following permissions forTo use response actions, you need these Microsoft Defender for Cloud permissions in Microsoft Defender unified role-based access control (RBAC):RBAC:

Permission name Level
:::image type="content" source="media/investigate-respond-container-threats/incident-queue-small.png" alt-text="Incident queue filtered to show container-related incidents." lightbox="media/investigate-respond-container-threats/incident-queue.png":::
3. In the incident graph, select the pod/service/cluster entity you need to investigate. Select Kubernetes service details, Kubernetes pod details, Kubernetes cluster details, or Container registry details to view relevant information about the service, pod, or registry.

Using Threat analytics reports,reports help analysts can utilize threat intelligence from expert Microsoft security researchers to learn about active threat actors and campaigns exploitingtargeting containers, new attack techniques that might affect containers,methods, and prevalent threats that affect containers.common container threats. These reports use threat intelligence from Microsoft security researchers.

Access threat analytics reports fromTo access these reports, go to Threat intelligence > Threat analytics. You can also open a specific report from the incident page by selectingpage. Select View threat analytics report under Related threats on the incident side pane.

:::image type="content" source="media/investigate-respond-container-threats/view-threat-analytics-small.png" alt-text="Highlighting how to view threat analytics reports from the incident page." lightbox="media/investigate-respond-container-threats/view-threat-analytics.png":::

Threat analytics reports also contain relevantEach report includes steps for mitigation, recovery, and prevention methods that analysts can assess and apply to their environment. Using the information in threat analytics reports helpsprevention. SOC teams can use this information to defend and protect their environment from container attacks. Here's an example of an analysta report about a container attack.

:::image type="content" source="media/investigate-respond-container-threats/threat-analytics-sample-small.png" alt-text="Sample page of a container attack threat analytics report." lightbox="media/investigate-respond-container-threats/threat-analytics-sample.png":::

You can release a pod from isolation with the release from isolation action once your investigation is complete. This option appears on the side pane for isolated pods.

Details ofYou can view all response actions can be viewed in the Action center. In the Action center page, select theSelect a response action you want to inspect to view more information aboutsee details such as the action like which entity was acted on, whenaffected entity, the action was done,time of the action, and view the comments on the action.any comments. For isolated pods, the release from isolation action is also available in the Action center details pane.

:::image type="content" source="media/investigate-respond-container-threats/action-center-sample-small.png" alt-text="Sample of cloud response actions listed in the Action center." lightbox="media/investigate-respond-container-threats/action-center-sample.png":::

Hunt for container-related activities

To determineUse the Go hunt action in the incident graph to find the full scope of a container attack, you can deepen your investigation with the Go huntattack. This action available in the incident graph. You can immediately viewshows all process events and activities relatedlinked to container-related incidents from the incident graph.incident.

:::image type="content" source="media/investigate-respond-container-threats/azure-go-hunt-small.png" alt-text="Highlighting the go hunt action in the incident graph." lightbox="media/investigate-respond-container-threats/azure-go-hunt.png":::

InOn the Advanced hunting page, you can extend your search for container-relatedcontainer activities using the CloudProcessEvents and CloudAuditEvents tables.

The CloudProcessEvents table contains information aboutlists process events infrom multi-cloud hosted environments such asplatforms like Azure Kubernetes Service, Amazon Elastic Kubernetes Service, and Google Kubernetes Engine.

The CloudAuditEvents table containslists cloud audit events from cloud platforms protected bythat Microsoft Defender for Cloud.Cloud protects. It also containsincludes Kubeaudit logs, which holds informationlogs with details about Kubernetes-relatedKubernetes events.

Troubleshoot issues

This sectionThe following troubleshooting guidance addresses issues that you might encounter when investigating and responding to container threats.

The isolate pod or restrict pod access response action is not available

If the isolate pod or restrict pod access action is grayed out, verify that you have the necessary permissions to perform the selected action. Refer to the Required permissions for response actions section to check and validate that you have the correct permissions.

See Permissions in Microsoft Defender unified role-based access control (RBAC) for more information.

The isolate pod or restrict pod access action failed

If the isolate pod or restrict pod access action fails, perform the following checks:

  1. Check the Kubernetes cluster version. The isolate pod and restrict pod access actions support Kubernetes clusters from version 1.27 and later.
  2. Check that you are using the required network plugins and that it matches the minimum versions supported. To check your plugins, access the Cloud Shell in your platform and run the command to check your network plugins.
  3. Ensure the target pod is in a valid or active state.