{"id":"992a6cae-db6a-43c8-9cec-76d7195c96fc","title":"Outbound Network Connection Initiated By Script Interpreter","description":"Detects a script interpreter wscript/cscript opening a network connection to a non-local network. Adversaries may use script to download malicious payloads.","author":"frack113, Florian Roth (Nextron Systems)","status":"test","level":"high","date":"2022-08-28","modified":"2024-03-13","tags":["attack.command-and-control","attack.t1105"],"technique_ids":["T1105"],"logsource":{"category":"network_connection","product":"windows"},"falsepositives":["Legitimate scripts"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/28d190330fe44de6ff4767fc400cc10fa7cd6540/atomics/T1105/T1105.md"],"source_path":"rules/windows/network_connection/net_connection_win_wscript_cscript_outbound_connection.yml","source_sha256":"127f212250061ce64f38724d616f84cf158d843ef13fdbdea7bca3ce642055a9","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/network_connection/net_connection_win_wscript_cscript_outbound_connection.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Outbound Network Connection Initiated By Script Interpreter\nid: 992a6cae-db6a-43c8-9cec-76d7195c96fc\nrelated:\n    - id: 08249dc0-a28d-4555-8ba5-9255a198e08c\n      type: derived\nstatus: test\ndescription: Detects a script interpreter wscript/cscript opening a network connection to a non-local network. Adversaries may use script to download malicious payloads.\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/28d190330fe44de6ff4767fc400cc10fa7cd6540/atomics/T1105/T1105.md\nauthor: frack113, Florian Roth (Nextron Systems)\ndate: 2022-08-28\nmodified: 2024-03-13\ntags:\n    - attack.command-and-control\n    - attack.t1105\nlogsource:\n    category: network_connection\n    product: windows\ndetection:\n    selection:\n        Initiated: 'true'\n        Image|endswith:\n            - '\\wscript.exe'\n            - '\\cscript.exe'\n    filter_main_local_ranges:\n        DestinationIp|cidr:\n            - '127.0.0.0/8'\n            - '10.0.0.0/8'\n            - '172.16.0.0/12'\n            - '192.168.0.0/16'\n            - '169.254.0.0/16'\n            - '::1/128'  # IPv6 loopback\n            - 'fe80::/10'  # IPv6 link-local addresses\n            - 'fc00::/7'  # IPv6 private addresses\n    filter_main_ms_ranges:\n        DestinationIp|cidr: '20.0.0.0/11' # Microsoft range, caused some FPs\n    condition: selection and not 1 of filter_main_*\nfalsepositives:\n    - Legitimate scripts\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1105","id":"T1105","name":"Ingress Tool Transfer","page":"techniques/enterprise/T1105/"}],"data_path":"data/detection-rules/992a6cae-db6a-43c8-9cec-76d7195c96fc.json","kind":"sigma"}
