Skip to main content
Mallory
Malware1 associated actor

CastleBot

Tracked since Dec 3, 2025 · Updated 18 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
Vulns0Associated
Actors1Associated
ATT&CK7Techniques
IOCs0Tracked
Type
Loader
Capabilities
Process injectionDefense evasion
Delivery
ClickfixLure
Platforms
Windows

CastleBot is a Windows malware-loading framework associated with GrayBravo, formerly tracked as TAG-150, and used in malware-as-a-service operations. Its architecture comprises a shellcode stager/downloader, a loader, and a core backdoor. The loader injects the core module, which communicates with command-and-control infrastructure to retrieve tasks and download and execute additional executable and DLL payloads. CastleBot has distributed WARMCOOKIE and information stealers, including Rhadamanthys, enabling follow-on compromise through separately delivered malware.

Distribution methods include fraudulent GitHub repositories masquerading as legitimate software and ClickFix social engineering, which persuades victims to execute malicious commands themselves. CastleBot also employs process injection and in-memory defense evasion. It has been observed patching the Windows NtManageHotPatch function to return an unsupported-status response, bypassing hotpatch-related interference with process hollowing and Early Bird APC execution. CastleBot is distinct from the related CastleLoader and CastleRAT families within GrayBravo’s toolset.

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
Threat actors

Associated threat actors

1 distinct threat actor 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

eSentire described changes to TAG-150's tradecraft and its CastleLoader, CastleBot, and CastleRAT malware strains.

via riskyrisky.biz
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1566PhishingEvidence2

Infections are most commonly initiated through Cloudflare-themed “ClickFix” phishing attacks or fraudulent GitHub repositories masquerading as legitimate applications.

Execution

2 techniques
T1106Native APIEvidence1

Bumblebee’s injection module ( dij command for DLL Injection) dynamically resolves NtQueueApcThread at runtime and uses it to inject a payload DLL... While the static import of NtQueueApcThread is flagged by multiple scanners, a runtime GetProcAddress lookup on ntdll.dll is invisible to import-table analysis.

T1204User ExecutionEvidence1

Both versions spread by tricking users into pasting malicious commands through a technique called ClickFix, which uses fake fixes and login prompts.

Privilege Escalation

2 techniques
T1055Process InjectionEvidence1

Process injection sits at the top of the MITRE ATT&CK heap for the second year running. Picus Labs’ Red Report 2025 found T1055 in roughly 31% of the million-plus malware samples they examined.

T1055.004Asynchronous Procedure CallEvidence1

Attackers spawn a process suspended, queue an APC into its main thread before the AV/EDR’s user-mode hooks have loaded, then resume. The payload runs before the security product begins.

Stealth

2 techniques
T1055Process InjectionEvidence1

Process injection sits at the top of the MITRE ATT&CK heap for the second year running. Picus Labs’ Red Report 2025 found T1055 in roughly 31% of the million-plus malware samples they examined.

T1055.004Asynchronous Procedure CallEvidence1

Attackers spawn a process suspended, queue an APC into its main thread before the AV/EDR’s user-mode hooks have loaded, then resume. The payload runs before the security product begins.

Command and Control

2 techniques
T1071Application Layer ProtocolEvidence1

The criminals use Tox Chat, the encrypted comms service that is becoming the tool favored by some malware operators for command and control

T1105Ingress Tool TransferEvidence1

These malware families are frequently observed as initial infection vectors that deliver a wide range of secondary payloads... CastleRAT's core functionality consists of... downloading and executing additional payloads.

Activity feed

Recent activity

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

View more in app →
+10 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 matchingMatch every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs 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 mapping7Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.