Malware, Social Engineering, Hardening & Data Disposal
A+ Core 2 220-1202 · Security
This guide covers the remaining eight Security objectives: malware types and removal, social engineering attacks, workstation hardening, mobile device security, data destruction, SOHO network security, and browser security. These are among the most scenario-heavy objectives on Core 2 — the exam describes an attack or a symptom and asks you to identify it or respond to it.
Types of malware
Malware is any software designed to harm or exploit a system. A Trojan disguises itself as legitimate software to trick the user into installing it. A rootkit hides deep in the operating system, concealing itself and other malware from detection — rootkits are among the hardest infections to remove. A virus attaches itself to files or programs and spreads when they are run or shared. Spyware secretly collects information about the user — browsing habits, keystrokes, personal data. Ransomware encrypts the victim's files and demands payment for the decryption key. A keylogger records keystrokes to steal passwords and other sensitive input. A boot sector virus infects the boot sector of a drive so it loads before the operating system. A cryptominer uses the victim's computer to mine cryptocurrency, consuming CPU and electricity. Stalkerware is spyware installed by someone known to the victim (often a partner) to monitor their activity. Fileless malware runs in memory without writing files to disk, making it harder for traditional antivirus to detect. Adware displays unwanted advertisements, and a potentially unwanted program (PUP) is software the user did not intend to install, often bundled with free downloads.
Detection, removal, and prevention tools include antivirus and anti-malware software, the recovery console (for repairing a system that will not boot), endpoint detection and response (EDR) (which monitors endpoints for suspicious behaviour and responds automatically), managed detection and response (MDR) (EDR plus a human security team), extended detection and response (XDR) (detection across endpoints, networks, and cloud), email security gateways (which filter malicious email before it reaches users), software firewalls, and user education — including antiphishing training, which is one of the most effective defences because most infections start with a user clicking something.
Social engineering, threats, and vulnerabilities
Social engineering attacks manipulate people rather than technology. Phishing is fraudulent email designed to steal credentials or install malware; vishing is phishing by voice call; smishing is phishing by SMS text; QR code phishing uses malicious QR codes; spear phishing targets a specific person or organization with personalized messages; and whaling targets senior executives. Shoulder surfing is watching someone enter a password. Tailgating is following an authorized person through a secure door. Impersonation is pretending to be someone else (such as IT support) to gain access or information. Dumpster diving is searching through discarded documents and media for sensitive information.
Threats include denial of service (DoS) and distributed denial of service (DDoS) attacks, which overwhelm a service with traffic; an evil twin (a fake wireless access point impersonating a legitimate one); a zero-day attack (exploiting a vulnerability before the vendor has released a fix); spoofing (falsifying an identity, such as an email address or IP address); an on-path attack (intercepting communication between two parties); brute-force attacks (trying every possible password) and dictionary attacks (trying common passwords from a list); insider threats (attacks by people inside the organization); SQL injection (inserting malicious database commands through a web form); cross-site scripting (XSS) (injecting malicious scripts into web pages); business email compromise (BEC) (impersonating an executive to trick an employee into transferring money); and supply chain/pipeline attacks (compromising a supplier or software update to reach the target). Vulnerabilities that make these attacks possible include non-compliant systems, unpatched systems, unprotected systems (missing antivirus or firewall), end-of-life software, and BYOD devices that are not managed.
Malware removal procedure
CompTIA defines a ten-step malware removal procedure for SOHO environments, and the exam tests the order. 1. Investigate and verify malware symptoms. Confirm the infection — do not assume. 2. Quarantine the infected system. Disconnect it from the network so the malware cannot spread. 3. Disable System Restore in Windows Home. (System Restore points can contain the malware, which would reinfect the system.) 4. Remediate the infected systems. 5. Update the anti-malware software. 6. Scan and remove using appropriate techniques (safe mode, preinstallation environment). 7. Reimage/reinstall if removal cannot restore trust in the system. 8. Schedule scans and run updates. 9. Enable System Restore and create a restore point in Windows Home. 10. Educate the end user about how the infection happened and how to avoid it.
Hardening, mobile security, and data destruction
Workstation hardening reduces the attack surface. Key techniques include data-at-rest encryption, password considerations (length, character types, uniqueness, complexity, expiration), BIOS/UEFI passwords, account management (restrict user permissions, restrict log-in times, disable the guest account, use failed-attempts lockout, use timeout/screen lock, apply account expiration dates, change the default administrator account and password), disabling AutoRun (so malware on a USB drive does not run automatically), disabling unused services, and end-user best practices (use screensaver locks, log off when not in use, secure laptops physically, protect PII and passwords, use password managers). Remote backup applications protect data against ransomware and hardware failure.
Mobile device security includes hardening techniques (device encryption, screen locks — PIN, pattern, fingerprint, facial recognition, swipe — and configuration profiles), patch management (OS and application updates), endpoint security software (antivirus, anti-malware, content filtering), locator applications (find a lost device), and remote wipes. Policies cover MDM, BYOD vs. corporate-owned devices, and profile security requirements.
Data destruction and disposal methods must match the sensitivity of the data. Physical destruction of hard drives includes drilling, shredding, degaussing (using a strong magnet to erase magnetic media — note that degaussing does not work on SSDs), and incineration. Erasing/wiping overwrites the data; low-level formatting writes zeros across the drive; standard formatting only removes the file table and does not reliably destroy data. Recycling or repurposing best practices include wiping before reuse, outsourcing to a certified vendor, obtaining a certification of destruction/recycling, and complying with regulatory and environmental requirements.
SOHO network and browser security
Securing a SOHO router means changing default passwords, updating firmware, enabling content filtering, placing the router in a secure physical location, disabling UPnP if not needed, using a screened subnet (DMZ) for publicly accessible devices, configuring secure management access, disabling unused ports, and configuring port forwarding only where needed. Wireless-specific settings include changing the SSID, disabling SSID broadcast (a weak measure — the network is still detectable), configuring encryption (WPA2/WPA3), and setting up guest access on a separate network. Firewall settings control which traffic is allowed.
Browser security covers downloading and installing browsers only from trusted sources (verifying with hashing where available), keeping the browser patched, installing extensions and plug-ins only from trusted sources, using a password manager, ensuring secure connections and valid certificates, and managing browser settings: pop-up blocker, clearing browsing data and cache, private-browsing mode, sign-in and browser data synchronization, ad blockers, proxy settings, and secure DNS. A certificate warning in the browser means the site's identity cannot be verified — the user should not proceed past it on a site that handles sensitive data.
Exam traps to watch for
- Skipping the quarantine step in malware removal: isolate the infected system from the network BEFORE scanning, or the malware can spread.
- Saying degaussing destroys SSD data: degaussing only works on magnetic media (HDDs). SSDs need wiping or physical destruction.
- Confusing ransomware with spyware: ransomware encrypts files and demands payment; spyware secretly collects information.
- Thinking standard formatting destroys data: it only removes the file table. Use wiping, low-level formatting, or physical destruction for sensitive data.
Practice questions
Test yourself on this guide. Answers are checked instantly, with a full explanation for each question.
Q1.A user's files have been encrypted and a message demands payment in cryptocurrency for the decryption key. What type of malware is this?
Explanation: Ransomware encrypts the victim's files and demands payment (usually in cryptocurrency) for the decryption key. Option A is wrong because spyware secretly collects information without encrypting files. Option D is wrong because adware displays unwanted advertisements. Option C is wrong because a keylogger records keystrokes to steal credentials.
Exam objective: 220-1202 Objective 2.4: Summarize types of malware and tools/methods for detection, removal, and prevention
Q2.A technician is removing malware from a user's computer. What is the correct FIRST step after confirming the symptoms?
Explanation: CompTIA's malware removal procedure is: 1) investigate and verify symptoms, 2) quarantine the infected system (disconnect from the network so the malware cannot spread), 3) disable System Restore in Windows Home, 4) remediate the infected systems, 5) update the anti-malware software, 6) scan and remove using appropriate techniques (safe mode, preinstallation environment), 7) reimage/reinstall, 8) schedule scans and run updates, 9) enable System Restore and create a restore point in Windows Home, 10) educate the end user. Quarantine comes before scanning. Option A is wrong because scanning before quarantining lets the malware spread during the scan. Option B is wrong because reimage/reinstall is step 7, used when cleanup cannot restore trust — not the second step. Option C is wrong because user education is the final step (step 10).
Exam objective: 220-1202 Objective 2.6: Given a scenario, implement procedures for basic small office/home office (SOHO) malware removal
Q3.An employee receives an email that appears to be from the CEO, urgently asking them to transfer money to a new supplier account. The email address is slightly different from the CEO's real address. What type of attack is this?
Explanation: Business email compromise (BEC) involves impersonating an executive (often with a lookalike email address) to trick an employee into transferring money or revealing sensitive information. Option D is wrong because a DoS attack overwhelms a service with traffic. Option B is wrong because a brute-force attack tries many passwords against an account. Option A is wrong because an evil twin is a fake wireless access point.
Exam objective: 220-1202 Objective 2.5: Compare and contrast common social engineering attacks, threats, and vulnerabilities
Q4.An attacker sets up a wireless access point with the same name as a coffee shop's legitimate Wi-Fi network, hoping users will connect to it and enter credentials. What is this attack called?
Explanation: An evil twin is a rogue access point that impersonates a legitimate one (same SSID) to intercept traffic and steal credentials from users who connect to it. Option A is wrong because a dictionary attack tries common passwords from a list. Option C is wrong because SQL injection targets databases through web forms. Option B is wrong because a zero-day attack exploits an unpatched software vulnerability.
Exam objective: 220-1202 Objective 2.5: Compare and contrast common social engineering attacks, threats, and vulnerabilities
Q5.A company is disposing of old hard drives that contained customer financial data. Which destruction method guarantees the data cannot be recovered?
Explanation: For highly sensitive data, physical destruction (shredding, drilling, incineration) or degaussing (for magnetic HDDs) is the reliable method, and a certification of destruction provides an auditable record. Option C is wrong because standard formatting only removes the file table — the data remains recoverable with forensic tools. Option B is wrong because deleting files only marks the space as available; the data is still on the disk. Option A is wrong because moving files does not destroy them.
Exam objective: 220-1202 Objective 2.9: Compare and contrast common data destruction and disposal methods
Q6.A user plugs a USB flash drive found in the parking lot into their work computer, and malware immediately begins installing. Which hardening measure would have prevented the automatic installation?
Explanation: Disabling AutoRun prevents Windows from automatically executing programs on removable media, which is how malware on a found USB drive typically spreads. Option B is wrong because BitLocker encrypts the drive; it does not stop malware from running. Option D is wrong because password length is unrelated to USB malware. Option A is wrong because the guest account is unrelated to AutoRun behaviour.
Exam objective: 220-1202 Objective 2.7: Given a scenario, apply workstation security options and hardening techniques
Q7.An employee's company phone is stolen. The IT department needs to protect the company data on the phone. What should be done?
Explanation: A remote wipe, issued through the mobile device management (MDM) solution, erases the company data (and usually the entire device) so the thief cannot access it. Option D is wrong because changing the email password does not remove data already stored on the phone. Option C is wrong because it does nothing to protect the data. Option B is wrong because cancelling the contract stops the cellular service but leaves the data on the device.
Exam objective: 220-1202 Objective 2.8: Given a scenario, apply common methods for securing mobile devices
Q8.A user visits their bank's website and the browser displays a certificate warning. What should the user do?
Explanation: A certificate warning means the browser cannot verify the site's identity — the certificate may be expired, self-signed, or issued for a different domain, all of which are consistent with a spoofed (phishing) site. On a banking site the user should stop and contact the bank through a known channel. Option D is wrong because clicking through defeats the purpose of the warning. Option A is wrong because clearing the cache does not fix a certificate problem. Option B is wrong because the pop-up blocker is unrelated to certificates.
Exam objective: 220-1202 Objective 2.11: Given a scenario, configure relevant security settings in a browser