Microsoft App-V Exploited In Sneaky CAPTCHA Phishing Campaign

A sophisticated Fake CAPTCHA phishing attack that weaponizes Microsoft’s Application Virtualization (App-V) script, SyncAppvPublishingServer.vbs, as a living-off-the-land binary (LOLBIN) to deploy Amatera Stealer malware.

The campaign prioritizes stealth, using user behavior checks, third-party infrastructure, and in-memory execution to evade detection.

The attack starts with a deceptive CAPTCHA prompt urging victims to paste a command into the Windows Run dialog for “human verification.”

This command launches wscript.exe, which invokes the signed App-V script to proxy PowerShell execution.

This creates an unusual process chain explorer.exe → wscript.exe → SyncAppvPublishingServer.vbs → powershell.exe bypassing common detection rules tied to direct PowerShell launches.

App-V components, standard in Windows Enterprise and Education editions but absent in Home or Pro, act as a natural filter. Execution fails on unsupported systems, targeting enterprise environments while frustrating sandboxes.

Execution Gates and Obfuscation

Initial stages set an environment variable, ALLUSERSPROFILE_X, and check clipboard contents for a matching token from the user’s manual input.

If absent, the script stalls indefinitely using ManualResetEvent.WaitOne(), displaying decoy pop-ups. This gate ensures only genuine user interactions proceed.

PowerShell employs aliases and wildcards to resolve cmdlets dynamically e.g., “gal i*x” for Invoke-Expression avoiding static strings.

Loaders fetch obfuscated scripts via custom HTTPS routines built with TcpClient and SslStream, sidestepping Invoke-WebRequest telemetry.

First lines of herf54, storing base64 fragments for later use (Source: blackpoint)
First lines of herf54, storing base64 fragments for later use (Source: blackpoint)

A key pivot pulls configuration from a public Google Calendar .ics file.

The loader parses a VEVENT with SUMMARY “povvv,” base64-decodes its DESCRIPTION, and extracts URLs like sec-t2.fainerkern.ru.

This “living off others’ infrastructure” enables rapid updates without redeploying early stages.

Later, a victim-specific subdomain is generated via MD5 hash of environment data. It downloads another loader, XOR-decrypted with key “AMSI_RESULT_NOT_DETECTED.”

Payload delivery uses PNG steganography from CDNs like gcdnb.pbrd.co. WinINet APIs fetch the image; System.Drawing extracts hidden data via LSB from pixel buffers.

The payload length-prefixed, XOR-encrypted with key “s8YUKQ0CqUd6HNwGSRDZ%Qpux1N9MKHh” decompresses to PowerShell, executed in memory.

Final decryption yields shellcode, allocated via NtAllocateVirtualMemory and run in a new thread. This maps Amatera Stealer, an info-stealer targeting browsers and credentials.

Amatera Stealer Behaviors

Amatera connects to 212.34.138.4, spoofing Host header “cdn.extreme[REDACTED]videos.com.” It uses WoW64 syscalls to NtDeviceIoControl for networking, layered with SSPI encryption.

Conceptual logic of final stage PowerShell loader (Source: blackpoint)
Conceptual logic of final stage PowerShell loader (Source: blackpoint)

A “GetEndpoints” request fetches dynamic paths (e.g., a, b, c), enabling modular C2.

Indicator TypeIndicatorContext
Domaincdn.jsdelivr.netInitial CAPTCHA
Domainsec-t2.fainerkern.ruExecution gate
Domaingcdnb.pbrd.coPNG stego
IP212.34.138.4Amatera C2

This chain’s reliability stems from signed Microsoft tools, behavior gates, and evasion tactics. It slips past malware-focused defenses, succeeding quietly on enterprise systems.

Blackpoint recommends restricting Run dialog access, disabling unused App-V, enabling PowerShell logging, and monitoring anomalous chains like wscript.exe to PowerShell. Alert on Host-SNI mismatches and clipboard accesses in scripts.

As Fake CAPTCHA lures proliferate, defenders must prioritize delivery paths over endpoints.

Follow us on Google News , LinkedIn and X to Get More Instant Updates. Set Cyberpress as a Preferred Source in Google.

Varshini
Varshini
Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies..

Trending News

Related Stories