Skip to main content
Mallory
Malware3 associated actors3 associated CVEs

CastleRAT

Tracked since Nov 27, 2025 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days66 mentions · peak 26 in a dayToday
Vulns3Associated
Actors3Associated
ATT&CK50Techniques
IOCs39Tracked
Type
RAT
Capabilities
PersistencePost exploitationDefense evasion
Delivery
PhishingLanding pageLure
Platforms
Windows

CastleRAT, also tracked as NightshadeC2, is a Windows remote access Trojan known since 2025. It enables attackers to remotely control compromised systems and maintain persistent access within enterprise environments. Its deployment flexibility and detection-evasion mechanisms support post-exploitation activity, including intrusions that facilitate subsequent ransomware attacks and data theft. Observed samples use a Steam Community profile as a dead-drop resolver to locate command-and-control infrastructure.

CastleRAT has been deployed by unattributed cybercriminal operators in the Fake Freight Portals campaign targeting United States trucking and logistics organizations. This campaign impersonates DAT and TIMOCOM freight services and presents booking documents or updated terms as download lures. A Windows shortcut disguised as a PDF executes software from an attacker-controlled WebDAV share, leading to installation of the legitimate MeshCentral remote-administration agent. Operators subsequently use remote access to retrieve BitLocker recovery passwords, configure Microsoft Defender exclusions, and deploy CastleRAT. Observed deployment included relaunching CastleRAT through a User Account Control bypass. These preparatory actions were operator activity; file encryption was not observed in the documented intrusion.

In November 2026, international authorities disrupted CastleRAT infrastructure under Operation Endgame, seizing 120 associated servers and 39 domains.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

3 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2024-23113via jumpsec labsExploited in the wildUnauthenticated Remote Code Execution in Fortinet FGFM DaemonIsraeli-Focused Targeting Set Targets include Israeli IP ranges, Laravel web applications, and FortiOS systems. ... MITRE ATT&CK ID Technique ... T1190 CVE-2024-55591, CVE-2024-23113, CVE-2026-1281 | This report documents a direct operational link between the exposed infrastructure of Iranian threat actor MuddyWater and TAG-150 CastleRAT malware – a modular malware-as-a-service (MaaS) platform developed by Russian-speaking cybercriminals.View vulnerability →Source ↗
CVE-2024-55591via jumpsec labsExploited in the wildSuper-admin Authentication Bypass in FortiOS and FortiProxyIsraeli-Focused Targeting Set Targets include Israeli IP ranges, Laravel web applications, and FortiOS systems. ... MITRE ATT&CK ID Technique ... T1190 CVE-2024-55591, CVE-2024-23113, CVE-2026-1281 | This report documents a direct operational link between the exposed infrastructure of Iranian threat actor MuddyWater and TAG-150 CastleRAT malware – a modular malware-as-a-service (MaaS) platform developed by Russian-speaking cybercriminals.View vulnerability →Source ↗
CVE-2026-1281via jumpsec labsExploited in the wildUnauthenticated Remote Code Execution in Ivanti Endpoint Manager MobileIsraeli-Focused Targeting Set Targets include Israeli IP ranges, Laravel web applications, and FortiOS systems. ... MITRE ATT&CK ID Technique ... T1190 CVE-2024-55591, CVE-2024-23113, CVE-2026-1281 | This report documents a direct operational link between the exposed infrastructure of Iranian threat actor MuddyWater and TAG-150 CastleRAT malware – a modular malware-as-a-service (MaaS) platform developed by Russian-speaking cybercriminals.View vulnerability →Source ↗
Threat actors

Associated threat actors

3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
TAG-150

CastleRAT is also tracked as DenoRAT, a Deno-based Remote Access Trojan.

via riskyrisky.biz
MuddyWater

This report documents a direct operational link between the exposed infrastructure of Iranian threat actor MuddyWater and TAG-150 CastleRAT malware – a modular malware-as-a-service (MaaS) platform developed by Russian-speaking cybercriminals.

via jumpsec labsjumpsec.com
Velvet Tempest

...Velvet Tempest ... used a ClickFix lure ... to drop payloads like DonutLoader and CastleRAT.

via the hacker newsthehackernews.com
MITRE ATT&CK

Techniques & procedures

50 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

5 techniques
T1078Valid AccountsEvidence1

Actor attempts logins to financial-institution websites using exfiltrated browser credentials

T1190Exploit Public-Facing ApplicationEvidence1

MITRE ATT&CK ID Technique T1190 CVE-2024-55591, CVE-2024-23113, CVE-2026-1281

T1195.001Compromise Software Dependencies and Development ToolsEvidence1

"First Malicious MCP Server Found Stealing Emails in Rogue Postmark-MCP Package"; "Self-Replicating Worm Hits 180+ npm Packages"; "SilentSync RAT Delivered via Two Malicious PyPI Packages"; "Malicious Rust Crates Steal Solana and Ethereum Keys"; "VS Code ... republish deleted extensions"

T1566PhishingEvidence3

Despite public exposure, MuddyWater continued operations in March 2026, deploying updated malware and phishing lures days after initial detection.

T1566.002Spearphishing LinkEvidence2

MITRE ATT&CK ID Technique T1566.002 Phishing: ClickFix/BatClickFix social engineering

Execution

9 techniques
T1053Scheduled Task/JobEvidence1

et d’établir une persistance via des tâches planifiées

T1059Command and Scripting InterpreterEvidence4

These incidents have all included the use of finger.exe as the initial retrieval mechanism with the majority using caret (^) obfuscation on the command string.

T1059.001PowerShellEvidence6

`reset.ps1` was found on the MuddyWater-attributed C2 server ... This PowerShell script installs Node.js, AES-decrypts an embedded payload, and deploys the ChainShell pair

T1059.003Windows Command ShellEvidence1

Available in both Python and C variants, CastleRAT's core functionality consists of collecting system information, downloading and executing additional payloads, and executing commands via CMD and PowerShell.

T1059.006PythonEvidence3

“It then retrieves IronPython, which runs compressed and Base64-encoded code that downloads later stages.”

T1059.007JavaScriptEvidence1

ChainShell is a thin execution shell, the server sends JavaScript via `new Function()` and the agent executes and returns results via `serverSend()`.

T1204User ExecutionEvidence6

“The malware arrives through ClickFix, a social-engineering method that tricks people into running commands presented as a routine check.”

T1204.002Malicious FileEvidence3

WebDAV shortcut deploys MeshCentral and CastleRAT

T1559Inter-Process CommunicationEvidence1

CastleRAT TTPs list includes “Execution T1559 Inter-Process Communication,” and describes a “hidden command interface… through redirected inter-process communication pipes.”

Persistence

3 techniques
T1053Scheduled Task/JobEvidence1

et d’établir une persistance via des tâches planifiées

T1078Valid AccountsEvidence1

Actor attempts logins to financial-institution websites using exfiltrated browser credentials

T1547Boot or Logon Autostart ExecutionEvidence1

It registered for autostart and then executed the clean loader (consent.exe).

Privilege Escalation

4 techniques
T1053Scheduled Task/JobEvidence1

et d’établir une persistance via des tâches planifiées

T1078Valid AccountsEvidence1

Actor attempts logins to financial-institution websites using exfiltrated browser credentials

T1547Boot or Logon Autostart ExecutionEvidence1

It registered for autostart and then executed the clean loader (consent.exe).

T1548.002Bypass User Account ControlEvidence2

C:\Users\SysmonDrivers.exe written and relaunched through ComputerDefaults.exe

Stealth

8 techniques
T1027Obfuscated Files or InformationEvidence1

These incidents have all included the use of finger.exe as the initial retrieval mechanism with the majority using caret (^) obfuscation on the command string.

T1027.003SteganographyEvidence2

Analysis of an exposed C2 server revealed 15 malware samples, including CastleRAT builds hidden in steganographic image files and additional JavaScript-based RAT variants.

T1036MasqueradingEvidence2

The Blackpoint APG is currently tracking a campaign that uses ClickFix-style lures fake AMD/Intel software updater prompts to trick users into executing a malicious loader.

T1070.004File DeletionEvidence2

The following features have been implemented and unchanged since the CastleRAT Python variant was first observed in late July 2025: ... Self-delete

T1078Valid AccountsEvidence1

Actor attempts logins to financial-institution websites using exfiltrated browser credentials

T1218.003CMSTPEvidence1

MITRE ATT&CK ID Technique T1218.003 CMSTPLUA COM elevation (UAC bypass)

T1218.011Rundll32Evidence1

CastleRAT TTPs list includes “Defense Evasion T1218.011… Rundll32.” MuddyWater also lists “T1218.011… Rundll32.”

T1620Reflective Code LoadingEvidence1

The latest iteration supports dynamic AppleScript payloads and in-memory execution to evade static analysis, bypass behavioral detections, and complicate incident response.

Defense Impairment

1 technique
T1685Disable or Modify ToolsEvidence2

Event 5007 preference changes adding exclusions for C:\Users and SysmonDrivers.exe

Credential Access

4 techniques
T1056.001KeyloggingEvidence6

CastleRAT is a remote access trojan with several capabilities including keylogging

T1539Steal Web Session CookieEvidence1

By adopting CastleRAT and ChainShell, MuddyWater gains access to advanced capabilities including: Hidden Virtual Network Computing (HVNC) for stealth system control Credential theft and Chrome cookie decryption

T1555Credentials from Password StoresEvidence1

By adopting CastleRAT and ChainShell, MuddyWater gains access to advanced capabilities including: Hidden Virtual Network Computing (HVNC) for stealth system control Credential theft and Chrome cookie decryption

T1555.003Credentials from Web BrowsersEvidence2

The MaaS model also gives MuddyWater quick access to capabilities (HVNC, Chrome cookie encryption bypassing, blockchain-resilient C2) ... MITRE ATT&CK ID Technique T1555.003 Browser credential theft (Chrome app-bound bypass)

Discovery

3 techniques
T1082System Information DiscoveryEvidence3

Une fois installé, il collecte des informations système (nom de machine, utilisateur, adresse IP, GUID) et les transmet au C2

T1083File and Directory DiscoveryEvidence1

...the C-based iteration, which could facilitate ... file uploads and downloads...

T1614System Location DiscoveryEvidence1

Queries the geolocation API ip-api[.]com to obtain location and other information through the infected host’s public IP address

Lateral Movement

1 technique
T1021.005VNCEvidence1

By adopting CastleRAT and ChainShell, MuddyWater gains access to advanced capabilities including: Hidden Virtual Network Computing (HVNC) for stealth system control

Collection

6 techniques
T1056.001KeyloggingEvidence6

CastleRAT is a remote access trojan with several capabilities including keylogging

T1113Screen CaptureEvidence6

CastleRAT is a remote access trojan with several capabilities including keylogging, screen capturing

T1115Clipboard DataEvidence3

le détournement du presse-papiers pour exfiltrer des données

T1123Audio CaptureEvidence1

accès aux périphériques audio/vidéo

T1125Video CaptureEvidence2

accès aux périphériques audio/vidéo

T1185Browser Session HijackingEvidence1

CastleRAT TTPs list includes “Collection T1185 Browser Session Hijacking,” and describes manipulating browser behavior by terminating sessions and silently spawning Chromium instances.

Command and Control

11 techniques
T1071Application Layer ProtocolEvidence6

«CastleRAT» est un cheval de Troie d’accès à distance, conçu pour offrir un contrôle complet d’un système compromis via un serveur C2.

T1071.001Web ProtocolsEvidence2

CastleRAT fetching a Steam Community profile as a dead-drop resolver before connecting to 87.120.104.213 port 1010

T1090ProxyEvidence1

used CastleRAT to proxy the replica’s live browser session, attempting logins against financial-institution websites directly from the compromised workstation

T1090.001Internal ProxyEvidence1

MITRE ATT&CK ID Technique T1090.001 SOCKS5 proxy (4,096 tunnels)

T1095Non-Application Layer ProtocolEvidence1

CastleRAT is a RAT that includes C and Python variants sharing the following commonalities: Custom binary protocol using RC4 encryption with hard-coded 16-byte keys

T1102Web ServiceEvidence1

At the time of publication, Phexia is unique from other macOS stealers in its use of dead drop resolution with Telegram, Steam, and blockchain smart contracts to discover command and control (C2) domains for communication.

T1102.001Dead Drop ResolverEvidence2

For example, C2 deaddrops hosted on Steam Community pages is a new development, first observed in late August 2025.

T1105Ingress Tool TransferEvidence12

“It abuses Windows finger.exe to retrieve a batch script... [which] retrieves IronPython... code that downloads later stages, including CastleLoader and CastleRAT.”

T1219Remote Access ToolsEvidence4

MITRE ATT&CK ID Technique T1219 HVNC hidden desktop control

T1568Dynamic ResolutionEvidence1

For example, C2 deaddrops hosted on Steam Community pages is a new development, first observed in late August 2025.

T1573Encrypted ChannelEvidence1

des techniques d’évasion sophistiquées comme le chiffrement RC4 des communications

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence2

Rather than enumerating Active Directory or moving laterally, the actor exfiltrated browser credentials

Impact

1 technique
T1486Data Encrypted for ImpactEvidence1

CastleRAT ... utilisé pour chiffrer des données, paralyser des systèmes IT et extorquer des rançons.

Indicators of compromise

Observables

39 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

106 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+78 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching39Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors3Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities3CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping50Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.