Before
- Open the file and see what happens
- Assume the VM is safe
- Treat surprise as an interesting result
Module 1 of 17
Create a defensible safety boundary before opening, inspecting, or executing any security artifact.
Start here
Before
After
Malware analysis is not permission to investigate any file or system that looks interesting. Work only on systems you own or on systems for which the owner has given clear, written authorization. The scope must name the allowed artifacts, environment, time window, people, and outputs. It must also say what is outside scope. A course fixture is authorized because its author created it for the exercise; a suspicious attachment from work is not.
Authorization protects more than the learner. It protects customers, colleagues, evidence, and the incident-response process. If a real compromise appears during a lesson, stop the course exercise and follow the organisation's incident process. Do not upload the artifact to a public service, forward it to another learner, or continue alone. Real evidence may contain personal information, trade secrets, regulated data, or tokens that are still valid.
| Question | Acceptable answer before starting |
|---|---|
| Who owns the system and artifact? | The course owns the supplied fixture and the learner owns the disposable lab. |
| What may I do? | Only the inspection and harmless execution steps written in the lesson. |
| Where may I do it? | Only inside the verified disposable environment. |
| What must make me stop? | Any mismatch, unexpected connection, privilege request, or access outside the lab path. |
This course uses three safety classifications. Inert means the material cannot execute, such as a text manifest, screenshot, source listing, or synthetic metadata. Synthetic means the events are invented to model an investigation without producing the underlying behavior. Benign executable means the learner compiles a transparent, harmless utility from supplied source and observes only its declared behavior.
The label drives the control, but it never replaces judgment. Inert evidence can still leak confidential data. A harmless executable can still behave unexpectedly because of a build error or environment difference. The safest useful lab is the right choice: prefer an inert fixture, use synthetic telemetry when behavior is the learning goal, and run a source-built benign program only when process behavior must be observed.
Docker alone is not the isolation boundary for an untrusted executable. Containers share a host kernel and are designed primarily for workload packaging. This course does not execute untrusted samples at all. When a lesson uses a benign executable, it still runs inside a disposable virtual machine so the safety workflow becomes a habit.
A defensive lab should fail closed. If isolation cannot be demonstrated, the exercise does not start. Use a current hypervisor, create a clean snapshot, remove every virtual network adapter, and disable shared folders, clipboard sharing, drag and drop, USB passthrough, host mounts, cloud sync, and password managers. Use no personal or employer account inside the guest.
Record the expected artifact hash and the exact behaviors permitted by the lesson. For a benign utility, that might be reading its own fixture directory and writing a clearly named result file inside a temporary course folder. The utility must not accept arbitrary target paths, URLs, commands, plugins, or elevated permissions. The source remains visible so the learner can compare intent with observation.
Containment also includes recovery. Export only the expected notes or synthetic logs, power off the guest, restore the clean snapshot, and verify the isolated state before the next lab. A screenshot of the preflight result and snapshot name is evidence that the control was applied, not just assumed.
A stop condition removes improvisation at the moment uncertainty rises. Stop immediately if a checksum differs, a fixture requests elevation, the guest has an unexpected route, a security control changes state, or a process touches anything outside the documented lab directory. Preserve the provided logs, shut down the guest, and ask for review.
Do not treat a surprising result as a challenge to explore. In production, the same discipline prevents an analyst from changing evidence or widening an incident. A good analyst can say “the evidence is insufficient” and document the next authorized action. Confidence and uncertainty belong in the report.
For every exercise, record the authorization reference, classification, artifact identifiers, network policy, snapshot name, start and finish time, expected behavior, observed behavior, stop conditions, and teardown result. Keep this record beside the technical notes. It lets another engineer reproduce the safe process without guessing.
This is also useful in product engineering. Plugin test harnesses, document converters, dependency scanners, and build workers all process inputs that may be hostile. The same pattern applies: least privilege, explicit inputs, no ambient credentials, restricted egress, bounded outputs, observable behavior, and a disposable worker.
The published duration includes active practice, not video playback alone. Complete each block with the course-owned evidence and retain the stated deliverable so another reviewer can reproduce your reasoning.
| Study block | Time | Required evidence |
|---|---|---|
| Guided lesson and primary-source review | 50 minutes | Annotated notes that separate observations, hypotheses, limits, and version-sensitive facts. |
| Worked evidence walkthroughs | 41 minutes | Reproduce the lesson's tables or decision flow and challenge at least two assumptions. |
| Independent practice rounds | 41 minutes | Apply the method to two alternate records in the sanitized evidence pack and compare the conclusions. |
| Required lab | 1h 15m | A completed preflight record showing authorization scope, no guest network route, disabled host integrations, snapshot identity, teardown result, and explicit stop/escalation decisions. |
| Knowledge check and review | 33 minutes | Answer the evidence check, review the rubric, and record one production follow-up. |
Question: A learner receives a suspicious file from a colleague and wants to substitute it for the inert course fixture. The file has not been approved by the incident-response team. What should the learner do?
Do not open, upload, copy into the lab, or continue the lesson with it. Stop the exercise, preserve the message and original location without altering them, and use the organisation's authorised incident-reporting path. The course scope covers only instructor-authored fixtures.
Use these primary sources for the current standard or tool behavior. The course records framework versions so mappings can be reviewed when upstream guidance changes.
Real world
Production notes
Common mistakes
Security risks
Tradeoffs
Pros
Cons
Pros
Cons
Think like an engineer
Key terms
Explicit permission that defines who may perform which actions on named systems and artifacts.
The systems, artifacts, time window, actions, and outputs included in an authorised activity.
A design in which missing or failed safety checks prevent the activity from starting.
An isolated environment intended to be restored or destroyed after a bounded task.
A predefined observation that requires work to stop and follow an escalation path.
Exercises
Create a repeatable preflight record that proves a disposable virtual machine is isolated before any later benign-executable exercise.
Expected evidence
A completed preflight record showing authorization scope, no guest network route, disabled host integrations, snapshot identity, teardown result, and explicit stop/escalation decisions.
Assessment criteria
Course-owned resources
Teardown
Recap
Related resources