A Mac can be infected with a single command in Terminal, and the malware will find the hacker server's address in the blockchain. WithSecure researchers discovered that the Phexia backdoor steals passwords and browser data on macOS and uses a Polygon smart contract to communicate with operators. This mechanism allows the command and control server to be changed without updating the malicious code on the infected computer.
Phexia has been active since at least the end of 2025, and WithSecure has observed an increase in infections since early 2026. In known cases, the attack began with a ClickFix scheme . A fake check or instruction convinced the user to enter a command that downloaded a script via curl and ran it via bash. For most infections, specific lure sites could not be identified.
The script executed AppleScript and created a LaunchAgent task, which automatically resumed the malware. The loader was stored within the task configuration in encrypted form, without a separate readable file. In October builds, the task name began with "com.Apple" to appear as a macOS component and avoid attention.
Since May 2026, operators have been testing address acquisition via Polygon, and by mid-June, they were already using the scheme in attacks. Phexia queries a smart contract for the C&C server domain via public blockchain nodes. This technique is called EtherHiding . Simply changing the value in the contract forces new connections to a different server, even if the old domain is blocked. From June 14 to October 22, requests were directed to a single Polygon contract, and on October 27, a build appeared targeting a different contract. During this period, WithSecure identified 14 control domains. However, infected Macs did not always immediately switch to the new address. Old servers received requests for weeks, and reinfections sometimes left two active Phexia versions on a single computer.
The backdoor checked the macOS account password using the dscl system command and saved the correct version in a hidden file. In some cases, the password could be obtained in less than a minute, sometimes even after eight minutes. Checks also resumed approximately 22 hours after infection. The password was passed as a process argument and could be logged in security software.
Phexia modules collected Chrome, Edge, and other browser profiles, macOS keychains, LastPass and NordPass extension data, and Safari cookies. Finder was used to access the protected Safari file. The data was archived and sent to two servers, including via regular HTTP. A search for installed crypto wallets was confirmed, but the theft of their contents was not established.
In addition to data theft, the attackers launched the XMRig miner on infected Macs to mine Monero. The commands reinstalled the program and changed mining pools. WithSecure recommends checking for suspicious LaunchAgents and script calls to Polygon. If an infection is confirmed, remove all malicious tasks and change passwords on an uninfected device.
Phexia has been active since at least the end of 2025, and WithSecure has observed an increase in infections since early 2026. In known cases, the attack began with a ClickFix scheme . A fake check or instruction convinced the user to enter a command that downloaded a script via curl and ran it via bash. For most infections, specific lure sites could not be identified.
The script executed AppleScript and created a LaunchAgent task, which automatically resumed the malware. The loader was stored within the task configuration in encrypted form, without a separate readable file. In October builds, the task name began with "com.Apple" to appear as a macOS component and avoid attention.
Since May 2026, operators have been testing address acquisition via Polygon, and by mid-June, they were already using the scheme in attacks. Phexia queries a smart contract for the C&C server domain via public blockchain nodes. This technique is called EtherHiding . Simply changing the value in the contract forces new connections to a different server, even if the old domain is blocked. From June 14 to October 22, requests were directed to a single Polygon contract, and on October 27, a build appeared targeting a different contract. During this period, WithSecure identified 14 control domains. However, infected Macs did not always immediately switch to the new address. Old servers received requests for weeks, and reinfections sometimes left two active Phexia versions on a single computer.
The backdoor checked the macOS account password using the dscl system command and saved the correct version in a hidden file. In some cases, the password could be obtained in less than a minute, sometimes even after eight minutes. Checks also resumed approximately 22 hours after infection. The password was passed as a process argument and could be logged in security software.
Phexia modules collected Chrome, Edge, and other browser profiles, macOS keychains, LastPass and NordPass extension data, and Safari cookies. Finder was used to access the protected Safari file. The data was archived and sent to two servers, including via regular HTTP. A search for installed crypto wallets was confirmed, but the theft of their contents was not established.
In addition to data theft, the attackers launched the XMRig miner on infected Macs to mine Monero. The commands reinstalled the program and changed mining pools. WithSecure recommends checking for suspicious LaunchAgents and script calls to Polygon. If an infection is confirmed, remove all malicious tasks and change passwords on an uninfected device.