Your users just gave an attacker network-level proxy access through a fake CAPTCHA. Not because they're careless, but because the attack chain exploited gaps in how you've designed detection, segmentation, and response.
Microsoft Threat Intelligence analyzed the TerminalFix campaign, revealing a multi-stage attack that starts with a fake Cloudflare CAPTCHA overlay and ends with a Python-based reverse-tunnel implant providing persistent network access. The campaign uses DLL sideloading, steganographic payload extraction from PNG files, and extensive Active Directory reconnaissance before establishing its tunnel.
For your compliance program, the key takeaway is that the mistakes allowing this attack aren't new. They're the same control design failures auditors flag every year, repackaged around a more sophisticated delivery mechanism.
Why These Mistakes Keep Happening
Security teams optimize for what auditors measure. You've built controls that satisfy ISO/IEC 27001 Clause 8.22 (monitoring of networks) and SOC 2 CC6.1 (logical access controls), but those controls assume attackers behave like the last threat model you documented. When the attack vector shifts from phishing links to clipboard manipulation, or from executable downloads to steganographic payload extraction, your detective controls miss the handoff points.
The TerminalFix campaign succeeds because it breaks the attack into stages that individually look benign. A user pastes a PowerShell command that prints reassuring Cloudflare-branded messages. A legitimate signed binary (LockScreenContentServer.exe) loads a DLL. PNG images download via POST requests. Each step passes basic scrutiny until the reverse tunnel establishes and you've lost containment.
Mistake 1: Treating PowerShell Execution as Binary
Why it happens: Your endpoint detection blocks unsigned executables and scripts from untrusted locations, so you assume PowerShell activity is either legitimate admin work or obvious malware.
The consequence: TerminalFix directs users to Windows Terminal because multi-line PowerShell scripts execute more reliably there than in the Run dialog. The initial command downloads a ZIP archive, extracts it to C:\ProgramData, and launches a batch file while printing fake verification messages. Your controls see PowerShell execution by an authenticated user from an interactive session and log it as normal activity.
The fix: Implement constrained language mode for non-administrative PowerShell sessions and require script block logging with centralized analysis. Configure your SIEM to alert on PowerShell downloads to system directories (C:\ProgramData, C:\Windows\Temp) combined with immediate process launches. This satisfies ISO/IEC 27001 A.8.16 (monitoring activities) but requires tuning beyond the default "log everything" approach most teams deploy.
Mistake 2: Assuming Signed Binaries Are Safe
Why it happens: Your application control policy whitelists signed executables to avoid blocking legitimate software, and DLL sideloading doesn't trigger most endpoint protection because the host binary is trusted.
The consequence: The campaign drops LockScreenContentServer.exe, a legitimate signed Windows binary with a static import dependency on dui70.dll. When executed, it loads the attacker's malicious dui70.dll from the working directory instead of the legitimate one from System32. Your controls see a signed Microsoft binary launching and permit it.
The fix: Enforce DLL search order restrictions through the CWDIllegalInDllSearch registry value or deploy application control rules that validate both the executable and its loaded modules. For SOC 2 CC6.6 (restricts access to information assets), document how your endpoint controls verify DLL integrity, not just executable signatures. Test this control by attempting to sideload a benign DLL alongside a signed binary in your lab environment.
Mistake 3: Ignoring Steganography in Content Inspection
Why it happens: Your data loss prevention and web filtering focus on executable downloads and known malware signatures. PNG images pass through because they're common web content.
The consequence: TerminalFix downloads three PNG files from attacker domains, extracts binary payloads encoded in pixel RGBA channel data, and reassembles a complete DLL by concatenating fragments from two images. The Extract-RawFileFromImage function reads the first 8 bytes as a 64-bit length integer and reconstructs the file entirely in memory. Your web proxy logs show image downloads and nothing more.
The fix: Configure your network monitoring to flag POST requests to image files (legitimate image loads use GET) and alert on rapid sequential downloads from the same domain. Implement file type validation that inspects actual content, not just extensions. For ISO/IEC 27001 A.8.20 (networks security), document how your boundary controls detect anomalous file transfers, including steganographic channels. You won't catch every technique, but you'll force attackers to use noisier methods.
Mistake 4: Treating Persistence as a Detection Point Instead of Prevention
Why it happens: Your incident response plan assumes you'll detect malicious persistence through registry monitoring or scheduled task alerts, so you focus on detection rather than restricting persistence mechanisms.
The consequence: TerminalFix establishes dual persistence through both HKCU\Software\Microsoft\Windows\CurrentVersion\Run registry keys and scheduled tasks that re-execute every 60 minutes. The malware also hides its directory using system and hidden attributes. By the time your SIEM alerts on the registry modification, the attacker has already completed domain reconnaissance including domain trust enumeration, domain admin discovery, and Active Directory user description harvesting.
The fix: Restrict scheduled task creation to administrative users through Group Policy and implement registry monitoring that alerts in real-time, not on daily log review. For SOC 2 CC7.2 (risk mitigation), document how you prevent unauthorized persistence rather than just detecting it. Deploy a canary scheduled task that should never change; any modification to it indicates an attacker is testing your detection capabilities.
Mistake 5: Assuming Network Segmentation Stops Authenticated Tunnels
Why it happens: Your network architecture segments production from corporate environments and restricts lateral movement, but you allow outbound HTTPS from user workstations because blocking it breaks too many applications.
The consequence: TerminalFix deploys a Python-based reverse-tunnel implant that establishes a WebSocket connection to attacker infrastructure over port 443, providing full SOCKS-style TCP proxy access through the compromised host. Your firewall sees legitimate HTTPS traffic from an authenticated user. The attacker can now reach any system the compromised workstation can access, bypassing your segmentation entirely.
The fix: Implement egress filtering that permits only necessary protocols to approved destinations, not blanket HTTPS outbound. Deploy TLS inspection for workstation traffic (with appropriate privacy controls and user notice) to detect tunneling protocols inside encrypted sessions. For ISO/IEC 27001 A.8.22 (segregation in networks), document how your architecture limits the blast radius of a compromised endpoint, including restrictions on which internal resources a workstation can reach. Consider network access control that validates device posture before permitting internal connectivity.
Prevention Checklist
Use this checklist during your next risk treatment planning cycle:
- PowerShell execution policy enforces constrained language mode for standard users
- Script block logging enabled with centralized SIEM analysis for system directory activity
- Application control validates loaded DLLs, not just parent executable signatures
- Web filtering alerts on POST requests to image files and sequential downloads from new domains
- File type validation inspects actual content headers, not filename extensions
- Scheduled task creation restricted to administrative accounts via Group Policy
- Registry monitoring configured for real-time alerting on Run key modifications
- Egress filtering permits only approved protocols and destinations from workstations
- TLS inspection deployed on user traffic with documented privacy controls
- Network access control restricts workstation-to-workstation and workstation-to-server connectivity
- Incident response playbook includes procedures for treating compromised endpoints as network pivot points
- Quarterly purple team exercises test detection of multi-stage attacks that use legitimate binaries
Review this checklist against your current control design. You'll likely find gaps, and that's the point. The TerminalFix campaign succeeds not because of a single vulnerability, but because it chains together multiple small control weaknesses into a complete compromise. Your job is to break that chain at enough points that the attack becomes too expensive to execute.



