Blog
/
/
diciembre 21, 2020

How AI Stopped a WastedLocker Ransomware Intrusion & Fast

Stop WastedLocker ransomware in its tracks with Darktrace AI technology. Learn about how AI detected a recent attack using 'Living off the Land' techniques.
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
21
dic 2020

Since first being discovered in May 2020, WastedLocker has made quite a name for itself, quickly becoming an issue for businesses and cyber security firms around the world. WastedLocker is known for its sophisticated methods of obfuscation and steep ransom demands.

Its use of ‘Living off the Land’ techniques makes a WastedLocker attack extremely difficult for legacy security tools to detect. An ever-decreasing dwell time – the time between initial intrusion and final execution – means human responders alone struggle to contain the ransomware variant before damage is done.

This blog examines the anatomy of a WastedLocker intrusion that targeted a US agricultural organization in December. Darktrace’s AI detected and investigated the incident in real time, and we can see how Darktrace RESPOND would have autonomously taken action to stop the attack before encryption had begun.

As ransomware dwell time shrinks to hours rather than days, security teams are increasingly relying on artificial intelligence to stop threats from escalating at the earliest signs of compromise – containing attacks even when they strike at night or on the weekend.

How the WastedLocker attack unfolded

Figure 1: A timeline of the attack

Initial intrusion

The initial infection appears to have taken place when an employee was deceived into downloading a fake browser update. Darktrace AI was monitoring the behavior of around 5,000 devices at the organization, continuously adapting its understanding of the evolving ‘pattern of life’. It detected the first signs of a threat when a virtual desktop device started making HTTP and HTTPS connections to external destinations that were deemed unusual for the organization. The graph below depicts how the patient zero device exhibited a spike in internal connections around December 4.

Figure 2: The patient zero device exhibiting a spike in internal connections, with orange dots indicating model breaches of varying severity

Reconnaissance

Attempted reconnaissance began just 11 minutes after the initial intrusion. Again, Darktrace immediately picked up on the activity, detecting unusual ICMP ping scans and targeted address scans on ports 135, 139 and 445; presumably as the attacker looked for potential further Windows targets. The below demonstrates the scanning detections based on the unusual number of new failed connections.

Figure 3: Darktrace detecting an unusual number of failed connections

Lateral movement

The attacker used an existing administrative credential to authenticate against a Domain Controller, initiating new service control over SMB. Darktrace picked this up immediately, identifying it as unusual behavior.

Figure 4: Darktrace identifying the DCE-RPC requests
Figure 5: Darktrace surfacing the SMB writes

Several hours later – and in the early hours of the morning – the attacker used a temporary admin account ‘tempadmin’ to move to another Domain Controller over SMB. Darktrace instantly detected this as it was highly unusual to use a temporary admin account to connect from a virtual desktop to a Domain Controller.

Figure 6: Further anomalous connections detected the following day

Lock and load: WastedLocker prepares to strike

During the beaconing activity, the attacker also conducted internal reconnaissance and managed to establish successful administrative and remote connections to other internal devices by using tools already present. Soon after, a transfer of suspicious .csproj files was detected by Darktrace, and at least four other devices began exhibiting similar command and control (C2) communications.

‍

However, with Darktrace’s real-time detections – and Cyber AI Analyst investigating and reporting on the incident in a number of minutes, the security team were able to contain the attack, taking the infected devices offline.

‍

Automated investigations with Cyber AI Analyst

Darktrace’s Cyber AI Analyst launched an automatic investigation around every anomaly detection, forming hypotheses, asking questions about its own findings, and forming accurate answers at machine speed. It then generated high-level, intuitive incident summaries for the security team. Over the 48 hour period, the AI Analyst surfaced just six security incidents in total, with three of these directly relating to the WastedLocker intrusion.

Figure 7: The Cyber AI Analyst threat tray

‍

The snapshot below shows a VMWare device (patient zero) making repeated external connections to rare destinations, scanning the network and using new admin credentials.

Figure 8: Cyber AI Analyst investigates

‍

Darktrace RESPOND: AI that responds when the security team cannot

Darktrace RESPOND – the world’s first and only Autonomous Response technology – was configured in passive mode, meaning it did not actively interfere with the attack, but if we dive back into the Threat Visualizer we can see that Antigena in fully autonomous mode would have responded to the attack at this early stage, buying the security team valuable time.

In this case, after the initial unusual SSL C2 detection (based on a combination of destination rarity, JA3 unusualness and frequency analysis), RESPOND (formerly known as 'Antigena', as shown in the screenshots below) suggested instantly blocking the C2 traffic on port 443 and parallel internal scanning on port 135.

Figure 9: The Threat Visualizer reveals the action Antigena would have taken

When beaconing was later observed to bywce.payment.refinedwebs[.]com, this time over HTTP to /updateSoftwareVersion, RESPOND escalated its response by blocking the further C2 channels.

Figure 10: Antigena escalates its response

The vast majority of response tools rely on hard-coded, pre-defined rules, formulated as ‘If X, do Y’. This can lead to false positives that unnecessarily take devices offline and hamper productivity. Darktrace RESPOND's actions are proportionate, bespoke to the organization, and not created in advance. Darktrace Antigena autonomously chose what to block and the severity of the blocks based on the context of the intrusion, without a human pre-eminently hard-coding any commands or set responses.

‍

Every response over the 48 hours was related to the incident – RESPOND did not try to take action on anything else during the intrusion period. It simply would have actioned a surgical response to contain the threat, while allowing the rest of the business to carry on as usual. There were a total of 59 actions throughout the incident time period – excluding the ‘Watched Domain Block’ actions shown below – which are used during incident response to proactively shut down C2 communication.

Figure 11: All Antigena action attempts during the intrusion period across the whole organization

RESPOND would have delivered those blocks via whatever integration is most suitable for the organization – whether that be Firewall integrations, NACL integrations or other native integrations. The technology would have blocked the malicious activity on the relevant ports and protocols for several hours – surgically interrupting the threat actors’ intrusion activity, thus preventing further escalation and giving the security team air cover.

‍

Stopping WastedLocker ransomware before encryption ensues

This attack used many notable Tools, Techniques and Procedures (TTPs) to bypass signature-based tools. It took advantage of ‘Living off the Land’ techniques, including Windows Management Instrumentation (WMI), Powershell, and default admin credential use. Only one of the involved C2 domains had a single hit on Open Source Intelligence Lists (OSINT); the others were unknown at the time. The C2 was also encrypted with legitimate Thawte SSL Certificates.

For these reasons, it is plausible that without Darktrace in place, the ransomware would have been successful in encrypting files, preventing business operations at a critical time and possibly inflicting huge financial and reputational losses to the organization in question.

Darktrace’s AI detects and stops ransomware in its tracks without relying on threat intelligence. Ransomware has thrived this year, with attackers constantly coming up with new attack TTPs. However, the above threat find demonstrates that even targeted, sophisticated strains of ransomware can be stopped with AI technology.

Thanks to Darktrace analyst Signe Zaharka for her insights on the above threat find.

Learn more about Autonomous Response

Darktrace model detections:

  • Compliance / High Priority Compliance Model Breach
  • Compliance / Weak Active Directory Ticket Encryption
  • Anomalous Connection / Cisco Umbrella Block Page
  • Anomalous Server Activity / Anomalous External Activity from Critical Network Device
  • Compliance / Default Credential Usage
  • Compromise / Suspicious TLS Beaconing To Rare External
  • Anomalous Server Activity / Rare External from Server
  • Device / Lateral Movement and C2 Activity
  • Compromise / SSL Beaconing to Rare Destination
  • Device / New or Uncommon WMI Activity
  • Compromise / Watched Domain
  • Antigena / Network / External Threat / Antigena Watched Domain Block
  • Compromise / HTTP Beaconing to Rare Destination
  • Compromise / Slow Beaconing Activity To External Rare
  • Device / Multiple Lateral Movement Model Breaches
  • Compromise / High Volume of Connections with Beacon Score
  • Device / Large Number of Model Breaches
  • Compromise / Beaconing Activity To External Rare
  • Antigena / Network / Significant Anomaly / Antigena Controlled and Model Breach
  • Anomalous Connection / New or Uncommon Service Control
  • Antigena / Network / Significant Anomaly / Antigena Significant Anomaly from Client Block
  • Compromise / SSL or HTTP Beacon
  • Antigena / Network / External Threat / Antigena Suspicious Activity Block
  • Antigena / Network / Significant Anomaly / Antigena Breaches Over Time Block
  • Compromise / Sustained SSL or HTTP Increase
  • Unusual Activity / Unusual Internal Connections
  • Device / ICMP Address Scan

‍

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

/

Network

/

diciembre 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

/

diciembre 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