SY0-801 — CompTIA Security+ V8 Cheat Sheet

Cheat sheet for CompTIA Security+ V8 (SY0-801): controls, threats, IAM, crypto, architecture, operations, and governance.

Use the tables for a quick pre-exam check. Expand a topic’s notes for explanations, examples, and additional distinctions.

Scope and study context

Security+ questions often test whether you can choose the best control, next step, root cause, or most likely attack in a short scenario. Memorization helps, but the exam rewards practical judgment: protect confidentiality, integrity, and availability; reduce risk; preserve evidence; and select controls that fit the business and technical context.

Security Foundations

CIA, AAA, and Non-Repudiation

ConceptMeaningExam cueCommon control examples
ConfidentialityPrevent unauthorized disclosure“Protect sensitive data from being viewed”Encryption, access control, data masking
IntegrityPrevent unauthorized modification“Detect tampering” or “ensure data is unchanged”Hashing, digital signatures, file integrity monitoring
AvailabilityEnsure systems/data are usable when needed“Minimize downtime”Redundancy, backups, clustering, DDoS protection
IdentificationClaiming an identityUsername, account ID, certificate subjectUser ID, device ID
AuthenticationProving identity“Verify who the user is”Password, MFA, certificate, Kerberos
AuthorizationGranting permissions“What can the user access?”RBAC, ABAC, ACLs
AccountingTracking actions“Who did what and when?”Logs, audit trails, SIEM
Non-repudiationPrevent denying an action“Prove sender/action later”Digital signatures, timestamping, signed logs
Notes and examples

Control Categories and Functions

DimensionOptionsHow to recognize
Control categoryManagerial, operational, technical, physicalManagerial = policy/risk; operational = people/process; technical = systems; physical = facilities
Control functionPreventive, detective, corrective, deterrent, compensating, directivePrevent = stop; detect = alert; correct = restore; deter = discourage; compensate = alternative; direct = require behavior
Security modelZero trust, defense in depth, least privilege, separation of dutiesZero trust = verify continuously; defense in depth = layered controls; least privilege = only required access; SoD = split critical tasks

High-Yield Security Principles

PrinciplePractical meaningTrap
Least privilegeGrant only needed permissions“Admin by default” violates it
Need to knowAccess based on business needDifferent from clearance alone
Defense in depthMultiple overlapping controlsNot one “perfect” control
Secure by designBuild security into architectureNot added only after deployment
Fail secureFailure leaves system protectedNot the same as fail open
Default denyBlock unless explicitly allowedStronger baseline than allow by default
Implicit denyUnmatched traffic/access is deniedCommon in firewalls and ACLs
Separation of dutiesSplit sensitive responsibilitiesReduces fraud and single-person abuse
Job rotationRotate roles to detect abuse and reduce dependencyNot primarily an access-control model
Dual controlTwo people required for one actionStronger than review after the fact

Control Categories

CategoryWhat it isExamples
AdministrativePolicies, procedures, governanceSecurity policy, training, background checks
TechnicalTechnology-enforced controlsFirewall, MFA, EDR, encryption
PhysicalProtect facilities and hardwareLocks, guards, cameras, mantraps

Control Functions

FunctionPurposeExample
PreventiveStop an event before it happensACL, firewall rule, least privilege
DetectiveIdentify that something happenedIDS, SIEM alert, audit log
CorrectiveRestore after an eventPatch, restore from backup
DeterrentDiscourage behaviorWarning banner, camera
CompensatingAlternative control when primary is not feasibleExtra monitoring for legacy system
DirectiveTell people what to doPolicy, standard, procedure

Quick trap: A control can belong to more than one idea depending on context. A camera may be detective if used to review footage, deterrent if visible, and physical because of the control category.

Risk, Governance, and Compliance

Risk Terms

TermMeaningExam cue
AssetSomething valuableData, system, facility, reputation
ThreatPotential cause of harmAttacker, storm, insider, malware
VulnerabilityWeakness that can be exploitedUnpatched service, weak password
RiskLikelihood and impact of threat exploiting vulnerability“What could happen?”
Inherent riskRisk before controlsBaseline exposure
Residual riskRisk remaining after controlsMust be accepted, transferred, avoided, or mitigated
Risk appetiteAmount of risk organization is willing to acceptStrategic tolerance
Risk toleranceAcceptable variation around appetiteOperational threshold
ControlSafeguard that reduces riskPreventive, detective, corrective, etc.
Compensating controlAlternative control when preferred control is not feasibleUsed to meet intent, not identical method
Notes and examples

Risk Response Decisions

ResponseChoose whenExample
MitigateReduce likelihood or impactPatch, segment, encrypt
AvoidStop the risky activityDecommission vulnerable public service
TransferShift financial/operational impactCyber insurance, outsourced service with contractual responsibility
AcceptResidual risk is within toleranceDocumented risk acceptance
EscalateRisk exceeds local authoritySend to risk owner or executive committee

Risk Formulas

Use these for exam math-style scenarios. Values are usually provided in the question.

\[ \text{SLE} = \text{Asset Value} \times \text{Exposure Factor} \]\[ \text{ALE} = \text{SLE} \times \text{Annualized Rate of Occurrence} \]\[ \text{Risk} = \text{Likelihood} \times \text{Impact} \]
Formula itemMeaning
AVAsset value
EFPercent loss from one event
SLESingle loss expectancy
AROExpected frequency per year
ALEAnnualized loss expectancy
RTOMaximum acceptable time to restore service
RPOMaximum acceptable data loss measured in time
MTD / MAOMaximum tolerable downtime/outage
MTTRMean time to repair/recover
MTBFMean time between failures

Policy and Governance Artifacts

ArtifactPurposeTrap
PolicyHigh-level mandatory ruleSays what/why, not every step
StandardSpecific mandatory requirementExample: encryption algorithm standard
ProcedureStep-by-step instructionsOperational “how to”
GuidelineRecommended practiceUsually not mandatory
BaselineMinimum secure configurationUsed for consistent hardening
SLAService performance commitmentAvailability/support expectations
MOU/MOAAgreement between partiesOften less formal than contract
BPABlanket purchase agreementProcurement arrangement
NDAConfidentiality agreementProtects shared sensitive information
AUPAcceptable use policyDefines permitted/prohibited use
BIABusiness impact analysisDetermines criticality, RTO/RPO
Risk registerTracks risks, owners, statusLiving governance document

Policy and Documentation

DocumentPurpose
PolicyHigh-level management intent
StandardMandatory specific requirement
ProcedureStep-by-step instructions
GuidelineRecommended practice
BaselineMinimum secure configuration
AUPAcceptable use of systems
NDAConfidentiality agreement
SLAService performance expectations
MOU/MOAAgreement between parties
BPABusiness partnership agreement

Third-Party and Supply Chain Risk

Review areaWhat to check
Vendor due diligenceSecurity posture before onboarding
Contract termsSecurity requirements, audit rights, breach notification
Data accessMinimum necessary access
Fourth-party riskVendor’s vendors
Software supply chainDependencies, signing, SBOM, repository security
Ongoing monitoringReassess risk over time
OffboardingRemove access and return/destroy data

Personnel Security

ControlPurpose
Background checksReduce hiring risk where appropriate
OnboardingAssign correct access and training
OffboardingRemove access promptly
User trainingReduce human risk
Role changesUpdate access when duties change
Insider threat programDetect and manage misuse risk

Threats and Attacks

Social Engineering

AttackKey indicatorBest defense
PhishingBroad fraudulent email/messageAwareness, filtering, reporting, MFA
Spear phishingTargeted phishingUser training, email security, verification
WhalingTargets executivesExecutive awareness, payment verification
VishingVoice phishingCall-back procedures
SmishingSMS phishingMobile awareness, link protection
PretextingFabricated scenarioIdentity verification
BaitingEnticing item/link/mediaRemovable media controls
TailgatingFollowing authorized personMantraps, badges, awareness
Shoulder surfingObserving screens/keystrokesPrivacy filters, clean desk
ImpersonationPretending to be trusted partyChallenge-response, verification
Invoice scamFraudulent payment requestDual approval, vendor validation
Notes and examples

Malware and Host-Based Threats

ThreatWhat it doesHigh-yield distinction
VirusAttaches to files; requires executionNeeds host file or user action
WormSelf-replicates over networksDoes not need file attachment
TrojanAppears legitimate but maliciousOften installs backdoor
RansomwareEncrypts/exfiltrates data for extortionBackups and segmentation are critical
SpywareCollects information covertlyPrivacy/data theft focus
KeyloggerCaptures keystrokesCredential theft
RootkitHides privileged compromiseHard to detect; may require rebuild
Logic bombTriggers on condition/dateInsider threat cue
BotnetCompromised hosts controlled centrallyDDoS/spam/credential attacks
Fileless malwareUses memory/native toolsEDR, script controls, logging
PUP/PUAPotentially unwanted program/appMay be grayware, not always overt malware

Password and Credential Attacks

AttackDescriptionBetter defense
Brute forceTries many combinationsMFA, lockout/rate limiting, strong passwords
DictionaryUses wordlistsBlock common passwords, password managers
Password sprayingTries few common passwords across many usersMFA, detection by distributed failures
Credential stuffingReuses breached credentialsMFA, breached-password checks
Pass-the-hashUses captured hash without crackingCredential Guard-like controls, limit admin reuse
KerberoastingTargets Kerberos service ticketsStrong service account passwords, gMSA-like practices
Rainbow tablePrecomputed hash lookupSalting, modern hashing
Offline crackingAttacker has password database/hashStrong hashing/KDF, salting, peppering

Network Attacks

AttackSymptomMitigation
DoS/DDoSService unavailable from traffic floodDDoS protection, rate limiting, CDN, filtering
On-path/MITMIntercepted or altered trafficTLS, certificate validation, VPN, secure Wi-Fi
ARP poisoningLocal network traffic redirectionDynamic ARP inspection, segmentation
DNS poisoningWrong DNS responsesDNSSEC, secure resolvers, monitoring
DHCP starvationExhausts leasesDHCP snooping, port security
Rogue DHCPMalicious IP configurationDHCP snooping
VLAN hoppingAccess to unauthorized VLANDisable unused ports, avoid native VLAN exposure
Evil twinFake Wi-Fi APWPA3/WPA2-Enterprise, certificate validation
DeauthenticationWi-Fi disconnection attackProtected management frames where supported
ReplayCaptured valid data resentNonces, timestamps, session tokens
Session hijackingAttacker takes active sessionSecure cookies, TLS, token rotation

Web and Application Attacks

AttackWhat to look forPrimary mitigation
SQL injectionUser input changes database queryParameterized queries, input validation
Command injectionInput executes OS commandAvoid shell calls, sanitize input, least privilege
XSSScript runs in user browserOutput encoding, CSP, input validation
CSRFUser’s browser submits unwanted actionCSRF tokens, SameSite cookies
SSRFServer fetches attacker-chosen internal URLEgress filtering, metadata protection, allowlists
Path traversal../ accesses unauthorized filesCanonicalization, allowlists, permissions
Directory listingExposes filesDisable listing, proper web config
Insecure deserializationMalicious object triggers code/logicSafe formats, validation, signing
Race conditionTiming changes outcomeLocking, atomic operations
API abuseExcessive/unauthorized API callsAuthZ, rate limits, schema validation
IDORAccess by changing object IDObject-level authorization
Buffer overflowMemory overwriteMemory-safe languages, bounds checking, ASLR/DEP

Threat Actor Types

ActorMotivationTypical capability
Script kiddieCuriosity/statusUses existing tools
HacktivistIdeologyDefacement, leaks, DDoS
InsiderRevenge, money, negligenceTrusted access
Organized crimeFinancial gainPhishing, ransomware, fraud
Nation-state/APTEspionage/disruptionPersistent, well-resourced
CompetitorBusiness advantageIP theft, intelligence
Shadow IT userConvenienceUnapproved systems/services

Social Engineering

AttackKey cluesBest defenses
PhishingBroad fraudulent emailAwareness, filtering, reporting, MFA
Spear phishingTargeted phishingTraining, verification process, anti-spoofing controls
WhalingTargets executivesExecutive training, payment verification
VishingVoice-based deceptionCall-back procedures, help desk scripts
SmishingSMS-based deceptionUser awareness, mobile security
PretextingFabricated scenarioVerification and least disclosure
BaitingEnticing user with reward/mediaDevice control, training
TailgatingFollowing authorized personBadges, mantraps, challenge culture

Malware and Host-Based Threats

ThreatWhat to recognize
VirusAttaches to files and needs user/system action
WormSelf-propagates across networks
TrojanDisguises malicious function as legitimate software
RansomwareEncrypts or exfiltrates data for extortion
RootkitHides privileged compromise
KeyloggerCaptures keystrokes
SpywareMonitors user activity
Logic bombTriggers on condition/date
Fileless malwareUses memory and legitimate tools
BotnetCompromised systems controlled by attacker

Network Attacks

AttackSymptom or clueDefensive focus
DDoSService exhaustion from many sourcesDDoS protection, rate limiting, CDN
DNS poisoningUsers redirected to wrong IPDNSSEC, secure DNS configuration
ARP spoofingLAN traffic redirected through attackerDynamic ARP inspection, segmentation
Evil twinFake Wi-Fi access pointWPA3/WPA2-Enterprise, certificate validation
Rogue APUnauthorized access pointWireless scans, NAC
On-path attackAttacker intercepts trafficTLS, VPN, certificate validation
Replay attackCaptured valid traffic reusedNonces, timestamps, session protection
VLAN hoppingUnauthorized VLAN accessDisable trunking, native VLAN controls
MAC floodingSwitch CAM table exhaustionPort security
Credential stuffingReused credentials tried at scaleMFA, rate limiting, password monitoring
Password sprayingFew common passwords across many accountsLockout strategy, MFA, monitoring

Application and Web Attacks

AttackCore issuePrevention
SQL injectionUntrusted input alters database queryParameterized queries, input validation
Command injectionInput executes OS commandsInput validation, safe APIs, least privilege
XSSMalicious script runs in user browserOutput encoding, CSP, input validation
CSRFUser is tricked into submitting authenticated requestAnti-CSRF tokens, SameSite cookies
SSRFServer is tricked into requesting internal resourceAllow lists, metadata protection
Directory traversalInput accesses unauthorized pathsCanonicalization, input validation
Insecure deserializationSerialized data triggers code/object abuseAvoid unsafe deserialization, integrity checks
Buffer overflowMemory overwrittenBounds checking, memory protections
Race conditionTiming flaw changes outcomeLocking, atomic operations
API abuseWeak auth, rate limits, validationAPI gateway, auth, throttling, schema validation

Injection decision rule: If user-controlled input changes the meaning of a command, query, or interpreter instruction, think injection.

Vulnerability Management and Testing

Assessment Types

ActivityGoalPermission levelOutput
Vulnerability scanFind known weaknessesAuthorizedFindings list
Vulnerability assessmentValidate and prioritize weaknessesAuthorizedRisk-ranked remediation plan
Penetration testExploit to prove impactAuthorized, scopedExploit evidence and recommendations
Red teamTest detection/response against realistic adversaryAuthorized, often stealthyOperational security gaps
Blue teamDefend and respondInternal defensive roleImproved detection/response
Purple teamCollaborative red + blue improvementJointTuned controls and lessons
Bug bountyExternal researchers report flawsProgram-definedValidated reports
Notes and examples

Scan and Test Distinctions

OptionChoose whenTradeoff
Credentialed scanNeed deeper, more accurate host findingsRequires safe credential handling
Non-credentialed scanExternal attacker perspectiveMore false negatives
Agent-based scanRoaming or intermittently connected endpointsAgent management overhead
Agentless scanNetwork-visible assetsMay miss offline/segmented systems
Passive scanAvoid disrupting sensitive networksLess complete
Active scanNeed direct validationCan disrupt fragile systems
Static testingAnalyze code without running itEarlier in SDLC
Dynamic testingTest running applicationFinds runtime behavior
FuzzingSend unexpected inputsGood for crash/input handling defects

Vulnerability Remediation Prioritization

Prioritize using more than severity alone:

  1. Internet exposure.
  2. Known exploitation in the wild.
  3. Business criticality.
  4. Data sensitivity.
  5. Privilege level affected.
  6. Ease of exploitation.
  7. Compensating controls.
  8. Patch availability and operational risk.
FindingLikely first action
Critical internet-facing RCE with known exploitationEmergency patch or isolate
Unsupported OS on isolated lab systemPlan replacement, segment, document risk
Weak cipher on internal admin interfaceUpdate configuration, verify compatibility
Missing patch on fragile OT deviceTest patch, apply maintenance window, use segmentation if patch delayed
False positiveDocument evidence and suppress/tune appropriately

Standard Workflow

    flowchart LR
	    A[Inventory assets] --> B[Scan and collect findings]
	    B --> C[Validate findings]
	    C --> D[Prioritize by risk]
	    D --> E[Remediate or mitigate]
	    E --> F[Verify fix]
	    F --> G[Report and improve]

Scanning and Testing

MethodPurposeTrap
Non-credentialed scanExternal view with limited insightMay miss local misconfigurations
Credentialed scanAuthenticated view of system stateRequires secure credential handling
Agent-based scanLocal continuous visibilityAgent deployment and coverage matter
Passive scanObserves traffic without probingMay miss inactive systems
Penetration testDemonstrates exploitability and impactNot the same as a routine vulnerability scan
Red teamTests detection and response against realistic attacker behaviorBroader than finding CVEs
Bug bountyExternal researchers report issuesRequires scope and triage process

Prioritization Factors

Prioritize using more than a severity label. Consider:

  • Exploitability in the current environment
  • Asset criticality
  • Internet exposure
  • Data sensitivity
  • Known active exploitation
  • Compensating controls
  • Business impact of remediation
  • Availability of patches or mitigations

Common trap: The highest numeric vulnerability score is not always the first patch if a lower-scored issue is actively exploited on a public-facing critical system.

Identity and Access Management

Authentication Factors

FactorExamplesTrap
Something you knowPassword, PINSecurity questions are also knowledge
Something you haveToken, smart card, phone appSMS is weaker than app/hardware token
Something you areFingerprint, face, irisBiometric cannot be “changed” like password
Somewhere you areGeolocation, network locationUsually contextual, not standalone strong factor
Something you doTyping pattern, behaviorBehavioral biometrics
Notes and examples

MFA means using factors from different categories. Two passwords are not MFA.

Access Control Models

ModelWho controls access?Best fitTrap
DACData ownerFlexible file sharingOwner can grant access
MACCentral authority/classificationMilitary/high-security labelsUsers cannot override labels
RBACRole/job functionEnterprise access at scaleRole explosion if poorly designed
ABACAttributes and policiesDynamic/cloud/zero trustMore complex policy design
Rule-basedSystem rulesFirewalls, time-based accessOften confused with RBAC
PBACPolicy-based decisionsCentralized fine-grained controlOften implemented with attributes

IAM Technologies

TechnologyPrimary purposeExam distinction
LDAPDirectory access protocolQueries directory services
KerberosTicket-based authenticationUses KDC/TGT/service tickets
RADIUSAAA for network accessCommon for VPN/Wi-Fi; UDP-based
TACACS+Device administration AAASeparates authN/authZ/accounting; TCP-based
SAMLFederated SSO using XML assertionsCommon enterprise browser SSO
OAuth 2.0Delegated authorization“Allow app to access resource”
OpenID ConnectIdentity layer on OAuth 2.0Authentication/identity tokens
SCIMIdentity provisioning/deprovisioningAutomates user lifecycle
FIDO2/WebAuthnPhishing-resistant authenticationPublic-key based, passwordless-capable
PAMControls privileged accountsVaulting, session recording, JIT access

Privileged Access Controls

ControlWhat it solves
Just-in-time accessReduces standing privilege
Just-enough accessGrants only specific admin capability
Privileged session managementRecords/monitors admin sessions
Password vaultingProtects shared/admin secrets
Break-glass accountEmergency access with monitoring
Separate admin accountsReduces risk from daily-use compromise
Service account governancePrevents unmanaged persistent privilege

Authentication Factors

FactorDescriptionExamples
Something you knowSecret knowledgePassword, PIN
Something you havePhysical or digital possessionSmart card, hardware token, authenticator app
Something you areBiometric traitFingerprint, face, iris
Somewhere you areLocation contextGeolocation, network zone
Something you doBehavioral patternTyping cadence, gesture pattern

MFA requires different factor types. A password plus a PIN is not strong MFA because both are “something you know.”

Access Control Models

ModelKey ideaBest fit
DACOwner controls accessSmall environments, file ownership
MACSystem-enforced labelsHigh-security classified environments
RBACAccess based on roleEnterprise job functions
ABACAccess based on attributes and contextDynamic access decisions
Rule-basedAccess follows configured rulesFirewall rules, time-based access

Account and Privilege Controls

ControlWhy it matters
Least privilegeUsers and services get only required access
Just-in-time accessPrivilege granted temporarily when needed
Privileged access managementControls and monitors admin accounts
Separation of dutiesPrevents one person from completing sensitive actions alone
Job rotationHelps detect fraud and reduces dependency
Mandatory vacationCan expose hidden fraud or misuse
Account recertificationConfirms access is still appropriate
DeprovisioningRemoves access when users leave or change roles

Federation and SSO

TermReview meaning
SSOOne authentication event grants access to multiple services
FederationTrust relationship between identity provider and service provider
SAMLCommon XML-based enterprise federation protocol
OAuthAuthorization framework for delegated access
OIDCAuthentication layer built on OAuth 2.0
KerberosTicket-based authentication in many enterprise networks
RADIUSCentralized authentication often used for VPN, Wi-Fi, network access
TACACS+Device administration authentication, authorization, and accounting

Common trap: OAuth is commonly about delegated authorization. If the question is about proving user identity to an application, OIDC is usually the closer answer.

Network Security

Network Zones and Segmentation

Zone/patternPurposeCommon controls
DMZHosts public-facing servicesFirewalls, reverse proxy, WAF
Internal LANUser and business systemsNAC, segmentation, EDR
Management networkAdmin interfacesMFA, bastion host, allowlists
Guest networkUntrusted visitor accessInternet-only, client isolation
OT/ICS networkIndustrial/control systemsStrict segmentation, monitoring, change control
ExtranetPartner accessVPN/ZTNA, least privilege
Cloud VPC/VNetCloud network boundarySecurity groups, route tables, NACLs
MicrosegmentationWorkload-level isolationIdentity-aware policies, east-west filtering
Notes and examples

Security Device Selection

ControlBest forNot best for
Stateless firewallSimple packet filteringApp-aware decisions
Stateful firewallConnection-aware filteringDeep application attacks
NGFWApp/user-aware filteringReplacing secure coding
WAFHTTP/HTTPS application attacksNon-web protocols
IDSDetect and alertBlocking by itself
IPSInline blockingPassive-only monitoring
NDRNetwork detection and responseEndpoint-only visibility
EDREndpoint detection/responseNetwork-only unmanaged devices
XDRCorrelated detection across toolsSubstitute for good telemetry
ProxyIntermediary control and filteringFull endpoint control
Reverse proxyProtect/publish backend servicesUser endpoint inspection
Load balancerDistribute traffic, improve availabilitySecurity control by default unless configured
VPNEncrypted tunnelFine-grained app-only access by itself
ZTNAApp-specific identity-aware accessLegacy full-network access needs
NACControl device network admissionApplication-layer authorization
CASBCloud app visibility/controlOn-prem-only traffic
DLPDetect/prevent data leakageAsset inventory by itself

Common Ports and Protocols

Protocol/servicePort(s)Security note
FTP20/21Avoid for sensitive data; use secure alternatives
SSH/SFTP/SCP22Secure remote admin/file transfer
Telnet23Insecure; avoid
SMTP25Mail transfer
DNS53UDP/TCP; protect against poisoning/tunneling
DHCP67/68Use snooping/segmentation
HTTP80Unencrypted web
Kerberos88Ticket-based auth
POP3110 / 995995 uses TLS
NTP123Important for logs/auth; secure time sources
IMAP143 / 993993 uses TLS
SNMP161/162Prefer SNMPv3
LDAP389Directory protocol
HTTPS443HTTP over TLS
SMB445File sharing; high-value lateral movement target
LDAPS636LDAP over TLS
Syslog514 / 65146514 commonly TLS-protected
RADIUS1812/1813AAA
TACACS+49Device admin AAA
RDP3389Protect with VPN/ZTNA/MFA; avoid public exposure

Wireless Security

Standard/controlMeaningExam cue
WPA2-PersonalPre-shared keyHome/small office
WPA2/WPA3-Enterprise802.1X authenticationEnterprise Wi-Fi with RADIUS
SAEWPA3 password-authenticated key exchangeBetter than WPA2-PSK handshake
Captive portalWeb-based acceptance/loginNot strong encryption by itself
MAC filteringAllows listed MACsWeak; MACs can be spoofed
WPSEasy setup PIN/buttonDisable where possible
Site surveyIdentify signal/interference/rogue APsWireless planning/security

Common Ports and Protocols

ProtocolPort(s)Review use
FTP20/21Insecure file transfer
SSH / SFTP22Secure remote administration / file transfer
Telnet23Insecure remote terminal
SMTP25Mail transfer
DNS53Name resolution
DHCP67/68Dynamic addressing
HTTP80Web traffic, not encrypted
Kerberos88Ticket-based authentication
POP3110Mail retrieval
NTP123Time synchronization
IMAP143Mail access
SNMP161/162Network management and traps
LDAP389Directory services
HTTPS443HTTP over TLS
SMB445Windows file sharing
SMTPS / submission465/587Secure mail submission contexts
LDAPS636LDAP over TLS
Syslog514 / 6514Logging; 6514 commonly TLS-protected
RADIUS1812/1813Authentication/accounting
RDP3389Remote desktop

Network Security Devices and Services

TechnologyPrimary role
FirewallPermit or deny traffic based on rules
NGFWAdds application awareness, identity, threat features
WAFProtects web applications from HTTP-layer attacks
IDSDetects suspicious activity
IPSBlocks or prevents suspicious activity
ProxyIntermediates client requests
Reverse proxyFronts servers and can add security/performance controls
VPNEncrypted tunnel over untrusted network
NACEnforces device/user posture before network access
DLPDetects or prevents sensitive data movement
SIEMAggregates and correlates logs
SOARAutomates response workflows
EDREndpoint detection and response
XDRCorrelates detection across multiple telemetry sources

Segmentation Concepts

ConceptPurpose
VLANLogical network segmentation
SubnetIP-level segmentation
DMZExposes public services while limiting internal access
MicrosegmentationFine-grained workload-to-workload control
Jump serverControlled administrative access path
Bastion hostHardened exposed host for a specific purpose
Air gapPhysical/logical isolation from networks
Zero trustNever trust solely based on network location; verify continuously

Segmentation decision rule: Place public-facing services in a DMZ, restrict management interfaces, limit east-west movement, and allow only required traffic.

Wireless Security

TopicReview point
WPA2/WPA3-PersonalUses pre-shared key; suitable for smaller/simple environments
WPA2/WPA3-EnterpriseUses 802.1X authentication; better for organizations
WPSConvenience feature; often disabled for security
Captive portalWeb-based network access flow; not equivalent to strong encryption
Site surveyIdentifies coverage, interference, and rogue devices
Guest Wi-FiShould be segmented from internal networks

Mobile Device Management

ControlUse
MDMEnforce device policies, wipe, inventory
MAMManage specific applications and data
ContainerizationSeparate corporate and personal data
Remote wipeRemove data from lost/stolen devices
Full-device encryptionProtect data at rest
GeofencingApply controls based on location
Sideloading restrictionsReduce untrusted app installation

Common trap: BYOD requires policy and technical enforcement. Encryption alone does not solve app risk, data leakage, or account deprovisioning.

Cryptography and PKI

Crypto Building Blocks

ConceptPurposeExample use
Symmetric encryptionFast encryption with same keyBulk data encryption
Asymmetric encryptionPublic/private key pairKey exchange, digital signatures
HashingOne-way integrity digestFile integrity, password storage input to KDF
HMACKeyed hash for integrity/authenticityAPI/message integrity
Digital signatureIntegrity, authenticity, non-repudiationSigned software, certificates
Key exchangeEstablish shared secretTLS session setup
KDFDerives strong key from password/secretPassword hashing, key derivation
SaltUnique random value added before hashingDefeats rainbow tables
PepperSecret value added server-sideExtra protection if DB leaks
NonceNumber used oncePrevents replay
IVInitialization vectorAdds uniqueness to encryption mode
AEADAuthenticated encryption with associated dataConfidentiality plus integrity
Notes and examples

Algorithm Recognition

TypeExamplesNotes
SymmetricAES, ChaCha20Fast; key distribution is challenge
AsymmetricRSA, ECCSlower; supports public-key operations
HashSHA-256, SHA-3Integrity only, not encryption
Legacy/weakMD5, SHA-1, DES, RC4, WEPAvoid for modern security
Password hashing/KDFbcrypt, scrypt, Argon2, PBKDF2Designed to resist brute force
Transport securityTLSProtects data in transit
Disk/data encryptionAES-based FDE, database encryptionProtects data at rest

PKI and Certificate Terms

TermMeaningTrap
CAIssues/signs certificatesTrust anchor if root CA
RAValidates identity before issuanceDoes not usually sign certs
CSRCertificate signing requestContains public key and subject info
Root CATop of trust chainMust be highly protected
Intermediate CAIssues certificates under rootLimits root exposure
Certificate chainPath from leaf cert to trusted rootChain errors break trust
CRLRevocation listCan become large/stale
OCSPOnline revocation statusMore real-time than CRL
OCSP staplingServer provides OCSP proofReduces client lookup burden
SANSubject alternative nameModern hostname validation uses SAN
Wildcard certCovers subdomains at one levelDoes not cover every possible name
Code signing certVerifies software publisher/integrityDoes not prove software is vulnerability-free
Certificate pinningRestricts accepted cert/keyCan cause outages if rotation mishandled

Cryptographic Building Blocks

ConceptPurposeExamples / notes
Symmetric encryptionFast encryption with same keyUsed for bulk data encryption
Asymmetric encryptionPublic/private key pairKey exchange, digital signatures, certificates
HashingOne-way integrity checkSame input should produce same digest
SaltingAdds randomness to password hashingDefends against rainbow tables
HMACIntegrity and authenticity with shared secretHash plus secret key
Digital signatureIntegrity, authenticity, non-repudiationCreated with private key, verified with public key
Key exchangeEstablish shared secretUsed in secure session setup
Perfect forward secrecyPast sessions stay protected if long-term key is compromisedUses ephemeral session keys

PKI Terms

TermMeaning
CACertificate authority that issues certificates
RARegistration authority that verifies identity information
CSRCertificate signing request
CRLCertificate revocation list
OCSPOnline certificate status checking
SANSubject alternative name; common for DNS names in certificates
Wildcard certificateCovers multiple subdomains at a level
Self-signed certificateNot trusted by default unless explicitly trusted
Certificate pinningApplication expects a specific certificate or public key

Certificate Troubleshooting Clues

SymptomLikely issue
Browser says name mismatchCN/SAN does not match requested hostname
Certificate expiredValidity period ended
Untrusted issuerCA not trusted or missing chain
Revoked certificateCRL/OCSP indicates invalid certificate
Users warned after TLS inspectionEndpoint does not trust inspection CA
Works by IP but not hostnameName validation or DNS issue

Quick trap: Hashing is not encryption. If the data must be recovered, use encryption. If the goal is integrity verification, use hashing or signatures.

Secure Architecture and Hardening

Hardening Checklist

AreaKey actions
Operating systemPatch, remove unnecessary services, enforce secure baseline
AccountsDisable defaults, remove stale users, enforce MFA/admin separation
ServicesStop unused daemons, restrict binding interfaces
NetworkHost firewall, least-required ports, segmentation
LoggingEnable security logs, centralize, protect integrity
TimeSynchronize trusted time source
FilesLeast privilege, integrity monitoring, encryption where needed
ConfigurationVersion control, change control, drift detection
SecretsVault, rotate, avoid hardcoding
FirmwareUpdate, secure boot, trusted platform protections
DisposalSanitize media, document chain of custody when needed
Notes and examples

Endpoint and Mobile Controls

ControlPurpose
EDR/anti-malwareDetect and respond to endpoint threats
Host firewallLimit inbound/outbound host traffic
Application allowlistingRun only approved software
MDM/UEMEnforce mobile configuration
Remote wipeProtect lost/stolen devices
Full-disk encryptionProtect data at rest
Screen lockPrevent casual physical access
ContainerizationSeparate work/personal data
Jailbreak/root detectionIdentify compromised mobile OS controls
USB/removable media controlReduce malware and data exfiltration risk

Cloud and Virtualization Security

TopicSecurity focusCommon exam distinction
Shared responsibilityProvider and customer each secure different layersCustomer usually still owns identity, data, configuration
IaaSCustomer manages OS and aboveMost control, more responsibility
PaaSProvider manages runtime/platformCustomer focuses on app/data/config
SaaSProvider manages application stackCustomer focuses on users, data, settings
Public cloudShared provider infrastructureStrong logical isolation needed
Private cloudDedicated to one organizationMore control, not automatically more secure
Hybrid cloudMix of on-prem and cloudConnectivity and identity integration matter
Multi-cloudMultiple providersGovernance/visibility complexity
Security groupInstance/resource-level filteringOften stateful
Network ACLSubnet/network-level filteringOften stateless depending on platform
IAM policyIdentity/resource permissionMisconfiguration is common cloud risk
CSPMCloud security posture managementFinds misconfigurations
CWPPCloud workload protection platformProtects workloads such as VMs/containers
CASBCloud access security brokerSaaS visibility/control
KMSKey management serviceCentral key lifecycle and access control

Containers and Kubernetes-Style Concepts

ControlWhy it matters
Minimal base imagesReduces attack surface
Image scanningFinds vulnerable packages/secrets
Signed imagesVerifies provenance
Read-only filesystemLimits runtime tampering
Non-root containersReduces privilege impact
Secrets managementAvoids secrets in images/env files
Network policiesControls east-west traffic
Admission controlBlocks noncompliant deployments
Runtime monitoringDetects unexpected behavior
Resource limitsReduces DoS/blast radius

Data Protection

TechniqueProtects againstHigh-yield distinction
EncryptionUnauthorized readingReversible with key
HashingTamper detectionNot reversible
TokenizationReplaces sensitive value with tokenOriginal stored in token vault
MaskingHides part of dataOften for display/non-prod use
AnonymizationRemoves identifying linksHard to reverse if done well
PseudonymizationReplaces identifiers but can be re-linkedRe-identification possible
DLPDetect/prevent sensitive data movementNeeds classification and tuning
DRM/IRMControls document usageProtects after distribution
Data minimizationCollect only needed dataPrivacy-by-design principle
Retention policyKeep data for defined periodMust include disposal
Secure deletionPrevent recoveryMethod depends on media type

Secure Software and DevSecOps

SDLC Security Activities

PhaseSecurity activity
RequirementsSecurity/privacy requirements, abuse cases
DesignThreat modeling, architecture review
DevelopmentSecure coding, peer review, secrets scanning
BuildDependency scanning, signed artifacts
TestSAST, DAST, IAST, fuzzing, penetration testing
DeployIaC scanning, change approval, secure configuration
OperateMonitoring, patching, incident feedback
RetireData migration, sanitization, decommissioning
Notes and examples

Testing Tool Selection

Tool/typeBest forLimitation
SASTSource code flaws before runtimeMay miss runtime/config issues
DASTRunning web app behaviorMay not identify exact code line
IASTRuntime app testing with instrumentationRequires integration
SCAThird-party dependency riskDoes not replace code review
FuzzingUnexpected input handlingNeeds triage
Secrets scanningHardcoded credentials/tokensNeeds false-positive handling
IaC scanningCloud/config misconfigurationsMust align with deployment context

Secure Coding Traps

Bad patternRiskBetter pattern
String-built SQLSQL injectionParameterized queries
Direct object IDs without checksIDORObject-level authorization
Storing plaintext passwordsCredential compromiseSalted password KDF
Hardcoded API keysSecret leakageSecrets manager
Verbose errors to usersInformation disclosureGeneric user errors, detailed logs
Missing rate limitsBrute force/API abuseThrottling, lockout, risk-based controls
Trusting client validationBypassServer-side validation
Unvalidated redirectsPhishing/token theftAllowlisted redirects

Secure SDLC

PhaseSecurity activity
RequirementsDefine security and privacy requirements
DesignThreat modeling, architecture review
DevelopmentSecure coding, code review, dependency management
TestingSAST, DAST, IAST, fuzzing, penetration testing
DeploymentHarden configuration, sign releases, protect secrets
OperationsMonitor, patch, log, improve

Testing Types

TestWhat it examines
SASTSource code or binaries without running the app
DASTRunning application from outside
IASTRuntime testing with instrumentation
FuzzingUnexpected, malformed, or random input
Dependency scanVulnerable third-party libraries
SCASoftware composition analysis
SBOMInventory of software components
Regression testingConfirms changes did not break expected behavior

Secure Coding Rules

  • Validate input on the server side.
  • Encode output for the correct context.
  • Use parameterized queries.
  • Avoid hardcoded secrets.
  • Enforce authentication and authorization on every sensitive function.
  • Fail securely.
  • Log security events without exposing secrets.
  • Use secure defaults.
  • Keep dependencies updated.
  • Protect CI/CD pipelines and signing keys.

Security Operations and Monitoring

Telemetry Sources

SourceWhat it showsUse case
Authentication logsLogins, failures, MFA eventsCredential attacks
Endpoint logsProcess, file, registry, memory eventsMalware/lateral movement
Firewall logsAllowed/denied trafficNetwork policy validation
DNS logsDomain lookupsMalware C2, tunneling
Proxy logsWeb requestsUser web activity, exfiltration
VPN/ZTNA logsRemote access sessionsImpossible travel, unusual access
Cloud audit logsAPI calls and config changesCloud compromise/misconfiguration
Application logsBusiness logic eventsFraud and app attacks
Database logsQueries, admin actionsData access monitoring
EDR/XDR alertsCorrelated endpoint activityThreat investigation
IDS/IPS alertsNetwork signatures/anomaliesIntrusion detection
DLP alertsSensitive data movementExfiltration/handling violations
Notes and examples

SIEM, SOAR, and Detection

ToolPurposeTrap
SIEMCentral log collection, correlation, alertingNeeds tuning and good data
SOARAutomated orchestration and responseAutomates playbooks; does not replace judgment
UEBABehavior analyticsDetects anomalies; false positives possible
Threat intelligence platformManage indicators/contextIndicators expire or become noisy
Honeypot/honeynetDecoy for detection/researchMust be isolated and monitored
File integrity monitoringDetect unauthorized changesNeeds baseline and tuning

Alert Triage Quick Path

AlertFirst checksLikely containment
Multiple failed loginsSource, user, pattern, success after failuresDisable account, enforce MFA, block source
Impossible travelVPN/proxy use, user confirmation, deviceRevoke sessions, reset credentials
Malware detectionHost, process tree, hash, spreadIsolate endpoint, preserve evidence
Suspicious PowerShell/scriptParent process, encoded commands, user contextIsolate host, collect script/logs
Data exfiltrationDestination, volume, data type, userBlock channel, suspend token/account
New admin accountChange ticket, creator, source IPDisable account, review privilege changes
Public cloud storage exposureResource, data sensitivity, access logsRemove public access, rotate exposed secrets
DNS to known malicious domainHost process, frequency, payloadIsolate host, block domain/IP

Incident Response Lifecycle

PhaseGoalKey actions
PreparationBe ready before incidentPlaybooks, contacts, logging, tools, training
IdentificationConfirm incidentTriage alerts, scope impact, classify severity
ContainmentLimit damageIsolate hosts, disable accounts, block indicators
EradicationRemove causeDelete malware, patch, close persistence
RecoveryRestore operationsRebuild, restore, monitor, validate
Lessons learnedImproveRoot cause, timeline, control updates

Evidence and Forensics

ConceptMeaning
Chain of custodyDocument who handled evidence, when, and why
Order of volatilityCollect most volatile evidence first
Legal holdPreserve relevant data from deletion
Write blockerPrevent alteration of storage evidence
Hashing evidenceProve integrity of collected image/file
Timeline analysisReconstruct sequence of events
Memory captureUseful for malware, keys, processes
Disk imageBit-level copy for analysis
E-discoveryIdentify, preserve, collect, review electronic information

Useful Tool Recognition

CompTIA Security+ questions usually test tool purpose more than full syntax.

## DNS investigation
dig example.com
nslookup example.com

## Check listening connections
ss -tulpen
netstat -ano

## Test TLS certificate and handshake
openssl s_client -connect example.com:443 -servername example.com

## Capture limited packets
tcpdump -i eth0 host 10.0.0.5

## Inspect HTTP headers
curl -I https://example.com
ToolUse
pingBasic reachability; ICMP may be blocked
traceroute / tracertPath and routing troubleshooting
nslookup / digDNS queries
netstat / ssConnections and listening ports
nmapPort/service discovery
tcpdump / WiresharkPacket capture/analysis
curlHTTP/API testing
opensslCertificate/TLS inspection
grep / findLog/file searching
hashcat / John the RipperPassword cracking/testing
ipconfig / ifconfig / ipNetwork interface configuration
arpARP cache inspection

Logging and Monitoring

Log sourceWhat it helps detect
Authentication logsBrute force, impossible travel, privilege misuse
Endpoint logsMalware, process execution, persistence
Firewall logsBlocked/allowed traffic patterns
DNS logsMalware callbacks, tunneling, suspicious domains
Web server logsInjection, scanning, unusual requests
Cloud audit logsIAM changes, public exposure, API activity
EDR telemetrySuspicious process, registry, memory, network behavior
Application logsBusiness logic abuse, errors, suspicious actions

SIEM Tuning Terms

TermMeaning
True positiveAlert correctly identifies malicious/suspicious activity
False positiveAlert fires on benign activity
True negativeNo alert and no issue
False negativeIssue occurs but no alert fires
Correlation ruleCombines events to identify patterns
BaselineNormal behavior used for comparison
Alert fatigueToo many low-quality alerts reduce effectiveness

Hardening Checklist

  • Disable unnecessary services.
  • Remove default accounts and passwords.
  • Apply secure configuration baselines.
  • Enforce least privilege.
  • Enable host firewall.
  • Patch operating systems and applications.
  • Configure logging and time synchronization.
  • Use secure protocols.
  • Protect management interfaces.
  • Validate backups and recovery procedures.

Standard Flow

    flowchart TD
	    A[Preparation] --> B[Identification]
	    B --> C[Containment]
	    C --> D[Eradication]
	    D --> E[Recovery]
	    E --> F[Lessons learned]
	    F --> A

Incident Response Phases

PhaseWhat to doAvoid
PreparationPolicies, tools, contacts, playbooks, trainingWaiting until an incident to define roles
IdentificationConfirm incident, scope impact, collect indicatorsDeclaring root cause too early
ContainmentLimit spread and damageDestroying evidence unnecessarily
EradicationRemove malware, close vulnerability, reset credentialsRestoring without fixing cause
RecoveryReturn systems safely, monitor closelyBringing systems online without validation
Lessons learnedImprove controls, documentation, detectionTreating the incident as “over” after recovery

First Action Decision Rules

Scenario clueLikely best first action
Active safety riskProtect people and critical operations
Possible legal/evidence issuePreserve evidence and follow chain of custody
Malware spreadingContain affected systems
Unconfirmed alertValidate and scope
Compromised credentialsDisable/reset affected credentials and investigate use
Public data exposureFollow incident plan, contain exposure, notify internal stakeholders per procedure
RansomwareIsolate affected systems, preserve evidence, activate response plan

Evidence Principles

ConceptMeaning
Chain of custodyDocument who handled evidence, when, where, and why
IntegrityEvidence must not be altered
HashingVerifies evidence copy integrity
Legal holdPreserve relevant data for legal/regulatory reasons
Write blockerPrevents modification during acquisition
Order of volatilityCollect most temporary data first when appropriate

Volatility Review

Most volatile evidence disappears first. A typical order is:

  1. CPU registers/cache
  2. RAM
  3. Network connections and running processes
  4. Disk data
  5. Logs and remote monitoring data
  6. Backups and archives

Common trap: Pulling the power may preserve disk state but destroy volatile memory. The best action depends on the incident plan, evidence needs, and safety.

Resilience, Backup, and Disaster Recovery

Availability Patterns

PatternPurposeTrap
RedundancyExtra componentsNot useful if same failure affects all
Fault toleranceContinue despite component failureUsually more expensive/complex
High availabilityMinimize downtimeDoes not guarantee no outage
Load balancingDistribute trafficNeeds health checks
ClusteringMultiple nodes operate togetherCan be active-active or active-passive
Geographic diversitySurvive regional eventsData consistency and latency matter
ReplicationCopy data/systemsCan replicate corruption/ransomware
SnapshotPoint-in-time copyNot always independent backup
Immutable backupCannot be altered for retention periodStrong ransomware defense
Air-gapped backupOffline/isolated copySlower restore, stronger isolation
Tabletop exerciseDiscussion-based DR/IR testDoes not prove technical recovery
Failover testValidate alternate site/systemRequires planning to avoid disruption
Notes and examples

Backup Types

TypeWhat it backs upRestore implication
FullEverything selectedSimplest restore, more storage/time
IncrementalChanges since last backupFaster backup, restore needs chain
DifferentialChanges since last fullRestore needs full + latest differential
SnapshotPoint-in-time stateFast rollback, platform-dependent
Continuous replicationNear-real-time copyLow RPO, can replicate bad changes

Key Metrics

MetricMeaningCommon confusion
RTOMaximum acceptable time to restore serviceTime, not data loss
RPOMaximum acceptable data loss measured in timeData loss window, not restore time
MTD / MAOMaximum tolerable downtime/outageBusiness limit before unacceptable harm
MTTRMean time to repair/recoverOperational repair average
MTBFMean time between failuresReliability measure

Backup Types

BackupStrengthLimitation
FullComplete copyMore time/storage
IncrementalChanges since last backupFaster backup, slower restore chain
DifferentialChanges since last full backupLarger over time, simpler restore than incremental
SnapshotPoint-in-time stateMust be protected from compromise
Offline backupIsolated from network attacksSlower access
Immutable backupCannot be altered for set periodRequires correct retention design

Resilience Concepts

ConceptPurpose
High availabilityReduce downtime
Fault toleranceContinue operating despite failure
RedundancyDuplicate components
Load balancingDistribute traffic
ClusteringMultiple systems work together
Geographic diversityReduce regional outage impact
Tabletop exerciseDiscussion-based plan validation
Failover testConfirms alternate systems work

Ransomware trap: Backups only help if they are restorable, protected, recent enough for the RPO, and not encrypted or deleted by the attacker.

Physical, Environmental, and Safety Controls

ControlPrimary purpose
Badge/access cardIdentify and authorize entry
Biometric readerStronger identity verification
MantrapPrevent tailgating
Security guardDeterrence and response
CCTVDetective/deterrent evidence
Motion sensorDetect unauthorized movement
Door lockPrevent unauthorized access
Faraday cageBlock electromagnetic signals
Cable lockDeter device theft
Privacy screenReduce shoulder surfing
Fire suppressionProtect people/equipment
HVACMaintain safe operating environment
UPSShort-term power continuity
GeneratorLonger-term backup power
Hot/cold aislesData center cooling efficiency
Equipment disposalPrevent data recovery and leakage

Privacy and Data Governance

Data Roles

RoleResponsibility
Data ownerDetermines classification, access, and handling requirements
Data stewardManages data quality and governance processes
Data custodianImplements storage, backup, and technical controls
Data controllerDetermines purposes and means of processing personal data
Data processorProcesses data on behalf of controller
Data subjectIndividual the personal data relates to
Privacy officer/DPO-style roleOversees privacy program where applicable
Notes and examples

Data Classification and Handling

ClassificationTypical handling
PublicApproved for public release
InternalBusiness use; not public
ConfidentialLimited access; protect from disclosure
Restricted/highly sensitiveStrong controls, strict need-to-know
Regulated dataHandle according to applicable contractual/regulatory obligations
Lifecycle phaseSecurity focus
Create/collectMinimize, classify, notify if required
StoreEncrypt, control access, backup
UseLeast privilege, monitoring
ShareDLP, agreements, secure transfer
ArchiveRetention and access controls
DestroySanitization, certificate/record of destruction if needed

Data States

StateMeaningControls
Data at restStored dataDisk/database encryption, access control
Data in transitMoving across networksTLS, VPN, secure protocols
Data in useBeing processedMemory protections, secure enclaves, access control

Data Handling

ConceptReview point
ClassificationLabels data by sensitivity
LabelingMarks data so handling rules can be applied
TokenizationReplaces sensitive data with non-sensitive token
MaskingHides part of data from view
AnonymizationRemoves identifying information
PseudonymizationReplaces identifiers but may be reversible with extra data
RetentionDefines how long data is kept
DisposalSecure deletion, shredding, crypto-erasure
Data minimizationCollect only what is needed
DLPDetects or prevents sensitive data exposure

Trap: Encryption protects confidentiality, but it does not automatically enforce retention, minimization, consent, or appropriate access.

Common Exam Traps

If the question says…Prefer…Avoid assuming…
“Most secure remote admin”SSH, VPN/ZTNA, MFA, bastion, loggingTelnet or public RDP
“Protect web app from SQLi/XSS”Secure coding plus WAF as compensating/detective layerWAF alone fixes bad code
“Prove file was not modified”Hash or digital signatureEncryption alone
“Prove who signed/sent it”Digital signatureHash alone
“Encrypt large data efficiently”Symmetric encryptionAsymmetric for bulk data
“Exchange keys over insecure channel”Asymmetric key exchange / TLSPre-shared secrets without protection
“Stop data leaving organization”DLP, classification, egress controlsFirewall alone sees all sensitive content
“Least privilege for dynamic cloud access”ABAC/PBAC, JIT/JEAPermanent broad admin roles
“Centralize log analysis”SIEMSyslog alone as full analysis
“Automate response workflow”SOARSIEM alone
“Detect endpoint behavior”EDR/XDRAntivirus signatures only
“Network admission based on device posture”NACFirewall rule only
“Federated authorization to app data”OAuth 2.0OAuth as pure authentication
“Federated login with identity token”OIDC or SAMLLDAP by itself for web SSO
“Protect passwords in database”Salted adaptive hash/KDFEncryption of passwords for login comparison
“Lost laptop with sensitive files”Full-disk encryption and remote wipePassword-only protection
“Untrusted removable media”Disable/control USB, scan, awarenessUser caution only
“Legacy OT cannot be patched”Segment, monitor, compensating controlsIgnore vulnerability
“Ransomware resilience”Immutable/offline backups, EDR, least privilege, segmentationSnapshots alone if attacker can delete them

Cheat Sheet Checklist

Before the exam, make sure you can quickly answer:

  • Which control category and function fits a scenario?
  • Whether the question asks for confidentiality, integrity, availability, authentication, authorization, or accounting.
  • Which IAM technology is authentication, authorization, federation, provisioning, or privileged access.
  • When to choose firewall, WAF, IDS, IPS, EDR, XDR, SIEM, SOAR, DLP, CASB, NAC, VPN, or ZTNA.
  • Which attack matches the indicators: SQLi, XSS, CSRF, SSRF, replay, on-path, DNS poisoning, credential stuffing, password spraying.
  • How symmetric encryption, asymmetric encryption, hashing, HMAC, digital signatures, and certificates differ.
  • How to prioritize vulnerabilities using exploitability, exposure, business impact, and compensating controls.
  • The incident response phase implied by the action.
  • The difference between RTO, RPO, MTTR, MTBF, MTD, SLE, ARO, and ALE.
  • Which data protection method fits: encryption, hashing, tokenization, masking, anonymization, pseudonymization, or DLP.
Notes and examples

Final Quick Checklist Before Practice

Before you start topic drills or mock exams for SY0-801, make sure you can quickly explain:

  • CIA triad and how controls map to it.
  • Administrative, technical, and physical controls.
  • Preventive, detective, corrective, deterrent, directive, and compensating controls.
  • Authentication vs. authorization vs. accounting.
  • MFA factor types and common identity protocols.
  • Common attacks and their indicators.
  • Injection, XSS, CSRF, SSRF, and directory traversal differences.
  • Symmetric encryption, asymmetric encryption, hashing, HMAC, and digital signatures.
  • PKI certificate trust and revocation basics.
  • Firewall, IDS, IPS, WAF, proxy, VPN, NAC, DLP, EDR, SIEM, and SOAR roles.
  • Cloud shared responsibility and common cloud misconfigurations.
  • Vulnerability scan vs. penetration test vs. red team.
  • Incident response order and evidence preservation.
  • RTO vs. RPO and backup strategy tradeoffs.
  • Data classification, retention, masking, tokenization, and disposal.
  • Secure SDLC testing methods and CI/CD risks.
  • Governance documents and third-party risk controls.

High-Yield Exam Mindset

If the question asks…Think first about…Common trap
“Best” controlThe control that directly reduces the stated risk with least unnecessary complexityChoosing the most advanced tool instead of the most relevant one
“First” step in incident responseSafety, scope, preservation, containment plan, and procedureJumping to eradication before identifying or containing
“Most likely attack”Clues in symptoms, logs, user behavior, and affected layerMatching on buzzwords only
“Most secure” designLeast privilege, segmentation, strong identity, encryption, monitoringIgnoring availability or operational fit
“Cost-effective” optionRisk reduction proportional to cost and complexityPicking enterprise tools where policy or configuration would solve it
“Cloud responsibility”What the provider secures vs. what the customer configuresAssuming the cloud provider secures customer data, IAM, and app settings
“Compliance” or “governance”Policy, evidence, accountability, audits, data handlingTreating compliance as the same thing as security

Core Security Objectives

ConceptMeaningExample controls
ConfidentialityPrevent unauthorized disclosureEncryption, access control, data classification, DLP
IntegrityPrevent unauthorized modificationHashing, digital signatures, change control, file integrity monitoring
AvailabilityKeep systems and data usableRedundancy, backups, DDoS protection, clustering
Non-repudiationPrevent denial of an actionDigital signatures, signed logs, timestamps
AuthenticationProve identityPasswords, MFA, certificates, biometrics
AuthorizationGrant appropriate accessRBAC, ABAC, ACLs, policy engines
Accounting / auditingRecord activityLogs, SIEM, audit trails
Notes and examples

Risk Basics

Security decisions usually balance likelihood, impact, cost, and operational needs.

Risk termReview meaning
AssetSomething valuable: data, system, service, people, reputation
ThreatPotential cause of harm
VulnerabilityWeakness that can be exploited
ImpactDamage if the event occurs
LikelihoodProbability or frequency of occurrence
Inherent riskRisk before controls
Residual riskRisk remaining after controls
Risk appetiteAmount of risk the organization is willing to accept
Risk toleranceAcceptable variance around risk appetite

Risk Response Options

ResponseUse when…Example
MitigateReduce likelihood or impactPatch, segment, enable MFA
TransferShift financial or operational consequenceCyber insurance, outsourcing
AvoidStop the risky activityRetire exposed legacy service
AcceptRisk is within toleranceDocumented exception for low-risk issue

Cloud, Virtualization, and Modern Architecture

Shared Responsibility

Cloud modelProvider generally handles more of…Customer generally handles more of…
IaaSPhysical infrastructure, virtualization platformOS, applications, data, IAM configuration
PaaSInfrastructure, runtime platformApplication logic, data, access settings
SaaSApplication platform and infrastructureUsers, data, configuration, access governance
Notes and examples

Cloud trap: Misconfigured storage, excessive IAM permissions, exposed secrets, and weak logging are often customer-side risks.

Cloud Security Tools and Patterns

TermReview use
CASBVisibility and policy enforcement for cloud service use
CSPMFinds cloud configuration risks
CWPPProtects cloud workloads
IaC scanningDetects risky infrastructure templates before deployment
Secrets managementStores and rotates credentials securely
KMS / HSMKey management and hardware-backed key protection
Security groupsInstance or workload-level traffic filtering
VPC/VNetIsolated cloud network boundary
Private endpointAccess service without public internet exposure
Immutable infrastructureReplace rather than manually modify systems

Containers and Orchestration

TopicReview point
Container imageShould be scanned, signed, and minimal
RegistryMust enforce access control and integrity
OrchestratorNeeds secure API, RBAC, secrets, network policies
Container escapeBreakout from container isolation
SidecarHelper container for logging, proxying, security functions
SecretsShould not be baked into images or committed to repositories

Physical Security

ControlPurpose
BollardsStop vehicle impact
FencingPerimeter control
BadgesIdentify authorized personnel
BiometricsStrong identity verification
MantrapPrevent tailgating
CamerasDeterrence and investigation
GuardsHuman verification and response
LocksRestrict physical access
Faraday cageBlock electromagnetic signals
Fire suppressionProtect facilities and equipment
HVACMaintain safe operating environment
UPS / generatorMaintain power availability

Physical security trap: If an attacker has uncontrolled physical access, many technical controls become easier to bypass.

Common “Best Answer” Patterns

When Two Answers Look Correct

Ask:

  1. Which answer addresses the stated risk most directly?
  2. Which answer fits the phase of the process?
  3. Which answer is preventive vs. detective vs. corrective as requested?
  4. Which answer preserves evidence and follows procedure?
  5. Which answer is least disruptive while still effective?
  6. Which answer is scalable and manageable?
  7. Which answer is appropriate for cloud, mobile, or on-premises context?
  8. Which answer solves root cause rather than symptoms?

Frequent Candidate Mistakes

  • Confusing encryption with hashing.
  • Treating authentication and authorization as the same thing.
  • Selecting a tool before defining the requirement.
  • Skipping containment in incident response.
  • Ignoring chain of custody.
  • Assuming a vulnerability scan proves exploitability.
  • Assuming compliance means secure.
  • Picking “deny all” without allowing required business traffic.
  • Forgetting that availability is part of security.
  • Overlooking misconfiguration as a major cloud risk.
  • Confusing RTO and RPO.
  • Forgetting that MFA must use different factor types.
  • Selecting public cloud provider responsibility for customer-side IAM or data mistakes.
  • Choosing eradication before identification and containment.
  • Choosing a technical control when the scenario asks for policy, governance, or training.

Rapid Review Tables

Attack to Control Matching

If you see…Think…
Reused passwords abused across servicesMFA, password monitoring, user education
Many accounts tried with one common passwordPassword spraying
One account tried with many passwordsBrute force
Login from impossible locationsAccount compromise / impossible travel analytics
Sensitive data leaving by emailDLP
Web app database errors after inputSQL injection
Browser executes injected scriptXSS
User tricked into making authenticated requestCSRF
Internal metadata service accessed through appSSRF
Unknown device on switch portNAC / port security
Public bucket with sensitive filesCloud misconfiguration
Admin account used at unusual timePrivileged account monitoring
Malware beaconing to domainsDNS logs, EDR, network detection
Logs across systems need correlationSIEM
Repetitive response stepsSOAR playbook
Notes and examples

Security Tool Selection

NeedLikely tool/control
Block malicious HTTP requests to web appWAF
Inspect endpoint behaviorEDR
Correlate logs from many sourcesSIEM
Automate alert responseSOAR
Enforce data movement rulesDLP
Authenticate network accessNAC / 802.1X
Manage mobile devicesMDM
Control SaaS usageCASB
Detect cloud misconfigurationCSPM
Protect cloud workloadsCWPP
Store and rotate secretsSecrets manager
Verify file integrityHash / file integrity monitoring
Prove software publisherCode signing
Protect keys stronglyHSM / KMS

Put the review into practice

Browse Certification Practice Tests