XCSSET
Backdoor · macOS
Also known as: OSX.DubRobber
What is XCSSET?
XCSSET is a type of malware known as a backdoor that specifically targets the macOS operating system. It spreads through infected software development projects and activates when those projects are compiled. Once it infects a computer, the malware can install additional backdoors, display fake versions of web browsers, steal personal data, and encrypt user files. To avoid being detected, it often disguises itself as legitimate system tools like Mail or Notes and uses familiar icons to blend in with standard applications.
This threat primarily affects developers and users who interact with third-party software projects. You can reduce your risk by only downloading Xcode projects and other software from trusted, official sources. It is also important to maintain caution when running scripts or applications from unknown origins. Keeping your operating system and security software updated will help your computer identify and block these types of malicious files before they can execute.
Summary written with AI assistance from the sources listed on this page. Check the original sources for full technical details.
From MITRE ATT&CK
XCSSET is a modular macOS malware family delivered through infected Xcode projects and executed when the project is compiled. Active since August 2020, it has been observed installing backdoors, spoofed browsers, collecting data, and encrypting user files. It is composed of SHC-compiled shell scripts and run-only AppleScripts, often hiding in apps that mimic system tools (such as Xcode, Mail, or Notes) or use familiar icons (like Launchpad) to avoid detection.
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
33 ATT&CK techniques, grouped by attack stage.
Persistence
Compromise Host Software Binary T1554Launch Daemon T1543.004SSH Authorized Keys T1098.004Privilege Escalation
Event Triggered Execution T1546Exploitation for Privilege Escalation T1068TCC Manipulation T1548.006Unix Shell Configuration Modification T1546.004Credential Access
Steal Web Session Cookie T1539Discovery
Account Discovery T1087File and Directory Discovery T1083Security Software Discovery T1518.001Software Discovery T1518System Information Discovery T1082System Language Discovery T1614.001Collection
Archive Collected Data T1560Data from Local System T1005GUI Input Capture T1056.002Screen Capture T1113Exfiltration
Exfiltration Over C2 Channel T1041Questions about XCSSET
What is XCSSET?
XCSSET is a backdoor that targets macOS. XCSSET is a modular macOS malware family delivered through infected Xcode projects and executed when the project is compiled. Active since August 2020, it has been observed installing backdoors, spoofed browsers, collecting data, and encrypting user files. It is composed of SHC-compiled shell script
How do I remove XCSSET?
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.