Exams / CompTIA SY0-701, version 5.0

CompTIA certification

Security+ SY0-701 labs

Every topic of the CompTIA Security+ exam, in its domains, with the labs that teach it. 20 of its 20 topics have a lab.

Questions
Up to 90
Time
90 minutes
Pass mark
750 of 900

1.0 General security concepts · 12%

1 taught, 2 partly, 0 without a lab

  1. 1.1 Types of security controls Taught

    technical, managerial, operational, physical · preventive, deterrent, detective, corrective, compensating, directive

    Types of security controls: what each control is for

  2. 1.2 Fundamental security concepts Partly taught

    CIA · non-repudiation · AAA · gap analysis · zero trust · physical security · honeypot and honeynet · honeyfile and honeytoken

    HTTPS and TLS: lock a site and prove who it isAAA with RADIUS: who logged in, what they could do, how long they stayed802.1X: a login for the network jackLDAP: one account for every serverZero trust: check every device, every timeThe CIA triad: the three promises a system makesHoney-traps: decoys that only a snooper trips

  3. 1.4 Cryptographic solutions Partly taught

    public key infrastructure · encryption in transit · encryption at rest · key exchange · hashing and salting · digital signatures · certificates · TPM, HSM and secure enclaves · key stretching · blockchain

    HTTPS and TLS: lock a site and prove who it isVPN kinds: who joins, what goes through, and who can still see itIPsec tunnels: encrypt what your carrier can readSSL VPNs: a tunnel through the one port nobody blocksEncryption basics: lock, fingerprint, signDNSSEC validation: follow the chain of trustLDAP: one account for every serverSSO: one sign-in for every appSalting and stretching: the defender's answerHash integrity: verifying a file is the one you meant to getSalted passwords: why a leaked hash table still gives up its passwordsPassword cracking: turning a leaked hash table back into passwordsTLS interception: when a trusted certificate still liesWeak TLS configuration: a valid certificate over a dated handshakeLeaked private key: a backup that still holds a working login

2.0 Threats, vulnerabilities and mitigations · 22%

2 taught, 3 partly, 0 without a lab

  1. 2.1 Threat actors and motivations Taught

    nation-state, organized crime, insider, hacktivist · motivations

    Threat actors: who is behind an attack, and why

  2. 2.2 Threat vectors and attack surfaces Partly taught

    unsecure wireless and wired networks · Bluetooth · open service ports · default credentials · message-based and human vectors · supply chain

    Ports and sockets: one address, many programsEmail authentication: SPF, DKIM and DMARCcurl: reading what a web server gives awayhping3: reading a firewall off its own repliesDNS footprinting: a zone transfer maps the networkScanning by hand: write a port scanner with scapyPhishing anatomy: take a reported email apart without clicking a thingCredential harvesting: find the login page that keeps the passwordTyposquatting: inventory the lookalike domains before they are usedWatering hole: the page that is only poisoned for the targetDrive-by download: the visit is the downloadSee the air: read a Wi-Fi network you never joinedFind the way inThrough the door

  3. 2.3 Types of vulnerabilities Partly taught

    application · operating system · web · hardware · virtualization and cloud · misconfiguration · zero-day

    Types of vulnerabilities: five findings, five kinds of fix

  4. 2.4 Indicators of malicious activity Taught

    DDoS: amplified and reflected · DNS attacks · wireless attacks · on-path attacks · credential replay · password spraying and brute force · malware and beaconing · cryptographic downgrade · application attacks · indicators in logs

    The WPA handshake: from open Wi-Fi to WPA3Roaming: one network, many access pointsDNSSEC validation: follow the chain of trustTwo-step login: a one-time code after the keyDNS exfiltration: smuggling data out through the one port left openSalting and stretching: the defender's answerObfuscated scripts: peeling an encoded dropper back to what it doesWeak TLS configuration: a valid certificate over a dated handshakeAuth logs: the login that should not have workedTriage a captured attack offlineFirewall logs: a port scan read from the drop logBeaconing: catching an implant by the shape of its flowsMalware signatures: catching a known-bad file by its bytesMalware sandboxing: detonate it and watch what it doesSQL injection for data theft: reading a table through UNIONStored XSS: stealing a moderator's sessionCSRF: forging a transfer from a logged-in browserPath traversal: reading files outside the archiveUnrestricted upload: a photo name over a payload bodyCommand injection: a hostname that carries commandsBroken access control: other people's permits, the staff pageBash triage: read the script before it reads youJavaScript triage: read the script the checkout page didn't ask forOnline login guessing: an aimed list beats a brute onePassword spraying: one password against everyone at onceSYN flood: half-open connections and the host that shrugs them offDNS reflection: bounce a flood off someone else's resolverDNS cache poisoning: one lie, a whole office misroutedReplay attacks: a valid request, sent twiceSession hijacking: borrow the cookie, skip the passwordFrom a raw foothold to a managed C2 sessionA stack overflow that returns into win()A format string that reads a process's memoryCatch the handshake: force the key exchange, or take the PMKID

  5. 2.5 Mitigation techniques Partly taught

    segmentation · access control lists · application allow list · isolation · patching · encryption · monitoring · least privilege · configuration enforcement · hardening: host firewall, HIPS, closing ports, default passwords

    Router ACLs: a list on every doorStateful inspection: a firewall that remembers who started itZero trust: check every device, every timePython for networks: one script, many routersSyslog server: one place to read every machine's logsSNMP: read a router's counters from across the roomDefense in depth: why one lock is never the whole wallcurl: reading what a web server gives awayhping3: reading a firewall off its own repliesDNS footprinting: a zone transfer maps the networkVulnerability management: scan, assess, remediate, rescanFirewall logs: a port scan read from the drop logHost intrusion prevention: the server bans its attackerContainment: stop the spread without destroying the evidenceEradication: remove the foothold, not only the visible partA deploy key that could read everything

3.0 Security architecture · 18%

1 taught, 3 partly, 0 without a lab

  1. 3.1 Security of architecture models Partly taught

    cloud · infrastructure as code · serverless and microservices · air-gapped networks · logical segmentation · SDN · containers and virtualization · IoT and ICS/SCADA · high availability

    VRF: one router, several routing tablesVLANs: one switch, two networks that can't hear each otherLoad balancers: two servers and a vanishing basketContainer networks: give every container a network of its ownVirtual networks: how a cloud VPC sorts its subnets and addressesCloud routing: how a private subnet gets out, and how two VPCs meetSecurity groups and network ACLs: the cloud's two firewallsCloud VPN and load balancers: the office joins, the shop scalesAnsible: every router from one set of filesTerraform: a router's routes as codeSDN: a controller that programs the switchesThe bucket that answered to everyoneA deploy key that could read everythingCatch it in the codeThe address only the app could reachThe greeting that read its own keys

  2. 3.2 Securing enterprise infrastructure Taught

    device placement and security zones · attack surface · fail-open and fail-closed · inline vs tap · jump server · proxy server · IDS/IPS · load balancer and sensors · 802.1X and EAP · WAF, UTM and NGFW · layer 4 and layer 7 firewalls · VPN, TLS and IPsec · SD-WAN and SASE

    HTTPS and TLS: lock a site and prove who it isSSH: log in to a far machine and prove who's whoSD-WAN: every application on the right lineSwitch security: stop trusting whatever plugs inVPN kinds: who joins, what goes through, and who can still see itIPsec tunnels: encrypt what your carrier can readSSL VPNs: a tunnel through the one port nobody blocksLoad balancers: two servers and a vanishing basketStateful inspection: a firewall that remembers who started itProxies: a machine that asks on your behalfWAF filtering: a firewall that reads the requestAAA with RADIUS: who logged in, what they could do, how long they stayed802.1X: a login for the network jackCloud VPN and load balancers: the office joins, the shop scalesNetwork APIs: drive a router with REST and JSONOut-of-band management: a second way into the routerTriage a captured attack offlineWriting a NIDS signature, and tuning out the false alarmInline IPS: the gateway drops, not only watches

  3. 3.3 Protecting data Partly taught

    data types and classification · data states · data sovereignty · masking, tokenization, obfuscation

    Data states: one record, three places to protect it

  4. 3.4 Resilience and recovery Partly taught

    load balancing and clustering · hot, warm and cold sites · geographic dispersion · backups · power: UPS and generators · testing: tabletop, failover, simulation

    Load balancers: two servers and a vanishing basketServer failover: the health check that said fineConfig backups: every router's config in git

4.0 Security operations · 28%

2 taught, 6 partly, 0 without a lab

  1. 4.1 Secure computing and network resources Partly taught

    secure baselines · hardening switches and routers · site surveys and heat maps · mobile device management · WPA3 · AAA and RADIUS · secure protocols · sandboxing · monitoring

    HTTPS and TLS: lock a site and prove who it isSSH: log in to a far machine and prove who's whoBGP policies: steering traffic and refusing bad routesThe WPA handshake: from open Wi-Fi to WPA3Roaming: one network, many access pointsAAA with RADIUS: who logged in, what they could do, how long they stayed802.1X: a login for the network jackSyslog server: one place to read every machine's logsSNMP: read a router's counters from across the roomLLDP and CDP: ask the switch who is plugged inVulnerability management: scan, assess, remediate, rescanWeak TLS configuration: a valid certificate over a dated handshakeControl baselines: audit one host, map every gapMalware sandboxing: detonate it and watch what it doesHoney-traps: decoys that only a snooper trips

  2. 4.3 Vulnerability management Partly taught

    network scanning · threat feeds · penetration testing · CVSS and prioritising · remediation and rescanning

    SNMP: read a router's counters from across the roomRisk scoring: turn a pile of findings into a ranked queueRules of engagement: the line between a test and a crimeCVEs and advisories: four criticals, one to patch tonightcurl: reading what a web server gives awayhping3: reading a firewall off its own repliesDNS footprinting: a zone transfer maps the networkVulnerability management: scan, assess, remediate, rescanScanning by hand: write a port scanner with scapyFind the way in

  3. 4.4 Alerting and monitoring Taught

    log aggregation · alerting and alert tuning · SIEM · SCAP and benchmarks · SNMP traps · NetFlow · DLP · antivirus · vulnerability scanners

    Syslog server: one place to read every machine's logsSNMP: read a router's counters from across the roomNetFlow: find who fills the library's linePrometheus: alert on a full line before the village doesAlert verdicts: true, benign or false positive?DNS sinkhole: blocking bad domains for every client at onceVulnerability management: scan, assess, remediate, rescanControl baselines: audit one host, map every gapAuth logs: the login that should not have workedCorrelation: one intruder, scattered across the logsFirewall logs: a port scan read from the drop logBeaconing: catching an implant by the shape of its flowsMalware signatures: catching a known-bad file by its bytesWriting a NIDS signature, and tuning out the false alarmHoney-traps: decoys that only a snooper tripsData-leak controls: catching a secret on its way out

  4. 4.5 Strengthen enterprise security capabilities Partly taught

    firewall rules and screened subnets · IDS/IPS signatures · web filtering · secure protocol and port selection · DNS filtering · email security: SPF, DKIM, DMARC · file integrity monitoring · NAC · EDR/XDR · group policy and SELinux

    DNS servers: run the zone that answers for your namesHTTPS and TLS: lock a site and prove who it isFirewall rules: keep the street out and let the staff inStateful inspection: a firewall that remembers who started itEmail authentication: SPF, DKIM and DMARCProxies: a machine that asks on your behalfWAF filtering: a firewall that reads the request802.1X: a login for the network jackDNS sinkhole: blocking bad domains for every client at onceVulnerability management: scan, assess, remediate, rescanEDR telemetry: the endpoint tells on the intruderWriting a NIDS signature, and tuning out the false alarmHost intrusion prevention: the server bans its attackerInline IPS: the gateway drops, not only watchesContainment: stop the spread without destroying the evidencePhishing anatomy: take a reported email apart without clicking a thing

  5. 4.6 Identity and access management Partly taught

    provisioning and de-provisioning · SSO and LDAP · OAuth and SAML · federation · access control models · multifactor authentication · password practices · privileged access management

    AAA with RADIUS: who logged in, what they could do, how long they stayedLDAP: one account for every serverKerberos: log in once, then show ticketsTwo-step login: a one-time code after the keySSO: one sign-in for every appZero trust: check every device, every timeNetwork APIs: drive a router with REST and JSONA deploy key that could read everythingPassword spraying: one password against everyone at once

  6. 4.7 Automation and orchestration in security operations Partly taught

    provisioning · guard rails · ticketing and escalation · APIs and integrations

    SOAR: a playbook that answers an alert on its own

  7. 4.8 Incident response Partly taught

    preparation, detection, analysis · containment, eradication, recovery · lessons learned · tabletop exercises and simulations · root cause analysis · threat hunting · digital forensics · legal hold and chain of custody

    Alert verdicts: true, benign or false positive?Disk imaging: make a copy you can prove in courtFile carving: getting back what someone deletedMemory dumps: reading the secrets a program keeps in RAMTimeline building: reconstructing an evening from file timesReverse a binary: making a suspicious program give up its secretsTriage a captured attack offlineCorrelation: one intruder, scattered across the logsBeaconing: catching an implant by the shape of its flowsHoney-traps: decoys that only a snooper tripsPreparation: the three questions to answer before an incidentIdentification: is it a real incident, and how far does it reach?Containment: stop the spread without destroying the evidenceEradication: remove the foothold, not only the visible partRecovery: put it back safely, in the right orderLessons learned: turn the incident into a defence

  8. 4.9 Data sources for an investigation Taught

    firewall logs · application and endpoint logs · OS security logs · IDS/IPS logs · network logs and metadata · packet captures · dashboards and reports

    Packet capture: read the traffic and settle the argumentSyslog server: one place to read every machine's logsNetFlow: find who fills the library's lineAuth logs: the login that should not have workedTriage a captured attack offlineCorrelation: one intruder, scattered across the logsFirewall logs: a port scan read from the drop logBeaconing: catching an implant by the shape of its flowsEDR telemetry: the endpoint tells on the intruderWriting a NIDS signature, and tuning out the false alarmHoney-traps: decoys that only a snooper tripsIdentification: is it a real incident, and how far does it reach?

5.0 Security program management and oversight · 20%

0 taught, 0 partly, 0 without a lab

Practice exam

A timed practice exam in the Security+ format, built from the labs' questions in the exam's own domain weights.

Open the Security+ practice exam

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab