PamStealer Rust-based macOS Infostealer via PAM Validation
Score: 8/10

PamStealer Rust-based macOS Infostealer via PAM Validation

PamStealer is a macOS infostealer that validates captured credentials using the PAM API and uses a two-stage JXA/Rust delivery chain to evade detection.

Executive Summary

Jamf Threat Labs has identified a new macOS malware family dubbed 'PamStealer', which is currently distributed via a fake website (maccyapp[.]com) impersonating the legitimate Maccy clipboard manager. The attack chain begins with a malicious disk image containing a compiled AppleScript (.scpt). This script uses JavaScript for Automation (JXA) to download a second-stage Rust-based Mach-O binary that performs extensive data theft.

Technically, PamStealer is notable for its use of the Pluggable Authentication Modules (PAM) framework to locally validate stolen user passwords, ensuring only correct credentials are exfiltrated. It employs sophisticated evasion techniques, including environment-aware execution that checks for specific locales (targeting non-CIS regions) and host fingerprints. Persistence is achieved through both modern ServiceManagement APIs and legacy login item modifications using an embedded helper binary.

This threat highlights the increasing maturity of macOS-targeted malware, specifically the shift toward Rust for cross-platform evasion and the use of native Objective-C APIs within AppleScript to minimize behavioral footprints. Organizations should monitor for unusual network activity from Script Editor and unauthorized additions to login items.

Key Details

Threat Name

PamStealer

Affects

—

Adversary

—

Malware/Tools

PamStealer

Report Score

8out of 10
Quality Score
Good
IOC Quality9
TTP Details9
Detection Guidance6
Enterprise Relevance8
Clarity & Structure9
Technical Depth9

Sources