Easy: fundamentals
Malware analysis and threat intelligence, from a defender point of view.
Name the main malware categories. easy
Viruses and worms (self-replicating), trojans (disguised), ransomware (extortion by encryption or data theft), spyware and stealers, backdoors and remote access trojans, rootkits (hide presence), botnets, loaders and droppers, and fileless or living-off-the-land activity.
Static versus dynamic malware analysis? easy
Static analysis examines a sample without running it (strings, headers, imports, hashes, disassembly). Dynamic analysis runs it in a controlled sandbox and observes behaviour: files, registry, processes and network. Combine both.
Why must malware analysis happen in an isolated lab? easy
Samples can spread, call home and damage systems. Use isolated virtual machines with snapshots, no connection to production networks (or a simulated internet), and strict handling procedures.
What is threat intelligence? easy
Analysed, contextual information about adversaries and their methods that supports decisions. Levels are strategic, operational, tactical and technical.
What are TTPs? easy
Tactics (goals), techniques (methods) and procedures (specific implementations) that describe how an adversary operates. They are catalogued in MITRE ATT&CK.
What is the Traffic Light Protocol? easy
A scheme for sharing sensitivity: TLP:RED (named recipients only), TLP:AMBER (limited organisational sharing), TLP:GREEN (community) and TLP:CLEAR (public). It makes sharing rules explicit.
Medium: analysis methods
Defensive analysis workflow.
What does a basic triage of a suspicious file look like? medium
Record hashes, identify file type, check reputation sources, read strings and metadata, check the signature and compile time, view imports for suspicious capabilities, and then detonate in a sandbox to see behaviour and network indicators. Produce IOCs and detection logic from the findings.
# safe, read-only first look at a sample inside an isolated analysis VM
sha256sum sample.bin
file sample.bin
strings -n 8 sample.bin | head -50What are packers and obfuscation, and how does the analyst deal with them? medium
Packing compresses or encrypts code to hinder static analysis and signature matching. Analysts look for high entropy and few imports, then unpack by running in a controlled environment and dumping from memory, or by using unpacking tools. Obfuscated scripts are decoded step by step.
How is malware persistence and command-and-control identified? medium
Persistence by monitoring Run keys, scheduled tasks, services and startup items created during detonation. C2 by recording DNS, HTTP and TLS connections, beacon intervals and certificates, which become indicators and detection content.
How do you turn an analysis into detections? medium
Extract behaviours (process chains, registry changes, mutexes, network patterns) and robust strings, write YARA rules for files and memory, Sigma for host logs, Suricata for network traffic, and test them for false positives against clean data.
rule Example_Suspicious_Loader
{
meta:
description = "illustrative rule, tune before use"
strings:
$s1 = "CreateRemoteThread" ascii
$s2 = "VirtualAllocEx" ascii
$cfg = { 4D 5A 90 00 }
condition:
$cfg at 0 and all of ($s*)
}What is the Diamond Model? medium
It describes an intrusion event by adversary, capability, infrastructure and victim. Pivoting across these features connects events into campaigns and supports attribution reasoning.
How reliable are IOCs, and how do they age? medium
Hashes and IPs are quick to change and may be shared hosting. Domains and certificates last a bit longer. TTPs last longest. Attach confidence, source and expiry to every indicator and prefer behaviour-based rules.
What are intelligence requirements? medium
Questions stakeholders need answered (which actors target our sector, which vulnerabilities matter now). They direct collection and analysis so the output is useful instead of a feed of everything.
How do you assess the credibility of a source? medium
Use ratings for source reliability and information credibility (the Admiralty system), look for corroboration, check for first-hand access, consider bias and motive, and state confidence levels in your assessment.
Hard: depth
Analysis, attribution and programme design.
Explain the intelligence cycle. hard
Direction (requirements), collection, processing, analysis, dissemination and feedback. Feedback closes the loop so products improve.
Why is attribution hard, and how should you treat it? hard
Attackers reuse tools, buy access, imitate others and share infrastructure. Attribution should state confidence with evidence and rarely matters for immediate defence: detecting and blocking the behaviour matters more than naming the actor.
How do you operationalise threat intelligence in a SOC? hard
Ingest curated feeds into the SIEM and EDR with scoring and expiry, map actor TTPs to detection coverage, drive hunts from new reports, brief teams on relevant campaigns, and measure how intelligence led to detections or prevented incidents.
Describe how ransomware families are tracked at a defensive level. hard
Collect samples and ransom notes, extract configuration and infrastructure, track affiliate behaviour and leak sites through public reporting, map TTPs, and distribute detection and hardening guidance. Never engage with criminals outside legal and organisational approval.
What is a sandbox evasion technique and how do defenders respond? hard
Malware may delay execution, check for virtual machine artefacts or user activity, or require specific triggers. Defenders use longer runs, more realistic environments, instrumentation at multiple levels and manual analysis when automated runs show too little behaviour.
How do you manage safety and legal risk when handling samples? hard
Follow a handling policy: isolated lab, access controls, no live execution on production networks, legal review before sharing samples or engaging with infrastructure, and secure disposal. Respect licensing and laws on possession and sharing.
Scenarios
How you would investigate and report.
An unknown executable was found on an endpoint. What is your approach? hard
Preserve the file and hash it, check reputation, analyse statically and in a sandbox, extract indicators, search the estate for matches, hand findings to incident response for scope, and write detections. Report confidence and unknowns clearly.
A new threat report names an actor who targets your industry. What do you do within a day? hard
Extract techniques and indicators, check coverage in your detections, retro-hunt in logs for indicators and behaviours, patch or mitigate any exploited vulnerabilities, and brief the SOC and leadership with a short actionable summary.
A colleague wants to publish an indicator list including internal hostnames. Response? hard
Remove sensitive internal details, check sharing rules and TLP markings, review with legal if needed, and share only what helps others detect the threat.
Malware and CTI interviews reward method, safety and clear communication. Describe a repeatable workflow, how you keep the lab safe, how you express confidence, and how analysis becomes detections that the SOC can use.
More security interview sets
- SOC Analyst L1 (Tier 1)
- SOC Analyst L2 (Tier 2)
- Network Security
- AWS Security
- Cloud Security (Multi-Cloud)
- Application Security
- Container and Kubernetes Security
- Identity and Access Management
- Incident Response and Forensics
- Detection Engineering and Threat Hunting
- Vulnerability Management
- Penetration Testing and Red Team
- Cryptography and PKI
- GRC and Compliance