zerofox logo
Blog

Malware Sandboxing for SOC Teams: How to Detonate Files and URLs Safely

by Maddie Bullock
Malware Sandboxing for SOC Teams: How to Detonate Files and URLs Safely
9 minute read

Most SOC shifts start the same way: a queue full of artifacts that might be malicious and not enough time to investigate every one deeply. A flagged attachment, a URL from a newly registered domain. Each one needs a verdict. Most are clean, but the one that isn't could be the beginning of a breach, and there's no reliable way to tell from metadata alone.

This is where malware sandboxing fits into the SOC workflow. A sandbox gives analysts a safe, isolated environment to detonate suspicious files and URLs, observe what they actually do, and extract the indicators needed to make a confident triage decision. Without it, analysts are left piecing together partial signals, making educated guesses, and spending investigation hours on artifacts that may turn out to be benign. Sandboxing replaces that ambiguity with evidence.

Read on to learn when to sandbox, what to submit, how to read the results, and how to turn sandbox output into action your team can use.

What Malware Sandboxing Is and Why SOC Teams Use It

A malware sandbox is an isolated computing environment designed to execute suspicious artifacts and observe their behavior without risking production systems. "Detonation" is the industry term for that controlled execution: the sandbox lets the artifact run, watches what it tries to do, and captures every action in a report.

Sandboxing sits between detection and response in the SOC workflow. Detection tools flag something suspicious. The sandbox confirms whether it's actually malicious. Response actions follow from there. Without that middle step, analysts are left making triage decisions on incomplete information, which leads to either missed threats or wasted time chasing false positives.

Jill Cagliostro, Director of Product Management at ZeroFox, frames it from an analyst's perspective: "One opinion's never good enough for a security analyst. Even if they already have a sandbox offering in-house, ZeroFox’s malware sandbox gives you a way to compare the results, because you can put the same exact file into two different sandboxes and get wildly different results."

The value compounds over time. Every detonation adds to your team's understanding of what's targeting your environment, which malware families are active, and what behavioral patterns to watch for. That accumulated context is what turns a sandbox from a one-off tool into an intelligence asset, especially when combined with the ability to pivot across related indicators during investigations.

When to Use Malware Sandboxing (and When Not To)

Sandboxing is most valuable when you have an artifact that detection tools flagged but can't definitively classify. Good triggers for sandbox submission include unknown file attachments that passed the email gateway but triggered a low-confidence alert, downloads from newly registered or suspicious domains, files quarantined by an endpoint agent with no existing signature match, URLs from phishing campaigns or brand impersonation alerts, and QR codes from suspected quishing attacks.

There are also situations where sandboxing is the wrong move. If a file already matches a known-bad signature with high confidence, block it and move on; detonation adds time without adding information. During active incident containment, your priority is stopping the spread, not analyzing new samples. And if an artifact contains regulated data (PII, PHI, financial records), make sure your sandbox environment has the right privacy controls before you submit it.

The deciding factor is whether you need more information to act. If the verdict is already clear, act on it. If it isn't, the sandbox fills the gap.

File Sandboxing vs. URL Sandboxing

File and URL sandboxing serve the same purpose (verdict and IOC extraction) but the mechanics are different.

File sandbox analysis handles attachments, executables, documents, scripts, and archives. The sandbox opens or executes the file in an isolated OS, observes processes it spawns, network connections it attempts, files it writes or modifies, and persistence mechanisms it tries to install. The output is a behavioral report tied to a verdict.

URL sandbox analysis follows a link through its full chain of behavior. This matters because malicious URLs rarely do one thing. A single link might redirect through multiple domains, check the visitor's geography or device type, serve a fake login page, and stage a payload download, all in sequence. The sandbox captures each step, takes screenshots, and logs every network call.

URLs are trickier to sandbox than files for a few reasons. Attacker infrastructure is short-lived; a URL that serves malware today may be dead tomorrow. Redirect chains can be gated by geography, device type, or referrer, meaning the sandbox might see different behavior than a real victim would. And some phishing pages check for sandbox environments and serve benign content when they detect one, a trend that AI-powered attack tooling is accelerating. Multi-engine analysis helps here, since different engines use different environments and are harder to evade collectively.

How to Detonate Suspicious Files Safely

Safe file detonation depends on isolation and logging.

The sandbox environment must have no path back to production systems. Network egress should be controlled enough to let the malware reveal its C2 behavior (so you capture the domains and IPs it contacts) without allowing actual data exfiltration. Every action the file takes, from network connections to file writes to process creation, should be logged.

When submitting a file, include whatever context you have: where it came from (email, web download, USB), what triggered the alert, any associated email headers or user reports. This context helps analysts interpret the sandbox results and decide on next steps.

What to expect back from a good detonation: a verdict (malicious, suspicious, or clean), a behavior summary showing what the file attempted at runtime, extracted IOCs (file hashes, contacted domains, IP addresses), dropped files or secondary payloads, and process trees showing the execution flow.

As Cagliostro explains, process trees are especially useful for threat hunting: "Process trees are a great way to see how malware is going to try and hide itself, so you can go hunt through your organization to see if there are any artifacts that have been changed that align to what you see in the malware sandbox."

How to Analyze a Suspicious URL Safely

URL detonation follows the link so your analysts don't have to. The sandbox loads the URL in an isolated browser, follows redirects, captures screenshots at each stage, and records all network activity and scripts that execute.

When submitting a URL, include the full link (not shortened), any referrer information, and the context of how it was discovered (phishing alert, domain monitoring, user report). Watch the results for redirect chains through multiple domains, credential harvesting pages mimicking trusted services, payload staging where visiting the page triggers a download, and cookie or session theft scripts.

A malicious verdict on a URL impersonating your brand produces an evidence package that can support a takedown request. The sandbox report shows exactly what the page does, giving registrars and hosting providers the proof they need to act.

If the result is inconclusive, don't default to "probably fine." Check whether the URL might be geo-gated or device-gated, and consider re-submitting through a different engine. Inconclusive is a reason to dig deeper, not close the ticket.

What to Look For in a Malware Sandbox Report

A SOC-ready sandbox report should give your team everything needed to make a triage decision and take action. The key components are a verdict with a confidence level, behavioral highlights showing what the sample attempted (network calls, file writes, process spawns, persistence), extracted IOCs for blocking and hunting, dropped files and secondary payloads, MITRE ATT&CK technique mapping, and, in the best implementations, an AI-generated summary that translates technical indicators into plain language.

IOC extraction is where the sandbox output becomes operational. Hashes go to endpoint blocking. Domains and IPs go to firewall and proxy rules. Behavioral patterns feed threat intelligence enrichment and hunting queries. As Cagliostro notes, "You don't want to be putting a file indicator in your firewall. That's got to get to the endpoint solution." The MITRE mapping helps analysts route each indicator to the right tool.

Watch for common evasion behaviors that can produce inconclusive results: environment detection (the malware checks if it's running in a VM and stays dormant), time-based triggers (it waits before executing), and gated payloads (the malicious behavior only fires under specific conditions). When you see inconclusive results paired with any of these signals, treat the artifact with more suspicion, not less.

How Sandboxing Reduces False Positives and Speeds Triage

Single-signal detections are the root cause of most false-positive noise. An email gateway flags a file based on a heuristic. A web proxy alerts on a domain because it was registered recently. Each of these signals is doing its job, but none of them can tell you definitively whether the artifact is malicious.

Sandboxing adds a second, behavioral layer. That macro-enabled spreadsheet the gateway flagged? The sandbox can tell you whether it actually tries to download a payload or if it's a legitimate business document with macros. The newly registered domain? The sandbox can tell you whether it serves a credential harvesting page or a real website.

This is how teams reduce false-positive escalations without reducing detection coverage. Sandboxing validates alerts before analyst hours go into full investigation, which means faster decisions on real threats and less time spent on artifacts that turn out to be benign.

Operationalizing Sandboxing in the SOC

The workflow is simple in concept: alert triggers artifact collection, artifact goes to sandbox, sandbox produces verdict and IOCs, analyst makes a triage decision, and response actions follow.

In practice, a few operational habits make this work at scale. Set clear submission priorities: targeted phishing against executives or finance teams goes to the front of the queue; bulk spam with a low-confidence flag can batch. Define SLAs for time-to-verdict so analysts know how long to wait before making a call without sandbox results. Document results consistently, whether that means enriching the original alert in your SIEM, attaching sandbox reports to case files, or building a knowledge base of threat intelligence patterns your team has observed.

The goal is to make sandboxing a default step in triage, not a special project analysts reach for only when the queue is light. Low-friction submission and fast time-to-verdict are what drive adoption.

Common Malware Sandboxing Mistakes

  • Over-trusting a single verdict. Different engines produce different results from the same sample. A clean verdict from one engine doesn't mean the artifact is safe, especially if it arrived through a high-risk vector. Multi-engine analysis provides stronger confidence.
  • Detonating without context. Submitting a file with no information about where it came from or what triggered the alert makes the results harder to interpret. Always include source and context.
  • Treating "inconclusive" as "benign." Inconclusive often means the malware detected the sandbox and chose not to execute. That's a reason to escalate, not close.
  • Failing to act on IOCs. A sandbox report sitting in a PDF helps no one. Extracted indicators need to flow into blocking rules, hunting queries, and threat intelligence feeds. If your IOCs aren't reaching your defensive tools, the sandbox is producing intelligence your team never uses.

How ZeroFox Supports Malware Sandboxing Workflows

The ZeroFox Malware Sandbox, built in partnership with PolySwarm, is embedded directly in the ZeroFox platform. Analysts can submit files, URLs, hashes, and QR codes without leaving the interface. Every submission runs through dual-engine analysis, combining dynamic behavioral detonation with static code deconstruction, and results include a verdict, extracted IOCs, MITRE ATT&CK mapping, and an AI-powered summary that translates technical findings into actionable language.

For SOC teams, the operational advantage is speed and confidence. Sandbox results enrich investigation workflows and provide the evidence needed for downstream action, whether that's blocking indicators, escalating to incident response, or feeding evidence into a takedown request through the ZeroFox Global Disruption Network.

Customers with an Intelligence Search license get 25 sandbox scans per month at no additional cost, running in a private instance with no data privacy concerns. For teams that need higher volume, premium packages scale to meet enterprise demand.

Request a demo to see how ZeroFox malware sandboxing fits into your SOC workflow.

Maddie Bullock

Content Marketing Manager

Maddie is a dynamic content marketing manager and copywriter with 10+ years of communications experience in diverse mediums and fields, including tenure at the US Postal Service and Amazon Ads. She's passionate about using fundamental communications theory to effectively empower audiences through educational cybersecurity content.