A malware sandbox is a sealed test computer that opens a suspicious file and records what it does.
This guide is for anyone who has been sent a file they are not sure about, and for people new to IT or security work. You do not need to be an analyst to be affected: a free online checker can share what you upload, so knowing its limits protects your organisation's data too.
In short
- A malware sandbox runs a file away from your real computer and writes a report on what the file tried to do.
- Free online sandboxes are handy, but some share what you upload with other users.
- Some harmful files notice they are being watched and stay quiet, so a clean report is a clue, not proof.
- Never upload private or work documents to a public service. Send them to your IT or security team instead.
What you will learn
- Explain what a malware sandbox does in one sentence.
- Read the main parts of a sandbox report.
- Spot when a free online service is the wrong place for a file.
- Ask who in your organisation should check a suspicious file.
- Harmful software (malware)
- software built to steal, spy, lock files or cause damage.
- Sealed test computer (malware sandbox)
- a cut-off computer where a suspicious file can run while its actions are recorded.
- Behaviour report
- the sandbox's summary of what the file tried to change, open or contact.
What is a malware sandbox?
Think of a glass-walled quarantine room. A strange parcel is opened inside, while staff watch through the window. If it leaks something nasty, the mess stays in the room.
A malware sandbox works the same way. It is a test computer, often a virtual machine (a pretend computer running inside a real one), with no link to your real files. The suspicious file is opened inside it. The sandbox records what the file does: which files it creates, which settings it changes and which websites it tries to reach. A US government glossary calls sandboxing a restricted, controlled place to run software that may be harmful.[1]
The word sandbox has a wider meaning too. Your web browser and phone use sandboxes every day to keep apps apart. Our Sandboxing for Beginners guide covers that bigger picture. This guide is about one job: checking a file you do not trust.
Where the comparison stops working: staff in a quarantine room can see everything. A harmful file can sometimes tell it is in a test room, and behave nicely until it reaches a real computer.
Why does it matter?
Opening an odd file on your everyday computer can let harmful software in. A sandbox lets someone see what the file does first, away from real data.
But the tool needs care. Free online services are easy to reach. People sometimes upload work files without reading the terms.
If you work in an office
What could happen: you upload a contract to a free checker, and other users of that service can later see it.
Check this: send odd attachments to your IT or security team, not to a public website.
If you are new to IT or security work
What could happen: you treat a clean sandbox report as proof, and a delayed attack goes unnoticed.
Check this: read the report as one clue, and compare it with other checks.
If you run a small business
What could happen: staff open strange files on the same computer that holds your accounts.
Check this: agree one simple route for suspicious files, and tell everyone what it is.
Next: Antivirus for Beginners
What does it look like?
Here is a made-up, short sandbox report for a file sent by email.
Example only. All values are made up.
File: invoice_EXAMPLE.doc Fingerprint: 0000aaaa0000bbbb0000FAKE (1) Verdict: Malicious (2) Behaviour: - Opened a hidden script (3) - Tried to contact update-0000.example.invalid (4) - Read saved browser passwords Visibility: Public, other users can view (5)
- A file fingerprint, called a hash. It helps find copies of the same file.
- The tool's best guess. It is a guide, not the final word.
- What the file did once opened. In a real file, this list would be much longer.
- A web address the file tried to reach. Teams often block these.
- Who can see the report. Some free tools make what you send public.
Why this is risky: if the file held real work details, the public setting means others may read it.
The safer way: send odd files to your own IT team or tools. Use a public site only if the file holds nothing private, and your rules allow it.
How does it work?
Most malware sandboxes follow the same steps.
- A fresh test computer starts. It holds no real files or passwords, and it is cut off from your own network.
- The file is opened inside. The sandbox opens it the way a person would, for example by double-clicking an attachment.
- Everything is recorded. The sandbox notes the files changed, programs started and websites contacted.
- A report is written. The findings are turned into a verdict and a list of warning signs.
- The test computer is thrown away. The next file gets a clean start.

Sandboxes have limits. Some harmful files look for signs that they are inside a test computer, such as virtual machine files or analysis tools. Others simply wait, because many sandboxes only watch for a short time.[2] So "nothing happened" does not always mean "safe".
Free online services also differ in what they do with uploads. One large file-checking service says its scan reports are shared with its public community. It also says file contents may be shared with its paying customers.[3] A US water-sector sharing group warned in 2019 that uploads to free scanning services can reveal company data, and that attackers view that data too.[4]

For a quick, private test of your own, some desktop tools give you a throwaway sandbox. Windows Sandbox, for example, deletes its software, files and state when you close it. Microsoft suggests opening untrusted files there with networking turned off, because networking is on by default.[5] This is for trained staff following their organisation's rules, not a home experiment.
Some government agencies run private analysis services too. The US cyber agency offers one to US government bodies. It uses a mix of checks, some that read the file and some that run it, in a secure setting.[6]
A worked example
Hana Thorne manages the office of a small dental practice, a fictional business with ten staff. One morning she receives an email from a supplier she knows. It says "Updated price list attached" and holds a document.
Something feels off. The supplier never sends price lists in this format. Hana remembers a tip: do not open it to "just have a look".
Her first thought is to upload it to a free online checker she found. Then she pauses. If the file is real, it holds the supplier's prices and the practice's account number. A public upload could share that.
Instead, she forwards the email to Kemal Yilmaz, the practice's outside IT helper, as their agreed process says. Kemal opens the file in his company's private sandbox. The report shows the document tried to run a hidden script and contact an unknown web address.
Kemal thinks of the quarantine room. The parcel leaked, but the mess stayed inside. He blocks the web address on the practice's email and web filter. He asks Hana to phone the supplier on a number she already has, not one in the email. The supplier says their email account was taken over yesterday.
Kemal checks the mail records. Two other staff received the same email. Neither opened it. He deletes both copies and reminds the team of the route for odd files: forward, do not open, do not upload.
Myths and mistakes
| What people think | What is true |
|---|---|
| A clean sandbox report means the file is safe. | Some malware spots test computers or waits before acting. A clean report is one clue, not proof.[2] |
| Free online checkers keep my upload private. | Some share reports, and sometimes the file, with other users. Read the terms before you upload.[3] |
| Uploading only helps the good guys. | Attackers also use these services, including to see what defenders have found.[4] |
| A sandbox replaces antivirus. | They do different jobs. Antivirus guards your computer all the time. A sandbox checks one file on request. |
| It is fine to open the file on my laptop, just to look. | Opening it on your everyday computer is the risk a sandbox is there to avoid. Use the agreed route. |
What can I do this week?
- Find out who checks suspicious files where you work, and how to send them.
- Write that route down and share it with your team.
- Read the privacy terms of any free checker you have used before.
- Ask your IT team whether you have a private sandbox or file-checking service.
Checklist
- Staff know not to open odd attachments on their everyday computer.
- There is one agreed route for suspicious files.
- Work files are never uploaded to public checking services.
- The team knows which services are allowed, and their privacy terms.
- Sandbox reports are treated as one clue, not proof.
- Warning signs from reports, such as web addresses, are blocked where it makes sense.
- Any sandbox used for testing has networking off unless it is needed.
Common questions
Is a malware sandbox the same as antivirus?
No. Antivirus runs on your computer all the time and blocks known threats. A malware sandbox checks one file on request, in a separate test computer, and reports what that file did. Many security products use both, side by side.
Is it safe to upload a file to a free online sandbox?
It can be, for a file with nothing private in it. Some services share reports or files with other users. Do not upload work documents, personal files or anything with passwords or account numbers. Send those to your IT or security team instead.
Why might a sandbox miss malware?
Some malware checks whether it is in a test computer and stays quiet. Some waits longer than the sandbox watches. Some needs a click or a password before it acts. That is why analysts combine sandbox reports with other checks.
Can I build my own sandbox at home?
You can try desktop tools that give a throwaway test space, but running real malware takes care and training. A mistake could infect your network. For a suspicious file at work, use your organisation's route. At home, delete the file if you are unsure.
What should I do if I already uploaded a private file?
Tell your IT or security team straight away. They can check the service's terms and contact the provider about removal. Treat any passwords or account details in the file as exposed, and change them.
Where next?
Ready for the detail? Read the practitioner guide: Malware Sandboxes. It goes further into the features to compare, questions to ask suppliers and how to run a fair trial before you buy.
Also useful:
- Sandboxing for Beginners
- Malware Analysis for Beginners
- Malware for Beginners
- Attachment Sandboxing vs CDR
Related NHI Mgmt Group resources: Phishing for Beginners · Email Security for Beginners · Indicators of Compromise for Beginners
Key terms
- Malware
- Software built on purpose to steal, spy, lock files or cause damage.
- Sandbox
- A controlled place where code runs with only the access it has been given.
- Dynamic analysis
- Studying a file by running it in a controlled test computer and watching what it does.
- Virtual machine
- A pretend computer that runs inside a real one, kept apart from it.
- File hash
- A short fingerprint worked out from a file's contents, used to spot copies.
- Indicator of compromise
- A clue that an attack may have happened, such as a known bad web address.
Sources and further reading
- Sandbox, glossary entry (CNSSI 4009-2022; NIST SP 800-95). NIST Computer Security Resource Center. https://csrc.nist.gov/glossary/term/sandbox, accessed 28 Nov 2026.
- Virtualization/Sandbox Evasion, T1497. MITRE ATT&CK. https://attack.mitre.org/techniques/T1497/, accessed 28 Nov 2026.
- How it works. VirusTotal documentation. https://docs.virustotal.com/docs/how-it-works, accessed 28 Nov 2026.
- Security Awareness: Use Caution with Malware Scanning Services. WaterISAC, 20 August 2019. https://www.waterisac.org/security-awareness-use-caution-malware-scanning-services, accessed 28 Nov 2026.
- Windows Sandbox. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/windows/security/application-security/application-isolation/windows-sandbox/, accessed 28 Nov 2026.
- Malware Next-Generation Analysis. Cybersecurity and Infrastructure Security Agency (CISA). https://www.cisa.gov/resources-tools/services/malware-next-generation-analysis, accessed 28 Nov 2026.