XSLCmd
- Type
- Backdoor
- Capabilities
- KeyloggingExfiltrationPersistencePost exploitation
- Delivery
- PhishingWatering hole
- Platforms
- macOSWindows
XSLCmd is a backdoor malware family associated with the China-linked espionage group GREF and documented in both Windows and Apple OS X variants. The OS X variant, publicly reported in 2014, was adapted from the Windows codebase and was designed to compromise Mac systems for long-term intelligence collection. On infected hosts it establishes persistence through Launch Agent mechanisms and supports reverse shell access, file system access, file transfer, installation of additional malware, keystroke logging, and screenshot capture. The malware also performs operating-system version checks before fully executing.
XSLCmd has been linked to targeted cyber-espionage operations rather than broad criminal distribution. GREF has historically used the malware in campaigns against organizations including the U.S. defense industrial base, electronics and engineering firms, and foundations and NGOs with interests in Asia. Delivery has been associated primarily with watering-hole compromises and, less frequently, phishing. GREF has also been tied to exploitation of browser and browser plug-in vulnerabilities in support of intrusion activity. XSLCmd is notable as an early example of a state-linked threat actor porting established espionage tooling to OS X as Mac adoption increased in enterprise and policy-relevant environments.
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.
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.
For instance, one of the PlayfullDragon’s Xslcmd backdoors described by our colleagues from FireEye ... beams to cdi.indiadigest[.]in:53.
For instance, one of the PlayfullDragon’s Xslcmd backdoors described by our colleagues from FireEye ... beams to cdi.indiadigest[.]in:53.
Techniques & procedures
11 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
The GREF used mainly watering hole attacks to serve the backdoor ... FireEye confirmed that GREF APT has used zero-day exploit in the past to infect victims through the exploitation of vulnerabilities in browsers or browser plug-ins like Flash Player, Adobe Reader and Java.
The GREF used mainly watering hole attacks to serve the backdoor, but it has occasionally used also phishing emails to distribute the malicious code.
Execution
2 techniques
Execution
The XSLCmd backdoor and is capable of opening a reverse shell, accessing victims file system, transferring files and installing additional malware on the infected PC, logging keystrokes and capturing screen shots.
FireEye confirmed that GREF APT has used zero-day exploit in the past to infect victims through the exploitation of vulnerabilities in browsers or browser plug-ins like Flash Player, Adobe Reader and Java. GREF was particularly active in the 2010 then it used different 0-day exploits, including CVE-2010-0806, CVE-2010-1297 and CVE-2010-2884 in its attacks.
Persistence
1 technique
Persistence
When dropped on a Mac the malicious code copies itself to /Library/Logs/ clipboardd and $HOME/Library/LaunchAgents/ clipboardd and to gain persistence it also creates a plist file in the same directory with the name com . apple . service . clipboardd . plist .
Privilege Escalation
1 technique
Privilege Escalation
When dropped on a Mac the malicious code copies itself to /Library/Logs/ clipboardd and $HOME/Library/LaunchAgents/ clipboardd and to gain persistence it also creates a plist file in the same directory with the name com . apple . service . clipboardd . plist .
Credential Access
1 technique
Credential Access
The XSLCmd backdoor and is capable of opening a reverse shell, accessing victims file system, transferring files and installing additional malware on the infected PC, logging keystrokes and capturing screen shots.
Discovery
1 technique
Discovery
The XSLCmd backdoor and is capable of opening a reverse shell, accessing victims file system, transferring files and installing additional malware on the infected PC, logging keystrokes and capturing screen shots.
Collection
2 techniques
Collection
The XSLCmd backdoor and is capable of opening a reverse shell, accessing victims file system, transferring files and installing additional malware on the infected PC, logging keystrokes and capturing screen shots.
The XSLCmd backdoor and is capable of opening a reverse shell, accessing victims file system, transferring files and installing additional malware on the infected PC, logging keystrokes and capturing screen shots.
Command and Control
3 techniques
Command and Control
Several references discuss command-and-control infrastructure and backdoors, including 'Attacks on East Asia using Google Code for Command and Control' and GitHub abuse for C2 communications.
Multiple malware campaign references involving RATs and backdoors imply payload delivery to victim systems, including htpRAT, Rehashed RAT, Sakula, XSLCmd, and ShadowPad reporting.
The content repeatedly references RAT families and backdoors such as Gh0st RAT, htpRAT, Rehashed RAT, Bisonal, XSLCmd, Sakula, and Xsser mRAT.
Observables
3 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.