XAgentOSX contains the getInfoOSX function to return the OS X version as well as the current user.2
tool
XAgentOSX S0161
- Type
- malware
- Platform
- macOS
- Created
- 14 December 2017
- Last modified
- 25 April 2025
XAgentOSX is a trojan that has been used by APT28 on OS X and appears to be a port of their standard CHOPSTICK or XAgent trojan. [1]
Enterprise ATT&CK only. Any Mobile or ICS rows on the same ATT&CK page are not carried.
MITRE reference S0161
XAgentOSX contains keylogging functionality that will monitor for active application windows and write them to the log, it can handle special characters, and it will buffer by default 50 characters before sending them out over the C2 infrastructure.3
XAgentOSX contains the getProcessList function to run ps aux to get running processes.4
XAgentOSX contains the deletFileFromPath function to delete a specified file using the NSFileManager:removeFileAtPath method.5
XAgentOSX contains the ftpUpload function to use the FTPManager:uploadFile method to upload files from the target system.6
XAgentOSX contains the getInstalledAPP function to run ls -la /Applications to gather what applications are installed.7
Standing S0161
Reach is how much of ATT&CK this tool touches. Coverage is how well defended each thing it does is, as a median per technique rather than a total — a total would just restate the reach. Each figure is ranked against all 825 ATT&CK software entries only where that population actually spreads. Where most of the population shares one value, a percentile would rank the tie instead of the entity, so the raw value is shown and no rank is claimed.
Reach
47th percentile · 53% of 825 ATT&CK software entries have more Enterprise techniques.
53rd percentile · 53% of 825 ATT&CK software entries have this many tactics spanned or fewer.
61% of the population shares a single value across only 22 distinct values, so a percentile here would rank the tie, not the entity.
85% of the population shares a single value across only 8 distinct values, so a percentile here would rank the tie, not the entity.
Coverage
30th percentile · 70% of 825 ATT&CK software entries have more detection rules per technique.
Detection coverage S0161
203 distinct rules cover the 10 techniques recorded for this tool. The 216 technique-to-rule mappings resolve to 203 distinct rules, because one rule can cover several techniques. 139 Sigma · 64 Splunk.
Loading detections...
| Select | Title | Description | Category | Status | Event | Product | MITRE ATT&CK | CVEs | Severity | Author | Created | Updated | ID | Refs |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
© 2026 The MITRE Corporation. ATT&CK® and D3FEND™ data reproduced with permission. SigmaHQ detection rules licensed under DRL 1.1. attack.mitre.org · d3fend.mitre.org · CAR analytics licensed under Apache 2.0 · car.mitre.org