Skip to content

Threat Actors

Palo Alto Networks Unit 42 finds four backdoored apps on Microsoft Store

Unit 42 said the apps drew hundreds of downloads before removal, and eSentire tied a separate Store app to the Vinci RAT.

https://breach-signal.com/threat-actors/palo-alto-unit-42-backdoored-microsoft-store-apps/

Share

Key facts

  • Unit 42 identified the four apps as 2FA Code Engine, Ascalora, Velora Auth and Vespera Auth.
  • After 2FA Code Engine was removed, the second wave used MSIX-packaged Electron-based Ascalora, Velora Auth and Vespera Auth.
  • A PowerShell script downloaded more payloads from GitHub or servers controlled by attackers.
  • Scheduled tasks and Windows Registry keys let the malware disguise its backdoors as Boost Note or GitHub Desktop at each login.

Palo Alto Networks Unit 42 researchers discovered four trojanized Windows applications on the Microsoft Store between September and November and coordinated their takedown with Microsoft after the apps were downloaded hundreds of times.>

Unit 42 identified the apps as 2FA Code Engine, Ascalora, Velora Auth and Vespera Auth. The campaign came in two waves, opening with the Win32-based 2FA Code Engine. After its removal, the second wave used MSIX-packaged Electron-based versions of Ascalora, Velora Auth and Vespera Auth.

The second-wave applications appeared legitimate while running hidden malicious code. They used runFullTrust to escape the Windows AppContainer sandbox, and their malicious code resided in an 182MB Electron resources\app.asar archive meant to obstruct automated analysis.

Producing a verification code in the second-wave authenticator apps could initiate contact with the command-and-control server. The malware halted further actions if it detected third-party antivirus software. On computers running Microsoft Defender, the malware asked for administrator rights via a UAC prompt and tried to remove the C: drive from scanning.

The malware used scheduled tasks and Windows Registry keys to pose as Boost Note or GitHub Desktop whenever a user logged in, and its backdoors could execute commands and launch additional files. These mechanisms gave the code persistence at each login.

Unit 42 said users of the three authenticator apps should consider their enrolled accounts at risk, update their credentials and re-enroll MGA with a trusted authenticator. A team from eSentire’s Threat Response Unit found a Microsoft Store application named Setup Assistant, offered by publisher ETPS Ltd, that delivered a PowerShell payload called Vinci RAT. Someone looking for a snipping tool reached snipp.codes-team[.]com, which served Snipping-Tool.exe, a Microsoft-signed Store installer that deployed Setup Assistant.

Setup Assistant is built on Electron, and researchers discovered obfuscated code that maintained regular contact with attacker-controlled command-and-control systems while observing the victim. When it starts, the application combines the computer name, the username and the word vinci using SHA-256 to generate a victim identifier.

A cybersecurity analyst works at a multi-monitor station in a dimly lit security operations center.
A security analyst monitors multiple screens in a dimly lit operations center. Photo by U.S. Immigration and Customs Enforcement on Wikimedia Commons

Its watchNames setting targets files like MSTeamsSetup.exe and Reader_install.exe in the Downloads folder. The backgroundMode setting sustains a regular heartbeat through HTTP POST requests to the attackers’ server, while checkIpFromApp turns on IP reporting.

If a targeted file shows up, the application reaches out to its server and runs any JavaScript or PowerShell code the server sends back. Operators can execute code by sending an update command through the update-status endpoint hosted at setup-assistant[.]com.

The stager disables the Antimalware Scan Interface by replacing the ScanContent method handle with one that points to a different function. Vinci RAT consists of roughly 800 lines of PowerShell and, per eSentire, handles host fingerprinting and discovery of security tools on the system.

Analysts working for eSentire’s 24/7 security operations center isolated the affected computer, and the report does not indicate whether any information left it. Microsoft said Setup Assistant did not violate any terms, but researchers rejected that characterization, describing the malware as clearly obfuscated and a backdoor meeting Microsoft’s published malware criteria.

Earlier abuse of the Microsoft Store included the Electron Bot backdoor, which spread through pirated games in 2022. Atos researchers have followed Store tools such as auto-clickers and system cleaners that converted victims’ computers into residential proxy nodes after receiving digital signatures and passing Microsoft’s certification process.

Brandefense told administrators to locate managed Windows computers on which Setup Assistant appeared and determine whether it executed, cross-referencing installation times with browser and download history.

eSentire’s Threat Response Unit identifies ScanContent method handle swapping and PowerShell command lines containing -EncodedCommand as warning signs. Security researchers advised limiting Microsoft Store installations through Group Policy, AppLocker, WDAC or Intune and screening applications from unknown or poorly regarded publishers.

Was this helpful?

Join the discussion

Please read our Comment Policy before commenting. First-time comments are held for moderation. By posting a comment you agree to our Terms of Use and Privacy Policy, which explain how your name, email address and comment are used.

Your email address will not be published. Required fields are marked *