Skip to content

Get the app

Study guide · Core 2 · Domain 2.0

Security

28% of the exam · 11 exam objectives

Domain 2 covers how a technician protects people, devices and data. It starts with physical and logical security measures and their purposes, the Windows security settings (accounts, permissions, Defender, firewall, BitLocker and EFS), and the wireless security protocols and authentication methods. It then covers malware types with the tools to detect, remove and prevent them, social engineering attacks, threats and vulnerabilities, and the procedure for removing malware from a SOHO computer. The second half applies this to practice: hardening workstations, securing mobile devices, choosing the right data destruction or disposal method, securing SOHO routers and wireless networks, and configuring browser security settings.

A study feature written by ExamDragon, not part of the real exam. Each heading is one of this domain's 11 exam objectives, as CompTIA states it in the 220-1202 objectives.

2.1Summarize various security measures and their purposes.

  • Physical security keeps people and vehicles away from assets: bollards stop vehicles, fences and lighting deter and expose intruders, an access control vestibule holds one person between two interlocked doors, and guards, video surveillance, alarm systems, motion sensors and magnetometers detect and respond.
  • Physical access is granted with something the person carries: keys, key fobs, smart cards, badges read by a badge reader, or a mobile digital key on a phone. Door locks and equipment locks protect rooms and individual devices.
  • Biometrics authenticate by something you are: fingerprint, palm print, retina, facial recognition technology (FRT) and voice recognition.
  • Multifactor authentication (MFA) combines different kinds of factor. Second factors include a hardware token, an authenticator application producing a time-based one-time password (TOTP), a one-time passcode (OTP) sent by SMS, voice call or email. SMS and voice codes can be intercepted, so app or hardware codes are stronger.
  • Logical security limits what accounts can do: least privilege grants only what a task needs, the Zero Trust model verifies every request whatever its location, and access control lists (ACLs) list who may reach a resource.
  • Single sign-on (SSO) lets one sign-in reach many applications, often with Security Assertions Markup Language (SAML) carrying the identity provider's assertions. Just-in-time access, usually through privileged access management (PAM), grants elevated rights only for a limited time.
  • Identity access management (IAM) and directory services hold the accounts and groups; mobile device management (MDM) enforces policy on phones and tablets; data loss prevention (DLP) stops sensitive data from leaving.
  1. The situationA clinic wants staff sign-ins to its cloud apps to be harder to steal and wants administrators to stop holding permanent rights.
  2. Step 1Add a second factor to every password: an authenticator app with TOTP rather than SMS where possible.
  3. Step 2Use SSO with the identity provider, so MFA is enforced in one place for every app.
  4. Step 3Remove standing administrator rights and grant them just in time through PAM, with approval and an expiry.
  5. Where questions turnCounting a password and a PIN, or a password and a security question, as multifactor. They are both something you know, so they are one factor.
  6. The takeawayStrong sign-in is a second factor of a different kind, enforced centrally, and privileges that exist only while they are needed.
Practise 2.1

2.2Given a scenario, configure and apply basic Microsoft Windows OS security settings.

  • Microsoft Defender Antivirus is managed in Windows Security, Virus and threat protection: real-time protection can be turned on or off, and Protection updates downloads new definitions. A third-party antivirus normally turns Defender's real-time protection off.
  • Windows Defender Firewall is set per network profile (domain, private, public). Allow only what is needed with inbound or outbound rules by port (port security) or by program (application security) rather than turning the firewall off.
  • Accounts can be local or Microsoft accounts. Use a standard account for daily work; an administrator account can change the whole system; the Guest account is disabled by default; Power Users is a legacy group kept for compatibility. User Account Control (UAC) asks for consent or administrator credentials before a change needing elevation, and Run as administrator starts one program elevated.
  • Sign-in options include user name and password, a PIN, fingerprint and facial recognition. Windows Hello provides passwordless sign-in with a PIN, fingerprint or face, and domain or cloud accounts can add SSO.
  • NTFS permissions apply locally and over the network; share permissions apply only over the network, and when both apply the more restrictive wins. Permissions are inherited from the parent folder unless inheritance is turned off. Attributes such as read-only and hidden are not permissions.
  • BitLocker encrypts whole fixed drives, BitLocker To Go encrypts removable drives, and the Encrypting File System (EFS) encrypts individual files and folders for one user on NTFS.
  • In Active Directory a technician joins computers to the domain, moves objects between organizational units (OUs) so the right Group Policy applies, assigns login scripts and home folders, selects security groups for access, and configures folder redirection to store user folders on the network.
  1. The situationA user on a domain laptop cannot open a shared folder over the network with the rights the help desk expected.
  2. Step 1Check the share permission and the NTFS permission for the user's groups.
  3. Step 2Take the more restrictive of the two as the effective access over the network.
  4. Step 3Change the permission that is too narrow, preferably by adding the user to the right security group rather than granting rights to the user directly.
  5. Where questions turnUsing EFS to protect a USB flash drive or a whole laptop. EFS protects individual files for one user; BitLocker To Go and BitLocker protect whole drives.
  6. The takeawayOver the network, share and NTFS permissions both apply and the stricter one decides.
Practise 2.2

2.3Compare and contrast wireless security protocols and authentication methods.

  • WPA2 encrypts wireless traffic with the Advanced Encryption Standard (AES). Its personal mode uses a pre-shared key, whose captured handshake can be attacked offline.
  • WPA3 is the current standard. Its personal mode replaces pre-shared key (PSK) authentication with Simultaneous Authentication of Equals (SAE), which resists offline guessing; choose it whenever every device supports it.
  • The Temporal Key Integrity Protocol (TKIP) is a deprecated cipher from the first WPA. Replace it with AES.
  • Remote Authentication Dial-in User Service (RADIUS) checks users' credentials for network access, such as enterprise Wi-Fi with 802.1X. It usually runs over UDP and encrypts only the password.
  • Terminal Access Controller Access-control System (TACACS+) is used for administering network devices: it runs over TCP, separates authentication, authorization and accounting, and encrypts the whole packet body.
  • Kerberos is the ticket-based authentication protocol of Active Directory: a key distribution center issues time-limited tickets, so clocks must be synchronized. Multifactor authentication can be added to any of these sign-ins.
  1. The situationA small office still uses one Wi-Fi passphrase that former staff know, on an access point set to WPA2 with TKIP.
  2. Step 1Change the cipher to AES, or move to WPA3 if every device supports it.
  3. Step 2For per-person access, switch to enterprise mode, where the access point sends each user's credentials to a RADIUS server.
  4. Step 3Disable the accounts of people who leave, instead of changing the shared passphrase for everyone.
  5. Where questions turnConfusing RADIUS and TACACS+. RADIUS is for network access and encrypts only the password; TACACS+ is for device administration and encrypts the whole packet.
  6. The takeawayUse WPA3 or WPA2 with AES, and give each person their own credentials through RADIUS when the office can support it.
Practise 2.3

2.4Summarize types of malware and tools/methods for detection, removal, and prevention.

  • A Trojan hides inside software that looks useful; a virus attaches to files and spreads when they run; a boot sector virus infects disk startup code; a rootkit hides itself and other malware from the operating system.
  • Spyware collects information secretly, a keylogger records keystrokes and stalkerware monitors a person's activity, often on a phone. Ransomware encrypts files and demands payment; a cryptominer uses the device's processing power for the attacker.
  • Fileless malware runs in memory and abuses built-in tools such as PowerShell, leaving little on disk. Adware shows unwanted advertising, and a potentially unwanted program (PUP) is bundled software the user did not knowingly want.
  • Detection and response: antivirus and anti-malware scan for known threats; endpoint detection and response (EDR) records and analyzes endpoint behaviour; extended detection and response (XDR) correlates endpoints, network, email and cloud; managed detection and response (MDR) is a provider's staff monitoring and responding around the clock.
  • Prevention: an email security gateway filters malicious mail, software firewalls limit traffic, and user education, including antiphishing training, teaches people to recognize common threats.
  • Removal: a recovery console or bootable environment lets a technician repair or scan a system whose own OS cannot be trusted; when cleaning cannot be trusted, OS reinstallation is the sure fix.
  1. The situationA laptop's CPU stays near 100% with no programs open, and a normal scan finds nothing.
  2. Step 1Identify the unfamiliar process using the CPU and suspect a cryptominer.
  3. Step 2Scan from outside the running OS, for example from a recovery or preinstallation environment, in case a rootkit is hiding it.
  4. Step 3If the infection cannot be removed with confidence, back up the user's data and reinstall the OS.
  5. Where questions turnTreating EDR, XDR and MDR as the same thing. EDR and XDR are tools; MDR is a service with people who use them.
  6. The takeawayMatch the symptom to the malware type, then pick a tool that works even if the malware hides from Windows.
Practise 2.4

2.5Compare and contrast common social engineering attacks, threats, and vulnerabilities.

  • Phishing tricks people through messages: vishing by voice, smishing by text, QR code phishing through a scanned code, spear phishing at a chosen person and whaling at a senior executive.
  • In-person attacks: shoulder surfing (watching a screen or keypad), tailgating (following someone through a controlled door), impersonation (posing as someone with a reason to be there) and dumpster diving (searching discarded material).
  • Network threats: denial of service (DoS) and distributed denial of service (DDoS) make a service unavailable; an evil twin copies a real Wi-Fi network; spoofing fakes an address or identity; an on-path attack intercepts traffic between two parties.
  • Password and application attacks: brute force tries every combination, a dictionary attack tries a list of likely words, Structured Query Language (SQL) injection alters a database query through input, and cross-site scripting (XSS) injects script into pages other users view.
  • Other threats: a zero-day attack uses a flaw with no fix yet, an insider threat comes from someone with legitimate access, business email compromise (BEC) abuses a real or impersonated business mailbox, and a supply chain or pipeline attack compromises a supplier or build process to reach its customers.
  • Vulnerabilities are weaknesses that threats exploit: non-compliant systems, unpatched systems, unprotected systems missing antivirus or a firewall, end of life (EOL) systems that no longer receive fixes, and personal devices under bring your own device (BYOD).
  1. The situationA clerk receives an email from the finance director's real address asking to change a supplier's bank details today.
  2. Step 1Notice the pressure and the request to move money: signs of business email compromise.
  3. Step 2Verify by calling the director or the supplier on a number already on file, not one in the email.
  4. Step 3Report it, so the mailbox can be checked for compromise and other staff warned.
  5. Where questions turnCalling a weakness an attack or the other way round. An unpatched or EOL system is a vulnerability; phishing, tailgating and a DDoS are threats that exploit people or systems.
  6. The takeawayVerify any change to payment details through a separate, known channel.
Practise 2.5

2.6Given a scenario, implement procedures for basic small office/home office (SOHO) malware removal.

  • Step 1: investigate and verify the malware symptoms, so the technician knows the problem is malware.
  • Step 2: quarantine the infected system, off the network and away from shared drives and removable media. Step 3: disable System Restore in Windows Home, because restore points may hold the malware.
  • Step 4: remediate the infected system. Step 5: update the anti-malware software. Step 6: scan and remove with techniques such as safe mode or a preinstallation environment. Step 7: reimage or reinstall when cleaning cannot be trusted.
  • Step 8: schedule scans and run updates for the OS and the anti-malware.
  • Step 9: enable System Restore and create a restore point in Windows Home, recording a clean state.
  • Step 10: educate the end user on how the malware likely arrived and how to avoid it.
  1. The situationA home office PC shows pop-ups and a changed browser home page, and the scanner closes itself in normal mode.
  2. Step 1Verify the symptoms, then disconnect the PC from the network.
  3. Step 2Disable System Restore, update the anti-malware, and scan from safe mode or a preinstallation environment.
  4. Step 3Schedule scans and run updates, enable System Restore and create a restore point, then explain to the user what to avoid.
  5. Where questions turnCreating a restore point before cleaning, or leaving System Restore on during remediation. Either can preserve the malware and bring it back.
  6. The takeawayFollow the ten steps in order: System Restore goes off before cleaning and back on after.
Practise 2.6

2.7Given a scenario, apply workstation security options and hardening techniques.

  • Data-at-rest encryption, such as BitLocker full-disk encryption, keeps a drive's contents unreadable without the key, even when the drive is removed and read in another computer.
  • Password considerations: length adds the most strength, then character types and complexity; uniqueness means no reuse across accounts; expiration forces a change after a set time.
  • BIOS/UEFI passwords protect the firmware settings, including the boot order, so nobody can start another operating system to bypass the sign-in.
  • End-user best practices: use screensaver locks, log off when not in use, secure critical hardware such as laptops, protect PII and passwords, and use password managers.
  • Account management: restrict user permissions, restrict log-in times, disable the guest account, use a failed attempts lockout, use a timeout or screen lock, and apply account expiration dates.
  • Change the default administrator's user account and password, disable AutoRun and disable unused services to reduce what an attacker can use.
  1. The situationA new laptop is being prepared for a finance employee who travels.
  2. Step 1Turn on full-disk encryption so a stolen laptop's drive cannot be read.
  3. Step 2Set a BIOS/UEFI administrator password so the boot order cannot be changed.
  4. Step 3Give the user a standard account, change the default administrator password and disable the guest account.
  5. Step 4Set a short idle timeout for the screen lock and disable AutoRun and unused services.
  6. Where questions turnChoosing a sign-in control, such as a lockout or a firmware password, to protect a stolen drive. Only encryption protects data once the drive is read in another computer.
  7. The takeawayEach control covers a different way in: the drive, the firmware, the accounts and the unattended session.
Practise 2.7

2.8Given a scenario, apply common methods for securing mobile devices.

  • Hardening techniques: device encryption, screen locks and configuration profiles. A swipe offers no authentication; patterns and PIN codes are something the user knows; fingerprint and facial recognition are biometrics.
  • Patch management covers both OS updates and application updates; a fixed vulnerability is only closed once the update is installed.
  • Endpoint security software on mobile devices includes antivirus, anti-malware and content filtering.
  • Locator applications find a lost device; remote wipes erase it when it cannot be recovered; remote backup applications keep a copy of its data off the device.
  • Failed log-in attempts restrictions delay, lock or wipe a device after a number of wrong entries, which makes guessing a short PIN impractical.
  • Policies and procedures: MDM enrolls devices and enforces profile security requirements. BYOD devices belong to the user, so the company usually manages only a work area; corporate-owned devices can be managed fully.
  1. The situationA company starts letting staff read work email on their own phones.
  2. Step 1Write a BYOD policy that states what the company may manage and wipe.
  3. Step 2Enroll the phones in MDM and push a profile that requires a screen lock, encryption and current OS updates.
  4. Step 3Keep work data in a managed area so a remote wipe removes only company data.
  5. Where questions turnPicking a locator application when the question asks how to protect data on a phone that will not be recovered. Locating finds the device; a remote wipe protects the data.
  6. The takeawayMDM turns the policy into enforced settings, and the policy tells users what the company can and cannot do on a personal device.
Practise 2.8

2.9Compare and contrast common data destruction and disposal methods.

  • Physical destruction of hard drives: drilling, shredding, degaussing and incineration. The drive cannot be used again afterward.
  • Degaussing uses a strong magnetic field and works only on magnetic media such as hard disk drives and tapes; it does not erase solid-state drives.
  • Recycling or repurposing best practices: erasing/wiping overwrites the data, and low-level formatting rewrites the disk; both leave the drive usable.
  • A standard (quick) format only builds a new file system, so the old data remains and recovery tools can find it.
  • Outsourcing concepts: a third-party vendor can destroy or recycle media and provides a certification of destruction/recycling as evidence.
  • Regulatory and environmental requirements govern how data is disposed of and how electronic waste, such as batteries and monitors, is recycled.
  1. The situationAn office has two kinds of old drives: hard disk drives going to a charity and solid-state drives that held patient records.
  2. Step 1Wipe the hard disk drives with an overwrite utility so the charity can reuse them.
  3. Step 2Have a certified vendor shred the solid-state drives, since degaussing does not affect flash memory.
  4. Step 3Keep the vendor's certificate of destruction with the disposal records.
  5. Where questions turnTreating a quick format as erasure, or choosing degaussing for a solid-state drive.
  6. The takeawayChoose by what happens next to the drive: reused means wipe, not reused means destroy, and always keep the evidence.
Practise 2.9

2.10Given a scenario, apply security settings on SOHO wireless and wired networks.

  • Change the default administrator password first: every other setting can be undone by someone with the factory credentials.
  • Router settings also include IP filtering (rules by address), content filtering (blocking types of sites), firmware updates and physical placement in a secure location.
  • Disable Universal Plug and Play unless it is needed, because it lets any device on the LAN open inbound ports without approval.
  • A screened subnet holds servers that must be reached from the internet, separated from the internal LAN. Configure secure management access: LAN only and encrypted.
  • Wireless settings: change the default SSID, use strong encryption settings such as WPA3, and configure guest access isolated from the LAN. Disabling SSID broadcast hides the name from lists but is not real protection.
  • Firewall settings: disable unused ports and create only the port forwarding/mapping rules that are needed.
  1. The situationA dentist's office installs a new wireless router and needs a camera recorder reachable from home.
  2. Step 1Change the administrator password and install the latest firmware.
  3. Step 2Disable UPnP and remote management, and put the router in a locked cabinet.
  4. Step 3Set WPA3 for staff and an isolated guest network for patients.
  5. Step 4Forward only the recorder's one port to its address.
  6. Where questions turnBelieving that disabling SSID broadcast secures the network. The name is still in the traffic, so encryption does the real work.
  7. The takeawayClose everything that is not needed, then open exactly what is, one port to one device.
Practise 2.10

2.11Given a scenario, configure relevant security settings in a browser.

  • Browser download and installation: use trusted sources, avoid untrusted ones, and compare a file's hash with the vendor's published value to confirm it was not altered.
  • Browser patching closes vulnerabilities that malicious sites and extensions exploit, so automatic updates stay on.
  • Extensions and plug-ins come only from trusted sources; unknown ones are removed or disabled through browser feature management.
  • Password managers built into or added to the browser generate and store unique passwords.
  • Secure connections need a valid certificate that matches the site; a certificate warning on a sensitive site means stop.
  • Settings: pop-up blocker, clearing browsing data and cache, private-browsing mode, sign-in/browser data synchronization, ad blockers, proxy and secure DNS.
  1. The situationA user's browser shows a new toolbar and changed search engine, and the user wants to work safely from cafes.
  2. Step 1Remove the extension that did not come from a trusted store and reset the changed settings.
  3. Step 2Install the latest browser updates.
  4. Step 3Enable secure DNS and confirm the user checks for a valid certificate before signing in anywhere.
  5. Where questions turnExpecting private-browsing mode to hide activity from the network. It only stops the browser keeping history, cookies and form data on the device.
  6. The takeawayClean what was added, patch what was exploited, then set the browser to protect the user on untrusted networks.
Practise 2.11

Key terms

MFA
Multifactor Authentication
TPM
Trusted Platform Module
UAC
User Account Control
EFS
Encrypting File System
WPA
Wi-Fi Protected Access
BYOD
Bring Your Own Device
MDM
Mobile Device Management
PII
Personally Identifiable Information
UPnP
Universal Plug and Play
SSID
Service Set Identifier
After this guide: A laptop holding customer PII is stolen, and its solid-state drive will later be retired. Which control protects the data while the laptop is missing, and why is degaussing the wrong way to retire the drive?
Show the answer

Data-at-rest encryption, such as BitLocker with the TPM, protects the data, because the drive cannot be read without the key even in another computer. Degaussing only affects magnetic media, so a solid-state drive must be erased with a method made for flash memory or physically destroyed, for example by shredding.

Practise Security

Built to CompTIA's A+ 220-1202 V15 exam objectives. The explanations, worked examples and traps are ExamDragon's own. Every source this path is built on.