It didn’t even requiring visiting anything. At one of my first jobs I reformatted my machine to base windows 2000 and it was compromised before I could download the service packs.
IIRC the issue was that our ISP gave everyone a public IP and allowed NetBIOS traffic from the outside world and there were so many attackers port scanning IIRC port 139 you were found and compromised within a couple minutes of booting up.
IIRC the work around was to boot into safe mode and disable SMB and NetBIOS then reboot and download the service packs (or get an image with the service packs already baked in).
With a basic firewall on a network, this makes no sense. If this is a job or business, that means something locally was infected.
Sounds to me that the real issue was putting Windows machines directly onto the Internet with a public IP, and no firewall between them and the outside world.
I know this was 25+ years ago, but that's just your ISP being a good ISP. You should get a public IP address and you should be getting all traffic that comes to that address. The real solution would have been a hardware firewall or NAT like a Cisco PIX on your side.
(Definitely not blaming you or your team. I worked in a small, understaffed place with a similar network in the late 90s and had similar problems.)
Same, I was deploying Windows 2000 to a machine, and it got infected by one of those NetBIOS worms during the installation. My ISP at that time have a simple cable modem, which was giving out a single unfirewalled public IP to the PC behind it...
I vividly remember those days. To be fair to Windows NT, the very same could happen if you set up Solaris or Linux or really anything running an NFS server out of the box, even if no mounts are exported. All it takes is a bug in the NFS or (Sun)RPC server code before it even gets to the point where it's trying to actually serve something. Such bugs have existed.
And why limit ourselves to file sharing? Bugs in the TCP/IP stack itself have led to things like the "ping of death" (Windows 95) or more recently demonstrable RCE against the Linux kernel by using TCP options in an unexpected way.
The main distinction is that Windows NT, even the earliest 3.1, enables the SMB (file and print sharing) service by default. In 1990 when it was being designed, and even by July 1993 when it was finally released, I'm sure this didn't seem like a big deal. All of this was meant to be running in the safety of a LAN. The direct predecessor product (co-developed with OS/2) is even named "LAN Manager".
Yes, if you open up your SMB server or NFS server to the broader Internet, you're gonna have a bad time. As I recall, this could be avoided by doing advanced network setup and just making sure you did not bind "file and print sharing" to any interface that had a public IP without an external firewall. Once you got all the service packs applied, you could go back and turn it on if you needed it.