How it works
Malware can steal, encrypt, spy, disrupt, or persist. Endpoint tools can quarantine files and create alerts, but humans still investigate scope.
Preserve logs, report through the approved process, isolate affected systems when needed, and avoid running suspicious files.
Common error
Quarantine is not the end of investigation. The question may ask what evidence to review next.
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.4 Detecting Attacks on Devices
Detection asks what happened on a device, what is unusual, and how much confidence the available evidence supports. Link host, file, behavioral, and authentication records without treating an alert label as a complete explanation. Measure timeliness and coverage alongside operational cost, then choose a response with an accountable owner.
- 4.4.A Logs and Indicators of Compromise
- 4.4.B Choosing a Device Detection Method
- 4.4.C Evaluating Device Detection
- 4.4.D Spotting Password Attacks in Logs
Read topic 4.4 notes, evidence, and quick checks
4.4.A: Separate observations from conclusions
Host indicators include unexpected services, processes, accounts, scheduled tasks, or configuration changes. File indicators include unexpected creation, a known malicious digest, or a change from a trusted baseline. Behavioral indicators include unusual privilege use, repeated failures, or a new connection pattern. Each needs context: an approved installer may create a service, a legitimate update changes files, and a mistyped password creates a failed login. An indicator supports investigation; confidence increases when independent records support the same activity.
4.4.A: Correlate records while preserving their limits
Record the event source, device, account, action, outcome, event time and time zone, collection time, and relevant session or process identifiers when available. Normalize fields for comparison while retaining the original records and integrity controls. Check clock synchronization and collection gaps before ordering events. Restrict access and retention appropriately; do not record plaintext passwords or unnecessary personal content. An empty query may mean no activity, disabled collection, an offline device, a bad filter, or missing retention.
4.4.B: Select complementary detection methods
Anti-malware can recognize known artifacts or suspicious actions. Endpoint detection can expose supported process, memory, account, and connection activity. File-integrity monitoring compares selected objects with a trusted baseline. Central log correlation links devices and identities, while network sensors observe traffic from their placement and visibility. No one method sees everything: encryption, unsupported platforms, unmonitored objects, stale baselines, and collection outages limit conclusions. Verify actual coverage rather than assuming an installed agent is healthy.
4.4.B: Match visibility and cost to device criticality
Compare software and service cost, analyst effort, CPU, memory, battery, bandwidth, storage, privacy, and response capability with the device role and impact of failure. A supported workstation may accept an endpoint agent; a constrained controller may require vendor-supported health records and surrounding network observations instead. Limited host visibility is a documented gap, not proof of health. Budget for investigation and maintenance as well as the license, and test on representative workloads with the device owner.
4.4.C: Measure what a detector found and missed
A true positive correctly flags adverse activity; a false positive flags a benign case; a false negative misses adverse activity; a true negative leaves a benign case unflagged. Use labeled representative tests to measure coverage, false-alert burden, and timing. Raw alert totals are not accuracy. A low false-positive rate can still create a large queue when benign traffic is common, and a fast profile may miss a critical test. State the denominator and labeling assumptions rather than treating unknown live events as established ground truth.
4.4.C: Define the clock and response phase
Detection delay needs a stated starting event and the first relevant alert. Time from the earliest shown record is not necessarily time from the real attack start. An alert after execution or account creation may aid response without having prevented those actions. Distinguish alert time, analyst review, containment request, and verified containment; they are different milestones. Percentile workload latency measures device performance, not incident detection delay. Compare all required criteria and review residual gaps before rollout.
4.4.D: Recognize password-attack patterns without logging secrets
Many failures against one account can fit brute force or a dictionary attack, but counts alone do not reveal the guessed values. Low-rate failures across many accounts may suggest spraying; credential stuffing requires additional evidence of reused credential pairs. Distributed sources and shared gateways complicate counting. Check success after failures, device and session context, recovery events, authorized maintenance, and user confirmation. A failure burst may also come from stale automation after a secret change, so compare the process and schedule before attributing intent.
4.4.D: Connect login evidence to approved response
A successful login proves that the recorded authentication checks accepted a request; it does not prove the legitimate owner initiated it. Link the session to completed privilege changes or process activity and verify unexpected activity with the owner through a trusted route. Preserve records, identify scope, and apply authorized account or device containment with essential-service dependencies in mind. Confirm restrictions actually took effect, then investigate persistence and affected credentials or sessions. Do not erase a device or disable a critical service solely because an AI summary labels it compromised.
| Indicator category | Suspicious observation | Context needed before concluding compromise |
|---|---|---|
| Host state | A new privileged account or unexpected startup service appears. | Compare approved changes, actor/session records, package provenance, and owner confirmation. |
| File state | A selected executable changes from a trusted baseline. | Check approved updates, the baseline version, cryptographic digest evidence, and related execution. |
| Behavior | A login is followed by unusual privilege use and outbound activity. | Correlate outcomes, process/session identity, authorized tasks, timing, and collection completeness. |
| Method | Useful evidence | Cost or coverage limit |
|---|---|---|
| Anti-malware | Known artifacts and supported behavioral or memory alerts. | Update and health checks matter; alerts do not guarantee complete incident scope. |
| Endpoint detection | Supported process trees, account activity, and response telemetry. | Platform support, permissions, resource use, licensing, and healthy collection vary. |
| File-integrity monitoring | Changes to selected files or configurations against an approved baseline. | A stale or incomplete baseline can mislead; changes do not automatically prove malicious intent. |
| Central log correlation | Authentication, privilege, device, and network events linked across sources. | Collection gaps, clocks, storage, rule maintenance, access, and analyst workload affect value. |
| Network observation | Connections and traffic patterns from the available observation point. | Encryption and placement limit content and host-state visibility; it complements rather than replaces host evidence. |
| Test profile | P95 workload latency (ms) | Adverse cases detected / 14 | Benign alerts / 6,000 | Meets all stated lab criteria? |
|---|---|---|---|---|
| Broad profile | 1180 | 14 | 18 | No: workload latency and benign-alert burden exceed the limits. |
| Tuned profile | 760 | 13 | 4 | No: one required adverse case was missed. |
| Tuned plus complementary rule | 820 | 14 | 6 | Yes for this test set: continue representative testing and operational review. |
Account-pattern triage: similar failures, different explanations
Separate fictional authentication windows; no password values recorded
Window A: 1 source, 12 accounts, 1 failure per account, no success shown.
Window B: 1 account, 17 failures, then 1 successful session.
Window C: 1 service account fails once every minute after an approved secret rotation.
For C, process ownership and maintenance timing are confirmed;
the job configuration still references the previous secret.A fits a possible spray pattern, but the records do not reveal whether the same candidate was used. B warrants review of the successful session and subsequent actions; the failure sequence alone does not identify brute force, stuffing, or the human actor. C has a supported stale-automation explanation that should be corrected through the approved owner. Do not label all three as proven attacks or record attempted passwords to distinguish them.
WS-14: build a timeline before claiming prevention
Fictional normalized host and identity records; 2026-11-03 UTC
14:10:00–14:12:00 17 failures for render-maint from 10.194.20.81
14:12:12 Authentication success; session T88; password + OTP accepted
14:13:10 T88 creates temporary-render-admin and adds privileged membership
14:13:25 Endpoint alert: unexpected process chain involving preview-addon.exe
14:14:00 preview-addon.exe quarantined; earlier execution is recorded
14:15:00 Independently contacted owner denies T88 and the new account
14:16:00 Approved WS-14 isolation applied and verified
AI draft: "OTP and quarantine prove the login was safe and no harm occurred."OTP acceptance does not establish that the legitimate owner controlled the session. Completed privilege creation, related process evidence, and independent owner denial support unauthorized activity requiring scope review. The alert occurs after the privilege change; quarantine after execution cannot undo earlier actions. From the earliest shown failure to the alert is 205 seconds, and to verified isolation is 360 seconds. From the successful login to the alert is 73 seconds. These are different reference intervals; none proves the actual attack start. Preserve the records, review the new account and session scope, and verify authorized containment rather than declaring prevention or complete recovery.
A fast detector can still fail the acceptance test
Lab requirements: P95 workload latency <=900 ms; 14/14 adverse cases;
no more than 10 alerts over 6000 labeled benign cases.
Broad: 1180 ms, 14 detected, 18 benign alerts.
Tuned: 760 ms, 13 detected, 4 benign alerts.
Tuned plus complementary rule: 820 ms, 14 detected, 6 benign alerts.
AI draft: "Select Tuned because it is fastest and has the fewest alerts."Tuned misses one required adverse case, so speed alone cannot qualify it. Broad exceeds both latency and benign-alert limits. Tuned plus the complementary rule meets all three stated lab criteria: 820 ≤900, 14/14, and 6 ≤10. That is evidence for this workload and labeled test set, not proof of universal detection or an automatic deployment decision. Review case representativeness, agent health, operational cost, and device criticality with the owner. The P95 workload measurement is separate from incident alert delay.
Vocabulary in context
- Indicator of compromise
- An observation that may support investigation of unauthorized activity; interpret it alongside context and other evidence.
- File-integrity monitoring
- Comparison of selected objects with an approved baseline to detect change, not automatically to establish intent.
- False positive
- A benign case incorrectly flagged as adverse under the stated labeling and test definition.
- False negative
- An adverse case missed by the detector; fewer alerts do not necessarily mean better coverage.
- Detection delay
- Elapsed time between a defined reference event and the relevant alert; state both endpoints.
- Verified containment
- Evidence that an authorized restriction actually took effect, distinct from a request to apply it or full recovery.
Quick checks
Form your answer, then open the question to compare your reasoning.
1. Does a changed executable establish malicious intent?
No. Compare the trusted baseline, approved update records, provenance, and related execution. A legitimate update may change the executable.
2. What should accompany a timestamp when correlating records?
Retain the event source, device, action/outcome, time zone, collection timing, and relevant session or process identifiers. Check clocks and gaps before asserting order.
3. Why use network observations around a controller with no supported endpoint agent?
They can provide some connection evidence without installing incompatible software. They do not replace missing host visibility; document the gap and use supported vendor records where available.
4. Which costs belong in a detection-method comparison besides the license?
Include device CPU, memory, battery, latency, network and storage use, privacy, maintenance, analyst workload, and response capability relative to criticality.
5. Which profile meets all three illustrative acceptance criteria?
Tuned plus complementary rule: P95 820 ms, all 14 labeled adverse cases detected, and 6 benign alerts. It meets this test definition, not a guarantee for every future event.
6. Why reject the fastest profile even though its benign-alert count is lowest?
It detects only 13 of the 14 required adverse cases. Performance and low alert burden do not compensate for a failed coverage requirement in this test.
7. How long after the earliest shown WS-14 failure does the alert appear?
205 seconds, from 14:10:00 to 14:13:25. The earliest shown record is a reference point, not a proven attack start.
8. Was WS-14 isolated at the time of its alert?
No. The alert is at 14:13:25 and verified isolation at 14:16:00. The first shown failure to isolation interval is 360 seconds; detection and containment are separate milestones.
9. Do low-rate failures across many accounts prove password spraying?
They support that hypothesis but do not establish the candidate values or intent. Correlate sources, outcomes, authorized activity, and other evidence without logging secrets.
10. Why investigate a session that passed password and OTP checks?
Accepted factors do not establish owner intent. Here the completed privileged account change, process alert, and independent owner denial justify reviewing session scope and applying authorized containment.
Worked example
An endpoint alert quarantines a suspicious attachment. Plan the next investigation.
Evidence
Alert: attachment quarantined
User report: attachment opened earlier
Outbound connection: recorded after openingQuarantine limits access to the identified file but does not establish the full scope. Preserve the alert, file information, process history, and related network evidence. Follow the incident plan for containment and assess whether other devices or accounts are affected.
Exercises
Exercise 1
Why is deleting the alert and declaring the device clean a weak response?
Show solution
It discards useful evidence and ignores activity that may have occurred before quarantine. Investigate execution, persistence indicators, account use, and related devices as appropriate.
Exercise 2
Name one containment action and one recovery check for an affected endpoint.
Show solution
Containment may include approved network isolation to limit further communication. Recovery should verify the corrected baseline, required application behavior, and absence of the investigated indicators under the incident plan.
