What is Sandbox?

An isolated environment where code runs with tightly restricted access, so that if it is malicious it cannot reach the rest of the system. Browsers sandbox web pages, and analysts detonate suspicious files in sandboxes to watch what they do.

Sandboxing shows up in two roles. As a protection, browsers, phones and document viewers run untrusted content in restricted processes, so an exploit must also escape the sandbox to do real harm. As an analysis tool, malware sandboxes (cloud services or local virtual machines) open a suspicious attachment or URL and record its behaviour: files written, processes started, network connections made. Analysts use those results to judge a file and extract indicators. Malware often checks whether it is in a sandbox and stays dormant if so, so a clean sandbox result is evidence, not proof, that a file is safe.

Source: NIST CSRC Glossary (CNSSI 4009-2022).

Practice it in a lab

Free, hands-on labs that teach Sandbox. 23 more labs also cover it.

Related terms

All glossary terms

Related