Blog
/
/
February 14, 2019

Anomaly Detection Techniques for Mimikatz Behavior

Learn how anomaly detection can identify Mimikatz behavior and enhance your cybersecurity measures against credential theft.
Inside the SOC
Darktrace cyber analysts are world-class experts in threat intelligence, threat hunting and incident response, and provide 24/7 SOC support to thousands of Darktrace customers around the globe. Inside the SOC is exclusively authored by these experts, providing analysis of cyber incidents and threat trends, based on real-world experience in the field.
Written by
Max Heinemeyer
Global Field CISO
Default blog image
14
Feb 2019

Originally created by famed French programmer Benjamin Delpy to highlight security flaws in Windows authentication mechanisms, today Mimikatz is a staple post-exploitation module in the arsenal of cyber-criminals, since it facilitates lateral movement across a victim’s network. Mimikatz was a primary feature of the global ransomware attacks NotPetya and BadRabbit, in addition to the alleged Russian hacking of the German parliament in 2015 and 2017.

Among the primary vulnerabilities that Mimikatz exploits is Windows’ Local Security Authority Subsystem Service (LSASS), which is designed to obviate the need for users to reauthenticate every time they seek to access internal resources. Despite its clear utility, LSASS works by keeping a cache of every credential used since the last boot, presenting an obvious security risk in the event the cache is compromised. Broadly speaking, Mimikatz plunders this resource and allows users to access cleartext passwords as well as NTLM hashes. With this data in hand, threat actors are able to conduct the following attacks:

  • Kerberos Golden Ticket: Provides administrative credentials for the whole domain.
  • Pass-the-Ticket: Enables a user to pass a Kerberos ticket to a second device and login using this ticket.
  • Kerberos Silver Ticket: Provides a TGS ticket to log into any network service.
  • Pass-the-Hash: Allows a user to pass a hash string in order to login.

Dumping LSASS memory is just one method that Mimikatz and its many updated versions employ to harvest credentials. Indeed, once malware such as NotPetya has established itself on single device, the Mimikatz module can exploit a variety of security flaws to obtain the password information for any other users or computers that have logged onto that machine: a key step for both lateral movement and privilege escalation. Like many successful hacker tools, Mimikatz has inspired the creation of other programs with similar aims, which are largely intended to circumvent antivirus controls.

Using AI to end the cat-and-mouse game

At the most basic level, security teams can reduce vulnerability to Mimikatz and to lateral movement more generally by ensuring that each user has the minimum amount of privileges needed for his or her role. But while this measure is certainly prudent, it will not always be effective — especially when dealing with sophisticated threats. Another strategy is to implement endpoint security tools and anti-virus software, which rely on rules and signatures to detect known Mimikatz variants. However, as Mimikatz and its copycats continue to evolve, these traditional tools are locked in a ceaseless cat-and-mouse game, unable to spot unknown variants of Mimikatz that are designed to circumvent them.

As a fundamentally different approach to security, artificially intelligent systems like Darktrace avoid this cat-and-mouse game by learning what constitutes normal behavior for the users and devices they safeguard while “on the job,” rather than using fixed rules and signatures. This approach alerts defenders to any anomalous activity, regardless of whether such activity constitutes a known or unknown threat. Typically, lateral movement involving Mimikatz will involve a spike in unusual SMB activity, as attackers seek to write the tool to target devices. The following recent attack on a Darktrace customer highlights how AI can allow security teams to quickly detect and respond to such lateral movement involving Mimikatz:

  1. Darktrace alerts to a non-domain joined Linux device appearing on the customer’s network and engaging in extensive SMB bruteforce activity against key servers.
  1. Figure 1: Darktrace detects the spike in SMB activity.
  2. Darktrace flags the device successfully logging into a server using administrative credentials via SMBv1, opening the \sect pipe and writing the suspicious and likely malicious file Syssvc.exe to the server’s \temp folder. Immediately after this, Darktrace alerts to the device writing mimikatz.exe to the same folder.
  1. Figure 2: Darktrace flags the device using Mimikatz.
  2. Following this step, multiple .tmp and .txt files appear on the target device, indicating that Mimikatz was proceeding to access passwords and hashes.

The novelty of this AI-powered approach is that it does not rely on a string search for the term “mimikatz.exe”; rather, it highlights the unusual behavior that commonly surrounds Mimikatz’ activity. As shown in the screenshot above, this behavior constitutes “New activity”: Darktrace has not seen this type of SMB activity between the source and the destination before. Moreover, SMBv1 is used — highly unusual for the environment. And finally, it is unusual for devices in the target environment to make SMB network drive writes to Temp folders. All these subtle deviations from the customer’s ‘pattern of life,’ taken together, caused Darktrace to alert on the Mimikatz behavior.

Since its introduction to the cyber-threat landscape, Mimikatz has become a highly effective means for cyber-attackers to move laterally inside corporate and government networks. But by empowering security teams to respond before attackers can plunder a network’s entire cache of passwords, AI cyber defenses are thwarting Mimikatz and its copycats alike.

Inside the SOC
Darktrace cyber analysts are world-class experts in threat intelligence, threat hunting and incident response, and provide 24/7 SOC support to thousands of Darktrace customers around the globe. Inside the SOC is exclusively authored by these experts, providing analysis of cyber incidents and threat trends, based on real-world experience in the field.
Written by
Max Heinemeyer
Global Field CISO

More in this series

No items found.

Blog

/

Cloud

/

December 3, 2026

Beyond the AI Kill Switch: Precise Containment for AI Agents

Default blog imageDefault blog image

Key takeaways

  • Precise containment: Adopting a behavioral approach to AI security goes beyond ‘kill switches’ by detecting deviations from expected activity, containing threats with precision, and avoiding runtime disruption.
  • Connect intent to action: Consider how your organization can correlate what an agent was instructed to do (prompt analysis) with what its workload identity actually did (cloud telemetry) to help inform more effective and less disruptive response actions.
  • Check response dependencies: Identify the narrowest point in your agent workflows where you can enforce a containment action and avoid more widespread disruption.

‍

As organizations put AI agents to work, it’s becoming increasingly important to be able to understand and secure what AI can do. In the current evolving market for AI security, most solutions are attempting to solve this mostly with visibility and detection. Recent announcements have also suggested the implementation of a ‘kill switch’ that cuts an agent off from an individual model (or all model access) when something appears to be wrong. That can be a useful backstop, but it’s a blunt one: it stops both the risky action and the legitimate work alongside it, disrupting normal business operations.

Most approaches to AI security also give little to no context on whether a specific action was unusual for that agent or not, which is an increasingly hard challenge to solve given the non-deterministic nature of AI agents and prompts. Without visibility of the entire attack chain, and the context of each observed behavior, it becomes extremely difficult to remediate early and limit operational impact.

In this post, we’ll look at how Darktrace can go beyond both conventional security approaches and kill switches to provide precise containment for AI agent behavior. This includes a deep behavioral understanding of AI agent and workload activity, and responding at the narrowest point that can stop threats. This isn’t new to Darktrace – we’ve pioneered precise and autonomous containment to cyber threats for over 10 years, first releasing this technology back in 2016, which has since proved that ‘all or nothing’ approaches to containment do not go far enough.

We’ll walk through two scenarios in a controlled Amazon Bedrock AgentCore lab:

  1. An unusual tool invocation from a trusted identity
  2. A prompt written with malicious intent

Scenario 1: Detecting an unusual tool invocation

Let’s look at the first scenario. In this case, Darktrace / HYBRID NETWORK is deployed to a test environment with Amazon Bedrock AgentCore. An ordinary inventory prompt is used to trigger the agent: “List all EC2 resources running in eu-west-2”.

The Bedrock AgentCore runtime sent it to the Model Context Protocol (MCP) gateway, which invoked the Lambda function ec2-agent-tool, whose internal MCP handler was ec2_list_instance. The agent trace shows EC2 List Instances returning HTTP 200 and the requested inventory.

Figure 1. The agent’s response to the inventory prompt shows a successful tool call (HTTP 200).

In this instance, there was nothing unusual about the gateway identity, or the Lambda function itself. In the context of normal behavior for this specific environment, what had changed was the timing. Rather than relying on a fixed rule about odd hours, Darktrace / HYBRID NETWORK monitors all related cloud activity, and it noticed a deviation from this identity’s usual timing for invoking the function. Darktrace used a custom behavioral model to detect the event - Antigena Unusual Bedrock Tool Activity - with a configured response action.

Figure 2. Darktrace / HYBRID NETWORK flags unusual timing for the gateway identity’s Lambda invocation.

Stopping the tool call without affecting runtime

In this case, Darktrace acted by autonomously triggering the response action Disable Role to the gateway’s AWS Identity and Access Management (IAM) execution role. While Darktrace could have been configured in ‘human confirmation mode’ to apply the response action manually, humans likely would not have been able to respond in time. The very nature of AI agents operating at speed and scale is why autonomous containment, based on a behavioral understanding of the unique environment, is necessary to combat this.

Figure 3. Darktrace / HYBRID NETWORK response history records the Disable Role action on the gateway execution role.

A subsequent inventory request selected the same tool, but the gateway was denied when it tried to invoke Lambda, and the inventory request was not completed. Enforcement happened before the tool executed, not at the EC2 API. It did not shut down the agent runtime or require changes to agent code or the Lambda handler.

Figure 4. The follow-up request reaches tool selection, but the gateway’s Lambda invocation is denied due the containment action applied by Darktrace / HYBRID NETWORK.

This scenario shows how a behavioral approach to detection and response can uniquely prevent sophisticated agentic risks in comparison to conventional security techniques that rely on policies and static rules.

Scenario 2: Adding context with dedicated AI security

So far, we’ve seen how Darktrace can help secure what AI can do by taking a behavioral approach to cloud security and precise containment. However, let’s take this one step further with a second scenario, and see how we can add Darktrace / SECURE AI to bring even more context during investigations.

Let’s take the same Bedrock session, but this time a prompt is entered with malicious intent, either from a rogue insider or due to the agent being compromised by an external threat actor. Instead of simply asking the agent to list all running EC2 instances, the prompt attempts to override safeguards and ask the agent to also terminate them.

‍

What the session adds to the investigation

Darktrace initially recorded an overall score of 0 for a routine inventory request, but it recorded a policy detection for the prompt that attempted to override safeguards and terminate running EC2 instances. That session scored 99 for manipulation.

Figure 6a. A routine Bedrock inventory session: overall score 0.
Figure 6b. A separate Bedrock session where a prompt showed malicious intent: overall score 99.
Figure 6c. Darktrace / SECURE AI session detail, AI Usage policy violation and manipulation score.

Session analysis reveals what the agent was asked to do, including the model's inability to call the tool once the triggered action revoked its permissions. This is seen directly in the / SECURE AI interface to add even more context into what led to these events. Analysts can use this to speed up investigations and go beyond ‘this is what happened’ to answer ‘why’ it happened in the first place.

Check what shares the enforcement point

Going beyond the scenarios shared above, Darktrace can also map the wider Bedrock architecture and its connected assets: the runtime, MCP gateway, IAM roles, and Lambda targets. That view helps them put identity and network anomalies in context and look for misconfigurations and potential attack paths. In the lab, the Lambda target uses the gateway’s WorkloadIdentity, which is distinct from the gateway IAM execution role that Darktrace disabled. Lambda has its own execution role. Mapping those dependencies helps identify other tools that could lose access when a role is disabled.

Figure 7. Darktrace shows Bedrock assets and identity-anomaly priorities.

Three places to contain an agent action

Permissions state what can happen, whereas behavioral context helps establish whether an action fits what is expected activity for a specific workload, time, and sequence. This lab environment only tested the gateway-to-tool boundary. With the right visibility and enforceable controls, the same approach can work before inference or at the downstream API, presenting three ways to prevent an agent from carrying out its intended actions:

1. Before inference

Agent → precise containment → model. Stop an unexpected request carrying sensitive inventory data before it reaches inference. Depending on the control’s scope, other requests or routes can remain available.

2. Before tool execution

Agent → MCP gateway → precise containment → tools. In the lab, disabling the gateway’s execution role denied the Lambda invocation without stopping the runtime. Other tools that share the role may also lose access.

3. Before a downstream API action

Agent → MCP gateway → tool → precise containment → API. Let the tool run, but deny the selected API action before it takes effect. Where controls distinguish reads from writes, a response could preserve approved inventory reads while blocking an unexpected change.

Containing AI agent behavior with precise actions

As AI agents become part of day-to-day operations, shutting one down can interrupt the workflows that modern organizations depend on. A kill switch is still a useful last resort, but it’s too blunt to be the default action. Policies set the limits on what an agent can do, but on their own they can’t tell you whether a permitted action makes sense for that agent, at that moment, in that sequence. That’s where a behavioral approach is required.

Governing agents at runtime means learning what normal looks like for each workload, using context to assess deviations, and intervening at the narrowest point that can reliably stop risky behavior. Judgment is also required before acting to check what else depends on that control – some containment actions can be permitted to run autonomously while others can require human confirmation. In the scenarios provided above, we saw how a precise approach to response can be used to contain the suspicious or threatening behaviors, without shutting down the agent runtime. That’s the standard to aim for - stop what puts your organization at risk without stopping the work it relies on.

For more information about how Darktrace can help you secure what AI can do, and see it in action in your own environment, contact the Darktrace team.

‍

[related-resource]

Continue reading
About the author
Stilyan Petrov
Cyber Solutions Architect

Blog

/

AI Security

/

December 1, 2026

Streamlining Security Operations with the Darktrace Platform Portal: November 2026 Enhancements

Default blog imageDefault blog image

One Platform Portal for daily security operations

Daily security operations often span multiple tools, deployments, and interfaces. Analysts switch between consoles to triage alerts, leaders wait on manually compiled reports, and investigators piece together who did what from separate logs. Each hand-off adds time and room for error, and the problem grows as environments become larger and more distributed.

This release extends the Darktrace Platform Portal to address that challenge directly. Alerts, dashboards, reporting, and user and system activity come together across Darktrace deployments, giving SecOps teams a more streamlined daily workflow and security leaders one consistent source of data they can trust. The Darktrace MCP Server extends the Platform Portal into the tools and AI workflows teams already use.

What’s new:

  • Unified multi-deployment alerts dashboard: Customers and partners can triage incidents and alerts from every Darktrace deployment in a single view, without logging into separate consoles.
  • Out-of-the-box dashboards: Pre-built dashboards, including Organizational Summary, License Utilization, and Platform Health, give teams visibility into system status from the moment they log in, with no configuration required.
  • Centralized on-demand reporting & audit trail: Teams can build custom dashboards from the metrics that matter, export them as PDF, CSV, or PNG on demand, and rely on a retained history of every export for audit purposes.
  • User activity visibility & reporting: User activity now appears alongside system events on the Events page, giving investigators and auditors a single chronological timeline of who did what, and when.
  • Darktrace MCP server: Compatible AI assistants can connect to Darktrace to retrieve alerts, incident findings, and device data, and to perform permitted triage actions, with read-only access available for workflows that don’t require changes.

‍

Streamline triage across every deployment

The Unified Multi-Deployment Alerts Dashboard gives customers and partners a single view of alerts and incidents across all of their Darktrace deployments. It consolidates Cyber AI Analyst incidents, model alerts, and system health alerts in the Platform Portal. Each alert is listed with its severity, affected assets, event count, alert type, and status, and the list can be narrowed with filters and saved filters. An “Assigned to Me” view shows the alerts an analyst owns, and selecting an alert opens a detail panel with its status, assignee, affected assets, and the sequence of events behind the incident.

Teams no longer need to log into a separate console for each customer or site. Alerts from every deployment are triaged in one place, which reduces context switching and shortens the path from alert to action.

Simplify day one operations

Out-of-the-Box Dashboards are pre-built dashboards that deliver visibility into system status as soon as a user logs in, with no configuration required. The Platform Portal includes ready-to-use dashboards such as Organizational Summary, License Utilization, and Platform Health. Platform Health shows network bandwidth, device counts, asset breakdown, active SSL/TLS traffic, health alerts raised and resolved, and capture loss, with filtering by appliance and date range. This release also adds nearly 30 new Health Alerts.

Teams can see trends and changes across their deployment at a glance and address issues before they affect operations, instead of waiting on a support ticket or checking appliances one at a time. Because no analyst has to build views first, the platform delivers value on day one.

Streamline reporting with a single source of truth

Centralized On-Demand Reporting lets teams build custom dashboards from the metrics that matter and share them without manual compilation. Users create dashboards and export them as PDF, CSV, or PNG on demand, and the Platform Portal retains a history of every export generated. That history provides an audit trail of what was produced and when.

Reporting draws on one set of metrics across the deployment, so security leaders and practitioners work from the same data. Audit-ready evidence is available in seconds rather than assembled by hand from screenshots and spreadsheets.

Simplify investigations with one timeline

User Activity Visibility & Reporting adds user activity to the Platform Portal’s Events page, alongside system events. Human and system activity appear together in a single chronological view, rather than in separate logs that must be correlated manually.

Investigators and auditors can answer “who did what, and when” from one timeline. Investigations and audits move faster because the full picture is available from the start.

Streamline AI-Assisted SecOps

The Darktrace MCP Server is now generally available through the Platform Portal. The Darktrace MCP Server lets a compatible AI assistant retrieve Darktrace data and perform permitted actions, so analysts can run investigation and triage steps within the AI workflows they already use.

A compatible AI assistant connects to the server using credentials created in the Platform Portal, and can then use Darktrace tools in three areas:

  • Incident discovery and threat hunting: retrieve model alerts and incident groups, search for devices, and investigate indicators of compromise, combining results with external threat intelligence.
  • Investigation and analysis: retrieve Cyber AI Analyst findings and related event data, and enrich them with information from other platforms or documentation.
  • Triage and workflow actions: add comments, tags, and statuses to alerts and assets, update supported settings such as trusted domains and subnet details, or trigger a Cyber AI Analyst investigation.

Available tools depend on the licensed products connected to the server. The toolset also includes Darktrace / SECURE AI prompt and Shadow AI information, cloud misconfigurations and external exposure, and email threat trends.

In practice, an analyst can ask an assistant to check whether indicators of compromise from recent threat reports appear in the environment, generate a step-by-step account of a Cyber AI Analyst investigation with a raw event timeline and prevention guidance from vendor documentation, or work through untriaged alerts one at a time with a summary and suggested next step to confirm. Analysts spend less time gathering context across tools and more time making decisions.

Fewer consoles, faster security operations

These capabilities share one goal: fewer consoles, less manual correlation, and one consistent view of security operations. The Platform Portal brings alerts, system health, reporting, and investigation context together, and extend that view into the tools and AI workflows teams already use. The result is a simpler daily workflow for practitioners and data that leadership can trust.

To see the Platform Portal in action, request a demo.

[related-resource]

Continue reading
About the author
Kellie Regan
Director, Product Marketing - Platform
Your data. Our AI.
Elevate your network security with Darktrace AI