Cybersecurity glossary
Sandbox
A sandbox is an isolated environment that runs code with tightly limited access to files, network and the rest of the system, so untrusted code can do little harm.
On Linux, namespaces give a process its own view of the system, cgroups limit its memory and CPU, and seccomp filters block system calls it does not need. Stronger options put a separate kernel underneath.
Every layer added narrows what escapes. A sandbox that still has network access can leak data, so egress is limited too.
Learn it hands-on
These free lessons teach it with commands to run in a lab of your own and checked tasks. Read them whole with no account.
What untrusted code can do
Lesson in Sandboxing untrusted and AI-written code
Linux namespaces with unshare
Lesson in Sandboxing untrusted and AI-written code
Seccomp filters and Linux capabilities
Lesson in Sandboxing untrusted and AI-written code
Watching malware behaviour in a sandbox
Lesson in Malware analysis, safely