File Analysis

Reading a file analysis report

Deciphering sandbox and antivirus reports: understanding verdicts and key indicators.

1 Introduction

A file analysis report is like a medical check-up report for a suspicious file. Before giving a diagnosis, a doctor runs blood tests, takes X-rays and checks vital signs. Likewise, when you submit a suspicious file to an analysis service (such as VirusTotal or a sandbox), it is examined in depth: structure, behavior, network connections, system changes. The resulting report gives you a verdict and the details you need to understand whether the file is safe or dangerous. Learning to read these reports is a fundamental skill, even if you are not an analyst.

70+

Antivirus engines used by VirusTotal

2 types

Static analysis and dynamic analysis

MITRE ATT&CK

Reference framework used to describe attack techniques

2 How It Works

Here is the typical structure of an analysis report, using a fictitious example. Each part adds complementary information to understand what the file is and what it does.

Analysis report

invoice_october2026.pdf.exe

Malicious

Verdict and detections

52/70

Engines detecting

Trojan

Classification

Emotet

Family

9.2/10

Threat score

Detection names (examples)

Trojan.Emotet.Gen Win32/Emotet.AW Mal/Emotet-Q HEUR:Trojan.Win32.Emotet

Each antivirus vendor uses its own naming scheme, hence different names for the same threat.

Static vs dynamic analysis

Static analysis

Examining the file without running it, like a doctor taking an X-ray.

  • •File size, real type, metadata
  • •Suspicious text strings
  • •Sensitive system functions it imports
  • •Obfuscated or packed code

Dynamic analysis (sandbox)

Running the file in an isolated environment and watching what it does.

  • •Files created, modified or deleted
  • •Network connections made
  • •Registry keys changed
  • •Processes launched or injected

MITRE ATT&CK mapping

The MITRE ATT&CK framework catalogs attack techniques. The report links the observed behaviors to known techniques:

T1566 - Phishing T1059 - Command and Scripting Interpreter T1547 - Boot or Logon Autostart Execution T1071 - Application Layer Protocol T1041 - Exfiltration Over C2 Channel

3 Detailed Analysis

Understanding the verdict

Detection ratio

"52/70" means that 52 of the 70 engines that scanned the file flagged it as malicious. A high ratio is a strong indicator. But a low ratio, or even 0, does not mean the file is safe: brand-new malware may not be detected by anyone at first. Look at the scan date and re-analyze if it is old.

False positives

Legitimate software sometimes triggers a few detections, often generic ones ("Generic", "Heur", "AI"). If only one or two little-known engines flag a file and the major ones say it is clean, it may be a false positive. Context matters: where did the file come from?

Detection names decoded

Names like "Trojan.Win32.Agent.abc" often follow the pattern [Type].[Platform].[Family].[Variant]. Not all vendors use the same scheme, but the type (Trojan, Worm, Ransom) tells you the category. When in doubt, focus on the family named by most engines and look it up in Threat families.

Static analysis: what to look for

Real file type and metadata

Compare the real type with the name: a "PDF" that is actually a Windows executable, like in the example above, is immediately suspicious. Also check the size, dates and digital signature, if any.

Embedded strings

Readable text extracted from the file. Look for URLs, IP addresses, registry paths or suspicious commands. Malware often contains strings that betray what it does.

Imported functions (Windows executables)

Windows programs call system functions. Combinations such as VirtualAllocEx, WriteProcessMemory and CreateRemoteThread suggest the ability to inject code into other programs.

Dynamic analysis: behavior under observation

Network activity

Does the file try to reach external servers? DNS queries, web requests and outbound connections reveal its command-and-control infrastructure.

File system changes

Does it create, modify or delete files? Dropping executables in temporary folders or touching system files is classic malware behavior.

Persistence

On Windows, malware often adds registry "Run" keys, scheduled tasks or services so that it survives a reboot.

Process activity

Does it launch child processes (PowerShell, cmd), inject code into other programs or try to gain administrator rights? These behaviors strongly suggest malicious intent.

Extracted indicators

A good report automatically extracts the IOCs of the file: contacted IP addresses, resolved domains, requested URLs, files dropped on disk, and the hashes of each one. These indicators can then be used to search for and block the threat across your whole network.

Before uploading: search the hash first

On public platforms, submitted files can be downloaded by other users and security vendors. Never upload a document that may contain personal or confidential data (contract, payslip, internal file). Search for its SHA-256 first: if the file is already known, you get the report without sharing anything.

Try it on mlab.sh

Submit a file to get a full analysis report with detection verdicts, static metadata and behavioral indicators. Practice reading the same report sections covered in this module.

Analyze a file on mlab.sh

4 Red Flags

High detection ratio

When many engines, including well-known vendors, agree on a malicious verdict and name the same family, the file is almost certainly malicious. Do not open it: delete it and alert your IT team if it came through work.

Outbound connections to unknown servers

If dynamic analysis shows the file contacting unknown IPs or domains, especially on unusual ports, it is probably calling home to a command-and-control (C2) server.

Packed or obfuscated code

If the report mentions packers or high-entropy sections, the file is hiding its real content. Some legitimate software is packed too (with UPX, for example), so combine this with other signals.

Sandbox evasion detected

Some malware checks whether it is running in a sandbox and stays quiet if so. A "clean" sandbox result with evasion techniques noted is a strong warning sign, not a reassurance.

Persistence mechanisms

If the file creates startup entries, scheduled tasks or services, it wants to survive reboots. This is the hallmark of malware aiming for long-term access.

High-risk MITRE ATT&CK techniques

Techniques such as process injection, privilege escalation, credential theft or data exfiltration are major warning signs in a report.

Related Modules