A new Rust-based malware, PamStealer, is masquerading as the Maccy clipboard manager, targeting macOS users to steal passwords and sensitive data.
New Infostealer Targets macOS Users
A new malware strain, known as PamStealer, is posing as the Maccy clipboard manager to target macOS users, according to cybersecurity experts at Jamf Threat Labs. This Rust-based infostealer is designed to compromise passwords and cryptocurrency wallet keys.
Distribution Method Revealed
The malware is distributed via a deceptive website that offers a disk image containing a malicious AppleScript file named Maccy.scpt. When run, it instructs users to execute it in Apple's Script Editor, thereby concealing its malicious intent.
“PamStealer verifies the victim’s login password through macOS Pluggable Authentication Modules (PAM) before stealing it,” explained Jamf Threat Labs. The malware employs JavaScript for Automation and native macOS APIs to download additional payloads stealthily, avoiding common shell utilities to remain undetected by security software.
Social Engineering Tactics
In a concerning trend, attackers have been utilizing Google Ads and sponsored posts on X to promote the malicious application, with Jamf's director Jaron Bradley noting that these tactics have proven effective. The report highlights that the second stage of the attack involves a Rust-based binary disguised as Finder or Software Update.
Stealthy Operations
Once installed, PamStealer can extract browser credentials and Keychain information, monitor clipboard activities, and maintain persistence on the infected device. It communicates stolen data to a remote server through encrypted channels. If it detects it is not operating on a targeted machine, the malware will deactivate itself to avoid detection.
In a clever maneuver, the malware prompts users for Full Disk Access via a fake Finder alert, appearing up to 40 minutes after infection to reduce suspicion. Granting this access allows the malware to harvest sensitive data, including emails and messages.
While Jamf has yet to find evidence of active exploitation of PamStealer, the company has alerted Apple about its findings. Apple has not yet responded to requests for comment.
Broader Implications
This incident underscores a rising trend of attackers disguising malware as legitimate software and leveraging trusted platforms for distribution. Jamf also reported similar tactics being employed across other platforms, including a recent ad promoting a malicious tool that redirected users to execute harmful commands in Terminal.