Skip to content
Threat Feed
high advisory

TerminalFix Attacks Deploying Reverse Tunnels on Windows

Microsoft warns of a campaign known as TerminalFix that utilizes malicious scripts to establish reverse tunnels on Windows systems to maintain persistent remote access.

Microsoft has issued a warning regarding a campaign dubbed TerminalFix, which targets Windows environments to establish long-term persistence and unauthorized remote access. Attackers leverage specific malicious scripts designed to execute within the victim's environment, subsequently deploying reverse tunneling mechanisms. These tunnels allow the threat actors to bypass standard perimeter security controls, enabling them to maintain connectivity to the internal network from external command-and-control infrastructure. The campaign focuses on compromising endpoint integrity to facilitate deeper penetration into the target environment. Given the nature of the persistent access established via reverse tunneling, this threat represents a significant risk for lateral movement, data exfiltration, and the deployment of secondary payloads. Defenders should focus on identifying unauthorized tunnel creation and the execution of suspicious scripts that deviate from established administrative baselines.

Impact

Successful execution of TerminalFix allows threat actors to bypass network perimeter defenses, maintaining stable, long-term remote access to compromised Windows hosts. This access is typically used as a springboard for further malicious activities, including credential harvesting, lateral movement through the internal network, and the potential exfiltration of sensitive organizational data. If left unmitigated, victims face a heightened risk of full domain compromise and follow-on attacks, such as ransomware or targeted intellectual property theft.

Recommendation

Prioritize monitoring for unauthorized reverse tunneling activity on Windows hosts. Enable process-creation logging to capture script execution associated with the TerminalFix toolkit.


Immediate actions

Review endpoint logs for anomalous script execution patterns associated with reverse tunnel software (e.g., chiseled, ngrok, or similar tools).

SOC 24h

Threat Hunt

Identification of unexpected reverse proxy or tunneling binaries running on endpoint assets.

T1090 high high confidence hunt now

Data: Process creation logs with full command line arguments, Network connection logs for unusual outbound traffic

Mitigations

Restrict the execution of unauthorized scripting languages and unauthorized binary execution via AppLocker or WDAC.

medium_term IT Operations

Technique T1059.003