How it works
Hardening reduces unnecessary risk by using screen locks, approved software, secure settings, disabled unused services, and documented configuration baselines.
Pick controls that reduce routine compromise while allowing the device to do its job.
Common error
Installing one security tool does not replace patching, least privilege, backups, and secure configuration.
Unit 4 topics and evidence practice
Study four device-security topics through a fictional Cobalt Animation Workshop: device risk, authentication, protection, and detection. Cases, accounts, devices, addresses, and measurements are invented teaching examples. Use the comparison tables and worked evidence to reason through each question before opening its answer. The password-verifier exercise uses a public practice value and reproducible test salts. Original foundation lessons and exercises remain available.
4.1 Device Vulnerabilities and Attacks
Classify devices by their role and constraints, distinguish malware behavior from an unexplained symptom, and prioritize the actual exposure and consequence.
- 4.1.A Types of Computing Devices
- 4.1.B Malware Types
- 4.1.C Common Device Vulnerabilities
- 4.1.D Assessing Device Risk
Read topic 4.1 notes, evidence, and quick checks
4.1.A: Classify by purpose rather than physical size
Servers provide services to clients; personal computers support individual work; mobile/handheld devices include phones and tablets; embedded systems perform functions within other equipment. These categories can overlap: a small device can provide a server role, and a powerful controller can still be embedded. Virtual or hosted servers remain service assets. Inventory ownership, software/firmware, data, interfaces, support, and dependencies rather than inferring security from the case size.
Fit controls to mobile and embedded constraints
A loan tablet faces loss, shared-use, update, and enrollment issues. An embedded label controller may have limited logging, vendor-managed firmware, or no supported endpoint agent. Capabilities vary; embedded does not automatically mean slow, insecure, or safe. Use supported configuration, restricted paths, physical protection, and manufacturer/operational procedures. Coordinate updates or containment when a controller supports essential work instead of casually disconnecting or installing unsupported software.
4.1.B: Identify behavior, propagation, and disguise separately
A virus attaches to a host file/program and replicates when the relevant code executes; a worm can propagate across suitable paths without the same user-opened host-file step. A trojan presents a misleading purpose; a remote-access trojan adds unauthorized remote control. Ransomware can deny access through encryption or other disruption and may accompany data theft. One program can fit several descriptions, so explain the evidence rather than forcing mutually exclusive labels.
Recognize surveillance, triggers, concealment, and coordinated control
Spyware collects information covertly; a keylogger records keystrokes, though authorized tools need context before being labeled malicious. A logic bomb triggers on a condition. A rootkit conceals activity or access and can affect different system layers. Intrusive adware can be unwanted without every advertisement being malware. A bot is a controlled endpoint/program; a botnet is a coordinated group, not necessarily one distinct infection mechanism.
Fileless behavior changes the evidence, not the need to investigate
Some attacks run in memory or misuse legitimate interpreters and administration facilities. They can still leave process, account, configuration, network, or persistence records and may involve files indirectly. A file-only scan can miss behavior outside its coverage; modern tools may also inspect memory, scripts, and behavior. A legitimate script interpreter or periodic connection alone is not proof of compromise, and fileless does not mean no observable evidence.
4.1.C: Connect an entry vector to a real weakness
Outdated software, weak or default authentication, excessive privilege, exposed services, unsafe automatic execution, and unapproved software can create opportunities. Malformed input may exploit a flaw in the application processing it; not every unexpected file automatically executes code. A necessary open service is not itself proof of a vulnerability. Check service purpose, version, authorization, and reachability, and obtain updates through trusted channels.
Consider boot, firmware, and local access as part of the baseline
The operating system is not the only software on a device. Appropriate firmware maintenance, approved boot settings, physical access control, and supported boot-integrity protections can reduce selected risks. A setup password alone is not disk encryption, and an antivirus scan does not prove firmware integrity. Maintain recovery information and compatibility with required accessibility and support tools before changing the baseline.
4.1.D: Prioritize exposure, criticality, and recoverability
A device can have modest purchase value but support a critical shared service or hold sensitive credentials. Assess the asset, weakness, threat, likelihood, consequence, current controls, owner, and verification. An internet-reachable service with a relevant known-exploited flaw may need urgent approved action, while an isolated test device presents a different exposure. Record exceptions and temporary mitigations with review dates rather than assuming all devices can take the same update or agent.
| Device role | Example asset | Security requirements to check |
|---|---|---|
| Server | INV-22 inventory service serving other workshop devices. | Service exposure, account/role scope, patching, host rules, records, backup, and availability. |
| Personal computer | WS-14 artist workstation. | Standard daily account, approved tools, supported OS/browser, locking, and execution/identity evidence. |
| Mobile / handheld | Loan tablet used for asset check-in. | Enrollment, passcode/lock, supported updates, protected storage, appropriate recovery, and accountable handoff. |
| Embedded / IoT | A networked label-printer controller. | Vendor support, approved firmware/update route, limited interfaces, role-specific network access, and usable event reporting. |
| Term | Distinguishing behavior | Evidence limit |
|---|---|---|
| Virus | Replicates through a host file/program when relevant code executes. | Opening an ordinary document is not proof that replication occurred. |
| Worm | Propagates across suitable systems or paths. | Multiple affected devices need scope and propagation evidence, not just a shared symptom. |
| Trojan / RAT | Misrepresents a purpose; a RAT can provide unauthorized remote control. | A familiar filename or advertised function is not proof of approval or safety. |
| Ransomware | Denies access, often through encryption, and can accompany extortion or data theft. | A backup supports recovery but does not undo a separate confirmed disclosure. |
| Spyware | Covert information collection. | A process name alone does not establish what information was collected. |
| Keylogger | Records keystrokes. | Distinguish unauthorized capture from an approved accessibility or testing tool. |
| Logic bomb | Runs unwanted behavior when a specified condition is met. | A delayed event is not by itself proof of a deliberate trigger. |
| Rootkit | Conceals activity/access at an affected layer. | Absence from one process view is not conclusive; use suitable independent integrity/context evidence. |
| Adware / unwanted software | Intrusive advertising or unwanted behavior. | Not every advertisement or bundled application is proven malware. |
| Bot / botnet | A controlled endpoint/program or a coordinated group. | Periodic traffic alone does not establish a botnet or its operator. |
| Fileless behavior | Execution relies on memory or existing facilities, with possible indirect file use. | File-only visibility can be incomplete; other tools and records may reveal behavior. |
| Asset / condition | Why it matters | Proportionate next work |
|---|---|---|
| Internet-reachable service with a relevant exploited flaw | Exposure and consequences can raise urgency. | Validate applicability; use approved temporary restriction and a tested trusted update/recovery plan. |
| Loan device with old shared administrator access | Misuse, persistence, and weak accountability can affect several users. | Review named accounts and roles, remove stale privilege, and verify normal work and intended denials. |
| Controller with no supported endpoint-agent option | Unsupported controls could break its intended function. | Use owner/vendor-approved firmware and restricted interfaces/paths; monitor available events and plan replacement if needed. |
A disguised add-on needs execution and scope evidence
FICTIONAL WS-14 REVIEW
File label: preview-addon.exe; claimed purpose: animation codec helper
Approval inventory: no approved install request located
Process record: browser -> preview-addon.exe -> script-host
File quarantine: recorded after the first process execution
Other-device execution and data disclosure: not established
A model summary calls every script-host process a worm.The unapproved add-on and execution chain justify investigation. Disguised purpose can fit a trojan concern, but propagation, data collection, and exact malware classification need their own evidence. A legitimate interpreter can be abused without every instance being malicious. Quarantining the file later does not erase earlier execution or establish that the full device/account scope is resolved.
A controller cannot simply inherit a workstation security plan
FICTIONAL DEVICE COMPARISON
WS-14: managed workstation; supported endpoint agent and standard-user baseline
LC-06: label controller; vendor firmware only; no supported desktop agent
LC-06 required task: print inventory labels from the approved service
Proposed shortcut: install the workstation agent and reboot during active work
Owner-approved plan: verify supported firmware/configuration, restrict paths,
retain available logs, and schedule a tested maintenance/recovery procedureUse the actual support and operational requirements. An unsupported install is not a verified risk reduction. Restricted access and approved maintenance can compensate for some limitations, but record residual gaps and ownership. A controller is not automatically harmless or always impossible to update just because it is embedded.
Vocabulary in context
- Endpoint
- A computing device whose local state, accounts, software, and interfaces need protection.
- Firmware
- Software supporting device functions below or alongside the general-purpose OS.
- Attack surface
- Exposed functions and paths that can contribute to unwanted access or behavior.
- Trojan
- Software with a misleading presented purpose that performs unwanted behavior.
- Fileless behavior
- Execution using memory or existing facilities, with possible indirect file involvement.
- Criticality
- How consequences and dependencies affect the importance of an asset or required function.
Quick checks
Form your answer, then open the question to compare your reasoning.
1. Must a server be a larger physical computer than every personal device?
No. The server role is providing services; physical size, hosting, and processing capacity vary. Inventory the actual role and dependencies.
2. Why should a loan tablet and a label controller have different protection plans?
Their enrollment, support, update, data, and operational constraints differ. Use supported controls and verify the required task for each.
3. What distinguishes virus replication from worm propagation?
A virus relies on an infected host file/program executing; a worm can propagate across suitable paths without that same user-opened host-file step. Actual propagation needs evidence.
4. Can one malicious program be a trojan, spyware, and part of a botnet?
Yes. Disguise, collection, and coordinated control describe different dimensions and can overlap.
5. Does a ransomware recovery backup prove no data was disclosed?
No. Recovery and confidentiality are separate outcomes. Investigate any independent collection or export evidence.
6. Does a script interpreter or a regular connection prove fileless malware or a botnet?
No. Validate process purpose, configuration, identity, destination, and related behavior. Legitimate tools and agents can produce similar surface clues.
7. What distinguishes a logic bomb and a rootkit as behavior descriptions?
A logic bomb uses a condition to trigger behavior; a rootkit conceals activity or access at an affected layer. Neither can be established from one unexplained symptom alone.
8. Is every open port a vulnerability that should be closed immediately?
No. Determine the required service, version, exposure, and authorization. Remove unnecessary access while preserving required work through an approved change.
9. Does an OS scan establish secure firmware or encrypted storage?
No. Those protect or observe different layers and states. Verify the supported firmware/boot and storage controls separately.
10. What should happen before putting an unsupported workstation agent on a controller?
Confirm owner/vendor support and operational impact. Use a tested approved maintenance and recovery plan and suitable compensating controls rather than assuming the install is safe.
4.3 Protecting Devices
Protection combines usable device policies, appropriate anti-malware, verified maintenance, and restrictions on host traffic. A control is not complete merely because someone enabled a setting: identify its scope, check the resulting behavior, and retain a recovery path. The examples below are fictional records and an explicitly simplified firewall model, not configuration commands.
- 4.3.A Device Security Policies
- 4.3.B Anti-Malware Software
- 4.3.C Patch Management
- 4.3.D Host-Based Firewalls
Read topic 4.3 notes, evidence, and quick checks
4.3.A: Turn device rules into enforceable, usable policies
An acceptable-use policy sets expectations for approved activities, information handling, reporting, and consequences. A password policy governs account secrets and their lifecycle. A software-installation policy defines approved packages, trusted distribution, requests, and who may install them. Each needs an owner, exceptions, and evidence of enforcement. A signed acknowledgment shows that a user received a rule; it does not prove a workstation enforces it. Avoid rules that force people to share credentials or bypass safeguards to complete necessary work.
4.3.A: Apply a baseline without breaking required work
A device baseline can require supported software, individual accounts, least privilege, automatic locking, approved applications, recovery-ready encryption, and appropriate boot or firmware protections. Use role-specific configurations: a shared workstation and a dedicated controller have different needs. Check accessibility tools and essential workflows before rollout. A standard user may need a controlled elevation process; giving every user permanent administrator rights removes that boundary. Record the actual setting and a functional test rather than relying on a policy document alone.
4.3.B: Match anti-malware capabilities to the device
Signature-based detection recognizes known patterns; behavior-based detection evaluates suspicious actions; other supported capabilities may inspect memory, scripts, reputation, or exploit behavior. These approaches complement each other and have false positives and blind spots. Endpoint detection and response can add investigation and response telemetry, but features depend on platform, configuration, licensing, and connectivity. Verify agent health, engine and detection updates, coverage, and resource use. A product label does not prove that a particular threat or unsupported controller is covered.
4.3.B: Distinguish blocking a file from resolving an incident
Quarantine restricts an identified item so it cannot be used normally. If execution occurred first, investigate related processes, persistence, accounts, and connections; another copy or changed account may remain. Preserve relevant evidence and follow an approved containment process. Do not restore a quarantined file just because a workflow stopped: validate the alert, package provenance, and a safe alternative. Conversely, a false positive should be investigated and narrowly corrected rather than used as a reason to disable protection everywhere.
4.3.C: Prioritize applicable patches and prepare recovery
Inventory operating systems, applications, dependencies, drivers, and firmware. Decide whether an issue affects the installed product and configuration, then assess exploitation evidence, exposure, privileges, business impact, and available mitigations. A high-impact internet-facing issue may outrank a routine update on an isolated device, but decisions need current evidence. Obtain packages through trusted approved channels, verify provenance and integrity, test representative workflows, and plan a maintenance window and recovery method. A valid signature does not by itself mean a package is approved or risk free.
4.3.C: Verify installation, restart, and the resulting service
Separate downloaded, installed, restart-pending, verified, failed, offline, and excepted states. Confirm the required version or configuration after any necessary restart, check that the relevant weakness is addressed, and test normal operation. A deployment dashboard reporting a successful download is not evidence of a running fixed version. Track failed and offline devices to resolution. A temporary exception needs an accountable owner, mitigating controls, a review date, and a completion plan; it remains outstanding under a completion definition that requires verified installation.
4.3.D: Evaluate traffic at the host as well as the perimeter
A host-based firewall can restrict traffic reaching or leaving one device, including traffic between peers on the same subnet that may never cross a perimeter firewall. Evaluate direction, source, destination, protocol, port, application or service, and the active profile where supported. An IP address match is not proof of a user identity. Rule precedence differs across products; explicit-block behavior, priorities, profiles, state tracking, and application rules must be checked for the actual system. The ordered table below defines its own classroom semantics.
4.3.D: Retain required dependencies and test both directions
A useful policy permits only needed paths while preserving authorized administration, logging, name resolution, updates, and essential application traffic. Inbound permission does not automatically authorize new outbound traffic. A TCP rule does not cover UDP on the same port. Established return traffic, control traffic, IPv6, and alternate paths require explicit design even when omitted from a small exercise. Blocking a file-transfer port restricts that flow; it does not prove that data cannot leave through an allowed web session or another channel. Verify narrow positive and negative tests before adoption.
Repeat the cycle for operating systems, applications, and supported firmware. Failed or excepted devices stay visible until their approved disposition is resolved.
1. Inventory and assign
Identify the device, installed components, owner, dependencies, and recovery needs.
2. Assess and prioritize
Establish applicability, exposure, exploitation evidence, impact, and temporary mitigations.
3. Prepare and test
Validate the approved package and test representative workflows with a recovery plan.
4. Deploy with control
Use the approved window and deployment method; record installed, failed, and offline states separately.
5. Restart and verify
Perform any required restart, confirm the running fix, and test security and normal operation.
6. Resolve and review
Follow up on failures and exceptions, record evidence, and update the baseline.
| Policy | Example requirement | Evidence and operational check |
|---|---|---|
| Acceptable use | Use approved accounts and report unexpected security prompts. | Confirm awareness, a usable reporting route, and an example report handled by the owner. |
| Password and account lifecycle | Use approved long secrets, controlled recovery, and bounded login attempts. | Inspect effective account settings and test a permitted recovery path without collecting real passwords. |
| Software installation | Standard users request reviewed packages through the approved process. | Check permissions and provenance; verify an essential accessibility tool still works. |
| Device baseline | Lock unattended sessions and retain supported protection. | Inspect effective settings, lock/unlock behavior, agent health, and role-specific exceptions. |
| State | Device count | Counts as complete? |
|---|---|---|
| Installed, restarted, and workflow verified | 14 | Yes: all stated completion checks passed. |
| Installed; required restart still pending | 4 | No: running state has not met the completion definition. |
| Download failed | 3 | No: diagnose delivery and retry through the approved process. |
| Offline and not verified | 2 | No: confirm state when reachable and arrange maintenance. |
| Approved temporary exception | 1 | No: track the owner, mitigation, review date, and completion plan. |
| Priority · action | Direction | Source | Destination | Protocol | Destination port |
|---|---|---|---|---|---|
| 10 · PERMIT | IN | 10.194.40.12 | 10.194.30.22 | TCP | 22 |
| 20 · PERMIT | IN | 10.194.20.0/24 | 10.194.30.22 | TCP | 8443 |
| 30 · DENY | IN | ANY | 10.194.30.22 | TCP | 22 |
| 40 · DENY | IN | ANY | 10.194.30.22 | TCP | 445 |
| 50 · DENY | IN | ANY | 10.194.30.22 | TCP/UDP | ANY |
| 60 · PERMIT | OUT | 10.194.30.22 | 10.194.30.60 | TCP | 6514 |
| 70 · PERMIT | OUT | 10.194.30.22 | 10.194.30.53 | TCP/UDP | 53 |
| 80 · PERMIT | OUT | 10.194.30.22 | 203.0.113.171 | TCP | 443 |
| 90 · DENY | OUT | 10.194.30.22 | ANY | TCP/UDP | ANY |
Installation counts are not completion counts
Fictional workshop patch ledger
Total devices: 24
Verified complete: 14
Installed but required restart pending: 4
Download failed: 3
Offline: 2
Time-bound exception: 1
AI draft: "18 installed means 75% complete; ignore the exception."The categories sum to 24. Fourteen devices meet the stated definition, so verified completion is 14/24 = 58.3% to one decimal place. Eighteen installed is a different measure, 18/24 = 75%, which includes four unverified pending restarts. Ten devices remain outside verified completion, including the approved exception. Check the required running version and workflows rather than relabeling outstanding devices as complete.
Trace new flows through the explicit host policy
Fictional INV-22 policy tests; first matching row only
IN 10.194.40.12 -> SELF TCP/22 => 10 PERMIT
IN 10.194.20.35 -> SELF TCP/8443 => 20 PERMIT
IN 10.194.20.35 -> SELF TCP/22 => 30 DENY
IN 10.194.30.80 -> SELF TCP/445 => 40 DENY
IN 10.194.10.38 -> SELF TCP/8443 => 50 DENY
IN 10.194.20.35 -> SELF UDP/8443 => 50 DENY
OUT SELF -> 10.194.30.60 TCP/6514 => 60 PERMIT
OUT SELF -> 10.194.30.53 UDP/53 => 70 PERMIT
OUT SELF -> 203.0.113.171 TCP/443 => 80 PERMIT
OUT SELF -> 198.51.100.91 TCP/21 => 90 DENYThe approved administrator matches row 10 before the broader SSH deny. A staff application client matches row 20, but the same source has no SSH permission. The same-subnet peer is still denied TCP/445 by the host. The staff UDP request does not match the TCP application rule. The outbound examples retain logging, DNS, and the fictional update endpoint while denying a new TCP/21 flow. This table omits established returns, required control traffic, and IPv6; it is not a complete production policy or a claim that every operating system uses first-match processing.
Review a tempting exception before restoring an application
WS-14 baseline: standard user; approved accessibility tool required.
Alert: preview-addon.exe quarantined after execution.
Package request: unknown origin; no approval record.
User impact: one preview feature stopped; required accessibility tool still works.
Proposed shortcut: restore the file, disable scanning, and grant permanent admin.The evidence supports reviewing the specific alert and finding an approved replacement, not three broad reductions in protection. Preserve the relevant file and process records, investigate actions before quarantine, and verify that essential accessibility support remains available. If a benign false positive is confirmed, use the narrow authorized correction and document it. Neither a user complaint nor a familiar filename proves the package is trusted.
Vocabulary in context
- Acceptable-use policy
- Written expectations for authorized use and reporting; technical enforcement and usable procedures are separate evidence.
- Security baseline
- The approved configuration for a device role, with controlled exceptions and verification.
- Quarantine
- Restriction of an identified item; it does not establish that all prior actions or other artifacts have been resolved.
- Patch applicability
- Whether an update addresses a component and configuration actually present on the device.
- Verified completion
- A defined maintenance outcome supported by required installation, restart, security, and functional checks.
- Host-based firewall
- Traffic enforcement on an individual endpoint, including eligible same-subnet traffic.
Quick checks
Form your answer, then open the question to compare your reasoning.
1. Does accepting a device policy prove that installation restrictions are enforced?
No. Acceptance records awareness; inspect effective permissions and test the approved installation workflow to evaluate enforcement.
2. What should a baseline test include besides security settings?
Check required applications, accessibility support, normal operation, recovery, and the workflow for authorized temporary elevation.
3. Why combine signatures with behavior or memory visibility where supported?
Known-pattern matching and observation of actions have different strengths and blind spots. Confirm actual platform capabilities, healthy coverage, and false-positive handling.
4. A file was quarantined after it ran. Is the incident resolved?
Quarantine limits the identified item. Investigate earlier processes, persistence, account changes, connections, and other affected devices before declaring recovery.
5. Which patch ledger count meets the stated completion definition?
Fourteen of 24 devices, or 58.3% rounded to one decimal place. The four pending restarts are installed but not verified complete.
6. May the approved exception be removed from outstanding maintenance?
Not under this completion definition. Keep its owner, mitigation, review date, and remediation plan visible among the ten devices outside verified completion.
7. Can 10.194.30.80 reach INV-22 on TCP/445 because both are on the same subnet?
No. Row 40 denies that NEW inbound flow at INV-22 even if no perimeter router is crossed.
8. Why does staff TCP/8443 pass while staff UDP/8443 fails?
Row 20 permits TCP from the staff subnet to that application port. The UDP request does not match it and reaches row 50.
9. Does the classroom first-match table describe every host firewall?
No. The exercise states its own processing model. Real products may use different precedence, profiles, application rules, and state behavior that must be checked.
10. Does denying outbound TCP/21 establish that no data can leave INV-22?
No. It denies that modeled flow. Allowed web traffic, other paths, IPv6, compromised permitted services, and authenticated application behavior still require appropriate controls and evidence.
Worked example
Create a baseline for shared lab computers used by students.
Evidence
Current: local administrator for all users
Unused service: enabled
Screen lock: off
Approved applications: documentedProvide standard user accounts, disable unneeded services, enable suitable locking, and keep approved applications and updates managed. Test the baseline on representative hardware and required workloads before wider rollout. A baseline makes deviations visible as well as reducing exposure.
Exercises
Exercise 1
Why is a baseline more useful than a one-time instruction to secure each laptop?
Show solution
It defines repeatable approved settings, supports consistent provisioning, and provides a reference for finding drift or unauthorized changes.
Exercise 2
A proposed control prevents a required assistive tool from running. What should happen before broad deployment?
Show solution
Investigate the conflict in a representative test, involve the responsible owners, and find an approved configuration that preserves access while reducing risk. Document any justified exception and verification.
