Apfell
Apfell is a macOS-focused JavaScript for Automation (JXA) agent in the open-source Mythic/MythicAgents command-and-control and post-exploitation framework. The provided content describes it as written specifically for macOS/OSX and used as a payload/agent for post-compromise operations. Reported capabilities include extensive data collection and reconnaissance, screenshot collection, theft of Google Chrome data, and password capture via a fake prompt. In one observed infection chain, Apfell was used to create a new macOS user with administrator privileges. Apfell has been observed delivered through software supply-chain compromises, including malicious npm packages such as eslint-verify-plugin and ambar-src. In those cases, macOS infection used osascript to execute the JXA payload after package installation, with exfiltration/C2 traffic reported to Yandex Cloud infrastructure in the ambar-src campaign. The content also places Apfell within the broader Mythic ecosystem, which supports multiple C2 protocols and has been linked by researchers to adversaries operating in the wild.
Hunt this family in your stack
Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.
Techniques & procedures
15 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
Execution
3 techniques
Execution
The macOS infection sequence executes Apfell, a JavaScript for Automation (JXA) agent for macOS... drop ScreenConnect on Windows and a Python reverse shell on macOS and Linux machines.
Persistence
1 technique
Persistence
Defense Impairment
1 technique
Defense Impairment
Credential Access
2 techniques
Credential Access
Discovery
1 technique
Discovery
Collection
2 techniques
Collection
Command and Control
3 techniques
Command and Control
The same is true for installing C2 Profiles: sudo ./mythic-cli install github https://github.com/MythicC2Profiles/http | Installing Agents and C2 Profiles The Mythic repository itself does not host any Payload Types or any C2 Profiles... sudo ./mythic-cli install github https://github.com/MythicC2Profiles/http
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Mythic C2 JXA agent used on macOS to conduct reconnaissance, collect screenshots, steal data from Google Chrome, and capture system passwords via a fake prompt.
Open-source Mythic agent for macOS (JavaScript) delivered via the malicious npm package’s preinstall chain; provides post-compromise capabilities such as host reconnaissance, screenshot capture, Chrome data theft, and credential/prompting via fake password dialogs.
macOS JXA agent used for extensive data collection and privilege-establishing actions such as creating a new admin user.
A Mythic agent implemented as a JavaScript for Automation script for OSX.
The version that knows your environment.
Match every observed IP, domain, and hash against your live telemetry.
Named campaigns wielding this family, with evidence pinned to each claim.
CVEs this family uses for access and lateral movement.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Every documented technique, ranked by evidence weight.
Reddit, Mastodon, and CTI community discussion around this family.