Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sandboxed operating system

On most operating systems today, the default is that when we install a program, it is given access to many resources that it may not need, and it's user may not intend to give it access to. For example, when one installs a closed source program, in principle there is nothing to stop it from reading the private keys in ~/.ssh and send them to a malicious third party over the internet, and unless the user is a security expert proficient in using tracing programs, he will likely not be able to detect such a breach.

With the proliferation of many closed sourced programs being installed on computers, what actions are different operating systems taking to solve the problem of sandboxing third party programs?

Are there any operating system designed from the grounds up with security in mind, where every program or executable has to declare in a clearly readable format by the user what resources it requires to run, so that the OS runs it in a sandbox where it has access only to those resources? For example, an executable will have to declare that it will require access to a certain directory or a file on the filesystem, that it will have to reach certain domains or IP address over the network, that it will require certain amount of memory, etc ... If the executable lies in its declaration for system resource requirements, it should be prevented from accessing them by the operating system.

like image 381
D R Avatar asked Feb 02 '11 18:02

D R


People also ask

What is sandboxing and how it works?

Sandboxing is a cybersecurity practice where you run code, observe and analyze and code in a safe, isolated environment on a network that mimics end-user operating environments. Sandboxing is designed to prevent threats from getting on the network and is frequently used to inspect untested or untrusted code.

Which browsers are sandboxed?

Chromium Browser Sandbox is used by both Microsoft Edge and Google Chrome browsers.

Are Windows sandboxed?

Windows Sandbox provides a lightweight desktop environment to safely run applications in isolation. Software installed inside the Windows Sandbox environment remains "sandboxed" and runs separately from the host machine. A sandbox is temporary. When it's closed, all the software and files and the state are deleted.

Does Windows 11 have sandbox?

The Sandbox in Windows 11 gives you an isolated and temporary virtual machine to run things without affecting your core OS environment.


1 Answers

This is a the beauty of Virtualization. Anyone performing testing or operating a questionable application would be wise to use a virtual machine.

Virtual Machines:

  • Provide advantages of a full Operating System without direct hardware access
  • Can crash or fail and be restarted without affecting the host machine
  • Are cheap to deploy and configure to a variety of environments
  • Great for using applications designed for other platforms
  • Sandboxes applications that may attempt to access other private data on your computer

With the seamless modes virtualization programs such as VirtualBox provide you can take advantage of Virtual Machine's sandboxing in a nearly seamless fashion.

like image 125
Ian T Avatar answered Sep 27 '22 18:09

Ian T