What can I learn about a suspicious program without running it?
Static triage means studying a program file without starting it. You identify the file, look at its structure, read its strings, list what it appears able to do, and test it against rules. Treat the file as live malware from the first minute. Read the safe-handling step before you download or copy anything.
This workflow was written from the tools' documentation and published references. It has not yet been checked step by step on the practice data. If a step does not match what you see, please report it.
What you will be able to answer
- What the file is: type, compiler and whether it is packed
- Which Windows functions it imports and which resources it carries
- Which readable and hidden strings it holds (addresses, paths, messages)
- Which capabilities it seems to have, for example network use or file encryption
- Which indicators the security team can use
What you need
- A virtual machine used only for analysis (for example REMnux or FLARE-VM), network off or on a dedicated isolated network, with a snapshot to return to
- Shared folders, drag and drop and clipboard sharing switched off
- The tools in this workflow: Detect It Easy, pestudio, FLOSS, capa and YARA
- A password-protected archive or a separate drive to store the sample
Steps
- 1
Set up safe handling first
Never run the file, and never open it on your normal computer. Use a lab VM with no route to your network. Zeltser advises a dedicated virtual network with the host adapter disabled, not the default host-only network. Switch off shared folders and clipboard sharing, take a snapshot, and return to it after the work. Keep the sample in a password-protected archive when you move it. Antivirus on the host may delete it.
Treat any file from a real case as live malware, and any public malware set the same way, however old the sample is.
- 2
Hash the file and look up the hash only
Write down the SHA-256 hash before you do anything else. Searching a public reputation service for the hash tells you whether others have seen the file, and it does not give the file away. Uploading the file to an online scanner can share it with others, so do that only if your lab policy and the case allow it.
sha256sum sample.exe
Get-FileHash .\sample.exe -Algorithm SHA256
- 3
Identify the file with Detect It Easy
Open the file in Detect It Easy. It names the format, such as PE or ELF, the compiler or language, and packers or protectors. A packer compresses or hides the real code, so most later results are weaker if the file is packed. Detect It Easy is not an antivirus. Treat its heuristic findings as leads.
ToolsDetect It Easy - 4
Read the structure with pestudio
pestudio shows indicators, the imported libraries and functions, embedded resources, strings and version information, and the file's hash and entropy. Look for imports that deal with networking, process creation or cryptography, and for resources that look like a second file. By default pestudio sends the file's hash to VirusTotal. Switch that off in its settings if your policy forbids it.
Toolspestudio - 5
Extract strings with FLOSS
FLOSS lists plain strings, and it also tries to recover stack strings, tight strings and strings decoded by the program's own routines, which it does by emulating those routines. Not every sample decodes, and the output can contain junk. Look for web addresses, IP addresses, file paths, registry keys, command lines and messages. Use -n to raise the minimum length and -j for JSON.
floss sample.exe
floss -n 10 sample.exe
floss -j sample.exe > sample_strings.json
ToolsFLOSS - 6
List capabilities with capa
capa checks the file against a library of rules and reports what the program appears able to do, with a mapping to ATT&CK techniques. Run it plainly first, then use -vv to see the addresses that support each result. Obfuscation limits what static analysis can see. If capa warns that the file looks packed, unpack the file or use a sandbox report before you trust the output.
capa sample.exe
capa -vv sample.exe
Toolscapa - 7
Test against YARA rules
Scan the file with rules you trust from a public rule set or rules of your own. A rule is a list of strings or byte patterns with a condition. Use -s to print the strings that matched. A match is a lead that points to a known family or technique. A non-match does not clear the file.
yara -s rules.yar sample.exe
ToolsYARA - 8
Write up and decide the next step
Record the hash, the tool names and versions, the packer result, key imports, strings and capabilities, and what you could not see. Stop at what static work supports. If you need to know what the file does when it runs, hand it to a team with a proper sandbox or use a disassembler in the lab, for example Ghidra or CAPE.
Where the evidence is stored
File hashComputed from the file (SHA-256)A fixed identifier for the exact file, used to look up and to compare copies
File format and packer verdictDetect It Easy resultType, compiler and language, packer or protector, and high entropy sections
Import tablePE header, shown by pestudioWindows functions the program asks for, which hint at network, file, process or crypto use
Resources and overlayPE resource section and data after the last sectionEmbedded files, icons, configuration data or a second program
StringsWhole file, found by pestudio and FLOSSAddresses, paths, commands, messages, and sometimes debug path leftovers
capa rule matchescapa outputCapabilities by rule name, with ATT&CK mapping and supporting addresses
YARA matchesyara outputWhich rules fired and which strings matched
Check your result
- Compare imports from pestudio with the capabilities capa reports. A network capability should have matching networking imports, or an explanation such as a packer.
- Check strings from FLOSS against pestudio's string view. Plain strings must appear in both.
- Run Detect It Easy and capa on the same file before and after unpacking, and compare the results.
- Hash the sample before and after the work. The values must match.
Common mistakes
- Double-clicking the file on a normal computer to see what it does.
- Leaving the VM on the default host-only network, shared folders on, or the VM connected to the internet.
- Uploading a sample from a real case to an online scanner without permission.
- Trusting capa or strings output from a packed file as if it were complete.
- Treating a YARA match or a high entropy value as a verdict. They are leads.
Write it up
A short, careful way to state this kind of finding in a report. Change the details to match your own results.
The file [name] (SHA-256 [hash]) was examined statically in an isolated VM and was not run. Detect It Easy identified it as [format, compiler, packer or none]. FLOSS [version] found the strings [defanged examples], and capa [version] matched [capabilities]. These are indicators of possible behaviour and not proof of what the file did. Dynamic analysis was not performed.
What this does not prove
- Static triage shows what a file contains and may do. It does not show that it ran, what it did, or who sent it.
- Packed or obfuscated files hide most of their content. Results on them can mislead.
- Strings and imports can be planted to mislead. Compile times and version information can be faked.
- capa, Detect It Easy and pestudio use rules and heuristics, which give leads and sometimes false hits.
- FLOSS uses emulation to decode strings. It does not decode every file, and its output needs checking.
- The file can be live malware. Rules on handling and reporting differ by country and agency.
Practise on public data
EICAR test file, plus your own harmless programs (no safe public malware set verified)
We did not find a public set of real malware that is safe to handle. Real sample sites such as MalwareBazaar and the exercises on malware-traffic-analysis.net are live malware and need an isolated lab. The EICAR file is a harmless 68-byte test string made to trigger antivirus. It is a DOS program, so it is good for hashing and handling practice but not for capa or pestudio.
Your task. Part 1: download the EICAR test file inside your lab VM and hash it. Part 2: compile a small harmless program of your own, run Detect It Easy, pestudio, FLOSS and capa on it, then pack a copy with the open-source UPX packer and run the same tools again. Write down what changed.
Your antivirus may block the EICAR file when it is downloaded or hashed. That is normal. Do the exercise only in the lab VM, and read EICAR's page about the file first.
Where to go next
- Does this Office document contain a harmful macro? Examine an Office document that may have dropped the program
- Is this suspicious email a phishing attempt? Trace the email that delivered it
- What was running on this computer? A first look at a RAM dump Look for the program in memory on an affected computer
- Which programs were run on this Windows computer? Check whether the program ran on a Windows computer
Sources and further reading
- capa on GitHub (Mandiant)
- Google Cloud blog: FLOSS version 2
- SANS ISC: Triaging suspicious files with pestudio
- Zeltser: VMware network isolation for malware analysis
- SANS: Designing a malware analysis lab with REMnux
A study guide written in our own words. It is not a legal or laboratory procedure. Follow your own lab's approved method on real cases. Last reviewed 24 Nov 2026.