Hackers Use ClickFix Attacks to Install Phexia Mac Malware That Steals Passwords and Mines Cryptocurrency

Hackers are using ClickFix attacks to install Phexia, a modular macOS backdoor that steals passwords, collects browser data, and deploys cryptocurrency miners.

According to WithSecure’s investigation, the commercially sold malware has been used by multiple threat actors since at least late 2025, with infections increasing during 2026.

The attacks turn a simple Terminal command into persistent access. Victims are directed to fake verification pages that encourage them to copy and run commands. Public research links this delivery method to typosquatted websites and fake browser verification prompts.

WithSecure tracked changes through October 2026, including obfuscated AppleScript, updated persistence names, and additional command infrastructure. A major development was the adoption of Polygon smart contracts to locate command-and-control servers.

Phexia Malware Steals Passwords

Across infections where WithSecure could observe initial execution, the attack began inside Terminal. A command downloaded a shell script using curl and passed its contents directly to bash.

The script launched an AppleScript dropper through osascript. That dropper created a LaunchAgent under ~/Library/LaunchAgents, allowing the malware to restart after its loader stopped.

The loader remained encoded inside the LaunchAgent configuration rather than being saved as a separate readable script. At execution, bash decoded the embedded content and passed it to osascript.

Next, the loader queried public Polygon services to retrieve the current command server address from a smart contract.

This technique, known as EtherHiding, lets attackers change infrastructure without replacing the installed loader. The blockchain stores the server pointer, not the malware payload itself.

October builds used LaunchAgent labels beginning with com.Apple., followed by random lowercase letters. WithSecure also found that reinfection could leave older agents active, allowing multiple builds to communicate with different servers simultaneously.

Phexia’s backdoor validates account passwords using dscl . authonly and saves valid credentials in ~/.passphrase. Public analysis documented a fake “System Preferences” dialog designed to obtain the user’s Mac password.

Overview of the latest Phexia infection chain observed in WithSecure telemetry (Source: withsecure)
Overview of the latest Phexia infection chain observed in WithSecure telemetry (Source: withsecure)

WithSecure observed password capture within minutes in some cases, while other attempts began about 22 hours after infection. Because passwords appeared directly in command arguments, security logs could also contain exposed credentials.

The stealer modules collected browser cookies, saved login databases, history, browser encryption secrets, and the login keychain.

They also copied LastPass and NordPass extension stores. Wallet directory checks showed discovery activity, but did not independently prove wallet contents were stolen.

Collected files were compressed into ZIP archives and uploaded to command servers. A second upload sent the same archive to 62.60.226[.]50 over unencrypted HTTP.

Operators also deployed XMRig through ledger and shell task responses. WithSecure observed repeated downloads, miner restarts, and changes to mining pools and wallet addresses.

Indicators of Compromise

TypeIndicatorContext
Polygon smart contract0xA3a603F8a454a9c905b4c579Bb72628F7C15C2A0C2 resolver observed from June through October 2026
Polygon smart contract0x3445fB8Df432320251f611e691fe6B0C6664C960Used by a build installed on October 27, 2026; resolved to dhsbdgs[.]icu

Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team 

Varshini
Varshini
Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies..

Trending News

Related Stories