What is GatherNetworkInfo.vbs?
Ever since Windows 7, Microsoft has installed a vbs script in the %systemroot%\System32 directory called GatherNetworkInfo.vbs. This script makes quick work when you need to gather information about a system and the network it's attached to. Because it's a default part of Windows, signed by Microsoft, and in the system path it's a tool you always know is there. However, as with any tool, it can be handy to both Sysadmin and Red Teamer, or abused by attackers needing a quick way to learn more about your network. What does it gather? When researching a feature in Windows you typically can find a Microsoft Docs, Technet article, or even an MVP blog post about it. However, in this case, I couldn't find anything. I did, however, find a blog post back in 2011 by Alex Verboon discussing this script . He referenced this 2010 Sans Whitepaper (PDF Link) that briefly discussed this script on page 9 and summarized what it does down to this: The script’s voluminous output ...