Cybersecurity

Unit 42 discovers four trojanized apps on Microsoft Store

Palo Alto Networks Unit 42 identified four malicious applications, including 2FA Code Engine and Ascalora, distributed via SEO poisoning on the Microsoft Store. These trojanized apps used technical evasion tactics to bypass security and execute background commands via command-and-control servers.

Published
Section
Cybersecurity
Reading time
2 minutes
Unit 42 discovers four trojanized apps on Microsoft Store

Palo Alto Networks Unit 42 discovered four trojanized apps on the Microsoft Store between September and November. The malicious tools included 2FA Code Engine, Ascalora, Velora Auth, and Vespera Auth. These apps had hundreds of downloads before researchers reported them to Microsoft for removal. Malvertising and SEO poisoning targeting "authenticator" searches drove users to these malicious Microsoft Store URLs. The campaign began in two waves: first the Win32-based 2FA Code Engine, then the MSIX-packaged Electron-based Ascalora, Velora Auth, and Vespera Auth. The deception worked effectively through SEO poisoning that ranked high for malicious Microsoft Store URL results. Three of the applications used Microsoft-signed installers, but the 2FA Code Engine app relied on an installer signed by FILIP KOZJAK and Caphyon SRL. The researchers coordinated with Microsoft to ensure a takedown of the four trojanized applications.

App Name Function Package Type Installer Signature
2FA Code Engine 2FA Authenticator Win32 FILIP KOZJAK and Caphyon SRL
Ascalora AI Image Upscaler MSIX Microsoft-signed
Velora Auth 2FA Authenticator MSIX Microsoft-signed
Vespera Auth 2FA Authenticator MSIX Microsoft-signed

Technical evasion and persistence

The malicious applications’ evasion worked through the use of the runFullTrust capability to run outside the Windows AppContainer sandbox and hide code inside an 182MB resources\app.asar Electron wrapper to hinder automated analysis. These apps fingerprinted the computer and used Telegram XOR markers to discover command-and-control servers. In the second-wave authenticator apps, generating a 2FA code could trigger a check-in with the command-and-control server. The malware withheld further actions if it detected third-party antivirus. On systems using Microsoft Defender, the malware requested administrator privileges through a UAC prompt and attempted to exclude the C: drive from scanning. 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" during logins. These backdoors could execute commands and run additional files. Researchers also identified a backup implant called Fileside. The second-wave apps functioned as advertised but ran malicious code in the background. Users who used the three authenticator apps should rotate their credentials and re-enroll MFA using a trusted authenticator.