Interview question
You have an unknown Windows executable and two hours. What do you do, and what would you be able to tell the incident team at the end?
A time-boxed triage question. The constraint is the point — it tests prioritisation, not whether you can reverse engineer.
What a strong answer covers
- Works static-first in an isolated environment, before any execution.
- Static steps: file type confirmation, hashes including a fuzzy hash for clustering, PE structure, entropy and packing indicators, strings including wide strings, import table for capability, signing status.
- Uses signature tooling — YARA for family identification, CAPA for capability mapping which outputs ATT&CK techniques.
- Dynamic steps in an instrumented isolated VM: process tree, injection, persistence mechanisms, file and registry changes, network behaviour.
- Prioritises configuration extraction as the highest-value output — C2 addresses, campaign identifiers, keys.
- Names sandbox caveats: evasion and sleep checks, dead C2 producing an inert-looking sample, staged payloads where only a loader was recovered.
- Frames the deliverable as answers to the incident team's questions, not a list of artefacts.
- States what is unknown and when to escalate to reverse engineering.
Expert answer
Static first, in an isolated environment, because it is fast and costs nothing.
Confirm what the file actually is rather than trusting the extension. Take SHA-256 for identity and a fuzzy hash such as ssdeep or TLSH for similarity clustering, which matters more for intelligence than exact matching. Look at PE structure — sections, entropy for packing indicators, and the import table, because the API surface tells you the capability. A very small import table usually means dynamic resolution, which is itself a finding. Pull strings, both ASCII and wide, looking for URLs, domains, IPs, registry paths, mutex names, user agents and build paths. Check whether it is signed and whether that certificate is valid, revoked or stolen.
Then run signature tooling: YARA rules for family identification, and CAPA for capability, which has the advantage of outputting ATT&CK technique mappings I can hand straight to detection engineering.
If static does not resolve it, detonate in an instrumented isolated VM. I want the process tree, any injection into other processes, the persistence mechanism — run keys, scheduled tasks, services, WMI subscriptions — what it drops and where, and the network behaviour including DNS, connection attempts, beacon interval and jitter, and URI patterns.
The single highest-value output is configuration extraction. Many families hold C2 addresses, a campaign identifier and keys in a decodable block, and public extractors exist for common families. That one artefact drives both the containment work and the infrastructure pivoting.
I would carry the caveats explicitly. The sample may check for a VM, a debugger, specific arguments, or the target's domain and locale, and do nothing if they are absent. If the C2 is already dead it will look inert, and absence of network activity is not absence of capability. And it may be a loader — the interesting behaviour could be in a stage I never received.
At the end I would not hand the incident team a list of artefacts. I would answer their questions: what family and at what confidence, what it can do mapped to ATT&CK, what infrastructure it talks to, whether this looks targeted or commodity, and therefore what to hunt for across the estate. Plus what I could not determine and whether it warrants escalating to reverse engineering — which I would recommend if the family is unknown and the configuration will not yield, or if a legal or attribution-critical judgement is going to rest on the code.
Mistakes that cost candidates points
- Detonating first without static triage.
- Producing an artefact list rather than answers to the incident team's questions.
- No mention of sandbox evasion or of dead infrastructure making a sample look inert.
- Missing configuration extraction as the priority output.
- Not saying where competence ends and reverse engineering should take over.
- Ignoring isolation and containment of the analysis environment.
You have read the answer, which is the easy part. Answer it in your own words and get graded against this same rubric, with the follow-up probe an interviewer would ask next.
Go deeper
Related questions
- How do the Diamond Model, the Cyber Kill Chain and MITRE ATT&CK relate to each other? Do they compete?
- An endpoint alert shows that a scheduled task was created which launches a PowerShell one-liner from a user's AppData directory. Map this to MITRE ATT&CK.
- You have one piece of evidence: a single IP address that a compromised host was beaconing to. Walk me through how you would develop this.
- Your CISO says "I want to know about ransomware." Turn that into something you can actually collect against.
- What is F3EAD, and why do some CTI teams prefer it to the traditional intelligence cycle?