Week 03 · lesson

Build a Malware Defense Plan

Knowing malware categories does not protect a system.

A defense plan has to answer a harder question:

Where can we interrupt the behavior before, during, and after execution?

This lesson turns the threat analysis from the first two lessons into a practical defensive design.

Think in layers

A malware defense can include controls at several layers.

Before execution

  • software updates
  • safer download policies
  • application allow-listing or reputation checks
  • user awareness
  • email filtering
  • least-privilege accounts

During execution

  • endpoint protection
  • process monitoring
  • suspicious-behavior alerts
  • network filtering
  • permission boundaries

After compromise

  • isolation
  • evidence preservation
  • credential reset
  • restoration from trusted backups
  • incident reporting
  • review of what allowed the event

If your plan has only one layer, ask what happens when that control fails.

The defense-in-depth idea

Defense in depth means using multiple controls so that one failure does not automatically become total compromise.

It does not mean installing every security product available.

Each layer needs a job.

Consider a fictional school laptop:

  1. browser warns about a suspicious download
  2. student ignores the warning and runs the file
  3. account lacks administrator privileges
  4. endpoint monitoring detects unusual startup behavior
  5. device is isolated from the classroom lab network
  6. trusted files can be restored from backup

No single step is perfect. Together they reduce the chance that one mistake becomes a larger incident.

Build a control-to-behavior matrix

Use these malware behaviors:

  • malicious attachment delivery
  • untrusted executable download
  • persistence after restart
  • credential collection
  • network propagation
  • file encryption

For each behavior, choose:

  • one preventive control
  • one detective control
  • one recovery or response control

Then explain the limitation of each choice.

Example:

BehaviorPreventDetectRecover/respondLimitation
File encryptionRestrict unnecessary write accessAlert on rapid unusual file changesRestore trusted backupBackups help only if they are current and protected

Safe scenario lab

A teacher provides a fictional event log from a classroom VM:

09:02 user downloaded project-viewer.zip
09:04 project-viewer.exe started
09:04 new startup entry created: ProjectViewerUpdate
09:05 browser credential store accessed
09:06 outbound connection to update-check.example
09:07 endpoint alert: unusual credential access
09:08 host isolated by lab policy

Do not run the file. Do not contact the fictional domain.

The log is the evidence.

Answer:

  1. Which event shows delivery?
  2. Which event shows execution?
  3. Which event suggests persistence?
  4. Which event creates a confidentiality concern?
  5. Which defensive action is already visible?
  6. Which evidence would you preserve before cleanup?
  7. Which credentials might need review or reset?
  8. What can you not conclude from this log alone?

Build an incident card

Create a one-page response card for the scenario.

Current evidence

List only the supplied observations.

Immediate objective

Examples might include limiting spread, preserving evidence, or protecting credentials.

First three actions

Rank them and explain why order matters.

Recovery condition

What has to be true before the device returns to normal use?

Verification

What evidence would show that the defensive action worked?

Human-centered defense

The Garden State Cyber curriculum treats human behavior as part of security.

That does not mean writing "train users" next to every problem.

Ask why the user made the risky choice.

  • Was the download source confusing?
  • Was the warning easy to ignore?
  • Did the user need administrator rights for normal work?
  • Was there pressure to finish quickly?
  • Was the approved software difficult to find?

Good security design reduces the number of dangerous decisions a person has to make correctly every day.

Make a safer system, not a perfect user

Choose one of these statements and redesign the environment around it:

"Students keep installing random utilities."

Do not answer only with "tell them to stop."

Consider trusted software sources, permissions, browser controls, classroom workflow, and recovery.

"People keep opening suspicious attachments."

Consider filtering, attachment handling, previews, awareness, reporting, and isolation.

"One infected device could affect the whole lab."

Consider network boundaries, shared accounts, permissions, monitoring, and recovery.

Create a five-control defensive stack.

Each control must have a different job.

Threat briefing

Use your historic malware case from Lesson 2 and answer:

  • Which control would have reduced the chance of initial compromise?
  • Which control would have reduced spread?
  • Which control would have improved detection?
  • Which control would have improved recovery?

If one control appears in all four answers, justify it carefully. Usually the incident needs more than one layer.

Evidence for Lesson 3

Submit:

  • control-to-behavior matrix
  • synthetic-log analysis
  • incident response card
  • five-control defensive stack
  • four-part threat briefing from your historic case

Finish with:

My defense plan assumes ________. If that assumption is wrong, the control most likely to fail is ________.

That final sentence is what turns a list of safeguards into engineering. Defenders have to know not only what should work, but what their design is counting on.