ClickFix and TerminalFix Explained: The Fake-CAPTCHA Attack That Breached Berlin

The Nisura Team ·

The most effective way into a network in 2026 isn’t a zero-day. It’s a web page that asks you to prove you’re human — and then talks you into pasting a command that installs the malware yourself. That technique is called ClickFix, and an advanced variant of it, TerminalFix, was the way into the August 2026 attack on Berlin’s state administration. There was no exotic exploit and no malicious attachment. This is a plain-English explanation of how the attack works, why your security tools struggle to see it, and how to stop it.

What ClickFix is

ClickFix is a social-engineering technique, first seen in October 2023, that turns the victim into the delivery mechanism. A web page — often a legitimate site that has been compromised — displays a convincing obstacle: a fake CAPTCHA, a “verify you are human” checkbox, or an error message claiming a document or video won’t load. To “fix” it, the page tells you to follow three simple steps. Those steps quietly copy a command onto your clipboard and instruct you to paste it into a Windows dialog and press Enter.

The moment you do, the command runs — typically launching PowerShell to download and execute malware. The genius, and the danger, is what’s absent:

Researchers have documented ClickFix growing into a self-sustaining ecosystem: credentials stolen by infostealers are used to log into legitimate websites and plant new ClickFix lures on them, which steal more credentials — a feedback loop. Variants now target macOS too, and Apple added a Terminal warning in 2026 specifically to blunt it.

TerminalFix: the escalation that hit Berlin

In August 2026, Microsoft Threat Intelligence published an analysis of TerminalFix, a ClickFix variant with two important upgrades. First, instead of the small Windows Run dialog (Win+R), TerminalFix directs victims to open Windows Terminal or PowerShell — which reliably runs the long, multi-line scripts that the Run box would mangle. Second, it doesn’t just drop a single info-stealer; it unfolds into a full, stealthy intrusion. Here is the chain Microsoft documented:

  1. 1A fake Cloudflare CAPTCHAA compromised website briefly shows its real content, then covers it with a spoofed Cloudflare Turnstile “verify you are human” overlay — logo, checkbox, spinner and all.
  2. 2A clipboard hijack and a pasted commandInteracting with the fake prompt silently copies a PowerShell command to the clipboard. On-screen steps tell the user to open Windows Terminal and paste it. The command prints reassuring, colour-coded “Starting Cloudflare verification…” messages to look legitimate while it works.
  3. 3PowerShell downloads a ZIPThe command downloads an archive to C:\ProgramData and launches a batch file. Inside are two files: a legitimate, signed Windows binary (LockScreenContentServer.exe) and a malicious DLL (dui70.dll).
  4. 4DLL sideloading inside a trusted processThe signed binary automatically loads the attacker’s dui70.dll from its own folder instead of the real Windows one — so malicious code now runs inside a trusted, signed process, inheriting its reputation.
  5. 5Payloads hidden inside images (steganography)The DLL downloads ordinary-looking PNG images and reconstructs executables from data hidden in the pixels — so nothing in transit looks like a program. The source images are then deleted to reduce forensic traces.
  6. 6Persistence, twice overIt installs itself to survive reboots via both a Registry Run key and a scheduled task that re-runs every 60 minutes, hiding its folder with system attributes.
  7. 7Active Directory reconnaissanceIt maps the network — domain trusts, domain-admin groups, AD users and computers, and ping sweeps of likely servers — using scripts with English, Spanish and German locale variants (the German variant is consistent with the Berlin targeting).
  8. 8A reverse tunnel turns the PC into a pivotFinally it downloads a signed Python runtime from python.org and a custom client.py implant that opens an encrypted WebSocket tunnel over port 443 to attacker infrastructure — giving the attacker SOCKS-style proxy access to reach any internal system from the victim’s machine.

One honest caveat, straight from Microsoft’s write-up: in the specific chain it analysed, Microsoft did not observe the final ransomware deployment — the reverse tunnel provides the access from which an operator would then escalate privileges, steal data and deploy ransomware. Germany’s BSI attributed the initial access of the Berlin breach to TerminalFix, citing Microsoft’s analysis; the complete path the Rhysida group took to the data is still under forensic investigation. In other words, the entry technique is well documented; the full end-to-end story is the BSI’s assessment, not yet a closed case.

The one rule that stops it

No legitimate website — not Cloudflare, not Google, not your IT department — will ever ask you to open Windows Terminal, PowerShell or the Run dialog and paste in a command to “verify” or “fix” something. If a page tells you to, it is an attack. Close the tab.

Why security tools struggle to see it

TerminalFix is a masterclass in abusing legitimacy at every step, which is why prevention that keys on “known-bad” struggles:

This is the “living off the land, bring your own trust” playbook — and it’s the reason a CVE-only view of risk misses the threat entirely. There is no vulnerability on the scan; there’s a person, a habit, and a terminal.

The Berlin connection — and why it got worse

TerminalFix explains how the attackers got in to Berlin’s state network. What made the aftermath so severe was what they found once inside: the administration, by its own confirmation, kept plaintext password lists. TerminalFix hands an attacker a network pivot and Active Directory reconnaissance; plaintext credentials then turn that foothold into free movement across the environment. The result was a weeks-long outage and a ~1.44 million-file leak. For the full incident, see our analysis of the Berlin ransomware attack and our profile of the Rhysida group behind it.

How to defend against ClickFix and TerminalFix

Because the technique is part human, part technical, defence has to be both. Microsoft’s guidance, plus the fundamentals:

Why this is the risk Nisura is built to quantify

ClickFix is the clearest example of the exposure a scanner can’t see. There is no CVE on your perimeter to find — the vector is a person and a pasted command. Nisura models this non-CVE credential-and-human path as a first-class contributor to your annual breach likelihood, prices the awareness training that most reduces it, and expresses the result as an Expected Annual Loss in euros — downtime, business interruption and EU regulatory liability included. Check your regulatory exposure with the NIS2 Scope Checker, or watch the live threat picture on the EU Ransomware Tracker.

The uncomfortable takeaway: none of this needed a nation-state or a novel exploit — just a fake checkbox and a moment of trust. Run the free CRQ simulation to see your own projected annual loss from exactly this kind of human-and-credential vector.

Sources & references

This article describes the technique for defensive awareness only; it deliberately does not reproduce any working lure, command or payload. Indicators such as file and domain names are published defensive IOCs from Microsoft’s report. Attribution of the Berlin incident’s initial vector is the BSI’s, citing Microsoft; the full intrusion path remains under investigation. Nisura did not scan, probe, or access any affected systems for this article.

Frequently asked questions

What is a ClickFix attack?

ClickFix is a social-engineering technique, first seen in October 2023, that tricks a user into infecting their own machine. A web page shows a fake error or “verify you are human” CAPTCHA and instructs the visitor to complete a few steps — which quietly copy a command to their clipboard and tell them to paste it into the Windows Run dialog or Terminal. Running it executes PowerShell that downloads malware. There is no software vulnerability and no malicious attachment: the victim is the delivery mechanism, which is exactly why email and download defences often miss it.

What is TerminalFix and how is it different from ClickFix?

TerminalFix is a more advanced ClickFix variant that Microsoft Threat Intelligence analysed in August 2026. Instead of the Windows Run dialog, it directs victims to paste into Windows Terminal or PowerShell, which reliably runs complex, multi-line scripts. The chain Microsoft documented goes far beyond a single infostealer: a fake Cloudflare Turnstile CAPTCHA leads to a PowerShell downloader, DLL sideloading via a signed binary (LockScreenContentServer.exe loading a malicious dui70.dll), payloads hidden inside PNG images with steganography, dual persistence, Active Directory reconnaissance, and a custom Python reverse-tunnel implant that turns the machine into a network pivot. Germany’s BSI attributed the initial vector of the 2026 Berlin state-administration breach to TerminalFix.

Why is ClickFix so hard for security tools to detect?

Because almost every step abuses something legitimate. There is no CVE to patch and no malicious attachment to quarantine; the user pastes the command by hand. TerminalFix then runs inside a signed Windows binary via DLL sideloading, hides its payloads inside ordinary PNG images (evading content inspection), brings its own signed Python runtime from python.org, and tunnels command-and-control over an encrypted WebSocket on port 443 that looks like normal web traffic. The human action defeats technical prevention, and the follow-on stages are built to blend in.

How do you protect against ClickFix and TerminalFix attacks?

The decisive control is user awareness: no legitimate website ever asks you to open Terminal or the Run dialog and paste a command — treat any such prompt as an attack. Technically, Microsoft recommends restricting and logging PowerShell (script block logging, Constrained Language Mode, AllSigned/RemoteSigned policies), configuring Windows Terminal to warn on multi-line paste, blocking or auditing the Run dialog, applying attack-surface-reduction rules, and using EDR/network protection. Because the technique harvests credentials and pivots into Active Directory, phishing-resistant MFA and prompt credential rotation after any suspected exposure are essential.

Was ClickFix used in the Berlin cyberattack?

According to Germany’s BSI — citing a Microsoft analysis — the initial access vector for the August 2026 attack on Berlin’s state administration was TerminalFix, a ClickFix variant. A phishing lure led an employee to a fake Cloudflare CAPTCHA that had them paste a PowerShell command, which began the intrusion. The full path by which the attackers (the Rhysida ransomware group) reached the data is still under forensic investigation, and Microsoft noted it did not itself observe downstream ransomware in the specific chain it analysed, so treat the end-to-end attribution as the BSI’s assessment rather than a settled fact.