Windows Sandbox Defaults Leave Room for Malicious Activity
A recent experience with Windows Sandbox has led to a realization about its default settings. Afam, a tech expert, discovered that when he runs an executable in Sandbox, it already has Internet access and can copy-paste from the host system by default. These features, although convenient, were not what he needed for his test.
According to Microsoft's documentation, enabling networking in Windows Sandbox can expose untrusted applications to the internal network. Disabling network access can decrease the attack surface exposed by the Sandbox. Afam decided to disable these features and found that every other element of the Sandbox worked normally as expected.
The test revealed that disabling networking removes network access from processes running inside the Sandbox, preventing them from communicating with external network resources. This is a crucial aspect to consider when using Windows Sandbox, especially for testing unknown downloads.