2

Some friends and I want to play FarCry version 1.40 on PC over the internet on our own private server but we have some security concerns. Since the game was released 15 years ago and we'll be running it on Windows XP Pro Version 2002 Service Pack 3, we are likely to have our server and operating systems hacked, correct? What are some security measures we can take to prevent this?

The server will be behind a home router with port forwarding enabled.

  • 3
    You could always set up a VPN and have them VPN in. That way no old software will be exposed to the Internet. – user Dec 2 '19 at 14:32
  • 2
    Also note that if you're port forwarding to an old, outdated operating system then there may be protocol-level vulnerabilities that can be exploited even if the server/port you're forwarding to is safe. – user Dec 2 '19 at 18:13
  • 1
    We play Unreal Tournament (from 1999) and it's 100% secure. – Overmind Dec 4 '19 at 6:16
4

If the only port forwarded to the server is the port used by the game, you are fine.

You can protect even Windows 95 with the correct measures. If you block everything but the game server, not use the computer for anything else but host the game (no browsing, no email, no running random programs), it will be reasonably safe.

| improve this answer | |
2

Even with port forwarding, you do not want to expose your filesystem to attackers as it might be possible to use your hacked server as a pivot for lateral privilege escalation through the router into your home server. It depends on your router's configuration/model too.

I strongly suggest that you run the game from a Docker container, so that it will be impossible (short of a kernel exploit) to escape the container and access the files on your server, where the attacker can perform write operations and compromise other computers in the network. You can stop at this step unless you're paranoid.

So what should you do if the attacker has access to a kernel exploit useable on your Windows server?

A good mitigation would be to use a non-generic kernel. While it may be easy to use an exploit script for a vulnerability, it is often not that easy to write one. I would hence also recommend that you change some of the kernel code, such as the namespaces so that any available exploit would not work on your server without some tinkering.

| improve this answer | |
  • 1
    Yes, a container would be good. Or a VM. Would definitely virtualize this. – rasmus91 Dec 4 '19 at 7:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.