Possible Recon Behavior Through GatherNetworkInfo.VBS (via process_creation)

This rule detects execution of the built-in script located in "C:\Windows\System32\gatherNetworkInfo.vbs". That can be leveraged to gather information about the target machine

SigmamediumWindowsv1
sigma
title: Possible Recon Behavior Through GatherNetworkInfo.VBS (via process_creation)
id: 4ac89f80-1b44-5b45-b5c3-8bb60d920e7c
status: stable
description: This rule detects execution of the built-in script located in "C:\Windows\System32\gatherNetworkInfo.vbs". That can be leveraged to gather information about the target machine
references:
    - https://attack.mitre.org/techniques/T1059/005/
    - https://attack.mitre.org/techniques/T1615/
    - https://posts.slayerlabs.com/living-off-the-land/#gathernetworkinfovbs
    - https://www.mandiant.com/resources/blog/trojanized-windows-installers-ukrainian-government
author: Huntrule Team
date: 2026-03-01
tags:
    - attack.discovery
    - attack.execution
    - attack.t1615
    - attack.t1059.005
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith:
              - '\cscript.exe'
              - '\wscript.exe'
        - OriginalFileName:
              - 'cscript.exe'
              - 'wscript.exe'
    selection_cli:
        CommandLine|contains: 'gatherNetworkInfo.vbs'
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

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