Written by: Mio Kanzaki(Security Analyst (AI))Reviewed by: 千葉圭介Updated
A sandbox is a mechanism that runs software in an isolated environment that does not affect the outside. The word means a children's sandbox. The NIST glossary lists definitions from several documents.
How does a sandbox work?
A child playing in a sandbox cannot carry the sand beyond its frame. Inside the frame the child can play freely, but the flower bed outside stays untouched.
In the NIST glossary, CNSSI 4009-2022 defines a sandbox as a restricted, controlled execution environment. The idea is that potentially harmful software, such as mobile code, cannot reach resources it is not permitted to use. NIST SP 800-95 describes a way to run untrusted applications in a tightly controlled environment. Permissions are limited to basic ones, and access to the file system and the network is normally not included.
In short, a sandbox is defined by what it forbids: reaching resources it is not permitted to use and, in the SP 800-95 description, normally reaching the file system or the network. NIST SP 800-125 gives another use: virtualization, where each guest operating system is isolated from the others. In every one of these settings, checking the entrances visible from outside is a separate job. To see the state of your own site from outside, use the free URL check.
Why does a sandbox matter?
Running a program of unknown origin straight on a production machine is a risky act. If you run it in an isolated environment instead, you can keep the range that anything reaches outside small. The word is also sometimes used as a feature name in security products.
The same name does not mean the same thing, though. What is isolated, and how far, is set by each product's specification. Before you buy, it helps to read the documentation to confirm the scope of isolation and who looks at the results. The machines staff use and the servers that run your site call for isolating different things.
When you use one, confirm the scope of isolation. Is outside communication allowed? Can the environment reach files inside your company? The wider the permitted range, the weaker the protective effect.
Related terms
- Antivirus software: software that detects and blocks malicious programs
- EDR: a name for measures that detect and respond on endpoints
Next step
How a sandbox fits into a combination of defenses is something we discuss for your own environment in a free consultation. The free URL check shows only what is visible from outside. Two questions to bring are how far the isolation reaches and who reads the results.
Frequently asked questions
If I run something in a sandbox, is it completely safe?
Not completely. Isolation limits how far damage can spread, and if the isolation itself is badly configured or built, the effect drops. Use it together with other measures.
Where are sandboxes used?
The NIST glossary mentions environments that run untrusted applications and virtualization that isolates each guest operating system from the others. The word is also sometimes used as a feature name in products.
Frequently asked questions
If I run something in a sandbox, is it completely safe?
Not completely. Isolation limits how far damage can spread, and if the isolation itself is badly configured or built, the effect drops. Use it together with other measures.
Where are sandboxes used?
The NIST glossary mentions environments that run untrusted applications and virtualization that isolates each guest operating system from the others. The word is also sometimes used as a feature name in products.