Windows Wscript/Cscript Initiating Local Network Connection for Script Retrieval

Flags wscript.exe or cscript.exe making connections to local/private destination IP ranges on Windows.

FreeReviewedSigma · Medium · v2
Product
windows
Category
network_connection
Author
frack113 (SigmaHQ), DRL 1.1
Published
2022-08-28
Updated
2026-07-31

ATT&CK techniques

C2
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. Exfiltration

  13. Impact

What it detects

This rule flags network connections where the process initiating the connection is Wscript.exe or Cscript.exe and the destination is a local/private network range. Attackers often use Windows script interpreters to retrieve or execute scripts from shared folders, blending command-and-control activity into normal scripting. The detection relies on network connection telemetry that includes the initiating process and destination IP address.

Related detections9 linkedT1105 — drag to rearrange
Suspicious File Download via CertUtil URLCache (via process_creation)
Suspicious PowerShell Download of Disguised Payload to ProgramData
Suspicious PowerShell WebClient Download of Executable Payload
Malicious JADEPUFFER Lockd Ransomware Payload Download
Malicious Second-Stage Loader Fetch of SLT Payload via Curl or Wget
Possible Remote Payload Download And Execution via Shell (via process_creation)
Suspicious EtherRAT Node.js Implant Background Execution via Shell (via process_creation)
Suspicious Certutil Download and Certificate Installation via Living-off-the-Land
Suspicious PowerShell Remote Script Execution via IEX DownloadString
Windows Wscript/Cscript Initiating Local Network Connection for Script Retrieval
Pivot detection · T1105 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.