← All terms

Sandboxing

Sandboxing runs untrusted files and code in an isolated environment to observe their behavior safely — and is a key reason attackers now target people instead.

Sandboxing is the practice of running untrusted files, links, or code inside an isolated environment — a "sandbox" — where their behavior can be observed without risk to real systems. If an email attachment detonates ransomware inside the sandbox, the message is quarantined before any employee ever sees it. The same principle isolates browser tabs from the operating system, mobile apps from each other, and suspicious executables from the corporate network.

How it works

A sandbox mimics a genuine endpoint: an operating system, common applications, user files, network access. Security tools route suspect objects into it automatically — secure email gateways detonate attachments before delivery, web proxies open risky downloads in disposable containers, and analysts feed malware samples into sandboxes to map what they do. The object is allowed to run, and everything it attempts — file writes, registry changes, network callbacks, privilege escalation — is recorded and scored. Behavior, not appearance, decides the verdict, which is what lets sandboxing catch brand-new malware that signature scanning has never seen.

Attackers responded in two ways. The first is evasion: malware that checks whether it is being watched — looking for virtualization artifacts, a missing mouse, an implausibly clean filesystem — and sleeps or behaves innocently until it believes a real human is present. The second is more consequential for security teams: skipping the malicious file entirely. ClickFix pages talk the user into typing the attacker's commands themselves; consent phishing steals data through legitimate OAuth grants; pure credential phishing delivers no payload at all. None of these gives a sandbox anything to detonate — a major reason social engineering keeps growing as the dominant attack path.

How to defend with it

Sandbox at the choke points — email attachments, web downloads, removable media — and feed the verdicts into your EDR and SIEM so detections become searchable history. Prefer tools that combine sandbox verdicts with on-endpoint behavioral analysis, which catches the evasive sample that stayed quiet in the lab. Then close the loop the sandbox cannot: train and test the human layer with realistic phishing simulations, because the attacks engineered to bypass sandboxing are precisely the ones that run on persuasion instead of code.

Related terms

Endpoint Detection and Response (EDR)EDR is security software that continuously records what happens on laptops and servers, detects malicious behavior, and lets responders investigate and contain it remotely.Zero-DayA zero-day is a vulnerability unknown to the software vendor, exploitable before any patch exists — the vendor has had zero days to fix it.ClickFixClickFix is a social engineering attack that uses fake CAPTCHAs or error prompts to trick victims into pasting and running malicious commands themselves.Trojan HorseA trojan horse is malware disguised as legitimate software, relying on the user to install it — deception rather than self-replication.
See your Human Risk Score

NOUSEC simulates attacks across 8 channels and turns the results into one number your board can read.

Book a demo