1

How can I securely handle sensitive information on my computer given the pervasive threat of malicious software and cyber-attacks?

I am concerned that my computer, connected to the internet, is vulnerable to various forms of malware such as drive-by infections, rootkits, and zero-day exploits. These threats can be introduced through both illegitimate and legitimate programs, often eluding detection by antivirus software. Consequently, I fear that any digital data on my system could potentially be compromised or manipulated.

Would it be prudent to invest in two separate computers, one dedicated solely to offline tasks to ensure the security of my sensitive information?

How can I ensure that sensitive data on a Windows computer is not transmitted externally by any software?

2
  • 1
    Whether or not it is prudent is up to you. How valuable is the data? How much in convenience would such a measure introduce? How much inconvenience are you willing to accept? We can't answer any of those for you.
    – schroeder
    Commented Jun 25 at 12:03
  • 1
    A DLP system can identify data and prevent its transmission on various channels depending on classification level. But they are incredibly expensive. Besides that, you can't pick and choose what data happens to get transmitted if there is a channel open. So, to accomplish your non-nuanced goal, you would need an air-gapped system.
    – schroeder
    Commented Jun 25 at 12:05

1 Answer 1

3

It is fundamentally impossible to be sure that a powered computer can't transmit data. "Turning it off" isn't even guaranteed, since some computers have features that can run when main power is off. Even one with no network connection at all can potentially transmit via other means (e.g. via sounds or using the internal wires as radio antennas, among others), but in most cases this isn't a realistic threat (among other things, you'd need a specialized receiver in range to pick up the signal).

The simple (but not very reliable) approach is to use the Windows firewall to block outbound network traffic by default. This feature has been present in Windows for many years, but is rarely enabled because it causes most programs to either barrage the user with prompts or just not work. However, you can set exceptions to allow specific software that you trust to make outbound requests (and everything else can Just Deal With It). Note that this is by no means ironclad; there are many ways to get around such a barrier if the malware is aware of it. Some examples include launching an approved program in a way that exfiltrates data (e.g. opening your default web browser to a URL that contains the exfiltrated data as a query string parameter), using debugger or accessibility APIs to remote-control approved software and make it send the data, sending the data via something other than a conventional network (e.g. flashdrives, bluetooth, audio tones, etc.), or just changing the firewall setting / adding itself as an approved process (though that requires elevated privileges).

A somewhat more robust option is a proper air-gap, where the machine has no network or similar connectivity to outside devices, and ideally interacts with removable storage only in read-only mode (if at all). This will of course severely limit what you can do on that computer, but it will make it very unlikely to get malware and very difficult for malware to exfiltrate any data even if it does get on the machine somehow (not impossible though; see the various side channels mentioned above).

A seemingly-tempting middle ground might be a VM that is isolated from the host OS with no network device. However, this is less secure than it might seem if the host OS has network access, because the host can of course access anything in the VM disk image, or change the VM settings. Most malware won't even try, though, so if you want an option that is a little more convenient than the "firewall deny all" but about as robust, and doesn't require a second physical computer, this might be an option.

Note that none of these options or concerns are Windows-specific. MacOS does not (or did not, last I checked) support blocking outbound traffic by default, but there's third-party software that can enable this. You can also take the VM option with a Windows guest (secured) but a non-Windows (e.g. Linux) host, if you're specifically worried about Windows malware.

2
  • If the operating system is compromised, how can Malwarebytes and similar tools properly detect malware? How can I download these tools if the computer being used can be constantly monitored by malicious actors? How can I find these tools when they are constantly monitored? Why should I not download infected software instead. This is an endless loop, therefore I am looking for good compromises. Commented Jun 26 at 11:15
  • There exist tools that will run offline (that is, without the OS running) to scan machines suspected of being compromised, but your point overall is good. Unfortunately, there's no obvious winning option. That's why I offered three, selected for simplicity, convenience, or robustness.
    – CBHacking
    Commented Jun 29 at 2:06

You must log in to answer this question.

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