Instiq
Chapter 3 · Host-Based Analysis·v1.0.0·Updated 7/20/2026·~16 min

What's changed: Initial version

3.5Log interpretation and malware analysis output

Key points

Covers the ability to read events from OS, application, and command-line logs and from records that SIEM/SOAR aggregate and automate, the concept of the detonation chamber/sandbox that runs a sample in an isolated environment, and the judgment of leveraging its analysis output (hashes, URLs, system/event/networking information) as IoCs.

A SOC's daily work comes down to "reading logs and assembling events." But logs differ in granularity and vocabulary across OS, application, and command line; SIEM correlates them across sources, and SOAR automates routine responses. Further, an unidentified sample is safely executed in a sandbox (detonation chamber), and its behavior (hashes of dropped files, contacted URLs/IPs, registry changes) is extracted as IoCs. This section addresses the judgment of reconstructing "what happened" from a single log line or an analysis report and deciding the next move.

3.5.1Log sources and SIEM/SOAR

  • OS/app/CLI logs—OS logs (Windows event logs, Linux /var/log) show logons and service state; application logs (e.g., a web server's access log) show app-specific events; CLI logs (shell history, sudo/audit logs) show the commands executed. For example, sshd[2011]: Failed password for invalid user admin from 203.0.113.5 signals an SSH brute-force. Granularity differs, so combine them to assemble the event.
  • A SIEM collects, normalizes, and correlates many logs to raise alerts on attacks invisible in a single log (e.g., a chain of auth failures spanning multiple hosts). If time sync (NTP) breaks, correlation goes wrong, so timestamp consistency is a prerequisite.
  • A SOAR receives detections from a SIEM and the like and automates/semi-automates response along a playbook (e.g., auto-blocking a suspicious IP, isolating an endpoint, opening a ticket). It accelerates repetitive first-line response and frees analysts to focus on cases needing judgment.

3.5.2Sandbox and analysis output

  • A sandbox/detonation chamber is dynamic analysis that actually runs (detonates) a suspicious sample in an environment isolated from production and observes its behavior. Even where static analysis (examining structure without running) is stymied by obfuscation, it can reveal actual behavior. However, advanced malware performs sandbox evasion (detecting the virtual environment or delaying execution), so "no reaction" does not necessarily mean "safe."
  • Analysis output—the report lists the hashes (MD5/SHA-256) of created/modified files, contacted URLs/domains/IPs, registry/filesystem changes, launched processes, network behavior, and more. As IoCs, these can be fed into a SIEM or EDR to confirm contamination of other hosts and to block. Hashes in particular are indicators that uniquely identify a sample.
Exam point

Most-tested: OS logs = logon/service, app logs = app-specific, CLI logs = executed commands; SIEM = aggregate/normalize/correlate into alerts (time sync is a prerequisite); SOAR = automate response via playbooks; sandbox/detonation chamber = run in an isolated environment and observe behavior (watch for evasion); and analysis-output hashes/URLs/IPs are used as IoCs for lateral-scope confirmation. When you see a log line or a report, instantly judge what each source can and cannot tell you.

A user reports "I opened the attachment but nothing happened," and you are examining that attachment. First, static analysis takes a hash and checks it against known verdicts, but there is no hit (possibly unknown/variant). Because it is obfuscated and its intent is unreadable from structure alone, you run it in an isolated sandbox (detonation chamber). The report shows this behavior: after execution it creates a misleadingly named file svchost32.exe (SHA-256 recorded), beacons to a URL hxxp://malicious-update[.]example/gate.php, and registers itself under HKCU\...\Run. Concluding "nothing happened in the user's environment, so it is harmless" is wrong here—advanced malware performs sandbox evasion, yet in a real user environment it may fire when conditions are met, so "no reaction" is not "safe." Rather, the behavior the sandbox revealed is its true nature. The next move is to extract the report's hashes, contacted URLs/IPs, and the Run-key registration name as IoCs, feed them into the SIEM, and use cross-source correlation to surface "on which other endpoints is there a file with the same hash or traffic to the same URL." For any endpoints that hit, run a SOAR playbook to auto-isolate, block the IP, and open a ticket, accelerating first-line response. Choosing the right log source matters too: web proxy/DNS logs show whether there was traffic to that beacon URL (an app/network fact), OS logs show the Run-key registration or service-creation traces, and CLI/audit logs show manual lateral-movement commands—a single log shows only a fragment, and only bundling them in a SIEM yields the "whole picture of the compromise." In short: use the sandbox to establish "what the sample does," turn its output into IoCs, and use SIEM/SOAR to confirm and stop "how far it spread"—this flow is the practical backbone linking dynamic analysis and log operations.

SourceWhat it mainly tellsExampleWhere it helps
OS logLogon, service, persistenceSecurity 4625, Run-key registrationTrack auth anomalies and auto-start
App/CLI logApp-specific events, executed commandsWeb access log, `sudo`/audit logConfirm attack input and manual actions
SIEMWhole picture via cross-correlationAuth-failure chain across hostsDetect attacks invisible in a single log
SOARAutomate response via playbookAuto-block/isolate a suspicious IPAccelerate repetitive first-line response
Sandbox outputSample behavior = IoCsHashes, contacted URL/IP, dropped filesTurn into IoCs; confirm scope via SIEM/EDR
Warning

Trap: "Nothing happened when run in the sandbox, so the sample is completely harmless" is wrong—advanced malware performs sandbox evasion (virtual-environment detection, delayed/conditional firing), so "no reaction" is not necessarily "safe." Also wrong: "the hashes and URLs in the analysis report are just recorded and done"—they gain value only when fed as IoCs into a SIEM/EDR to confirm contamination of other hosts and to block. Note too that SIEM correlation goes wrong if time synchronization (NTP) consistency breaks.

OS/app/command-line logs and sandbox output used as IoCs.
How to safely analyze a sample and extract IoCs

3.5.3Section summary

  • OS logs show logon/persistence, app/CLI logs show app events/executed commands, a SIEM builds the whole picture via cross-correlation, and a SOAR automates response via playbooks—each source tells you different things
  • A sandbox (detonation chamber) is dynamic analysis that runs a sample in isolation and observes behavior; "no reaction" is not "safe" (watch for sandbox evasion)
  • Analysis-output hashes/URLs/IPs/registry changes are fed as IoCs into a SIEM/EDR to confirm contamination of other hosts and to block

Sign in to track progress — Log in.

Quick check

(just a quick review)

Q1. When a user's opened attachment is run in a sandbox (detonation chamber), it creates a misleadingly named file, beacons to an external URL, and registers itself under HKCU\...\Run. Meanwhile nothing visibly happened on the user endpoint. What is the most appropriate SOC analyst judgment?

Q2. You want to detect an attack in which numerous authentication failures chain across multiple hosts in a short time. A single host's logs alone do not reveal the whole picture. Which mechanism best fits this purpose?

Q3. Each time the SIEM detects an attack from a specific suspicious IP, analysts manually repeat blocking the IP, isolating the endpoint, and opening a ticket, and cannot keep up. Which mechanism is most appropriate to accelerate this repetitive first-line response?

Check your understandingPractice questions for Chapter 3: Host-Based Analysis