# Phishing downloader chain to remote payloads

Lure files or shortcuts that fetch and run remote scripts, RMM tools, or loaders on Windows hosts

_Area: Web injection and code execution. Seen in 3 disclosed reports; latest 2026-08-04. Updated 2026-11-21._

## How it works
A user is persuaded to open an attachment or shortcut that is not itself the payload. The file is a thin launcher: an HTML page with a zero-second meta-refresh, a `.js`/`.vbs` script, an LNK, or an HTA. It reaches out to a remote host and pulls down the next stage, which runs in a scripting host (WScript, mshta, PowerShell, BITS). The assumption that breaks is that email gateways and users judge safety by the reputation of the domain and the look of the file. A high-reputation redirector (DoubleClick) or a file-sharing host (transfer.sh) carries the fetch, and the real code never touches disk as an obvious executable. Each stage is encoded or encrypted so the next URL and payload are hidden until runtime [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-malspam-to-loader-delivery-chain-analysis.md)[E2](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-bank-spam-rmm.md)[E3](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-gone-phishing-an-analysis-of-a-targeted-user-attack.md).

## Where it shows up
- HTML attachments with `meta http-equiv="refresh"` and a short delay, or links to ad/tracking domains [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-malspam-to-loader-delivery-chain-analysis.md)
- ZIPs containing `.js`, `.vbs`, `.lnk`, or `.hta` rather than documents [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-malspam-to-loader-delivery-chain-analysis.md)[E2](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-bank-spam-rmm.md)[E3](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-gone-phishing-an-analysis-of-a-targeted-user-attack.md)
- Scripts that copy themselves to `C:\Users\Public` or `%temp%` before running [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-malspam-to-loader-delivery-chain-analysis.md)
- Nested base64 and AES blobs with the key and IV stored inline in the same script [E2](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-bank-spam-rmm.md)
- `mshta` pointed at a remote URL, or BITS jobs (`bitsadmin`/`Start-BitsTransfer`) fetching a batch [E3](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-gone-phishing-an-analysis-of-a-targeted-user-attack.md)
- UAC-bypass strings such as `ICMLuaUtil` COM, or `runas` relaunch of self [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-malspam-to-loader-delivery-chain-analysis.md)[E2](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-bank-spam-rmm.md)
- Defender exclusions, AMSI/ETW patching, scheduled tasks named `PT{8-11}M` [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-malspam-to-loader-delivery-chain-analysis.md)
- RMM installers (ScreenConnect MSI) launched silently after elevation [E2](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-bank-spam-rmm.md)

## How to review
Trace the chain end to end and confirm the invariant: no user-opened file may cause code from a remote or untrusted source to execute without an explicit, visible trust decision. Check each stage's actual command line, not its filename. Decode every layer until you reach a URL or binary, and confirm where the key/IV come from. Verify whether elevation is requested and by what mechanism. Confirm persistence artifacts (scheduled tasks, services) and any security-tool tampering. For detection, confirm the endpoint logs process creation with full command lines and that BITS and mshta activity is captured.

## How finders spotted it
- SOC alert on `WScript.exe` running a suspicious `.js`, then heavily encoded PowerShell; analysts deobfuscated each stage [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-malspam-to-loader-delivery-chain-analysis.md)
- Spamtrap account received the lure; analysts peeled nested base64 and AES blobs to reveal the installer and UAC bypass [E2](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-bank-spam-rmm.md)
- A zip in Downloads matched the user's routine tax-file workflow; analysts traced the LNK command, mshta, BITS job, and batch contents [E3](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-gone-phishing-an-analysis-of-a-targeted-user-attack.md)

## Variants seen
- HTML meta-refresh lure via ad redirector to JScript/PowerShell reflective .NET loader [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-malspam-to-loader-delivery-chain-analysis.md)
- Phishing page to VBS with nested base64/AES stages installing ScreenConnect RMM [E2](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-bank-spam-rmm.md)
- LNK in tax-themed zip to mshta/HTA to BITS batch to XWorm loader, with decoy PDF [E3](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-gone-phishing-an-analysis-of-a-targeted-user-attack.md)

## Impact and severity
Each chain gave attackers code execution and, via UAC bypass, Administrator on the host [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-malspam-to-loader-delivery-chain-analysis.md)[E2](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-bank-spam-rmm.md). E1 added C2 control, Defender exclusions, AMSI/ETW patching, and scheduled-task persistence; E2 hid and protected its service via SDDL/ACL changes, complicating removal. Impact rises with elevation, security-tool tampering, and use of trusted domains that gateways rarely block [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-malspam-to-loader-delivery-chain-analysis.md)[E2](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-bank-spam-rmm.md).

## Seen in real software
Open-source packages and projects, and products, where this pattern was found. If the target runs one, compare the version it runs with the fix.
- **ScreenConnect** (version not stated): Bank of America Phishing Email Delivers ScreenConnect Malware. Report: https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-bank-spam-rmm.md

## Evidence
- E1: https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-malspam-to-loader-delivery-chain-analysis.md
- E2: https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-bank-spam-rmm.md
- E3: https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-gone-phishing-an-analysis-of-a-targeted-user-attack.md
