3

I have a scenario where I need to continue to run a Windows XP PC even though XP is long not supported by Microsoft.

The PC will be connected to my network, but only for the purpose of allowing a Linux virtual machine to access the internet via the PC's network connection. Nothing else on the PC will ever touch the internet.

What kind of security risks might I be exposed to here? I've always thought one needed to browse to a dodgy website or execute/open a malicious file in order for anything bad to happen. That can't happen on this PC (and the virtual machine uses bridged networking which means its traffic is well isolated).

  1. Can a Windows XP PC be exploited simply by being connected to a network, without user interaction?

  2. If there are risks, what practical steps can be taken to mitigate them while maintaining the physical configuration and functionality as is?

Bounty is open

A tremendous number of people must find themselves in a similar position, where they need to expose a legacy XP PC (or VM for that matter) to a network. That's why I'm offering 500 points, in the hope that we get a solid answer.

Downvoters: Don't be shy to leave a comment. I can improve the question, but only if I know what's wrong with it.

15
  • 1
    Depends on how well it is firewalled from the internet. There are vulnerabilities in windows that don't require any user interaction to exploit. Even ones hackers keep secret and don't report.
    – cybernard
    Jan 2, 2016 at 4:07
  • 1
    @cybernard On the router it's just NAT. On the Windows XP machine it's just the default firewall. It's scary to think that hackers can penetrate this. NAT should mean they can't see me. Windows firewall should discard uncollicited traffic. Unless XP has a vulnerability at a low level, like where ethernet traffic is dealt with... or the firewall itself... what are my chances?
    – misha256
    Jan 2, 2016 at 4:24
  • 1
    If you're tied to XP for the drivers, you could disable all non-essential services (like Remote Registry), and, since your VM has bridged networking, you could add a Loopback virtual NIC to XP that you then bridge to the VM to use for your samba share, then set the physical NIC on XP to a static IP unrelated to your current network, keeping the physical NIC still bridged to the VM so the VM can access the internet, but not the XP host. Doing this at least limits the attack vectors that can be taken to a more manageable level.
    – txtechhelp
    Jan 2, 2016 at 11:21
  • 2
    You can hack the HP registry to get security updates until 2019, i have done this on 2 of my XP pc's and it continues to work, still getting updates every month....zdnet.com/article/…
    – Moab
    Jan 2, 2016 at 14:55
  • 1
    Also read the followup linked off the article @Moab pointed to. Quoting: Now and then, vulnerabilities come along that aren't fixed in XP, even in the embedded version. Cisco came across one recently in the vulnerability patched by Microsoft in November as MS14-063. This one did not show up in the list of vulnerabilities patched in embedded XP in November. It's still a bit of a gamble, better than nothing but not foolproof.
    – dxiv
    Jan 11, 2016 at 5:48

2 Answers 2

5
+500

"Security risks" here are kind of broad - the big issue here is XP isn't supported, and if there's some new threat targetting the many XP PCs still in the wild it won't get fixed.. As such, if I listed security issues specifically, it would be a growing list. Windows XP is a static target with dynamically growing threats

Of course, I've had an old XP PC exploited when it was the new, shiny awesome OS, and used by a skiddie to store warez so... its certainly possible quite a few years on.

Lets look at a random long list of vulnerabilities I found on the internet

The Security Account Manager Remote (SAMR) protocol implementation in Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2 and R2 SP1, and Windows Server 2012 Gold and R2 does not properly determine the user-lockout state, which makes it easier for remote attackers to bypass the account lockout policy and obtain access via a brute-force attack, aka "SAMR Security Feature Bypass Vulnerability."

So... Yeah, its not just you. Basically any vulnerability found in XP stays open and MS isn't fixing it. Not all vulnerabilities rely on direct user stupidity. Any system visible over the internet is going to get poked, prodded and tested. NAT would obscure you, perhaps but the bad guys would know it too

Amusingly this is the one case where the XP PC makes sense.

In theory you can mitigate this to a large extent with very very strict firewall rules, turning off any un-necessary services and keeping the system lean. Specifically turn off anything that allows remote access of any sort, remote logins etc.

I'd consider a slightly different topology - I'd try a USB ethernet adaptor directly attached to the VM or better yet, splitting off the data collection system, doing a point to point Ethernet connection on its own subnet so the XP box is contactable but not on the internet. In short, keep the XP box on its own little network.

It would be nice if you could find a linux style firewall that would drop anything outside specific IPs - then you could just drop any packets, anywhere, that arn't from the VM.

1
  • 1
    Your bounty is coming (you and davidgo both get it, I just accidentally gave it to davidgo first). You've come up with some really good practical suggestions which I will look into. The subnet and linux-firewall ideas are excellent.
    – misha256
    Jan 11, 2016 at 6:19
3
+500

The short answer is that while you can't totally protect this system, you can practically protect it to a level as good or better then a general purpose PC running up-to-data antivirus, antimalware and regular Windows updates - if you limit its functionality enough.

There are risks (really of the unknown), but these risks are pretty small provided you have it behind a decent firewall and only allow requests to be initiated from it (as opposed to running any kind of world accessible server).

You should probably break attack scenarios into 3 kinds -

  1. Script Kiddies / general asshats on the Internet who just see everyone as a target.

  2. Someone attacking from inside your network (either a co-worker or someone like that, OR SOMEONE WHO'S system has been compromised).

  3. People with the desire to launch a targeted attack at you.

You can - and in this case probably should isolate this machine from the rest of the network by putting this machine (and only this machine) behind a dedicated firewall (nat router with no open ports) or its own interface on a firewall - which cheaply pretty much eliminates problem 1 by turning the problem into a type 1 or 3.

For handling group (1) easily enough by not allowing them to gain access to your system. If you do anything which can fall to social engineering/uncontrolled content, you can't secure this system - by this I mean things like doing web browsing with a general purpose web browser. If you are able to limit the mechanisms used to interact with the Internet from this systems AND / CONTROL SANITIZE THE INPUT you should be OK -

[ In the respect of limiting input, data simply traversing the machine is a grey area - you will for the most part be OK because your system is just forwarding the packets, its not - or should not actually be interacting with them - unless an exploit at the routing/packet forwarding level is found - and these would be pretty hard to craft and pretty rare ]

With respect of (3) = Advanced Persistent Attack, it really does not matter if the box is running Windows or something else - sooner or later it will fall. How long it takes depends on how vigilant you are and what resources the attacker can command (but think about it, someone with enough authority could probably break in and physically steal the hardware, so this is probably not an attack you need to worry too much about)

Another couple of thoughts to throw in there - Have good backups - that way if something does go wrong your risk is limited. (And having it on a separate network to the rest of your system mitigates the damage it can do if it is compromised)

2
  • I wish I were important enough to have targeted attacks launched at me :-p But No. 2, being attacked from a compromised PC on the LAN, is something I did not consider. Damn good point.
    – misha256
    Jan 11, 2016 at 6:44
  • @misha256 Please completely and absolutely forget the "I'm not that important" argument. A friend of mine, who runs a (tiny) computer company in the small country of Austria, tested to connect an (unpatched, un-service packed) Win XP directly to the Internet at times when Vista was already the current version. It took less than an hour until this machine was part of a botnet. Nov 6, 2021 at 16:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .