4.3
Unit 4 · Securing Devices

Protecting Devices

Finding weaknesses was step one. Now you harden the farm's devices — with policies, anti-malware, patching, and a host-based firewall.

Welcome to the AgriNova Device Hardening Workshop. You've inventoried the devices (4.1) and locked down logins (4.2). Now you reduce the chance an attack succeeds at all by protecting each device: writing security policies, installing anti-malware, keeping software updated, and configuring a host-based firewall that controls which traffic reaches the machine.

Device hardening is the process of reducing a device's attack surface — removing weaknesses and adding layers of defense so there are fewer ways in and faster ways to stop an intruder. This is the AP skill Mitigate Risk in pure form.

Set Policy

Managerial controls — written device security policies — tell everyone how devices must be configured and maintained.

Defend & Update

Anti-malware catches malicious code; patching closes known holes before attackers use them.

Filter Traffic

A host-based firewall allows only needed traffic and blocks the rest — shrinking the attack surface.

AP Learning Objectives
  • 1Identify managerial controls related to device security.
  • 2Explain how anti-malware software can make a device more secure.
  • 3Explain why keeping a device's OS/software updated makes it more secure.
  • 4Configure a host-based firewall.
Scenario Setup — Securing Connected Farm Equipment

AgriNova's devices work but are soft targets: no written policy, expired anti-malware on the office laptops, the data server running months of missed updates, and the irrigation controller accepting connections from anywhere. In this workshop you build the policy, choose anti-malware actions, prioritize patches, and configure a host firewall — all on a safe, fictional network.

Big Idea

Protection is layered. No single control is enough — policies set the rules, anti-malware and patches remove known threats, and a host firewall limits what can even reach the device. Together they reduce the attack surface and mitigate risk.

What You Will Learn

You'll identify managerial controls, explain how anti-malware and updates harden a device, configure host-firewall allow/block rules, and assemble a complete secure-device checklist — building fluency with the AP Mitigate Risk skill.

Core Concept

Layers of Device Protection

Policies, anti-malware, updates, and firewalls stack into a defense that's stronger than any single layer.

Device protection works in layers (defense in depth). If one layer fails, the next still stands. AP groups protections into controls you should recognize:

  • Managerial controls (policy): written rules — a device security policy, acceptable-use rules, update schedules, who may install software.
  • Anti-malware software: scans for, blocks, and removes malicious code; updates its definitions to catch new threats.
  • Software/OS updates (patching): fixes known vulnerabilities so attackers can't reuse published exploits.
  • Host-based firewall: runs on the device itself and decides which network traffic is allowed or blocked.
Device Hardening Stack — layered protection FARM DEVICE Host-based firewall (allow/block traffic) Anti-malware (scan & remove) Patching / software updates (close known holes) Managerial controls / device security policy more layers = smaller attack surface
Figure 1 — Each layer wraps the device; an attacker must defeat all of them, not just one.
Cause → Effect: Why Updates Matter Cause: a vendor publishes a patch for a flaw in the irrigation controller's software — which also tells attackers the flaw exists. Effect if you don't patch: attackers reuse the now-public exploit against your unpatched device. Effect if you patch promptly: the hole is closed before they can use it. Updating is one of the highest-impact, lowest-cost mitigations.
Lab 1

Device Security Policy Builder

Toggle the managerial controls AgriNova should require. Build a policy and see your coverage score.

Require automatic software/OS updates patching schedule
Mandate anti-malware on all endpoints with auto-updating definitions
Enable host-based firewall by default deny-by-default
Restrict software installation rights least privilege
Maintain a device inventory & review schedule know your assets
Disable unused services & ports reduce attack surface
AgriNova Device Security Policy

Toggle controls above to draft the policy.

0
No policy yet — devices rely on luck.
Key Vocabulary

Terms for MCQ and Device Security Analysis

Definitions you'll need for multiple choice and free-response answers.

Device Protection Vocabulary
TermDefinitionWorkshop Example
Device hardeningReducing weaknesses to make a device tougher to attack.Turning on the firewall + patching.
Attack surfaceAll the points where an attacker could try to get in.Open ports, extra apps, old software.
Managerial controlA policy/administrative rule that governs security behavior.The device security policy.
Device security policyWritten rules for how devices must be configured & maintained."All laptops must run anti-malware."
Anti-malwareSoftware that detects, blocks, and removes malicious code.Scans laptops and quarantines threats.
Definition updateNew data that lets anti-malware recognize the latest threats.Daily signature refresh.
Patch / updateVendor fix that closes a known software vulnerability.Server OS security update.
Host-based firewallFirewall running on the device, filtering its own traffic.Built-in firewall on the laptop.
Allow / block ruleA firewall instruction permitting or denying specific traffic.Allow port 443; block all else.
Default denyBlock everything unless explicitly allowed.Safest firewall starting posture.
Control Types (for FRQ)
Control TypeWhat it isExamples
Managerial / administrativePolicies and procedures that direct behavior.Security policy, update schedule, training.
TechnicalTechnology that enforces protection.Anti-malware, firewall, patching tools.
PhysicalReal-world barriers protecting devices.Locked server room (covered in 4.4-style topics).
device hardening attack surface managerial control device security policy anti-malware patching host-based firewall allow / block default deny
AP Exam Focus

What the Exam Wants You to Explain

Skill in focus: Mitigate Risk — choose protective controls and explain how each reduces risk.

AP Skill Alignment — Mitigate Risk

A complete AP answer about protecting devices: (1) names a control (anti-malware, patching, host firewall, policy), (2) explains the mechanism — how it works, and (3) ties it to the risk it reduces. "Update the OS" earns little; "update the OS to close the known vulnerability before attackers exploit it" earns full credit.

Common MCQ Traps
  • Confusing a host-based firewall (on the device) with a network firewall (at the perimeter).
  • Thinking anti-malware works without definition updates — outdated definitions miss new threats.
  • Calling a firewall a managerial control — it's a technical control; the policy requiring it is managerial.
  • Believing patching is optional once a device "works fine."
Scenario Connection

If a stem says a device "runs software that hasn't been updated in a year," the expected mitigation is patching/updates to close known holes. If it says the device "accepts connections from any address," the fix is a host firewall with default-deny allow/block rules.

Analyst Note — Evidence Artifact
[HARDENING REPORT] office-laptop-03 (fictional)
anti-malware: installed, definitions 43 days old
OS updates: 17 pending (3 critical)
host firewall: OFF
open inbound ports: 22, 80, 3389, 8080 (3389 = remote desktop)

Read it like AP wants: stale definitions = anti-malware weakened (update them); 3 critical patches pending = patch immediately; firewall OFF + open remote-desktop port = large attack surface (turn on the host firewall, block 3389). Each finding maps to a specific mitigation.

Patch Risk Reduction Flow Vendor releases a patch Flaw now public attackers learn it too RISK RISING Unpatched device exposed to exploit HIGH RISK Patch applied hole closed RISK LOW The gap between "patch released" and "patch applied" is the danger window — close it fast.
Figure 2 — Risk spikes once a flaw is public and stays high until you apply the update.
Worked Example

Lab: Configure a Host-Based Firewall

The flagship lab. Build allow/block rules for the farm server, then test traffic against your ruleset and read the AP-style reasoning.

A host-based firewall inspects traffic at the device and applies your rules in order: traffic that matches an allow rule passes; everything else is blocked by default. Start from default deny and open only what the device truly needs — that's how you shrink the attack surface.

Lab 2

Anti-Malware Decision Lab

For each fictional alert, choose the best anti-malware response. Instant feedback explains the reasoning.

Decided: 0 / 4
Host Firewall Decision Flow — incoming packet Packet arrives Matches an ALLOW rule? ALLOW — passes BLOCK (default deny) yes no Default deny means anything not explicitly allowed is blocked — the safest posture.
Figure 3 — The firewall checks each packet against the allow rules; no match means block.
Lab 3

Host-Based Firewall Configuration Simulator

Add allow/block rules for the FarmGrid server, then test sample traffic against your ruleset (default deny).

No rules yet — with default deny, all traffic is currently blocked.

AP-Style Reasoning Walkthrough

Prompt: "The FarmGrid server is reachable on several ports from any address. Configure a host-based firewall to mitigate this risk and justify your rules."

Model answer: Start with default deny so nothing is allowed unless specified. Allow the HTTPS dashboard (443) only from the farm office network, and allow SSH/remote admin only from the admin VPN. Block the legacy web panel (8080) and remote desktop (3389) from the internet entirely.

Why it mitigates risk: limiting which services and sources can reach the server reduces the attack surface — an attacker on the open internet can no longer even connect to the risky ports, so most remote attacks fail before they start. Combined with patching and anti-malware, this is layered defense.

Common Mistakes

Misconceptions That Cost AP Points

Recognize the wrong answer and you'll avoid writing it.

× "Anti-malware alone fully protects a device."

Anti-malware is one layer and can miss brand-new threats, especially with outdated definitions. You still need patching, a firewall, and policy.

AP trap: single-control answers; AP rewards layered defense.

× "A host firewall and a network firewall are the same."

A host-based firewall runs on the individual device; a network firewall sits at the network's edge. Both filter traffic but at different places.

AP trap: "on the device" signals host-based.

× "Updates are optional if the device works fine."

"Works fine" doesn't mean "secure." Unpatched known flaws are among the easiest things for attackers to exploit.

AP trap: stems that say a device "still functions" — still patch it.

× "A firewall is a managerial control."

A firewall is a technical control. The policy requiring firewalls is the managerial control.

AP trap: separate the rule (managerial) from the tool (technical).

× "Allow-all is fine if I block the bad stuff."

You can't enumerate every bad thing. Default deny (block unless allowed) is far safer than allow-all.

AP trap: "block known bad" leaves unknown threats open.

× "Installing anti-malware once is enough."

Without regular definition updates, anti-malware can't recognize new malware. It must stay current.

AP trap: ignore the word "outdated" in the stem at your peril.

Reference & Practice Tools

Protection Reference + Hardening Tools

A quick-reference table plus three hands-on tools: a patch board, a vulnerability matcher, and a secure-device checklist.

Protection → What It Does → Reduces
ProtectionHow it worksAttack surface it reduces
Device security policySets required configurations & behavior.Human/process gaps.
Anti-malware (updated)Detects, blocks, removes malicious code.Malware infection.
Patching / updatesCloses known software vulnerabilities.Exploits of public flaws.
Host-based firewallAllows needed traffic, blocks the rest.Remote/network exposure.
Disable unused servicesRemoves features attackers could target.Extra entry points.
Lab 4

Patch Prioritization Board

Set severity and exposure for each pending update. The board computes which to patch first.

Pending updateSeverityExposurePriority
Set values to rank the patch queue (severity × exposure).
Lab 5

Mitigation-to-Vulnerability Matcher

Click a vulnerability, then click the protection that best mitigates it. Correct pairs turn green.

Anti-malware (updated)
Patching / updates
Host-based firewall
Security policy
Matched: 0 / 6
Lab 6

Secure Device Checklist

Work through the hardening checklist for a new farm device. Your readiness meter fills as you complete steps.

  • Add the device to the asset inventory
  • Change default credentials & set a strong password
  • Apply all OS/software updates and enable auto-update
  • Install anti-malware with current definitions
  • Enable host-based firewall (default deny)
  • Disable unused services, ports, and accounts
0%
Not started — the device is not yet hardened.
Practice & Wrap-Up

Mini AP Quiz + Takeaways

Five quick AP-style questions with instant feedback, then your snapshot for review.

Lab 7

Mini AP-Style Quiz

Choose the best answer. Explanations appear instantly; your score totals at the end.

5 Key Takeaways
  • 1Device protection is layered: policy + anti-malware + patching + host firewall, each covering different risks.
  • 2Managerial controls (policies) set the rules; technical controls (firewall, anti-malware) enforce them.
  • 3Anti-malware only works well with current definitions — keep it updated.
  • 4Patching closes known vulnerabilities before attackers can reuse public exploits.
  • 5A host-based firewall with default deny allows only needed traffic, reducing the attack surface.
device security policy managerial control anti-malware definition updates patching host-based firewall allow / block default deny reduce attack surface
Final AP Exam Tip

To "mitigate risk" when protecting a device, name the control, explain how it works, and state which risk it reduces — e.g., "host firewall with default deny → blocks unneeded ports → shrinks the attack surface."

One Mistake to Avoid Don't rely on a single control. "Just install anti-malware" is a weak answer — AP wants layered protection: policy, updates, anti-malware, and a firewall working together.
09
Section · 09

Practice — attempt these now.

AP-style assessments aligned to this lesson. Time them.

FRQ Practice 20 min 9 marks Pending

Unit 4 Topic 4.3 — Device Hardening Plan

AP-style topic practice assessment

Start
Topic Quiz 40 min 30 marks Pending

Unit 4 Topic 4.3 — Protecting Devices

AP-style topic practice assessment

Start