Malicious 2FA and AI Apps on Microsoft Store Exposed Hiding Advanced Backdoors and C2 Frameworks

Cybersecurity researchers have uncovered a sophisticated malware campaign that successfully infiltrated the official Microsoft Store, embedding dangerous trojans inside seemingly innocuous Windows applications. Between September and November, users searching for trustworthy productivity utilities—specifically two-factor authentication (2FA) tools and an artificial intelligence image upscaler—downloaded applications that surreptitiously deployed persistent backdoors, harvested system information, and established covert communication with command-and-control (C2) servers managed by malicious actors.
The threat was brought to light by threat intelligence experts at Palo Alto Networks Unit 42, who detailed how malicious operators manipulated search engine optimization (SEO) algorithms and deployed targeted malvertising campaigns to drive traffic directly to the fraudulent listings. Although the total number of downloads remained in the hundreds before Microsoft acted on reports and removed the rogue applications, the methodology highlights ongoing vulnerabilities in enterprise and consumer app store vetting processes. Security specialists emphasize that the ability of malicious binaries to bypass initial sandboxing controls and gain trusted software signatures poses significant challenges for software repository administrators globally.
Anatomy of the Infiltration and Campaign Waves

The multi-stage campaign operated in two distinct phases, reflecting an adaptive strategy by the threat actors to circumvent automated security barriers. The initial wave relied on a Win32-based application designated as 2FA Code Engine. This early iteration utilized installation mechanisms signed by third parties, notably FILIP KOZJAK and Caphyon SRL, lending an air of legitimacy that successfully bypassed automated heuristics designed to flag unsigned or suspicious executables.
Following the swift removal of the first-wave application, the operators shifted tactics for a second wave. This subsequent phase introduced MSIX-packaged, Electron-based applications—specifically identified as Ascalora, Velora Auth, and Vespera Auth. Unlike crude malware that immediately exhibits erratic behavior, these second-wave applications functioned as advertised, successfully delivering genuine utility features to the user while concurrently executing malicious payloads in the background.
This dual-purpose functionality was engineered to prevent premature detection by unsuspecting users. The malicious components were tightly integrated within the Electron framework’s resource architecture, specifically tucked inside an expansive 182MB app.asar archive. By leveraging large package sizes and legitimate application wrappers, the threat actors effectively hindered automated static analysis tools and manual inspection protocols. Furthermore, the apps utilized the runFullTrust capability, allowing them to break out of the restrictive confines of the Windows AppContainer sandbox and execute arbitrary code with elevated privileges across the host operating system.
Evasion Tactics and Command-and-Control Infrastructure

Once installed on a target machine, the applications initiated an aggressive fingerprinting sequence to gather detailed data regarding the host environment. This reconnaissance data was then utilized to establish communication with external infrastructure. Rather than relying on traditional, easily blocklisted domain names or hardcoded IP addresses, the malware leveraged the Telegram messaging platform, utilizing specific XOR markers to identify and connect with its command-and-control (C2) operators.
In the case of the authenticator apps deployed during the second wave, the malicious check-in routine was subtly integrated into normal user activity. Simply generating a standard two-factor authentication code could trigger a background network request to the C2 framework, blending illicit data exfiltration with routine operational traffic.
To ensure long-term persistence and avoid detection by security software, the malware incorporated environment-aware logic. Upon execution, the payload actively scanned the system for third-party antivirus solutions. If independent security software was detected, the malware would intentionally stall its operations to prevent behavioral flags. Conversely, on systems relying exclusively on native defenses such as Microsoft Defender, the application aggressively prompted the user via a User Account Control (UAC) prompt for administrator privileges.
Upon securing elevated privileges, the malware executed a series of automated routines designed to cripple system visibility. It attempted to modify exclusion lists to prevent the C: drive from being scanned by defensive tools. Following this, a PowerShell script was deployed to dynamically fetch secondary payloads from external repositories hosted on GitHub or attacker-controlled infrastructure. Persistence was achieved by establishing scheduled tasks and Windows Registry modifications, cleverly disguised to mimic legitimate development tools such as Boost Note or GitHub Desktop, ensuring the backdoors remained active across reboots and user logins. Unit 42 researchers also documented a secondary backup implant operating under the guise of an application named Fileside, demonstrating a high degree of redundancy in the threat actors’ operational model.

Broader Implications for App Store Security and Enterprise Defense
The successful deployment of trojanized applications within a curated enterprise marketplace like the Microsoft Store underscores persistent systemic challenges in software supply chain security. While major technology platforms utilize rigorous automated scanning, digital signature validation, and sandbox restrictions, threat actors continue to innovate by combining SEO poisoning, legitimate digital certificates, and multi-stage payload delivery.
The reliance on trusted code-signing certificates—such as those associated with Caphyon SRL observed in the first wave—complicates traditional defense mechanisms that implicitly trust signed binaries. When malicious actors abuse valid signing procedures, security solutions struggle to distinguish between authorized software vendors and malicious entities without deep behavioral analysis. Furthermore, the exploitation of popular developer platforms like GitHub and communication channels like Telegram for operational infrastructure illustrates how threat groups increasingly blend their malicious traffic with trusted, legitimate web services, making network-level attribution and blocking significantly more difficult for security operations centers (SOCs).
Actionable Mitigation and Remediation for Affected Users

Given the sensitive nature of two-factor authentication utilities, the compromise of applications like 2FA Code Engine, Ascalora, Velora Auth, and Vespera Auth presents severe security risks to affected individuals and organizations. Because these applications handled authentication tokens and security credentials, cybersecurity experts strongly advise any user who installed the rogue tools to treat all associated online accounts as compromised.
Immediate remediation steps include:
- Disconnecting potentially compromised systems from corporate and personal networks to prevent lateral movement or further data exfiltration.
- Executing a comprehensive offline scan using updated enterprise-grade security software to remove any residual backdoors, scheduled tasks, or registry modifications.
- Manually reviewing Windows Task Scheduler and startup registry keys for unauthorized entries masquerading as development utilities or legitimate tools.
- Immediately rotating account credentials across all services protected by the compromised authenticator applications.
- Re-enrolling multi-factor authentication (MFA) parameters exclusively through verified, trusted authenticator applications sourced directly from official vendor repositories.
As app stores continue to face targeted abuse through advanced evasion techniques, security analysts stress that user vigilance, continuous endpoint monitoring, and proactive credential management remain critical lines of defense against sophisticated supply chain intrusions.







