Skip to content
Threat Feed
high advisory

Suspicious Outbound Network Connections Initiated by Script Interpreters

Adversaries utilize Windows script engines, wscript.exe and cscript.exe, to initiate outbound network connections for downloading malicious payloads or communicating with command and control infrastructure.

Windows Script Host (WSH) engines, specifically wscript.exe and cscript.exe, are frequently leveraged by adversaries to facilitate malicious operations within compromised environments. Because these binaries are signed, trusted, and built-in components of the Windows operating system, they are commonly used to execute scripts that retrieve secondary payloads from remote servers or establish command and control (C2) channels. This activity is a common indicator of the staging or delivery phase of an attack. Defenders should prioritize visibility into network connections initiated by these processes, as benign use of VBScript or JScript for external network communication is increasingly uncommon in modern enterprise environments. Monitoring these processes for non-local network traffic can help identify initial access or persistence mechanisms attempting to beacon out or pull down further tooling.

Impact

Successful abuse of script interpreters allows attackers to bypass application execution restrictions, evade basic security controls, and establish persistent access. If left undetected, this activity leads to the deployment of follow-on malware, data exfiltration, or lateral movement within the network.

Recommendation

Deploy detection rules to identify and investigate outbound network connections originating from wscript.exe or cscript.exe processes. Ensure that network telemetry (e.g., Sysmon Event ID 3 or equivalent firewall logs) is integrated into your SIEM and that local/private IP ranges are excluded from alerts to reduce noise. Investigate any instances where these interpreters attempt to contact external IP addresses, particularly those not associated with known update services or enterprise-approved infrastructure.


Immediate actions

Deploy Sigma rule for outbound script interpreter connections

Detection Engineering 48h

Threat Hunt

Search for historical network connections initiated by wscript.exe or cscript.exe

T1105 high high confidence hunt now

Data: Network connection logs

Detection coverage 1

Detect Outbound Network Connection Initiated By Script Interpreter

high

Detects wscript.exe or cscript.exe opening a network connection to non-local or non-Microsoft ranges.

sigma tactics: command_and_control techniques: T1105 sources: network_connection, windows

Detection queries are available on the platform. Get full rules →