Check a suspicious file
Upload a file you don't trust, understand who can see the report and how long the file is kept, read the verdict, and know what to block.
You received a file (an email attachment, a download, something found on a USB stick) and you are not sure it is safe. This tutorial shows how to have mlab analyze it, and how to read what comes back.
mlab never runs the file. It takes it apart and inspects it (this is called static analysis), so the file cannot do anything during the check.
What you'll need
- The file, saved on your computer. Do not open it first.
- Optional: a free mlab.sh account. Without one you can still scan, with lower limits.
| Plan | Largest file | File scans per day |
|---|---|---|
| Without an account | 10 MB | 2 |
| Free | 10 MB | 10 |
| Pro | 100 MB | 50 |
| Team | 100 MB | 250 |
| Enterprise | 100 MB | Fair use |
Most common formats are accepted: Windows programs, Office documents, PDFs, shortcuts, scripts, archives, web pages and images. See the full list.
Before you upload: who will see the report
On the Free plan and without an account, reports are public: anyone who has the file's fingerprint can read them. Do not upload a confidential document (a contract, a payslip, an internal report) on those plans.
- On Pro, Team and Enterprise, you can turn on Private report: only your organization can open it. If someone else later uploads the same file as a public scan, its report becomes public, but your file name is never shown.
- The file itself is deleted within 48 hours, on every plan. It is stored in the EU until then.
- mlab keeps what was learned from it (fingerprints, verdict, detections, malicious indicators) for up to 3 years, with no link to your account. See the privacy policy.
Steps
Upload the file
Drop the file on the mlab.sh home page, or open Scan → File in the sidebar once signed in.
Before the upload starts, mlab shows the options:
- Private report, on paid plans.
- Terms, without an account: you accept the terms of service and the privacy policy.
Click Start the analysis.
If mlab has already analyzed this exact file, you get its existing report right away, and it does not count against your daily limit.
Wait for the analysis
The waiting page shows each tool as it runs and estimates the time left. mlab picks the tools from the file's real content, not from its name: a "PDF" that is really a program is analyzed as a program, and the mismatch is itself reported.
Read the verdict
The report opens on one of four verdicts:
| Verdict | What it means for you |
|---|---|
| Malicious | At least one thing in the file is something legitimate files do not do: known malware, a macro that runs a command, a hidden link to an attacker's server. Treat it as an attack. |
| Suspicious | Some traits are worth a look, but none is conclusive on its own. Do not open it until someone has checked. |
| Known good | A reference list of legitimate software contains this exact file, and nothing malicious was found. |
| No detection | Nothing fired. |
No detection does not mean safe. Static analysis can prove a file is bad, never that it is good. That is why "No detection" is never shown in green. If the file came from an unexpected source, stay careful.
Under the verdict, the summary shows:
- Family: the name of the malware, when mlab recognizes it.
- Why: the main findings that decided the verdict.
- Block: the most important indicators to block first.
Look at the evidence
Scroll down for the detail. You don't need to understand all of it; here is what each part is for:
- Findings: everything that was detected, worst first, each with a short explanation.
- ATT&CK matrix: what the program is able to do (hide itself, steal passwords, stay on the computer after a restart...), arranged by attacker goal. MITRE ATT&CK is a public catalogue of attacker techniques that security teams use as a shared vocabulary.
- Indicators, also called IOCs (indicators of compromise): the web addresses, domains, IP addresses and email addresses found in the file. They are shown as plain text, never as links, because they may be live malicious sites. Pivot opens mlab's lookup for one of them.
- Related samples: other files mlab has seen that are linked to this one (built the same way, talking to the same attacker servers, or from the same malware family).
- Tool results: the raw output of every tool, for an analyst who wants to check a finding at its source.
See File analysis for the full list of what is detected.
Export the report
At the top of the report:
- PDF: a report to attach to a ticket or send to your IT team.
- JSON: the full results, for tools and scripts.
- Add to case: file the report into a case, to keep an investigation together.
What to do next
If the verdict is Malicious or Suspicious:
- Don't open the file, and delete it from where you saved it.
- Tell your IT or security team, with the PDF report or the report's link.
- Block the indicators. Start with the Block list in the summary: those are the addresses the malware talks to. Your team can add them to the firewall, the proxy or the mail filter. The file's SHA-256 fingerprint can be blocked in the antivirus.
- If the file came by email, follow I received a suspicious email to check the rest of the message and warn your colleagues.
- If you already opened it, disconnect the computer from the network and call your IT team now.
If the verdict is Known good or No detection: the file is probably fine, but only if you trust where it came from. When in doubt, ask the sender through another channel whether they really sent it.
Related pages
I received a suspicious email
Check a suspicious email step by step with mlab: the message itself, its links, its attachments and its sender, then decide what to do.
Monitor your domain
Prove you own your domain, run a first domain scan, turn on security monitoring and alerts, and know what to do when an alert fires.