Cyber Attack Types and Preventive/Detective/Corrective Controls Cheat Sheet

1) What You Need to Know (How exam questions are really testing you)

You’re usually being tested on two moves:
1) Recognize the attack pattern (what the attacker is doing / exploiting).
2) Pick the best control type: Preventive (stop/limit), Detective (identify/alert), or Corrective (fix/recover).

Core control definitions (must be crisp)
  • Preventive controls: Reduce likelihood of an attack succeeding (stop it or make it much harder).
    • Examples: MFA, firewalls, least privilege, secure configuration, patching, input validation.
  • Detective controls: Identify that an attack (or policy violation) is occurring/occurred.
    • Examples: logs + monitoring, IDS, SIEM alerts, file integrity monitoring.
  • Corrective controls: Restore/return to normal after an incident and reduce future recurrence.
    • Examples: restore from backups, reimage systems, rotate credentials, apply patches, incident response remediation.

Exam trap reminder: Detective ≠ preventive. If it only alerts you after/while it’s happening, it’s detective.

Why this matters in CPA ISC

In ISC, you’re linking cyber risks to internal control objectives (confidentiality, integrity, availability; reliable reporting; safeguarding assets). You need to choose controls that are:

  • Appropriate to the threat
  • Cost-effective and aligned with risk
  • Layered (no single control is enough)
When to use this cheat sheet
  • Any question asking: “Which control best mitigates…?” or “What control would detect…?” or “Which is corrective after…?”
  • Scenarios involving malware, phishing, unauthorized access, application attacks, outages, and data exfiltration.

2) Step-by-Step Breakdown (How to answer control-selection questions fast)

A. 6-step “Attack → Control” method

1) Identify the asset at risk: credentials, money, customer data, system availability, financial reporting data.
2) Classify the attack type (phishing, ransomware, SQL injection, DDoS, insider, etc.).
3) Locate the failure point (people/process/technology):

  • People: social engineering, weak passwords
  • Process: poor change management, lack of approvals
  • Technology: unpatched systems, misconfigurations
    4) Determine the primary objective impacted:
  • Confidentiality (exfiltration)
  • Integrity (data manipulation)
  • Availability (downtime)
    5) Match the best control category:
  • Want to stop it? → Preventive
  • Want to find it quickly? → Detective
  • Want to recover? → Corrective
    6) Pick the most specific control that directly addresses the attack vector (avoid generic answers if a targeted one fits).
B. Mini worked walk-through (pattern you’ll see on exams)

Prompt: “An attacker sends emails that trick employees into entering credentials on a fake login page.”

  • Attack type: Phishing (credential harvesting)
  • Best preventive: MFA (even if password stolen, attacker blocked)
  • Best detective: SIEM alert for anomalous logins / impossible travel, email security quarantines
  • Best corrective: Reset passwords, revoke sessions/tokens, review mailbox rules (if BEC), user retraining

Decision point: If the question asks “best” control and choices include MFA, awareness training, and logging—MFA usually wins as strongest preventive against stolen passwords.


3) Key Formulas, Rules & Facts

A. Control category quick rules (high-yield)
  • Preventive: access controls (MFA, RBAC), network controls (firewalls, segmentation), secure SDLC (input validation), hardening/patching.
  • Detective: monitoring, logging, IDS, audits, reconciliations, exception reporting.
  • Corrective: backups/restore, incident response actions, patches after discovery, disaster recovery.

If you need a risk expression, keep it simple:

Risk≈Likelihood×Impact\text{Risk} \approx \text{Likelihood} \times \text{Impact}

B. Attack types mapped to controls (the table to memorize)
Attack type (what it is)Typical goalPreventive controls (stop/limit)Detective controls (find/alert)Corrective controls (recover/fix)
Phishing / Spear phishing / Whaling (deceptive messages)Credential theft, malware delivery, wire fraudSecurity awareness, email filtering, DMARC/DKIM/SPF, URL rewriting, MFA, restrict macrosPhishing reporting button, SIEM alerts on risky logins, mailbox rule alertsReset creds, revoke tokens, block domains, incident response + user coaching
Business Email Compromise (BEC) (impersonation for payments)Fraudulent paymentsDual authorization, call-back verification, vendor master change controls, segregation of dutiesException reports on new vendors/changes, payment anomaly detectionFreeze/recall funds, change approvals, remediate mailbox compromise
Ransomware (encrypts data, extorts)Deny access + extortPatch mgmt, EDR/anti-malware, least privilege, app allowlisting, network segmentation, restrict admin rightsEDR alerts, file integrity monitoring, SIEM, unusual encryption activityRestore from offline/immutable backups, reimage endpoints, rotate creds, patch exploited vulnerability
Virus/Trojan/Spyware (malware)Disruption, theft, persistenceEndpoint protection/EDR, allowlisting, least privilege, secure configsEDR detections, log monitoringQuarantine/remove malware, rebuild system, patch
Worm (self-propagating)Rapid spreadNetwork segmentation, patching, disable unnecessary servicesIDS/IPS alerts, network traffic anomaliesContainment, mass patching, rebuild
Password attacks (brute force, spraying, credential stuffing)Account takeoverMFA, strong password policy, rate limiting/lockout, breached password checksLogin failure alerts, impossible travel, UEBAForce reset, revoke sessions, investigate impacted accounts
Man-in-the-Middle (MITM) (intercepts traffic)Steal creds/data, alter transactionsTLS/HTTPS, VPN, certificate validation, secure Wi-FiCert mismatch alerts, network monitoringRotate creds/keys, remediate rogue AP
Session hijacking (steal session token)Impersonate userSecure cookies, token rotation, TLS, short sessionsAnomalous session behaviorInvalidate sessions, rotate secrets
DoS/DDoS (flood resources)Availability disruptionDDoS protection/CDN, rate limiting, redundant capacity, WAFTraffic monitoring, IDS, availability alertsFailover, scale resources, block sources, post-incident tuning
SQL Injection (malicious SQL via input)Data theft/modificationParameterized queries, input validation, least privilege DB accounts, WAFDB activity monitoring, WAF logs, SIEM alertsPatch code, rotate DB creds, review exposure
Cross-Site Scripting (XSS) (inject scripts)Steal sessions, deface, pivotOutput encoding, content security policy, input validationWAF alerts, client-side reportsPatch app, invalidate sessions
CSRF (forces user to submit actions)Unauthorized actionsAnti-CSRF tokens, same-site cookies, re-auth for sensitive actionsApp logs for unusual actionsReverse unauthorized changes, patch
Zero-day exploit (unknown vulnerability)Initial accessDefense-in-depth, segmentation, least privilege, EDR behavior blockingEDR/IDS anomaly detectionEmergency patching, isolation, IOC hunting
Insider threat (malicious/negligent)Theft/fraud/sabotageLeast privilege, SoD, background checks, DLP, approval workflowsUEBA, audit logs, exception reports, reconciliationsRevoke access, HR/legal process, remediate losses
Supply chain attack (vendor/software compromised)Trusted-path compromiseVendor risk mgmt, code signing validation, SBOM where used, least privilege for vendorsMonitoring of updates, integrity checks, anomaly detectionRollback updates, rotate keys, vendor response
DNS poisoning / spoofingRedirect to fake sitesDNSSEC where applicable, secure DNS resolvers, endpoint protectionsDNS anomaly monitoringFlush caches, remediate resolvers
C. “Most testable” control distinctions
  • Firewall: primarily preventive (blocks/limits traffic by rules). Not great at telling you “what happened” unless paired with logs/monitoring.
  • IDS vs IPS:
    • IDS (Intrusion Detection System) = detective (alerts).
    • IPS (Intrusion Prevention System) = preventive (blocks).
  • Encryption:
    • Prevents unauthorized reading (confidentiality) if keys are protected.
    • Does not inherently prevent deletion/outage (availability) or fraudulent authorized use.
  • Backups: primarily corrective (restore), sometimes described as resilience.
  • MFA: strongly preventive for credential theft scenarios.
  • Logging alone is not a control unless you review/monitor it (logging + monitoring = detective).

4) Examples & Applications (How it appears on the exam)

Example 1: Ransomware hits file server

Scenario: Users can’t access shared drive; ransom note appears.

  • Best preventive choices: EDR, patching, least privilege, segmentation, block macros.
  • Best detective choices: EDR alerts, file integrity monitoring, SIEM correlation.
  • Best corrective choices: restore from offline/immutable backups, reimage, credential rotation.
    Key exam insight: If one answer mentions offline/immutable backups + restore testing, that’s the most complete corrective angle.
Example 2: Fraudulent vendor payment request (BEC)

Scenario: CEO “emails” AP to urgently wire funds to new account.

  • Best preventive: call-back verification to a known number, dual approval, segregation of duties.
  • Best detective: exception report for unusual payments/new bank details, monitoring vendor master changes.
  • Best corrective: recall/stop payment, investigate mailbox compromise, tighten procedures.
    Key exam insight: Training helps, but process controls (verification/approvals) are the core.
Example 3: SQL injection in web app

Scenario: Strange DB queries; customer records exported.

  • Best preventive: parameterized queries (prepared statements), input validation, least-priv DB accounts, WAF.
  • Best detective: DB activity monitoring, WAF logs, SIEM alerts on large exports.
  • Best corrective: patch code, rotate DB creds/keys, notify per incident process.
    Key exam insight: “Strong password policy” is not the main fix—this is an application control issue.
Example 4: DDoS on customer portal

Scenario: Site down from traffic flood.

  • Best preventive: DDoS scrubbing/CDN, rate limiting, redundant capacity.
  • Best detective: availability monitoring + traffic anomaly alerts.
  • Best corrective: failover, scaling, post-event tuning.
    Key exam insight: Antivirus is irrelevant; focus on availability controls.

5) Common Mistakes & Traps

1) Mixing up IDS and IPS

  • Wrong: calling IDS preventive.
  • Why wrong: IDS alerts; IPS blocks.
  • Fix: remember D in IDS = Detect.

2) Calling backups “preventive”

  • Wrong: “Backups prevent ransomware.”
  • Why wrong: they don’t stop encryption; they enable recovery.
  • Fix: backups are typically corrective (and resilience).

3) Picking training as the “best” control when stronger technical controls exist

  • Wrong: selecting awareness training over MFA for phishing credential theft.
  • Why wrong: training reduces likelihood, but MFA directly blocks reuse of stolen creds.
  • Fix: prefer stronger, direct controls when asked for “best.”

4) Assuming encryption solves everything

  • Wrong: “Encrypting the database prevents unauthorized transactions.”
  • Why wrong: encryption protects confidentiality, not integrity of authorized misuse.
  • Fix: pair with access controls, SoD, logging, approvals.

5) Treating “logging” as detective without review

  • Wrong: “Enable logs” as detection.
  • Why wrong: logs must be monitored/alerted to detect.
  • Fix: answer choices with SIEM/alerting/review beat “enable logging.”

6) Using a network control to solve an application-layer bug (and vice versa)

  • Wrong: firewall alone prevents SQL injection.
  • Why wrong: SQLi is an app coding flaw; WAF can help but code fix is primary.
  • Fix: match the layer: secure coding for SQLi/XSS; network controls for network threats.

7) Ignoring segregation of duties in cyber-enabled fraud

  • Wrong: focusing only on malware tools in BEC scenarios.
  • Why wrong: many losses are process failures (approval/verification).
  • Fix: for payment fraud, think SoD + independent verification.

8) Confusing “corrective” with “detective response”

  • Wrong: “Incident response plan” is purely corrective.
  • Why wrong: IR has detective (triage), corrective (contain/eradicate), and preventive improvements.
  • Fix: if the action is restore/eradicate, it’s corrective; if alert/identify, detective.

6) Memory Aids & Quick Tricks

Trick / mnemonicHelps you rememberWhen to use
PDC = Prevent, Detect, CorrectThe control categories and sequenceAny “what type of control” question
IDS Detects, IPS PreventsIDS vs IPS classificationNetwork security control questions
MFA beats PhishIf creds are stolen, MFA blocks reusePhishing/credential stuffing scenarios
“Code fixes code attacks”SQLi/XSS/CSRF → secure coding patternsWeb application attack questions
BEC = Business process failureApprovals, verification, SoD are keyWire fraud / vendor change scams
Backups = Bounce BackBackups are corrective/recoveryRansomware/data destruction scenarios

Quick ranking heuristic: If asked for the single best control, pick the one that breaks the attack chain at the earliest point (usually preventive), unless the question explicitly asks for detection or recovery.


7) Quick Review Checklist (2-minute final glance)

  • You can define preventive vs detective vs corrective in one sentence each.
  • MFA is the go-to preventive control for stolen-password attacks.
  • IDS = detective; IPS = preventive.
  • Backups/restore are corrective (and must be tested; offline/immutable is strongest vs ransomware).
  • SQL injection → parameterized queries + input validation + least privilege (WAF is supplemental).
  • XSS → output encoding + CSP; session protection.
  • DDoS → availability controls (DDoS protection, redundancy, monitoring), not antivirus.
  • BEC/payment fraud → SoD + independent call-back verification + dual approvals.
  • Logging only counts as detection when paired with monitoring/alerting (SIEM).

You’ve got this—recognize the attack pattern, then choose the control that most directly breaks it.