Blog
/
AI
/
October 9, 2022

Piloting Airline Cyber Security With Artificial Intelligence (AI)

The airline industry is constantly exposed to cyber threats. Darktrace has some tips to help airline professionals bolster their cyber-security efforts.
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
Tony Jarvis
VP, Field CISO
Default blog imageDefault blog imageDefault blog imageDefault blog imageDefault blog imageDefault blog image
09
Oct 2022

A Thin Margin for Error

The airline industry has long been known for its thin profit margins, and the high costs of unexpected downtime. 2010’s Eyjafjallajökull eruption in Iceland and the resulting six-day airspace ban across Europe cost airlines $1.7 billion, just a taste of the impact that would come ten years later as a result of the pandemic. The industry collectively amassed more than $180 billion in debt in 2020, and some predictions suggest that by 2024 the industry's debt could exceed its revenue.

Given the impact that further sustained downtime could have on an already ailing industry, airlines are having to take cyber security seriously. Last year’s Colonial Pipeline ransomware attack in the US led to a six-day shutdown of pipeline operations – the same length of time that flights were grounded by the Eyjafjallajökull eruption. But while the industry hasn’t seen a volcanic eruption on that scale in over twelve years, ransomware attacks are striking airlines weekly. Just this year a ransomware attack on SpiceJet left hundreds of passengers stranded at airports across India, despite being contained relatively quickly.  

Fraud, Fines and Safety Risks

It isn’t just ransomware which is concerning many in the industry. Data breaches remain one of the biggest threats to airlines, organizations which are responsible at any one time for the personal and financial information of millions of customers. In 2019, British Airways had the data of 380,000 customers stolen, including addresses, birth dates and credit card information, and was fined £20 million (reduced from £183 million due in part to the impact of the pandemic) by the UK’s Information Commissioner’s Office (ICO), the largest issued fine in the ICO’s history. The European airline EasyJet is currently facing a class-action suit seeking £18 billion in damages after failing to properly disclose the loss of 2,208 customers’ credit-card information in 2020. 

Airlines are also losing out to card and air mile fraud, with thousands of fraudulent loyalty program accounts being sold on the dark web, as well as the usual roster of attacks including phishing and insider threats which affect businesses of every size and industry. The airlines themselves are not being complacent. In a 2021 report by SITA, 100% of airlines surveyed named cyber security as a key investment for the next three years. Making sure that those investments count will be the next challenge.

There are few industries for which safety and security measures are so important, and while no impact on flight safety as a result of a cyber-attack has yet been reported, agencies like Eurocontrol are already urging caution. Airlines and airports should look at smarter ways to proactively protect their digital environments. 

As attacks grow faster and less predictable, organizations are increasingly turning to preventative AI security measures. For airlines, which operate with broad attack surfaces and plenty of valuable data, using tools which can identify and monitor every asset and potential attack path in an organization and take the necessary steps to secure them is the best way to stay ahead of attackers.

Securing Airspace, Securing Cyberspace

As a recreational pilot myself, I understand the extent of the safety measures that go into every flight: the flight plans, pre-flight checks and all of the long-practiced, deep-embedded knowledge. It is this comprehensive and meticulous approach which ought to be reflected in organizations’ cyber security efforts – whether they be airlines, airports or any other type of business. The parallels between the processes of flying and running a digital organization safely give us a helpful way to understand what proper, AI-driven cyber security can do for any organization, airlines included.

Cleared for Takeoff 

For the pilot, safety measures start long before they’re sat in the cockpit. Flight planning, which includes planning heading and bearing, taking things like elevation, terrain, and weather conditions into consideration, must be completed in addition to plenty of pre-flight checks. The checklist the pilot works through when performing a walk around and pre-flight inspection will often be ordered so that they work in a circle around the perimeter of the whole plane. These checks prevent potential threats, covering everything from water having mixed with the fuel to birds making nests inside the engine cowling.

Darktrace PREVENT, released in July 2022, serves a similar purpose. The AI autonomously identifies and tests every single user and asset that makes up a business in order to spot potential vulnerabilities and harden defenses where necessary. Like a walk around, PREVENT/Attack Surface Management examines the full range of external assets for threats. Then, by identifying and testing potential attack pathways and mitigating against weak points and worst-case scenarios, PREVENT/End-to-End takes steps to win the fight before an attack has been launched. 

Maintaining Good Visibility

When you’re piloting a plane, first and foremost you need a way to detect key variables. Your fundamental flight instruments in the cockpit are known as the six pack:

1. Airspeed Indicator
2. Attitude Indicator or Artificial Horizon 
3. Altimeter
4. Turn Coordinator 
5. Heading Indicator
6. Vertical Speed Indicator

These six instruments provide the critical information needed by any pilot to safely fly the aircraft. While additional instruments are required to conduct flights In low-visibility or ‘Instrument Meteorological Conditions’ (IMC) conditions, these will be essential when getting out of dangerous situations such as inadvertently flying into cloud.

Understanding an environment and adapting to its changes is also fundamental to Darktrace DETECT: an AI-driven technology which focuses on building a comprehensive knowledge of an organization’s environment in order to spot threats the moment they appear. Because it understands what is ‘normal’ for the organization, Darktrace DETECT is able to correlate multiple subtle anomalies in order to expose emerging attacks – even those which have never been seen before. Like those essential flight instruments, DETECT offers visibility into otherwise obscure regions of the environment, and ensures that any potential problems are spotted as early as possible. 

Mayday, Mayday

In aviation and security, moving quickly once a threat has been detected is critical. When an engine stalls at 3,000 feet above ground level, you don’t have time to get the training books out and start figuring out what to do. Pilots are taught to “always have an out” and be ready to use it.

In aviation, an effective response relies for the most part on the knowledge and quick reactions of the pilot, but in cyber security, AI is making response faster and more effective than ever. Darktrace RESPOND uses DETECT’s contextual understanding in order to take the optimum action to mitigate a threat. Adaptability of this response is crucial: a single cyber-attack can come in any number of configurations, and Darktrace RESPOND is able to tailor its actions appropriately. Attacks today move too fast for human teams to be expected to keep up, but with AI taking actions at machine speed organizations can remain protected. 

Always Learning

One of the best pieces of advice a pilot can take is to always be learning. Every flight is an opportunity to learn something new and become a better and safer pilot.

Darktrace DETECT, RESPOND, and PREVENT are all driven by Self-Learning AI, a technology which not only builds but continuously evolves its understanding of each business. This means that as an organization grows, adding more users, assets, or applications, its Darktrace coverage grows too, using each new data point to enhance its understanding and the accuracy of its actions and detections. Darktrace’s separate technologies also learn from each other. Each of the three product families continuously feeds data into the others, helping to enhance their capabilities and improving their ability to keep organizations secured against threats. 

As cyber-attacks proliferate and increase in sophistication, they will continue to target organizations like airlines, which have large attack surfaces and copious amounts of customer data, and which cannot afford to weather sustained downtime. But with AI offering effective, proactive measures and clear-sky visibility, security teams can be confident in their ability to fight back.

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
Tony Jarvis
VP, Field CISO

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
Ahmed Gardezi
Cyber Analyst

Blog

/

Compliance

/

November 26, 2025

UK Cyber Security & Resilience Bill: What Organizations Need to Know

Default blog imageDefault blog image

Why the Bill has been introduced

The UK’s cyber threat landscape has evolved dramatically since the 2018 NIS regime was introduced. Incidents such as the Synnovis attack against hospitals and the British Library ransomware attack show how quickly operational risk can become public harm. In this context, the UK Department for Science, Innovation and Technology estimates that cyber-attacks cost UK businesses around £14.7 billion each year.

At the same time, the widespread adoption of AI has expanded organisations’ attack surfaces and empowered threat actors to launch more effective and sophisticated activities, including crafting convincing phishing campaigns, exploiting vulnerabilities and initiating ransomware attacks at unprecedented speed and scale.  

The CSRB responds to these challenges by widening who is regulated, accelerating incident reporting and tightening supply chain accountability, while enabling rapid updates that keep pace with technology and emerging risks.

Key provisions of the Cyber Security and Resilience Bill

A wider set of organisations in scope

The Bill significantly broadens the range of organisations regulated under the NIS framework.

  • Managed service providers (MSPs) - medium and large MSPs, including MSSPs, managed SOCs, SIEM providers and similar services,will now fall under NIS obligations due to their systemic importance and privileged access to client systems. The Information Commissioner’s Office (ICO) will act as the regulator. Government analysis anticipates that a further 900 to 1,100 MSPs will be in scope.
  • Data infrastructure is now recognised as essential to the functioning of the economy and public services. Medium and large data centres, as well as enterprise facilities meeting specified thresholds, will be required to implement appropriate and proportionate measures to manage cyber risk. Oversight will be shared between DSIT and Ofcom, with Ofcom serving as the operational regulator.
  • Organisations that manage electrical loads for smart appliances, such as those supporting EV charging during peak times, are now within scope.

These additions sit alongside existing NIS-regulated sectors such as transport, energy, water, health, digital infrastructure, and certain digital services (including online marketplaces, search engines, and cloud computing).

Stronger supply chain requirements

Under the CSRB, regulators can now designate third-party suppliers as ‘designated critical suppliers’ (DCS) when certain threshold criteria are met and where disruption could have significant knock-on effects. Designated suppliers will be subject to the same security and incident-reporting obligations as Operators of Essential Services (OES) and Relevant Digital Service Providers (RDSPs).

Government will scope the supply chain duties for OES and RDSPs via secondary legislation, following consultation. infrastructure incidents where a single supplier’s compromise caused widespread disruption.

Faster incident reporting

Sector-specific regulators, 12 in total, will be responsible for implementing the CSRB, allowing for more effective and consistent reporting. In addition, the CSRB introduces a two-stage reporting process and expands incident reporting criteria. Regulated entities must submit an initial notification within 24 hours of becoming aware of a significant incident, followed by an incident report within 72 hours. Incident reporting criteria are also broadened to capture incidents beyond those which actually resulted in an interruption, ensuring earlier visibility for regulators and the National Cyber Security Centre (NCSC). The importance of information sharing across agencies, law enforcement and regulators is also facilitated by the CSRB.

The reforms also require data centres and managed service providers to notify affected customers where they are likely to have been impacted by a cyber incident.

An agile regulatory framework

To keep pace with technological change, the CSRB will enable the Secretary of State to update elements of the framework via secondary legislation. Supporting materials such as the NCSC Cyber Assessment Framework (CAF) are to be "put on a stronger footing” allowing for requirements to be more easily followed, managed and updated. Regulators will also now be able to recover full costs associated with NIS duties meaning they are better resourced to carry out their associated responsibilities.

Relevant Managed Service Providers must identify and take appropriate and proportionate measures to manage risks to the systems they rely on for providing services within the UK. Importantly, these measures must, having regard to the state of the art, ensure a level of security appropriate to the risk posed, and prevent or minimise the impact of incidents.

The Secretary of State will also be empowered to issue a Statement of Strategic Priorities, setting cross-regime outcomes to drive consistency across the 12 competent authorities responsible for implementation.

Penalties

The enforcement framework will be strengthened, with maximum fines aligned with comparable regimes such as the GDPR, which incorporate maximums tied to turnover. Under the CSRB, maximum penalties for more serious breaches could be up to £17 million or 4% of global turnover, whichever is higher.

Next steps

The Bill is expected to progress through Parliament over the course of 2025 and early 2026, with Royal Assent anticipated in 2026. Once enacted, most operational measures will not take immediate effect. Instead, Government will bring key components into force through secondary legislation following further consultation, providing regulators and industry with time to adjust practices and prepare for compliance.

Anticipated timeline

  • 2025-2026: Parliamentary scrutiny and passage;
  • 2026: Royal Assent;  
  • 2026 consultation: DSIT intends to consult on detailed implementation;
  • From 2026 onwards: Phased implementation via secondary legislation, following further consultation led by DSIT.

How Darktrace can help

The CSRB represents a step change in how the UK approaches digital risk, shifting the focus from compliance to resilience.

Darktrace can help organisations operationalise this shift by using AI to detect, investigate and respond to emerging threats at machine speed, before they escalate into incidents requiring regulatory notification. Proactive tools which can be included in the Darktrace platform allow security teams to stress-test defences, map supply chain exposure and rehearse recovery scenarios, directly supporting the CSRB’s focus on resilience, transparency and rapid response. If an incident does occur, Darktrace’s autonomous agent, Cyber AI Analyst, can accelerate investigations and provide a view of every stage of the attack chain, supporting timely reporting.  

Darktrace’s AI can provide organisations with a vital lens into both internal and external cyber risk. By continuously learning patterns of behaviour across interconnected systems, Darktrace can flag potential compromise or disruption to detect supply chain risk before it impacts your organisation.

In a landscape where compliance and resilience go hand in hand, Darktrace can equip organisations to stay ahead of both evolving threats and evolving regulatory requirements.

[related-resource]

Continue reading
About the author
The Darktrace Community
Your data. Our AI.
Elevate your network security with Darktrace AI