Blog
/
/
February 24, 2021

LockBit Ransomware Analysis: Compromised Credentials

Darktrace examines how a LockBit ransomware attack that took place over just four hours was caused by one compromised credential. Read more here.
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 imageDefault blog imageDefault blog imageDefault blog imageDefault blog imageDefault blog image
24
Feb 2021

Lockbit ransomware found

LockBit ransomware was recently identified by Darktrace's Cyber AI during a trial with a retail company in the US. After an initial foothold was established via a compromised administrative credential, internal reconnaissance, lateral movement, and encryption of files occurred simultaneously, allowing the ransomware to steamroll through the digital system in just a few hours.

This incident serves as the latest reminder that ransomware campaigns now move through organizations at a speed that far outpaces human responders, demonstrating the need for machine-speed Autonomous Response to contain the threat before damage is done.

Lockbit ransomware defined

First discovered in 2019, LockBit is a relatively new family of ransomware that quickly exploits commonly available protocols and tools like SMB and PowerShell. It was originally known as ‘ABCD’ due the filename extension of the encrypted files, before it started using the current .lockbit extension. Since those early beginnings, it has evolved into one of the most calamitous strains of malware to date, asking for an average ransom of around $40,000 per organization.

As cyber-criminals level up the speed and scale of their attacks, ransomware remains a critical concern for organizations across every industry. In the past 12 months, Darktrace has observed an increase of over 20% in ransomware incidents across its customer base. Attackers are constantly developing new threat variants targeting exploits, utilizing off-the-shelf tools, and profiting from the burgeoning Ransomware-as-a-Service (RaaS) business model.

How does LockBit work?

In a typical attack, a threat actor will spend days or weeks inside a system, manually screening for the best way to grind the victim’s business to a halt. This phase tends to expose multiple indicators of compromise such as command and control (C2) beaconing, which Darktrace AI identifies in real time.

LockBit, however, only requires the presence of a human for a number of hours, after which it propagates through a system and infects other hosts on its own, without the need for human oversight. Crucially, the malware performs reconnaissance and continues to spread during the encryption phase. This allows it to cause maximal damage faster than other manual approaches.

AI-powered defense is essential in fighting back against these machine-driven attacks, which have the capacity to spread at speed and scale, and often go undetected by signature-based security tools. Cyber AI augments human teams by not only detecting the subtle signs of a threat, but autonomously responding in seconds, quicker than any human can be expected to react.

Ransomware analysis: Breaking down a LockBit attack with AI

Figure 1: Timeline of attack on the infected host and the encryption host. The infected host was the device initially infected with LockBit, which then spread to the encryption host, the device which performed the encryption.

Initial compromise

The attack commenced when a cyber-criminal gained access to a single privileged credential – either through a brute-force attack on an externally facing device, as seen in previous LockBit ransomware attacks, or simply with a phishing email. With the use of this credential, the device was able to spread and encrypt files within hours of the initial infection.

Had the method of infiltration been via phishing attack, a route that has become increasingly popular in recent months, Darktrace/ EMAIL would have withheld the email and stripped the malicious payloads, and so prevented the attack from the outset.

Limiting permissions, the use of strong passwords, and multi-factor authentication (MFA), are critical in preventing the exploitation of standard network protocols in such attacks.

Internal reconnaissance

At 14:19 local time, the first of many WMI commands (ExecMethod) to multiple internal destinations was performed by an internal IP address over DCE-RPC. This series of commands occurred throughout the encryption process. Given these commands were unusual in the context of the normal ‘pattern of life’ for the organization, Darktrace DETECT alerted the security team to each of these connections.

Within three minutes, the device had started to write executable files over SMB to hidden shares on multiple destinations – many of which were the same. File writes to hidden shares are ordinarily restricted. However, the unauthorized use of an administrative credential granted these privileges. The executable files were written to the Windows / Temp directory. Filenames had a similar formatting: .*eck[0-9]?.exe

Darktrace identified each of these SMB writes as a potential threat, since such administrative activity was unexpected from the compromised device.

The WMI commands and executable file writes continued to be made to multiple destinations. In less than two hours, the ExecMethod command was delivered to a critical device – the ‘encryption host’ – shortly followed by an executable file write (eck3.exe) to its hidden c$ share.

LockBit’s script has the capability to check its current privileges and, if non-administrative, it attempts to bypass using Windows User Account Control (UAC). This particular host did provide the required privileges to the process. Once this device was infected, encryption began.

File encryption

Only one second after encryption had started, Darktrace alerted on the unusual file extension appendage in addition to the previous, high-fidelity alerts for earlier stages of the attack lifecycle.

A recovery file – ‘Restore-My-Files.txt’ – was identified by Darktrace one second after the first encryption event. 8,998 recovery files were written, one to each encrypted folder.

An example of Darktrace’s Threat Visualizer showcasing anomalous SMB connections, with model breaches represented by dots.
Figure 2: An example of Darktrace’s Threat Visualizer showcasing anomalous SMB connections, with model breaches represented by dots.

The encryption host was a critical device that regularly utilized SMB. Exploiting SMB is a popular tactic for cyber-criminals. Such tools are so frequently used that it is difficult for signature-based detection methods to identify quickly whether their activity is malicious or not. In this case, Darktrace’s ‘Unusual Activity’ score for the device was elevated within two seconds of the first encryption, indicating that the device was deviating from its usual pattern of behavior.

Throughout the encryption process, Darktrace also detected the device performing network reconnaissance, enumerating shares on 55 devices (via srvsvc) and scanning over 1,000 internal IP addresses on nine critical TCP ports.

During this time, ‘Patient Zero’ – the initially infected device – continued to write executable files to hidden file shares. LockBit was using the initial device to spread the malware across the digital estate, while the ‘encryption host’ performed reconnaissance and encrypted the files simultaneously.

Despite Cyber AI detecting the threat even before the encryption had begun, the security team did not have eyes on Darktrace at the time of the attack. The intrusion was thus allowed to continue and over 300,000 files were encrypted and appended with the .lockbit extension. Four servers and 15 desktop devices were affected, before the attack was stopped by the administrators.

The rise of ‘hit and run’ ransomware

While most ransomware resides inside an organization for days or weeks, LockBit’s self-governing nature allows the attacker to ‘hit and run’, deploying the ransomware with minimal interaction required after the initial intrusion. The ability to detect anomalous activity across the entire digital infrastructure in real time is therefore crucial in LockBit’s prevention.

WMI and SMB are relied upon by the vast majority of companies around the world, and yet they were utilized in this attack to propagate through the system and encrypt hundreds of thousands of files. The prevalence and volume of these connections make them near-impossible to monitor with humans or signature-based detection techniques alone.

Moreover, the uniqueness of every enterprise’s digital estate impedes signature-based detection from effectively alerting on internal connections and the volume of such connections. Darktrace, however, uses machine learning to understand the individual pattern of behavior for each device, in this case allowing it to highlight the unusual internal activity as it occurred.

The organization involved did not have Darktrace’s Autonomous Response technology configured in active mode. If enabled, i would have surgically blocked the initial WMI operations and SMB drive writes that triggered the attack whilst allowing the critical network devices to continue standard operations. Even if the foothold had been established, D would have enforced the ‘pattern of life’ of the encryption host, preventing the cascade of encryption over SMB. This demonstrates the importance of meeting machine-speed attacks with autonomous cyber security, which reacts in real time to sophisticated threats when human security teams cannot.

LockBit has the ability to encrypt thousands of files in just seconds, even when targeting well-prepared organizations. This type of ransomware, with built-in worm-like functionality, is expected to become increasingly common over 2021. Such attacks can move at a speed which no human security team alone can match. Darktrace’s approach, which uses unsupervised machine learning, can respond in seconds to these rapid attacks and shut them down in their earliest stages.

Thanks to Darktrace analyst Isabel Finn for her insights on the above threat find.

Darktrace model detections:

  • Device / New or Uncommon WMI Activity
  • Compliance / SMB Drive Write
  • Compromise / Ransomware / Suspicious SMB Activity
  • Compromise / Ransomware / Ransom or Offensive Words Written to SMB
  • Anomalous File / Internal / Additional Extension Appended to SMB File
  • Anomalous Connection / SMB Enumeration
  • Device / Network Scan – Low Anomaly Score
  • Anomalous Connection / Sustained MIME Type Conversion
  • Anomalous Connection / Suspicious Read Write Ratio
  • Unusual Activity / Sustained Anomalous SMB Activity
  • Device / Large Number of Model Breaches

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

/

AI

/

May 21, 2026

Prompt Security in Enterprise AI: Strengths, Weaknesses, and Common Approaches

prompt securityDefault blog imageDefault blog image

How enterprise AI Agents are changing the risk landscape  

Generative AI Agents are changing the way work gets done inside enterprises, and subsequently how security risks may emerge. Organizations have quickly realized that providing these agents with wider access to tooling, internal information, and granting permissions for the agent to perform autonomous actions can greatly increase the efficiency of employee workflows.

Early deployments of Generative AI systems led many organizations to scope individual components as self-contained applications: a chat interface, a model, and a prompt, with guardrails placed at the boundary. Research from Gartner has shown that while the volume and scope of Agentic AI deployments in enterprise environments is rapidly accelerating, many of the mechanisms required to manage risk, trust, and cost are still maturing.

The issue now resides on whether an agent can be influenced, misdirected, or manipulated in ways that leads to unsafe behavior across a broader system.

Why prompt security matters in enterprise AI

Prompt security matters in enterprise AI because prompts are the primary way users and systems interact with Agentic AI models, making them one of the earliest and most visible indicators of how these systems are being used and where risk may emerge.

For security teams, prompt monitoring is a logical starting point for understanding enterprise AI usage, providing insight into what types of questions are being asked and tasks are being given to AI Agents, how these systems are being guided, and whether interactions align with expected behavior. Complete prompt security takes this one step further, filtering out or blocking sensitive or dangerous content to prevent risks like prompt injection and data leakage.

However, visibility only at the prompt layer can create a false sense of security. Prompts show what was asked, but not always why it was asked, or what downstream actions were triggered by the agent across connected systems, data sources, or applications.

What prompt security reveals  

The primary function of prompt security is to minimize risks associated with generative and agentic AI use, but monitoring and analysis of prompts can also grant insight into use cases for particular agents and model. With comprehensive prompt security, security teams should be able to answer the following questions for each prompt:

  • What task was the user attempting to complete?
  • What data was included in the request, and was any of the data high-risk or confidential?
  • Was the interaction high-risk, potentially malicious, or in violation of company policy?
  • Was the prompt anomalous (in comparison to previous prompts sent to the agent / model)?

Improving visibility at this layer is a necessary first step, allowing organizations to establish a baseline for how AI systems are being used and where potential risks may exist.  

Prompt security alone does not provide a complete view of risk. Further data is needed to understand how the prompt is interpreted, how context is applied, what autonomous actions the agent takes (if any), or what downstream systems are affected. Understanding the outcome of a query is just as important for complete prompt security as understanding the input prompt itself – for example, a perfectly normal, low-risk prompt may inadvertently result in an agent taking a high-risk action.

Comprehensive AI security systems like Darktrace / SECURE AI can monitor and analyze both the prompt submitted to a Generative AI system, as well as the responses and chain-of-thought of the system, providing greater insight into the behavior of the system. Darktrace / SECURE AI builds on the core Darktrace methodology, learning the expected behaviors of your organization and identifying deviations from the expected pattern of life.

How organizations address prompt security today

As prompt-level visibility has become a focus, a range of approaches have emerged to make this activity more observable and controllable. Various monitoring and logging tools aim to capture prompt inputs to be analyzed after the fact.  

Input validation and filtering systems attempt to intervene earlier, inspecting prompts before they reach the model. These controls look for known jailbreak patterns, language indicative of adversarial attacks, or ambiguous instructions which could push the system off course.

Importantly, for a prompt security solution to be accurate and effective, prompts must be continually observed and governed, rather than treated as a point-in-time snapshot.  

Where prompt security breaks down in real environments

In more complex environments, especially those involving multiple agents or extensive tool use, AI security becomes harder to define and control.

Agent-to-Agent communications can be harder to monitor and trace as these happen without direct user interaction. Communication between agents can create routes for potential context leakage between agents, unintentional privilege escalation, or even data leakage from a higher privileged agent to a lower privileged one.

Risk is shaped not just by what is asked, but by the conditions in which that prompt operates and the actions an agent takes. Controls at the orchestration layer are starting to reflect this reality. Techniques such as context isolation, scoped memory, and role-based boundaries aim to limit how far a prompt’s influence can extend.  

Furthermore, Shadow AI usage can be difficult to monitor. AI systems that are deployed outside of formal governance structures and Generative AI systems hosted on unknown endpoints can fly under the radar and can go unseen by monitoring tools, leaving a critical opening where adversarial prompts may go undetected. Darktrace / SECURE AI features comprehensive detection of Shadow AI usage, helping organizations identify potential risk areas.

How prompt security fits in a broader AI risk model

Prompt security is an important starting point, but it is not a complete security strategy. As AI systems become more integrated into enterprise environments, the risks extend to what resources the system can access, how it interprets context, and what actions it is allowed to take across connected tools and workflows.

This creates a gap between visibility and control. Prompt security alone allows security teams to observe prompt activity but falls short of creating a clear understanding of how that activity translates into real-world impact across the organization.

Closing that gap requires a broader approach, one that connects signals across human and AI agent identities, SaaS, cloud, and endpoint environments. It means understanding not just how an AI system is being used, but how that usage interacts with the rest of the digital estate.

Prompt security, in that sense, is less of a standalone solution and more of an entry point into a larger problem: securing AI across the enterprise as a whole.

Explore how Darktrace / SECURE AI brings prompt security to enterprises

Darktrace brings more than a decade of AI expertise, built on an enterprise‑wide platform designed to operate in and understand the behaviors of the complex, ambiguous environments where today’s AI now lives. With Darktrace / SECURE AI, enterprises can safely adopt, manage, monitor, and build AI within their business.  

Learn about Darktrace / SECURE AI here.

Sign up today to stay informed about innovations across securing AI.

[related-resource]

Continue reading
About the author
Jamie Bali
Technical Author (AI) Developer

Blog

/

OT

/

May 21, 2026

Data Center Security: Improving Visibility and Threat Detection Across IT, OT, and IoT

data center scurityDefault blog imageDefault blog image

What is data center cybersecurity?

Much of the conversation surrounding the data center boom has focused on power generation, cooling efficiency and water resources, construction, and compute capacity. In addition, cybersecurity has quietly become one of the most critical operational concerns as modern data centers are becoming some of the most operationally complex networked environments.

The more connected data center environments become, the larger and more dynamic their attack surface grows. What makes data center security particularly challenging is that they no longer resemble traditional enterprise IT environments alone. Instead, they operate like critical infrastructure facilities

Challenges of securing data centers

What makes these environments complicated is that the technologies responsible for keeping them operational: power distribution, cooling systems, airflow management, environmental controls, surveillance, and physical access management, all rely heavily on Operational Technology (OT), Industrial IoT (IIoT), and IoT systems alongside traditional IT infrastructure.

Programmable logic controllers (PLCs), building management systems (BMS), energy management systems (EMS), surveillance cameras, access control platforms, virtualization infrastructure, engineering workstations, contractor laptops, and cloud-connected orchestration systems now coexist within the same environment. Many are connected through routable networks, managed remotely, and accessed by 3rd party OEMs or System Integrators.

Why modern data center infrastructure faces increasing cyber risk

The challenge is not simply that there are more devices. It is that these IT, OT and IOT systems and devices are now deeply interconnected in ways that blur the boundaries between operational and enterprise infrastructure.

OT systems responsible for cooling and power distribution communicate alongside enterprise IT infrastructure. IoT devices used for physical security sit adjacent to cloud-connected management platforms. Third-party vendors and contractors frequently require remote access to maintain operations and optimize performance. AI-driven automation platforms increasingly orchestrate workflows across multiple environments simultaneously.

Every additional connection improves efficiency and scalability, but every additional connection also creates new relationships between systems that adversaries may exploit.

How IT, OT, and IoT convergence expands the data center attack surface

Historically in critical infrastructure environments enterprise IT, and OT or industrial control systems ICS, have been often separated by a DMZ.

That separation has steadily disappeared in pursuit of efficiency and access to valuable data that lives within the OT networks such as how many widgets were produced today. This conceptually is commonly referred to as “IT OT convergence.”

Modern data centers increasingly depend on interconnected systems operating across multiple domains simultaneously and face a similar reality when it comes to IT OT convergence.  

This convergence creates efficiency and visibility benefits, but it also introduces structural security challenges that traditional approaches struggle to address.

Many of the OT systems were never originally designed with modern cybersecurity requirements in mind. OT devices often prioritize uptime and operational continuity over security controls. IoT and OT devices may have limited security hardening, are inconsistently patched, or insecure default configurations. Third-party connectivity introduces external dependencies that organizations do not fully control.

As environments converge the attack surface changes and grows, attackers may exploit weaker systems positioned adjacent to critical operations for initial access. For example, a compromised IoT device may provide access into broader infrastructure, or an exposed remote management interface may enable lateral movement into OT systems.  

For defenders, rather than forcing segmentation where it’s not possible, focus oversight and monitoring across interconnected systems and how this activity might create operational risk, gaining visibility across these systems will ensure better awareness of and protection across the cracks in your systems attackers look to exploit.

Why traditional data center security tools create visibility gaps

Many organizations still secure IT, OT, and IoT environments through separate tools, teams, and workflows. Historically, this made sense. The environments themselves were more isolated, and the operational priorities were different.

But convergence changes the nature of detection and response.

Modern attacks increasingly move across domains as lateral movement and discovery techniques are pervasive amongst all the most well-known attacks to have disrupted OT. Adversaries may gain access through phishing or credential compromise, establish persistence in IT systems, pivot into operational infrastructure, exploit unmanaged IoT devices, and move laterally across cloud-connected environments.

Viewed independently, many of these signals may appear low priority or disconnected.

An anomalous login attempt, unusual device communication, changes in network traffic patterns, or abnormal behavior from an industrial controller may not appear significant on their own. The problem emerges when these activities are part of a broader attack chain unfolding across multiple systems simultaneously.

Siloed security models struggle to correlate this activity effectively because they lack shared operational context. Security teams may see isolated indicators while missing the relationships between them.

This creates a fundamental visibility problem that has discursive effects across security teams, leading to analyst overload, tedious alert investigations, and slower response times.

The issue is not simply detecting threats faster. It is understanding how activity across IT, OT, IoT, cloud, and remote access systems relate to one another in real time before operational disruption occurs.

Security measures to safeguard modern data center infrastructure

Rule-based systems, predefined indicators, and signature-driven approaches remain useful for identifying known threats, but they are less effective at identifying subtle behavioral deviations, novel attack paths, insider activity, 3rd party supply chain exploitation or attacks that move across operational domains.  

Darktrace’s Self-Learning AI approach is designed to operate across converged IT, OT, IoT, and cloud environments. Using multiple layers of AI models, Darktrace solutions come together to achieve behavioral prediction, real-time threat detection and response, and incident investigation, all while empowering your security team with visibility and control.

Because the models are environment-specific, they can adapt across highly diverse infrastructure including operational technology, physical security systems, enterprise IT, cloud workloads, and third-party connectivity.

This enables organizations to build a more unified understanding of activity across the data center.

Unified visibility across interconnected environments

Darktrace provides visibility across IT, OT, IoT, and cloud systems through a centralized platform. Security teams and data center operators can maintain live asset inventories, monitor data flows, identify vulnerable or end-of-life systems, and better understand how interconnected infrastructure communicates across the environment.

This becomes increasingly important in environments where unmanaged devices, transient contractor systems, and third-party connectivity continuously alter operational conditions.

Threat detection, investigation, and response

Darktrace applies multiple AI models to identify anomalous activity that may indicate known threats, novel attacks, insider activity, or cross-domain compromise.

By understanding how devices and systems normally behave within the environment, Darktrace can identify subtle deviations that may otherwise remain undetected in siloed environments.

Its autonomous response capabilities can also help contain threats during their early stages before they escalate into operational disruption. Meanwhile, Cyber AI Analyst provides explainable AI-driven investigations that help security teams understand the relationships between events, systems, and users involved in potential incidents.

Proactive risk identification

As data center environments continue to evolve, organizations increasingly need to understand not only active threats, but also where structural weaknesses may exist across interconnected systems.

Through capabilities such as attack path modeling and behavioral risk analysis, Darktrace helps organizations prioritize remediation efforts and identify areas where operational exposure may increase over time.

This supports a more proactive security posture in environments where operational continuity is critical.

Securing the future of interconnected infrastructure

As data centers continue to scale in size, complexity, and operational importance, their reliance on interconnected IT, OT, IoT, cloud, and AI-driven systems will only deepen.

The challenge organizations face is no longer simply protecting individual devices or isolated environments. It is understanding how risk emerges across interconnected systems operating together and detecting threats to these systems in real time.

This is ultimately what makes modern data center security different from traditional enterprise security models. The operational dependencies are broader, the environments are more heterogeneous, and the consequences of disruption and intent of adversaries are more like those in the critical infrastructure space.

Securing these environments therefore requires more than fragmented visibility across disconnected tools. Organizations increasingly need unified approaches capable of understanding relationships across systems, detecting threats early, and responding before operational disruption spreads across critical infrastructure.

As the infrastructure powering the digital economy continues to evolve, cybersecurity resilience will become increasingly inseparable from operational resilience itself.

[related-resource]

Continue reading
About the author
Daniel Simonds
Director of Operational Technology
Your data. Our AI.
Elevate your network security with Darktrace AI