Blog
/
/
July 31, 2024

CDR is just NDR for the Cloud... Right?

As cloud adoption surges, the need for scalable, cloud-native security is paramount. This blog explores whether Cloud Detection and Response (CDR) is merely Network Detection and Response (NDR) tailored for the cloud, highlighting the unique challenges and essential solutions SOC teams require to secure dynamic cloud environments effectively.
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
Adam Stevens
Senior Director of Product, Cloud | Darktrace
Default blog imageDefault blog imageDefault blog imageDefault blog imageDefault blog imageDefault blog image
31
Jul 2024

The need for scalable cloud-native security

The cybersecurity landscape is undergoing a rapid transformation driven by the accelerated adoption of cloud computing, compelling organizations to reevaluate their security strategies. According to Forrester’s Infrastructure Cloud Survey, 2023, cloud decision-makers who are moving to a cloud computing infrastructure estimated they have already moved 39% of their application portfolio to the cloud and intend to move another 53% in the next two years [1].

This explosive growth underscores not only the increased dependency on cloud services, but also the evolving sophistication of cyber threats targeting these platforms, and the critical need for dedicated security measures tailored to cloud infrastructures — thereby making cloud security a pivotal focus for Security Operations Center (SOC) teams.

As organizations increasingly migrate to cloud environments and their reliance on cloud infrastructures deepens, they encounter new security challenges that require reevaluating their security strategies. Traditional measures like Network Detection and Response (NDR) are being reassessed in favor of more dynamic, scalable cloud-native solutions.

However, can we truly say that cloud detection and response (CDR) is fundamentally different? Or is it simply an evolution of NDR tailored for the cloud?

Cloud Detection and Response (CDR) vs Network Detection and Response (NDR)

Cloud Detection and Response (CDR) has emerged as a pivotal technology in the race against threat actors targeting cloud assets. CDR is typically centered around the same foundational principles as NDR. As such, NDR providers are well placed to provide these capabilities within dynamic cloud environments – particularly those providers that are built upon the foundation of understanding your business, its digital footprint, and leveraging that understanding to detect subtle deviations and highlighting anomalies as opposed to pre training or relying on rules and signatures.

However, there are unique challenges within cloud environments that require a wider, richer, context-aware approach.

Why SOC Teams Care

Widespread UseThe shift towards cloud services is no longer a trend but a standard practice across industries. Organizations increasingly rely on cloud infrastructures for essential operations across IaaS, PaaS, and SaaS platforms. According to Gartner, worldwide end-user spending on public cloud services is forecast to grow 20.4% to total $678.8 billion in 2024, up from $563.6 billion in 2023 [2]. This widespread adoption necessitates a security approach that can operate seamlessly across varied cloud environments, addressing both the scalability and the agility that these platforms offer.

Sophisticated AttacksCyber threats have evolved in sophistication, specifically targeting cloud platforms due to their growing prevalence. Attackers exploit the dynamic nature of cloud services, where traditional security measures often fall short. The cloud has emerged as a major target for threat actors who want to control access to, manipulate, and steal that data. This makes cloud resources a bigger target than ever for attackers. According to the IBM Cost of a Data Breach 2023 report, 82% of breaches involved data stored in the cloud [3]. Examples include data breaches initiated through misconfigured storage instances or through the exploitation of incomplete data deletion processes, highlighting the need for cloud-specific security responses.

Dynamic EnvironmentsCloud environments are inherently dynamic, characterized by the rapid provisioning and de-provisioning of resources, this fluidity presents a significant challenge for maintaining continuous security oversight, organizations need to be able to see what individual assets in the cloud look like at any given moment, who or what can access those, but also to be able to detect and respond to changes in real time. Unlike traditional infrastructure, detection and response in the cloud is challenging because of the ephemeral nature of some cloud assets and the velocity and volume of new app deployment – traditional signature-based detections will often struggle to work with such data.

What SOC Teams Need

Centralized VisibilityEffective security management requires a comprehensive, unified view spanning all operational environments including multi-cloud platforms and on-premises datacenters. Furthermore, in today's complex IT landscape, where organizations operate across both on-premises and various cloud environments, the need for centralized visibility becomes paramount. This comprehensive oversight is crucial for detecting anomalies and potential threats in real time, allowing SOC teams to manage security from a single source of truth, despite the dispersed nature of cloud assets and the heterogeneity of on-premises resources. By integrating these views, organizations can ensure a seamless security posture that encompasses all operational environments, enhancing their ability to respond swiftly to incidents and reduce security gaps.

AutomationGiven the vast scale and complexity of cloud operations, automation in detection and response processes is indispensable. Automated security solutions can instantly respond to threats, or adjust permissions across the cloud, enhancing both the efficiency and effectiveness of security measures.

Containment and RemediationThe capability for swift containment and remediation of security incidents is vital to minimize their impact on business operations. Automated response mechanisms that can isolate affected systems, revoke access, or reroute traffic until the threat is neutralized are essential components of modern CDR solutions.

Unpacking the Essentials: What Sets CDR Apart from NDR

While CDR and NDR share similar goals of threat mitigation, the context within cloud environments brings additional complexities:

Who: The identification of user roles and access patterns in cloud environments is crucial for detecting insider threats or compromised accounts. For example, an account behaving irregularly or accessing unusual data points may indicate a security breach.

What: Understanding what resources are deployed in the cloud (such as VMs, containers, and serverless functions) and the types of data they handle helps prioritize security efforts. Protecting data with varying sensitivity levels requires different security protocols.

Where: The geographic distribution of cloud datacenters affects regulatory compliance and data sovereignty. Security measures must consider these factors to ensure that data storage and processing comply with local laws and regulations.

How: Monitoring the configuration and usage of cloud services helps in identifying misconfigurations and anomalous usage patterns, which are common vectors for attacks. Tools that can automatically scan and rectify configurations in real time are particularly valuable in maintaining cloud security.

Key takeaways and benefits of CDR

As cloud adoption continues to surge, the strategic importance of CDR becomes increasingly evident. However, NDR vendors are well-positioned to provide these capabilities, especially those who deeply understand customer environments by learning the pattern of life of resources rather than relying on static rules and signatures.

Cloud environments, at their core, are still comprised of networks for communication. Interactions between cloud resources need to be monitored in real time, and access to these resources needs to be tracked and managed. As the cloud changes dynamically, the understanding and visualization of what is deployed and where needs to be updated quickly. Above all effective and proportional cloud-native response needs to be provided to mitigate threats and avoid business disruption.

Moreover, the ideal solutions will not only monitor network interactions but also bring in cloud contextual awareness. By combining these insights, SOC teams can gain a deeper understanding of permissions, assess risk vulnerabilities, and integrate all these elements into a single, cohesive platform. Importantly, SOC teams need to go beyond detection and response to actively mitigate potential misconfigurations and stay preventative. After all, proactive security is much better than reactive. By leveraging such comprehensive solutions, SOC teams can better equip themselves to tackle the modern cybersecurity landscape, ensuring robust, responsive, and adaptable defenses.

Learn more about Darktrace / CLOUD

Darktrace / CLOUD is intelligent cloud security powered by Self-Learning AI that delivers continuous, context-aware visibility and monitoring of cloud assets to unlock real-time detection and response​,​ and proactive cloud risk management. Read more about our cloud security solution here.

References

[1]  Gartner Forecasts Worldwide Public Cloud End-User Spending to Surpass $675 Billion in 2024

[2]  Public Cloud Market Insights, 2023 | Forrester

[3]  IBM Cost of a Data Breach 2023 Report

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
Adam Stevens
Senior Director of Product, Cloud | Darktrace

More in this series

No items found.

Blog

/

Network

/

November 27, 2025

CastleLoader & CastleRAT: Behind TAG150’s Modular Malware Delivery System

CastleLoader & CastleRAT: Behind TAG150’s Modular Malware Delivery SystemDefault blog imageDefault blog image

What is TAG-150?

TAG-150, a relatively new Malware-as-a-Service (MaaS) operator, has been active since March 2025, demonstrating rapid development and an expansive, evolving infrastructure designed to support its malicious operations. The group employs two custom malware families, CastleLoader and CastleRAT, to compromise target systems, with a primary focus on the United States [1]. TAG-150’s infrastructure included numerous victim-facing components, such as IP addresses and domains functioning as command-and-control (C2) servers associated with malware families like SecTopRAT and WarmCookie, in addition to CastleLoader and CastleRAT [2].

As of May 2025, CastleLoader alone had infected a reported 469 devices, underscoring the scale and sophistication of TAG-150’s campaign [1].

What are CastleLoader and CastleRAT?

CastleLoader is a loader malware, primarily designed to download and install additional malware, enabling chain infections across compromised systems [3]. TAG-150 employs a technique known as ClickFix, which uses deceptive domains that mimic document verification systems or browser update notifications to trick victims into executing malicious scripts. Furthermore, CastleLoader leverages fake GitHub repositories that impersonate legitimate tools as a distribution method, luring unsuspecting users into downloading and installing malware on their devices [4].

CastleRAT, meanwhile, is a remote access trojan (RAT) that serves as one of the primary payloads delivered by CastleLoader. Once deployed, CastleRAT grants attackers extensive control over the compromised system, enabling capabilities such as keylogging, screen capturing, and remote shell access.

TAG-150 leverages CastleLoader as its initial delivery mechanism, with CastleRAT acting as the main payload. This two-stage attack strategy enhances the resilience and effectiveness of their operations by separating the initial infection vector from the final payload deployment.

How are they deployed?

Castleloader uses code-obfuscation methods such as dead-code insertion and packing to hinder both static and dynamic analysis. After the payload is unpacked, it connects to its command-and-control server to retrieve and running additional, targeted components.

Its modular architecture enables it to function both as a delivery mechanism and a staging utility, allowing threat actors to decouple the initial infection from payload deployment. CastleLoader typically delivers its payloads as Portable Executables (PEs) containing embedded shellcode. This shellcode activates the loader’s core module, which then connects to the C2 server to retrieve and execute the next-stage malware.[6]

Following this, attackers deploy the ClickFix technique, impersonating legitimate software distribution platforms like Google Meet or browser update notifications. These deceptive sites trick victims into copying and executing PowerShell commands, thereby initiating the infection kill chain. [1]

When a user clicks on a spoofed Cloudflare “Verification Stepprompt, a background request is sent to a PHP script on the distribution domain (e.g., /s.php?an=0). The server’s response is then automatically copied to the user’s clipboard using the ‘unsecuredCopyToClipboard()’ function. [7].

The Python-based variant of CastleRAT, known as “PyNightShade,” has been engineered with stealth in mind, showing minimal detection across antivirus platforms [2]. As illustrated in Figure 1, PyNightShade communicates with the geolocation API service ip-api[.]com, demonstrating both request and response behavior

Packet Capture (PCAP) of PyNightShade, the Python-based variant of CastleRAT, communicating with the geolocation API service ip-api[.]com.
Figure 1: Packet Capture (PCAP) of PyNightShade, the Python-based variant of CastleRAT, communicating with the geolocation API service ip-api[.]com.

Darktrace Coverage

In mid-2025, Darktrace observed a range of anomalous activities across its customer base that appeared linked to CastleLoader, including the example below from a US based organization.

The activity began on June 26, when a device on the customer’s network was observed connecting to the IP address 173.44.141[.]89, a previously unseen IP for this network along with the use of multiple user agents, which was also rare for the user.  It was later determined that the IP address was a known indicator of compromise (IoC) associated with TAG-150’s CastleRAT and CastleLoader operations [2][5].

Figure 2: Darktrace’s detection of a device making unusual connections to the malicious endpoint 173.44.141[.]89.

The device was observed downloading two scripts from this endpoint, namely ‘/service/download/data_5x.bin’ and ‘/service/download/data_6x.bin’, which have both been linked to CastleLoader infections by open-source intelligence (OSINT) [8]. The archives contains embedded shellcode, which enables attackers to execute arbitrary code directly in memory, bypassing disk writes and making detection by endpoint detection and response (EDR) tools significantly more difficult [2].

 Darktrace’s detection of two scripts from the malicious endpoint.
Figure 3: Darktrace’s detection of two scripts from the malicious endpoint.

In addition to this, the affected device exhibited a high volume of internal connections to a broad range of endpoints, indicating potential scanning activity. Such behavior is often associated with reconnaissance efforts aimed at mapping internal infrastructure.

Darktrace / NETWORK correlated these behaviors and generated an Enhanced Monitoring model, a high-fidelity security model designed to detect activity consistent with the early stages of an attack. These high-priority models are continuously monitored and triaged by Darktrace’s Security Operations Center (SOC) as part of the Managed Threat Detection and Managed Detection & Response services, ensuring that subscribed customers are promptly alerted to emerging threats.

Darktrace detected an unusual ZIP file download alongside the anomalous script, followed by internal connectivity. This activity was correlated under an Enhanced Monitoring model.
Figure 4: Darktrace detected an unusual ZIP file download alongside the anomalous script, followed by internal connectivity. This activity was correlated under an Enhanced Monitoring model.

Darktrace Autonomous Response

Fortunately, Darktrace’s Autonomous Response capability was fully configured, enabling it to take immediate action against the offending device by blocking any further connections external to the malicious endpoint, 173.44.141[.]89. Additionally, Darktrace enforced a ‘group pattern of life’ on the device, restricting its behavior to match other devices in its peer group, ensuring it could not deviate from expected activity, while also blocking connections over 443, shutting down any unwanted internal scanning.

Figure 5: Actions performed by Darktrace’s Autonomous Response to contain the ongoing attack.

Conclusion

The rise of the MaaS ecosystem, coupled with attackers’ growing ability to customize tools and techniques for specific targets, is making intrusion prevention increasingly challenging for security teams. Many threat actors now leverage modular toolkits, dynamic infrastructure, and tailored payloads to evade static defenses and exploit even minor visibility gaps. In this instance, Darktrace demonstrated its capability to counter these evolving tactics by identifying early-stage attack chain behaviors such as network scanning and the initial infection attempt. Autonomous Response then blocked the CastleLoader IP delivering the malicious ZIP payload, halting the attack before escalation and protecting the organization from a potentially damaging multi-stage compromise

Credit to Ahmed Gardezi (Cyber Analyst) Tyler Rhea (Senior Cyber Analyst)
Edited by Ryan Traill (Analyst Content Lead)

Appendices

Darktrace Model Detections

  • Anomalous Connection / Unusual Internal Connections
  • Anomalous File / Zip or Gzip from Rare External Location
  • Anomalous File / Script from Rare External Location
  • Initial Attack Chain Activity (Enhanced Monitoring Model)

MITRE ATT&CK Mapping

  • T15588.001 - Resource Development – Malware
  • TG1599 – Defence Evasion – Network Boundary Bridging
  • T1046 – Discovery – Network Service Scanning
  • T1189 – Initial Access

List of IoCs
IoC - Type - Description + Confidence

  • 173.44.141[.]89 – IP – CastleLoader C2 Infrastructure
  • 173.44.141[.]89/service/download/data_5x.bin – URI – CastleLoader Script
  • 173.44.141[.]89/service/download/data_6x.bin – URI  - CastleLoader Script
  • wsc.zip – ZIP file – Possible Payload

References

[1] - https://blog.polyswarm.io/castleloader

[2] - https://www.recordedfuture.com/research/from-castleloader-to-castlerat-tag-150-advances-operations

[3] - https://www.pcrisk.com/removal-guides/34160-castleloader-malware

[4] - https://www.scworld.com/brief/malware-loader-castleloader-targets-devices-via-fake-github-clickfix-phishing

[5] https://www.virustotal.com/gui/ip-address/173.44.141.89/community

[6] https://thehackernews.com/2025/07/castleloader-malware-infects-469.html

[7] https://www.cryptika.com/new-castleloader-attack-using-cloudflare-themed-clickfix-technique-to-infect-windows-computers/

[8] https://www.cryptika.com/castlebot-malware-as-a-service-deploys-range-of-payloads-linked-to-ransomware-attacks/

Continue reading
About the author

Blog

/

OT

/

November 20, 2025

Managing OT Remote Access with Zero Trust Control & AI Driven Detection

managing OT remote access with zero trust control and ai driven detectionDefault blog imageDefault blog image

The shift toward IT-OT convergence

Recently, industrial environments have become more connected and dependent on external collaboration. As a result, truly air-gapped OT systems have become less of a reality, especially when working with OEM-managed assets, legacy equipment requiring remote diagnostics, or third-party integrators who routinely connect in.

This convergence, whether it’s driven by digital transformation mandates or operational efficiency goals, are making OT environments more connected, more automated, and more intertwined with IT systems. While this convergence opens new possibilities, it also exposes the environment to risks that traditional OT architectures were never designed to withstand.

The modernization gap and why visibility alone isn’t enough

The push toward modernization has introduced new technology into industrial environments, creating convergence between IT and OT environments, and resulting in a lack of visibility. However, regaining that visibility is just a starting point. Visibility only tells you what is connected, not how access should be governed. And this is where the divide between IT and OT becomes unavoidable.

Security strategies that work well in IT often fall short in OT, where even small missteps can lead to environmental risk, safety incidents, or costly disruptions. Add in mounting regulatory pressure to enforce secure access, enforce segmentation, and demonstrate accountability, and it becomes clear: visibility alone is no longer sufficient. What industrial environments need now is precision. They need control. And they need to implement both without interrupting operations. All this requires identity-based access controls, real-time session oversight, and continuous behavioral detection.

The risk of unmonitored remote access

This risk becomes most evident during critical moments, such as when an OEM needs urgent access to troubleshoot a malfunctioning asset.

Under that time pressure, access is often provisioned quickly with minimal verification, bypassing established processes. Once inside, there’s little to no real-time oversight of user actions whether they’re executing commands, changing configurations, or moving laterally across the network. These actions typically go unlogged or unnoticed until something breaks. At that point, teams are stuck piecing together fragmented logs or post-incident forensics, with no clear line of accountability.  

In environments where uptime is critical and safety is non-negotiable, this level of uncertainty simply isn’t sustainable.

The visibility gap: Who’s doing what, and when?

The fundamental issue we encounter is the disconnect between who has access and what they are doing with it.  

Traditional access management tools may validate credentials and restrict entry points, but they rarely provide real-time visibility into in-session activity. Even fewer can distinguish between expected vendor behavior and subtle signs of compromise, misuse or misconfiguration.  

As a result, OT and security teams are often left blind to the most critical part of the puzzle, intent and behavior.

Closing the gaps with zero trust controls and AI‑driven detection

Managing remote access in OT is no longer just about granting a connection, it’s about enforcing strict access parameters while continuously monitoring for abnormal behavior. This requires a two-pronged approach: precision access control, and intelligent, real-time detection.

Zero Trust access controls provide the foundation. By enforcing identity-based, just-in-time permissions, OT environments can ensure that vendors and remote users only access the systems they’re explicitly authorized to interact with, and only for the time they need. These controls should be granular enough to limit access down to specific devices, commands, or functions. By applying these principles consistently across the Purdue Model, organizations can eliminate reliance on catch-all VPN tunnels, jump servers, and brittle firewall exceptions that expose the environment to excess risk.

Access control is only one part of the equation

Darktrace / OT complements zero trust controls with continuous, AI-driven behavioral detection. Rather than relying on static rules or pre-defined signatures, Darktrace uses Self-Learning AI to build a live, evolving understanding of what’s “normal” in the environment, across every device, protocol, and user. This enables real-time detection of subtle misconfigurations, credential misuse, or lateral movement as they happen, not after the fact.

By correlating user identity and session activity with behavioral analytics, Darktrace gives organizations the full picture: who accessed which system, what actions they performed, how those actions compared to historical norms, and whether any deviations occurred. It eliminates guesswork around remote access sessions and replaces it with clear, contextual insight.

Importantly, Darktrace distinguishes between operational noise and true cyber-relevant anomalies. Unlike other tools that lump everything, from CVE alerts to routine activity, into a single stream, Darktrace separates legitimate remote access behavior from potential misuse or abuse. This means organizations can both audit access from a compliance standpoint and be confident that if a session is ever exploited, the misuse will be surfaced as a high-fidelity, cyber-relevant alert. This approach serves as a compensating control, ensuring that even if access is overextended or misused, the behavior is still visible and actionable.

If a session deviates from learned baselines, such as an unusual command sequence, new lateral movement path, or activity outside of scheduled hours, Darktrace can flag it immediately. These insights can be used to trigger manual investigation or automated enforcement actions, such as access revocation or session isolation, depending on policy.

This layered approach enables real-time decision-making, supports uninterrupted operations, and delivers complete accountability for all remote activity, without slowing down critical work or disrupting industrial workflows.

Where Zero Trust Access Meets AI‑Driven Oversight:

  • Granular Access Enforcement: Role-based, just-in-time access that aligns with Zero Trust principles and meets compliance expectations.
  • Context-Enriched Threat Detection: Self-Learning AI detects anomalous OT behavior in real time and ties threats to access events and user activity.
  • Automated Session Oversight: Behavioral anomalies can trigger alerting or automated controls, reducing time-to-contain while preserving uptime.
  • Full Visibility Across Purdue Layers: Correlated data connects remote access events with device-level behavior, spanning IT and OT layers.
  • Scalable, Passive Monitoring: Passive behavioral learning enables coverage across legacy systems and air-gapped environments, no signatures, agents, or intrusive scans required.

Complete security without compromise

We no longer have to choose between operational agility and security control, or between visibility and simplicity. A Zero Trust approach, reinforced by real-time AI detection, enables secure remote access that is both permission-aware and behavior-aware, tailored to the realities of industrial operations and scalable across diverse environments.

Because when it comes to protecting critical infrastructure, access without detection is a risk and detection without access control is incomplete.

Continue reading
About the author
Pallavi Singh
Product Marketing Manager, OT Security & Compliance
Your data. Our AI.
Elevate your network security with Darktrace AI