# What is Sandboxing?

> Sandboxing is the practice of running code or processing content inside a controlled environment whose policy restricts access to resources such as files, devices, memory, processes, credentials, and networks.

- Canonical URL: https://yellowcube.eu/glossary/sandboxing/
- Publisher: Yellow Cube
- Language: en
- Contact: hello@yellowcube.eu

## Content

It limits what untrusted or less-trusted activity can affect outside the boundary. Sandboxes protect browsers and applications, isolate tests, and support controlled observation of suspicious files or behavior.

Implementations use different mechanisms and trust assumptions, including operating-system process restrictions, application policies, containers, virtual machines, emulation, or combinations of controls. The meaningful question is not whether something is “sandboxed,” but what boundary is enforced, by which trusted components, and against which threats.

### Key points

- **Policy design:** Grant only required capabilities, constrain communication and persistence, separate privileged brokers from restricted workloads, and protect management interfaces and collected outputs.
- **Analysis use:** Malware sandboxes instrument a controlled environment to record behavior; they are one use of sandboxing, not the definition of every sandbox.
- **Assurance:** Test escape paths, exposed interfaces, policy exceptions, resource limits, reset procedures, monitoring, and dependencies in the host or surrounding infrastructure.
- **Important limitation:** A sandbox reduces potential impact but does not prove code is safe. Vulnerabilities, unsafe exceptions, excessive permissions, shared resources, host compromise, or evasion can defeat isolation or conceal behavior, so defense in depth remains necessary.

### Related terms

[Malware analysis](<https://yellowcube.eu/glossary/malware-analysis/>) · [Malware](<https://yellowcube.eu/glossary/malware/>) · [Virtualization security](<https://yellowcube.eu/glossary/virtualization-security/>) · [Container security](<https://yellowcube.eu/glossary/container-security/>) · [Exploit](<https://yellowcube.eu/glossary/exploit/>)

### Sources

[NIST CSRC Glossary: Sandbox](https://csrc.nist.gov/glossary/term/sandbox) · [Chromium Sandbox Design](https://chromium.googlesource.com/chromium/src/+/HEAD/docs/design/sandbox.md) · [MITRE ATT&CK T1497.001: Virtualization/Sandbox Evasion—System Checks](https://attack.mitre.org/techniques/T1497/001/)

## Attribution and scope

This Markdown representation is generated from the same approved content records as the canonical HTML page. Cite the canonical URL above when referencing this material. Product and service descriptions are informational; confirm project-specific requirements with Yellow Cube.

