CASTLETAP
Backdoor · Network Devices
What is CASTLETAP?
CASTLETAP is a type of malware classified as a backdoor that targets network devices. It functions by using a technique known as ICMP port knocking to maintain unauthorized access to a system. This malware is specifically designed to be installed on compromised firewalls, allowing attackers to bypass standard security controls and interact with the device remotely. Once the backdoor is established, it provides a persistent entry point for unauthorized actors to monitor or manipulate network traffic flowing through the affected hardware.
Those most likely to be affected are organizations or individuals who rely on specific firewall products for their network security. To reduce the risk of this threat, users should ensure their network equipment firmware is kept up to date with the latest security patches provided by the manufacturer. Additionally, restricting administrative access to these devices and monitoring network logs for unusual activity can help detect and prevent unauthorized intrusions.
Summary written with AI assistance from the sources listed on this page. Check the original sources for full technical details.
From MITRE ATT&CK
CASTLETAP is an ICMP port knocking backdoor that has been installed on compromised FortiGate firewalls by UNC3886.
How to protect yourself
Keep the operating system and applications updated, run a real-time antivirus, and be careful with email attachments and downloads. If you think a device is infected, follow our guide on removing malware and learn more about backdoor.
Techniques used
8 ATT&CK techniques, grouped by attack stage.
Execution
Unix Shell T1059.004Credential Access
Network Sniffing T1040Collection
Data from Local System T1005Threat groups
Questions about CASTLETAP
What is CASTLETAP?
CASTLETAP is a backdoor that targets Network Devices. CASTLETAP is an ICMP port knocking backdoor that has been installed on compromised FortiGate firewalls by UNC3886.
How do I remove CASTLETAP?
Disconnect the device from the network, run a full scan with an up-to-date antivirus and a second-opinion scanner, then change your passwords from a clean device. For servers and business networks, involve your IT or incident response team, because this kind of malware is often part of a wider intrusion.
Who uses CASTLETAP?
MITRE ATT&CK links CASTLETAP to 1 known threat group(s): UNC3886.