Malicious 2FA and AI apps bypass sandboxing
Palo Alto Networks Unit 42 discovered four trojanized applications on the Microsoft Store that operated between September and November. These apps, which included the local AI image upscaler Ascalora, the local 2FA tool 2FA Code Engine, and the local 2FA authenticators Velora Auth and Vespera Auth, reached hundreds of downloads before Microsoft removed them. The researchers at Palo Alto Networks Unit 42 coordinated with Microsoft to ensure the quick takedown of these apps. Malvertising and SEO poisoning drove users to these malicious URLs when they searched for an "authenticator." The campaign ran in two waves: first the Win32-based 2FA Code Engine, then the MSIX-packaged Electron-based Ascalora, Velora Auth, and Vespera Auth. While three of the malicious apps used Microsoft-signed installers, the 2FA Code Engine app relied on an installer signed by FILIP KOZJAK and Caphyon SRL. The apps in the second wave performed as advertised but ran malicious code in the background. They used the "runFullTrust" capability to run outside the Windows AppContainer sandbox. They hid malicious code inside an 182MB Electron wrapper named "resources\app.asar" which was intended to hinder automated analysis.
Malware behavior and account risks
The malware fingerprinted computers and used Telegram to discover its command-and-control (C2) servers through the use of Telegram XOR markers. In the second-wave authenticator apps, generating a 2FA code could trigger a check-in with the command-and-control server. On systems protected by Microsoft Defender, the malware requested administrator privileges through a UAC prompt and attempted to exclude the C: drive from scanning to avoid detection. The malware withheld further actions when it detected third-party antivirus software on the system. A PowerShell script then fetched additional payloads from GitHub or attacker-controlled servers. The malware used scheduled tasks and Windows Registry entries to make the backdoors appear as Boost Note or GitHub Desktop running across logins, while Unit 42 also observed a backup implant posing as Fileside. The backdoors could execute commands and run additional files on the computer. Users who used the three authenticator apps should treat any accounts they enrolled there as potentially compromised, rotate credentials, and re-enroll MFA using a trusted authenticator.
