A 2025 campaign faked Portugal's tax authority and asked victims to paste a command to 'enable file preview', starting a chain to the Lampion banking trojan.
Social Engineering Examples·3 sources
Between late 2024 and early 2025, Palo Alto Networks' Unit 42 tracked a campaign aimed at dozens of Portuguese organisations in government, finance and transport. Phishing emails carried a ZIP with an HTML file that redirected to autoridade-tributaria[.]com, a lookalike of Portugal's tax authority. The page told visitors to paste a command into the Windows Run box to "enable file preview". That started a long, hidden chain meant to install Lampion, a banking trojan. In the samples Unit 42 studied, the final step was switched off. Status: Vendor research, no confirmed losses.
| Step | What happened |
|---|---|
| A phishing email with a ZIP attachment holding an HTML file | |
| Redirect | The HTML sent the reader to autoridade-tributaria[.]com, mimicking Portugal's tax authority |
| Lure | A document or install page with an instruction to copy a command into the Run box |
| Excuse | A Portuguese comment in the command: "Habilitar Visualização de ficheiro" (enable file preview) |
| Run | The pasted PowerShell started the infection chain |
Tip: no tax office, document viewer or installer needs you to paste a command into Windows. If a page asks, close it and report it.
Lampion has been around since about 2019 and steals banking credentials and financial data. No victims were named and no losses or data theft were confirmed for this activity. Microsoft later said similar activity continued into June 2025 and spread beyond Portugal, and Acronis reported a separate Lampion wave in 2026.
See also the UAC-0050 fake reCAPTCHA campaign and spear phishing.
A banking trojan active since about 2019, mainly against Portuguese-speaking targets, that steals banking credentials and financial data.
A web page that tricks you into copying and running a command yourself, usually by pretending to fix a problem or verify you.
No losses were confirmed. In the samples Unit 42 studied, the final Lampion download was switched off.
Dozens of Portuguese organisations in government, finance and transport.
Social Engineering Examples. “Lampion banking trojan ClickFix campaign in Portugal (2025)”. Accessed 3 November 2026. https://socialengineeringexamples.com/lampion-clickfix-portugal-tax-authority-2025
Consistent with past Lampion campaigns (per Unit 42), the operators likely reused established target lists and command-and-control infrastructure from prior Portuguese-banking-focused runs, and selected government, finance, and transportation-sector organizations for their high-value credential access, rather than researching individual employees the way targeted BEC actors typically do.
Because this stage targets an entire national vertical rather than named individuals, there is no realistic way to block the reconnaissance itself; the practical control is sector-wide threat-intel sharing (national CERTs, tax-authority advisories, ISACs) so organizations in flagged sectors can pre-emptively brief staff before a wave lands.
Before the campaign launched, the operators registered look-alike domains impersonating Portugal's tax authority (autoridade-tributaria[.]com) and a second lookalike domain (inde-faturas[.]com), and stood up disposable, cloud-hosted C2 servers with endpoints disguised as ordinary PHP files, a pattern consistent with common bulletproof and cloud-hosting abuse used to survive takedown attempts.
Domain-registration monitoring and typosquat/lookalike-detection services that flag newly registered domains mimicking a government agency's name, combined with proactive DNS and web-filtering blocklist feeds, can catch and block this infrastructure before or shortly after it goes live, which is exactly how Unit 42's and Microsoft's published indicator lists get used downstream.
The campaign delivered a phishing email carrying a ZIP attachment containing an HTML redirector file, a long-standing Lampion delivery pattern per Unit 42's reporting.
Email gateway filtering that inspects or blocks ZIP-wrapped HTML files, a known malware-delivery pattern, along with attachment sandboxing, stops the chain here, before any user interaction is required.
Opening the HTML redirected the victim to the spoofed tax-authority site, which presented a fake document or software-installation page rather than the more common fake CAPTCHA, framing the required action as fixing a file-preview problem to lower the victim's suspicion.
Browser isolation or web filtering that blocks or sandboxes newly registered and unclassified domains reached via email links, combined with employee training on government-impersonation pretexts specifically, reduces the chance a victim ever reaches the point of interacting with the lure page.
The lure instructed the victim to manually copy a PowerShell command, containing a Portuguese-language comment framing it as enabling file preview, and paste and execute it in the Windows Run dialog (Win+R), the core ClickFix action that hands execution over to the victim rather than relying on an automated exploit.
Employee training that treats any instruction to paste and run a command in the Run dialog, a terminal, or PowerShell as an automatic compromise indicator, regardless of the page's branding or claimed purpose, is the single highest-leverage control in the chain, since it targets the one step that requires active human participation and has no legitimate equivalent.
The executed command downloaded a heavily obfuscated VBScript (Stage 1), which wrote a second obfuscated VBS to %TEMP% (Stage 2) using a hidden scheduled task rather than direct execution to break up the process tree, which in turn fetched a third, junk-padded VBS (Stage 3, roughly 30-50MB) from cloud infrastructure disguised as a PHP file; Stage 3 performed WMI-based security-product checks and sandbox/VM detection before beaconing a Base64-encoded victim ID to the attacker's C2.
Endpoint detection tooling capable of analyzing obfuscated and bloated VBScript locally, and monitoring or restricting unusual PowerShell-to-VBS-to-scheduled-task chains, plus tightening PowerShell and WScript/CScript execution policy for standard users, can catch the infection mid-chain even though no single stage looks overtly malicious in isolation.
Stage 3 dropped a .cmd file named after the victim's hostname into the Windows Startup folder and created a hidden scheduled task that forced a system shutdown, so the .cmd would execute automatically on the next reboot and launch the Stage 4 DLL loader via rundll32.exe.
Monitoring and alerting on scheduled-task creation that triggers shutdown or restart events, unexpected Startup-folder writes, and rundll32.exe invocations with unusual export-function names catches this persistence mechanism, which has no legitimate equivalent on a standard endpoint.
The Stage 4 DLL, named from the infection timestamp (YYYYMMDDHHmmSS) and using a Portuguese-word export function unique to each victim, was fetched from the second lookalike domain (inde-faturas[.]com); Unit 42 found the subsequent command to download and execute the actual Lampion banking-trojan payload had been commented out in the observed samples.
Blocking the published indicators (both lookalike domains and their associated C2 IPs) at the DNS or web-filtering layer, and treating any binary download from a domain absent from the browsing history that preceded it as suspicious, can stop the chain from reaching a completed infection even at this late stage.
Objective completion (banking credential theft, not completed in this run): Had the payload-download command not been disabled, this final step would have installed the Lampion banking-infostealer payload itself, enabling theft of banking credentials and other sensitive financial data; in the samples Unit 42 analyzed, this step never executed.
Because this stage represents the completed objective rather than a discrete technical action, there is no meaningful control that operates here; the realistic countermeasures are upstream, at the delivery, execution, and persistence stages (3, 5, 6, 7, and 8), since detecting a fully installed banking trojan after the fact typically means the compromise has already succeeded.
Browse by what this case has in common with others in the library.
APT28's LAMEHUG malware asked an AI model on Hugging Face to write the spy commands it ran on Ukrainian government…
Scammers hijacked a real invoice thread with a lookalike domain and got an Arkansas school district to wire $3.2M. $1.1M…
Texts about unpaid tolls copied E-ZPass, SunPass and more to steal card details across the US in 2024 and 2025.…
A phone-record pretexting incident involving a retired U.S. Army general was followed by FTC enforcement and broader privacy-policy scrutiny.
A Chinese national entered Mar-a-Lago after a pool-visit pretext and staff's unverified assumption that she was related to a member.…
DOJ's first-of-its-kind nationwide takedown charged 61 individuals and entities, including five Ahmedabad, India call-center conglomerates, for an alleged 2012-2016 IRS/USCIS…
US prosecutors charged 28 people over an alleged $65M scheme where callers faked refunds to trick seniors into sending cash.…
A 12-person ring watched hacked inboxes for big payments, then redirected them with fake emails. Trial evidence put losses above…
A nation-state cyberweapon crossed an air gap into Iran's Natanz nuclear facility on infected USB drives, first through a recruited…
A phone-record pretexting incident involving a retired U.S. Army general was followed by FTC enforcement and broader privacy-policy scrutiny.
Someone used the White House chief of staff's phone contacts and an AI-like voice to call senators and executives, asking…
In June 2025 the DOJ filed to forfeit $225.3M in USDT tied to pig butchering scams, after Tether and OKX…
Prosecutors allege Ghanaian twins used fake female personas and AI video to take $15M+ from 130+ older Americans. What is…
Between 2006 and 2008 the FTC pursued six civil cases covering 16 data-broker and private-investigation defendants after two dismissals, alleging…
A Houston- and California-based ring spoofed or compromised business emails to trick four companies and one New Jersey township into…
A Lapsus$ affiliate used a contractor's stolen Uber password, likely bought on the dark web, flooded them with MFA push…
In August 2023, Clorox says, someone phoned its outsourced Cognizant help desk pretending to be two different employees. Agents reset…