Sigma rule: Local Network Connection Initiated By Script Interpreter

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-aaba492f4aa8, updated 2024-05-31T00:00:00.000Z.

Rule

Title
Local Network Connection Initiated By Script Interpreter
Status
test
Level
medium
Author
frack113
Date
2022-08-28
Modified
2024-05-31
File
rules/windows/network_connection/net_connection_win_wscript_cscript_local_connection.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects a script interpreter (Wscript/Cscript) initiating a local network connection to download or execute a script hosted on a shared folder.

Log source

product
windows
category
network_connection

Detection

selection:
    Initiated: 'true'
    Image|endswith:
        - '\wscript.exe'
        - '\cscript.exe'
    # Note: This list is added to avoid duplicate alerting with 992a6cae-db6a-43c8-9cec-76d7195c96fc
    DestinationIp|cidr:
        - '127.0.0.0/8'
        - '10.0.0.0/8'
        - '172.16.0.0/12'
        - '192.168.0.0/16'
        - '169.254.0.0/16'
        - '::1/128'  # IPv6 loopback
        - 'fe80::/10'  # IPv6 link-local addresses
        - 'fc00::/7'  # IPv6 private addresses
condition: selection

False positives (as the rule lists them)

  • Legitimate scripts

Tags

  • attack.command-and-control
  • attack.t1105

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/network_connection/net_connection_win_wscript_cscript_local_connection.yml

Sources and licences

  • SigmaHQ

    "Local Network Connection Initiated By Script Interpreter" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/network_connection/net_connection_win_wscript_cscript_local_connection.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Local Network Connection Initiated By Script Interpreter",
entity page, dataset version ref-aaba492f4aa8, updated 2024-05-31T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/08249dc0-a28d-4555-8ba5-9255a198e08c (accessed 2026-11-03).
Underlying source: SigmaHQ rule 08249dc0-a28d-4555-8ba5-9255a198e08c, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.