Lesson plan: Unit 4 Test

AP Cybersecurity · Unit 4 Securing Devices · Topic 4.1 to 4.4 Securing Devices (whole unit) · Unit test

At a glance

Suggested time
1 class period (45 min)
Pacing
The course lists this test after the unit's 15 practice sets and the Unit 4 Performance Task. The CED's 23 class periods for Unit 4 all go to the four topics (6, 5, 5, and 7), so this day sits outside them. By each problem's learning objective, 7 problems are on Topic 4.1, 3 on 4.2, 4 on 4.3, and 6 on 4.4. Counting every EK a problem uses, Topic 4.2 appears in 7 problems and each other topic in at least 10.
Before this set
The unit's 14 topic sets, Device Types and the IoT Surface through Reading Authentication Logs. The test adds no new terms. Students should know that TCP 3389 is remote desktop; the rule lists on Problem 13 🔒 to Problem 16 🔒 give only the number. They should also read a /16 range such as 10.20.0.0/16 and a rule written like ALLOW inbound TCP 445 from 10.20.0.0/16.
Skills
1.B Determine ways adversaries exploit vulnerabilities to compromise an asset.
1.C Evaluate, with and without the support of AI, the likelihood and impact of risks.
2.A Identify security controls, and explain how they mitigate risks.
2.B Determine layered security controls that address vulnerabilities.
2.C Evaluate, with and without the support of AI, the impact of protective risk-management strategies.
3.B Determine strategies and methods to detect attacks.
3.C Evaluate the impact of threat detection methods.
3.D Detect and classify cyberattacks by analyzing digital evidence with and without the support of AI.

Day by day

Differentiation

If students are struggling
Before the day, have them redo the problems from the practice set for their weakest topic (the list under Before · review). During, suggest they read the FARE-07 report once before Problem 13 🔒 and mark the times in the authentication log and the recorded changes.
Extension
🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
Vocabulary support
autorun, firmware password (BIOS or UEFI), fileless malware, rootkit, logic bomb, keylogger, implant, signature database, quarantine, end of support, salt, password spraying, lockout threshold, inbound and outbound, host-based firewall, scheduled task, indicator of compromise.

From the course framework

LO 4.1.A Identify types of computing devices.

  • 4.1.A.4 Embedded computers are devices that are part of a machine. Embedded devices have specific instruction sets for interfacing with the specialized components of the machine they're embedded in. Embedded computers tend to be slower and cheaper than other computers and have minimal storage.

LO 4.1.B Identify the type of malware used in a cyberattack.

  • 4.1.B.2 Malware is often used as a tool to accomplish part of an adversary's plan to achieve their ultimate goal(s). There are many types of malware, such as: Viruses are malware that must be activated by a user executing or opening a file. Worms spread from one computer to another without human interaction. Trojans are malware embedded in other software that seems harmless. Remote access trojans (RATs) provide an adversary with remote access to the target system. Ransomware encrypts a device's files, preventing the user from accessing files on the device. The ransomware typically presents the user with a screen demanding payment and promising to give the user a decryption key for their files if the user pays within a fixed amount of time. Spyware tracks a user's actions on a computer and sends information back to an adversary. A keylogger is software or hardware that logs the users keystrokes and sends the information back to the adversary. Adversaries can often extract usernames and passwords from keylogger data. Logic bombs are set to trigger their effect only when a specific set of conditions are met; the conditions can include time and date, specific type or version of the operating system, character set the computer is using, etc. A rootkit is sophisticated malware that gets into the target computer's operating system and can control nearly every aspect of the system, including making the rootkit itself invisible to detection.
  • 4.1.B.3 While most malware is a file or a collection of files, fileless malware is malicious code that lives in RAM and uses legitimate programs already installed on a device to compromise it.

LO 4.1.C Explain how adversaries can exploit common device vulnerabilities to cause loss, damage, disruption, or destruction.

  • 4.1.C.1 Adversaries can develop exploits for known vulnerabilities in software (including operating systems). Devices with unpatched software are vulnerable to these exploits, which could allow an adversary to crash a system, view user actions, enable or disable various services or components on the device (e.g., turning on a webcam or microphone), or even take control of the device to issue their own commands including commands to steal or destroy information on the device.
  • 4.1.C.3 When systems don't have a password on the basic input output system (BIOS) or unified extensible firmware interface (UEFI), an adversary can boot a computer into a special mode (e.g., "recovery mode") that gives them higher-level privileges. Without BIOS or UEFI protection, adversaries can load their own operating system onto a device from an external drive and use specialized tools to alter or create user profiles, including changing user passwords.
  • 4.1.C.4 Adversaries can load malware onto an external drive, and if autorun is enabled, then a device will run the malware when the external drive is inserted.
  • 4.1.C.5 Adversaries can leverage open ports to connect to a device.
  • 4.1.C.7 Adversaries often attempt to install malware on a device to disrupt or control it. Devices lacking anti-malware software are more vulnerable to this type of attack.

LO 4.1.D Assess and document risks from device vulnerabilities.

  • 4.1.D.1 Risk from device vulnerabilities can come from unauthorized access or malware that allow an adversary to impersonate an authorized user, remotely control a device, encrypt a device's drive to ransom the data, or wipe a device's memory, destroying data or rendering the device inoperable. The level of risk varies depending on the criticality of the device or the services the device provides or data it stores.
  • 4.1.D.2 High risks from device vulnerabilities involve potentially compromising sensitive data or critical operations.
  • 4.1.D.3 Moderate risks from device vulnerabilities can arise from weak authentication requirements or from vulnerabilities that would be less likely to be exploited.
  • 4.1.D.4 Low risks from device vulnerabilities are typically related to vulnerabilities that, if exploited, would have little impact.

LO 4.2.A Explain why hashes (also called hash outputs, checksums, message digests, or digests) are used to store passwords.

  • 4.2.A.6 If two users had the same password, then their passwords would have identical hashes in the user:password directory. To prevent this, a few random bits (called salt) are hashed with a user's password to generate the hash. Each user's salt is unique, so even if two users have the same password they will have a different password hash because they have different salt.

LO 4.2.B Explain how password attacks exploit vulnerabilities.

  • 4.2.B.1 If an adversary can compromise the password of a legitimate user, and that user's organization has not enabled MFA or other authentication protections, then the adversary can act within that organization with all the access and rights available to the user.
  • 4.2.B.2 Password attacks can be classified as online or offline. Online password attacks attempt user:password combinations in an active authentication portal. Offline password attacks have captured a user:password database and can run password attacks against the database on their own computer. This method bypasses any account lock out protections that may be in place.
  • 4.2.B.5 Some services and devices (e.g., switches, routers, and IoT devices) are preconfigured with a default administrative user and password. Credential stuffing is an attack where an adversary attempts to gain access to these services or devices using common default credentials or account credentials that have been stolen.
  • 4.2.B.6 Offline password attacks use automated hash-cracking tools to hash possible passwords and compare them against a captured hash. Although hashes can't be reversed, an adversary can use these tools to hash many potential passwords and compare them to the target hash. If an adversary finds a hash that matches, they can use the password that generated the hash to login to the user's account. Offline attacks include: Brute force attacks, where an adversary uses an automated tool to test all the potential passwords that a user could have Dictionary attacks, where an adversary uses an automated tool to test a list of common passwords

LO 4.2.C Determine the type of authentication used to verify the identity of a user.

  • 4.2.C.6 Multifactor authentication (MFA) is when a system uses more than one factor to authenticate a user. MFA is more secure than single-factor authentication because it requires the user to provide at least two separate factors of authentication.

LO 4.2.D Configure login settings to make a device more secure.

  • 4.2.D.5 Requiring a lockout period after a certain number of invalid login attempts is a login setting that can be configured. This prevents an adversary from continuously randomly attempting wrong passwords. Many organizations lock a user's account after 3-5 invalid login attempts. The period of the lockout varies.

LO 4.3.A Identify managerial controls related to device security.

  • 4.3.A.1 An acceptable use policy will describe the range of activities that are permissible, prohibited, or required by users on devices owned by an organization and may include: Prohibiting users from accessing specific websites or types of websites (e.g., social media or gaming) Requiring users to keep software updated Allowing users to connect peripheral devices Prohibiting users from connecting external drives or media

LO 4.3.B Explain how anti-malware software can make a device more secure.

  • 4.3.B.1 Anti-malware software (sometimes called antivirus software) has tools to quarantine and remove malware that can corrupt, spy on, or destroy a system. Malware contains indicators that make it detectable; these indicators are called signatures.
  • 4.3.B.2 Anti-malware software has a database of malware signatures. It periodically scans the files on a device and checks to see if any of the files match any of the signatures in its database. If there is a match, the software quarantines and removes the malicious files.

LO 4.3.C Explain why keeping a device's operating system and software updated makes it more secure.

  • 4.3.C.2 Ensuring that a computer's operating system and software applications are updated to the most recent version prevents adversaries from taking advantage of a known vulnerability.

LO 4.3.D Configure a host-based firewall.

  • 4.3.D.1 Host-based firewalls allow or deny traffic into or out of a single device. This provides an extra layer of security in case a host is connected to a compromised network.
  • 4.3.D.2 A host-based firewall is software that runs on a device and follows a set of rules (an ACL) like a network-based firewall. Firewall rules are implemented in order, applying the first rule that matches.
  • 4.3.D.3 A host-based firewall can also block specified types of outbound traffic. Host-based firewalls should always block ports or services not needed for a given device.
  • 4.3.D.4 The rules for a host-based firewall can allow or deny traffic based on source or destination port or IP address, service, protocol, or application.

LO 4.4.A Explain how to detect attacks against devices.

  • 4.4.A.1 System processes and settings, login attempts, file download attempts, and user actions are logged by computing systems. These logs can be used to reconstruct circumstances leading up to and during a cyber incident.
  • 4.4.A.3 Authentication logs (or auth logs) record every attempted login on a system. Analysis of authentication logs can reveal attempted attacks.
  • 4.4.A.4 Host-based IoCs are discovered when analyzing logs and configuration settings. Indicators, such as the following, can be found in authentication logs, user activity logs, and system configuration files: Unusual files being created or modified Unexpected processes or services Unauthorized changes to system configuration settings Unauthorized software installation or update
  • 4.4.A.5 File-based IoCs are discovered when analyzing files on a device. Indicators are usually found in executable files and can include: Files whose hash matches known malware File names that are known to be created by a certain piece of malware File paths that are associated with malicious activity
  • 4.4.A.6 Behavior-based IoCs are discovered when analyzing logs. Indicators can be found in authentication logs and access logs and can include: Multiple failed login attempts Unusual login times or locations Unauthorized attempts to access sensitive data Attempts to elevate user privileges on a system

LO 4.4.B Determine controls for detecting attacks against a device.

  • 4.4.B.1 Performance is a criterion for determining a detection method. Detection tools use system memory and processing power and can impact the performance of a device. Anomaly-based detection tools use more system resources than signature-based tools. Signature-based detection is a better option for devices with less powerful system resources. Many embedded devices do not have enough system resources to run any detection tools on the device.

LO 4.4.C Evaluate the impact of a device detection method.

  • 4.4.C.3 False positives versus ease of bypassing detection is a factor in evaluating the impact of a detection method. Most device-level detection tools are signature-based, and signature-based detection has a low rate of false positives. However, signature-based detection is easier for adversaries to bypass.

LO 4.4.D Apply detection techniques to identify indicators of password attacks by analyzing log files.

  • 4.4.D.2 If an authorized user is logging in from a different location or IP address than expected, or at a different time than normal, this can be an indicator that the user's password has been compromised.
  • 4.4.D.3 An indicator of password spraying is many users trying to log in within seconds of each other from one IP address or from unusual IP addresses.
  • 4.4.D.4 An indicator of credential stuffing is a series of default user:password combinations being attempted on a device in quick succession, often from the same IP address.
  • 4.4.D.5 Offline password attacks can't be detected, because the attack takes place on the adversary's computer.