Feedback

Study guide

Cybersecurity

Organized by the 6 areas on the 2026–27 test. Each topic matches an official objective.

Security Fundamentals

15 of 100 questions

The CIA triad

  • Confidentiality: only authorized people can see data (encryption, access controls).
  • Integrity: data isn't changed without authorization and can be trusted (hashing, digital signatures).
  • Availability: systems and data are there when needed (backups, redundancy, UPS, DDoS protection).
  • Together they're the CIA triad, the core goals of security.
  • The opposite of each is disclosure, alteration, and destruction or denial (the DAD triad).

Check yourself: A company stores each file's hash and compares it later to spot changes. Which part of the CIA triad does that protect?

Show answer

Integrity. Matching hashes show the data wasn't altered.

Digital trust

  • Identity proofing verifies that a person is who they claim to be before giving them an account (for example, checking a photo ID).
  • Nonrepudiation means someone can't deny an action, such as sending a message; digital signatures provide it.
  • Attestation is proof that a device or system is in a trusted state (for example, a TPM reporting that boot files weren't changed).
  • Digital certificates from a trusted Certificate Authority bind an identity to a public key.
  • Audit logs also support accountability.

Check yourself: What is the term for a sender being unable to deny they sent a message, and what provides it?

Show answer

Nonrepudiation, provided by digital signatures.

AAA

  • Authentication proves identity (who are you?): passwords, tokens, fingerprints.
  • Authorization decides what an authenticated user may do (what can you access?): permissions.
  • Accounting records what users do (logs, audit trails).
  • Order: identification (claiming an identity, such as a username), then authentication, then authorization, then accounting.
  • RADIUS and TACACS+ are common AAA servers.

Check yourself: An employee logs in with a password, then the system lets them open only payroll files. Which two AAA steps happened, in order?

Show answer

Authentication (proving identity), then authorization (deciding what they can access).

Zero Trust

  • Zero Trust means "never trust, always verify": no user or device is trusted just because it's inside the network.
  • Every request is authenticated and authorized, often with multifactor authentication and device checks.
  • Microsegmentation limits how far an attacker can move inside the network.
  • Least privilege and just-in-time access give only the access needed.
  • A policy engine and policy enforcement points decide and enforce each access request.
  • It replaces the old perimeter (castle-and-moat) model.

Check yourself: Under Zero Trust, is a laptop already inside the office network trusted automatically?

Show answer

No. Every request is authenticated and authorized, inside or outside the network.

Deception technology

  • A honeypot is a decoy system that attracts attackers so defenders can watch them and waste their time.
  • A honeynet is a network of honeypots.
  • A honeyfile is a decoy file (such as "passwords.xlsx") that triggers an alert when opened.
  • A honeytoken is fake data (such as a fake account or credential) that signals misuse when used.
  • DNS sinkholes redirect malicious traffic to a safe place.
  • Real users have no reason to touch decoys, so any access is suspicious.

Check yourself: A security team places a fake file named passwords.xlsx on a server that sends an alert when opened. What is this called?

Show answer

A honeyfile, a decoy file no real user has reason to open.

Number systems in cryptography

  • Computers store everything in binary (base 2: 0s and 1s); 8 bits make a byte.
  • Hexadecimal (base 16: 0–9 and A–F) writes binary compactly: one hex digit equals 4 bits, so one byte is two hex digits.
  • Keys and hashes are usually shown in hex; a 256-bit key is 64 hex digits.
  • Decimal (base 10) is how people usually read numbers; letters map to numbers in ASCII (A = 65).
  • XOR (exclusive or) on binary bits is the basic operation in many ciphers.
  • Conversions: binary 1010 = decimal 10 = hex A; hex FF = decimal 255.

Check yourself: How many hex digits does it take to write one byte, and why?

Show answer

Two. Each hex digit is 4 bits, and a byte is 8 bits.

Least privilege

  • Least privilege: users and programs get only the access they need to do their jobs, and no more.
  • It limits the damage from mistakes, malware, and stolen accounts.
  • Admins use a regular account for daily work and an admin account only when needed.
  • Related ideas: need to know, separation of duties, and job rotation.
  • Review permissions regularly to remove privilege creep (access that builds up over time).

Check yourself: A help desk worker only needs to reset passwords but is given full admin rights. Which principle does this break?

Show answer

Least privilege: users get only the access their job needs.

Cyber Threats and Vulnerabilities

20 of 100 questions

Web and software vulnerabilities

  • Injection (such as SQL injection) sends commands in user input; input validation and parameterized queries prevent it.
  • Cross-site scripting (XSS) injects scripts into web pages viewed by other users.
  • A buffer overflow writes more data than a memory area holds, which can let attackers run code.
  • A race condition happens when timing between processes creates a flaw (for example, time-of-check to time-of-use).
  • Jailbreaking (iOS) or rooting (Android) removes the device's built-in protections.
  • Memory leaks and poor error handling can expose data or crash systems.

Check yourself: An attacker types database commands into a website's login box. What attack is this, and what prevents it?

Show answer

SQL injection. Input validation and parameterized queries prevent it.

Threat actors

  • Nation-state actors are highly skilled and funded and seek espionage or disruption; they often run advanced persistent threats (APTs).
  • Organized crime seeks financial gain (ransomware, fraud).
  • Hacktivists attack for political or social causes.
  • Insider threats are employees or contractors who misuse their access, on purpose or by accident.
  • Unskilled attackers (script kiddies) use others' tools; shadow IT is unapproved tech used by staff.
  • Attributes: internal vs. external, resources and funding, and level of skill.

Check yourself: A highly skilled, well-funded government group stays hidden in a network for months to spy. What type of threat actor and attack is this?

Show answer

A nation-state actor running an advanced persistent threat (APT).

Types of viruses

  • A virus attaches to a file or program and spreads when that file is run; it needs a user action.
  • Boot sector viruses infect the startup area of a drive.
  • Macro viruses hide in documents (such as spreadsheet macros).
  • Polymorphic viruses change their code to avoid detection; metamorphic viruses rewrite themselves completely.
  • Stealth viruses hide their changes from antivirus software; fileless malware runs in memory.
  • Multipartite viruses infect both files and the boot sector.

Check yourself: A virus changes its code each time it spreads so antivirus software can't detect it. What type of virus is it?

Show answer

A polymorphic virus.

Security vulnerabilities

  • A vulnerability is a weakness that can be exploited; an exploit is the method that uses it.
  • A zero-day is a flaw unknown to the vendor, so no patch exists yet.
  • A backdoor is a hidden way to bypass normal authentication.
  • Unpatched software, default passwords, and misconfigurations are among the most common weaknesses.
  • End-of-life systems no longer get security updates.
  • Known flaws are listed as CVEs and scored with CVSS.

Check yourself: A server is hacked through a flaw the vendor fixed months ago, but the update was never installed. Is that a zero-day?

Show answer

No. A zero-day has no patch yet; this was unpatched software.

Social engineering

  • Social engineering tricks people into giving up information or access.
  • Phishing uses fake emails; spear phishing targets a specific person; whaling targets executives.
  • Vishing is voice (phone) phishing; smishing uses text messages.
  • Pretexting invents a story ("I'm from IT"); tailgating follows someone through a secure door.
  • Business email compromise impersonates executives to get payments; watering hole attacks infect sites a group visits.
  • Warning signs: urgency, fear, odd links, and requests for passwords or gift cards.

Check yourself: A worker gets a text message with a link saying their package is delayed. What type of social engineering is this?

Show answer

Smishing, phishing by text message.

DDoS attacks

  • A denial-of-service (DoS) attack overwhelms a system so real users can't use it; it attacks availability.
  • A distributed DoS (DDoS) uses many machines, often a botnet of infected computers controlled by a command-and-control (C2) server.
  • Volumetric attacks flood bandwidth; protocol attacks (such as a SYN flood) exhaust connections; application attacks target web requests.
  • Amplification and reflection attacks use services like DNS to send larger responses to the victim.
  • Defenses: traffic filtering, rate limiting, CDNs, and DDoS protection services.
  • Goals include extortion, protest, or distraction from another attack.

Check yourself: Which part of the CIA triad does a DDoS attack target?

Show answer

Availability. It overwhelms a system so real users can't use it.

Malware types

  • A worm spreads by itself across networks without a host file or user action.
  • A Trojan pretends to be useful software but does harm; a RAT (remote access Trojan) gives an attacker control.
  • A logic bomb waits for a condition (a date or event) before running.
  • Ransomware encrypts files and demands payment; spyware and keyloggers steal information.
  • A rootkit hides deep in the system to keep privileged access.
  • Adware shows unwanted ads; bloatware is unneeded preinstalled software.

Check yourself: A hidden program waits until a certain date, then deletes company files. What type of malware is it?

Show answer

A logic bomb, which waits for a condition before running.

Cryptographic attacks

  • A downgrade attack forces a connection to use an older, weaker protocol or cipher (for example, from TLS 1.3 to an old version).
  • A collision is when two different inputs produce the same hash.
  • A birthday attack uses probability (the birthday paradox) to find collisions faster than expected.
  • Brute force tries every possible key or password; dictionary attacks try common words.
  • Rainbow tables are precomputed hashes; salting defeats them.
  • Defenses: strong algorithms (such as SHA-256), long keys, and disabling old protocols.

Check yourself: An attacker forces a browser and server to connect with an old TLS version instead of TLS 1.3. What attack is this?

Show answer

A downgrade attack.

Wireless vulnerabilities

  • An evil twin is a fake access point that copies a real network's name (SSID).
  • A rogue access point is an unauthorized one connected to the network.
  • WEP and WPA are outdated and weak; use WPA3 (or WPA2 with AES).
  • Deauthentication attacks knock users off Wi-Fi; jamming blocks signals.
  • Public Wi-Fi allows eavesdropping and on-path (man-in-the-middle) attacks; use a VPN.
  • Bluetooth attacks: bluejacking (unwanted messages) and bluesnarfing (data theft). WPS PINs are easy to brute force.

Check yourself: An attacker sets up a fake Wi-Fi hotspot with the same name as a coffee shop's real network. What is it called?

Show answer

An evil twin, a fake access point that copies a real SSID.

Security and Design

20 of 100 questions

Cloud security

  • Under the shared responsibility model, the provider secures the cloud's infrastructure and the customer secures its own data, accounts, and settings.
  • Service models: IaaS (customer manages the most), PaaS, and SaaS (provider manages the most).
  • Misconfiguration (such as a public storage bucket) is a leading cause of cloud breaches.
  • Benefits: built-in redundancy, scaling, and professional security; risks: less direct control and dependence on the provider.
  • A cloud access security broker (CASB) enforces policies between users and cloud services.
  • Data location (data sovereignty) can raise legal questions.

Check yourself: A company leaves its cloud storage bucket open to the public. Under the shared responsibility model, whose mistake is that?

Show answer

The customer's. It secures its own data and settings; the provider secures the infrastructure.

Microservices

  • Microservices split an application into many small services that talk over the network (often APIs).
  • More services and APIs mean a larger attack surface.
  • Each service-to-service call needs authentication and authorization (for example, tokens or mutual TLS).
  • Complexity makes monitoring and patching harder; API gateways centralize control.
  • A benefit: a breach in one service can be isolated, and services can be patched separately.
  • A monolithic application is one large program.

Check yourself: Why does splitting an app into microservices create a larger attack surface than a monolithic app?

Show answer

There are many more services and APIs talking over the network, each a possible way in.

Logical vs. physical segmentation

  • Segmentation divides a network so a breach in one part doesn't spread.
  • Physical segmentation uses separate hardware and cabling; an air gap has no connection at all.
  • Logical segmentation uses configuration on shared hardware: VLANs, subnets, firewalls, and access lists.
  • Logical is cheaper and flexible; physical is stronger but costly.
  • A screened subnet (DMZ) separates public servers from the internal network.

Check yourself: A company separates guest devices from staff devices using VLANs on the same switches. Is that logical or physical segmentation?

Show answer

Logical. VLANs are configuration on shared hardware.

Containers and virtualization

  • Virtualization runs several virtual machines (VMs) on one host through a hypervisor; each VM is isolated.
  • Containers package an app and its dependencies and share the host's operating system kernel; they're lighter than VMs.
  • Isolation limits damage: a compromised VM or container shouldn't affect others.
  • Snapshots allow quick rollback; sandboxing tests suspicious files safely.
  • Risks: VM escape (breaking out to the host) and VM sprawl (unmanaged VMs).
  • Type 1 hypervisors run on hardware; Type 2 run on a host operating system.

Check yourself: What is the key difference between a container and a virtual machine?

Show answer

Containers share the host's operating system kernel; each VM runs its own operating system.

Internet of Things risks

  • IoT devices (smart cameras, thermostats, sensors) often have weak default passwords and rarely get updates.
  • Limited processing power makes strong encryption and security software hard.
  • Infected IoT devices are often used in botnets for DDoS attacks (the Mirai botnet).
  • Each device adds to the attack surface and may collect personal data.
  • Defenses: change defaults, update firmware, and place IoT devices on a separate network segment.

Check yourself: A company installs 50 new smart cameras. What is one of the most important first steps to secure them?

Show answer

Change their default passwords (and keep their firmware updated).

Backups, RAID, and UPS

  • Backups: full (everything), incremental (changes since the last backup of any kind), and differential (changes since the last full backup).
  • The 3-2-1 rule: 3 copies, on 2 types of media, 1 off-site.
  • RAID combines drives: RAID 0 stripes for speed with no fault tolerance; RAID 1 mirrors; RAID 5 stripes with parity (survives one drive failure).
  • RAID isn't a backup: deleted or encrypted files are lost on every drive.
  • A UPS (uninterruptible power supply) gives battery power during outages; a generator supports longer outages.
  • Restoring from incremental backups needs the full backup plus every incremental since.

Check yourself: A full backup runs Sunday and incremental backups run Monday through Thursday. The server fails Friday. Which backups are needed to restore?

Show answer

Sunday's full backup plus all four incrementals, Monday through Thursday.

CIA in network design

  • Confidentiality in design: encryption (VPNs, TLS), access control, segmentation.
  • Integrity: hashing, checksums, digital signatures, and change control.
  • Availability: UPS, redundant links and servers, load balancers, RAID, and backups.
  • High availability designs remove single points of failure.
  • A load balancer spreads traffic across servers; failover switches to a backup automatically.

Check yourself: A network design adds a UPS to the server room. Which CIA goal does it support?

Show answer

Availability. It keeps systems running during power outages.

Security testing

  • Testing finds weaknesses before attackers do.
  • Vulnerability scans look for known flaws; penetration tests try to exploit them.
  • Static analysis reviews code without running it; dynamic analysis and fuzzing test running code with unexpected input.
  • Tabletop exercises walk through incident plans; failover tests check that backups and redundancy work.
  • Test in a staging environment before production, and retest after changes.

Check yourself: What is the difference between a vulnerability scan and a penetration test?

Show answer

A scan looks for known flaws; a pen test actively tries to exploit them.

Network and Data Security

15 of 100 questions

Purpose of cryptography

  • Cryptography protects information by turning plaintext into ciphertext with an algorithm (cipher) and a key.
  • It provides confidentiality (encryption), integrity (hashing), authentication, and nonrepudiation (digital signatures).
  • Encryption is reversible with the key; hashing is one-way.
  • The algorithm can be public; security depends on keeping the key secret (Kerckhoffs's principle).
  • Longer keys are harder to brute force.

Check yourself: Why can't a password hash be turned back into the original password?

Show answer

Hashing is one-way. Only encryption can be reversed with a key.

Symmetric vs. asymmetric

  • Symmetric (private/secret key) encryption uses one shared key to encrypt and decrypt; it's fast (for example, AES).
  • Asymmetric (public key) encryption uses a key pair: a public key shared with anyone and a private key kept secret (for example, RSA, ECC).
  • Data encrypted with someone's public key can be decrypted only with their private key.
  • A digital signature is made with the sender's private key and checked with their public key.
  • Symmetric's challenge is sharing the key safely; asymmetric solves it but is slower, so TLS uses asymmetric to exchange a symmetric session key.
  • Diffie-Hellman lets two parties agree on a shared key over an open network.

Check yourself: You want to send a coworker a secret message with asymmetric encryption. Which key do you encrypt it with?

Show answer

The coworker's public key. Only their private key can decrypt it.

Classical ciphers

  • A substitution cipher replaces each letter with another letter or symbol.
  • A shift cipher moves each letter a fixed number of places in the alphabet.
  • The Caesar cipher is a shift cipher, traditionally a shift of 3 (A becomes D); ROT13 shifts 13.
  • Example: with a shift of 3, CAT becomes FDW.
  • These ciphers are easy to break by frequency analysis (E is the most common English letter) or by trying all 25 shifts.
  • A transposition cipher rearranges letters instead of replacing them.

Check yourself: A message was encrypted with a Caesar shift of 3 and reads KHOOR. What was the original word?

Show answer

HELLO (shift each letter back 3: K to H, H to E, O to L, R to O).

States of data

  • Data at rest: stored on drives, databases, or backups; protected with full-disk or database encryption.
  • Data in transit (in motion): moving across a network; protected with TLS, HTTPS, and VPNs.
  • Data in use: being processed in memory (RAM) or the CPU; hardest to protect (secure enclaves).
  • Each state needs different protections.
  • Data loss prevention (DLP) tools watch for sensitive data leaving the organization.

Check yourself: A sales report is saved on a laptop, then emailed to a manager. What state is the data in at each point?

Show answer

Saved on the laptop: at rest. Being emailed: in transit.

Access control models

  • Mandatory access control (MAC): the system enforces access by labels (such as Secret or Top Secret); used by the military.
  • Discretionary access control (DAC): the owner of a file decides who can access it (common in Windows file sharing).
  • Role-based access control (RBAC): access is assigned by job role (for example, all nurses get the same permissions).
  • Rule-based control uses rules (such as time of day); attribute-based (ABAC) uses attributes like location and device.
  • Access control enforces least privilege and protects confidentiality.

Check yourself: In a military system, files are labeled Secret or Top Secret and the system decides who may open them. Which access control model is this?

Show answer

Mandatory access control (MAC).

Network authentication methods

  • Authentication factors: something you know (password, PIN), something you have (phone, token, smart card), something you are (fingerprint, face).
  • Multifactor authentication (MFA) uses two or more different factor types; a password plus a PIN is still one factor.
  • Hardware tokens and authenticator apps create one-time passwords (TOTP).
  • Certificates can authenticate users and devices; 802.1X checks devices before they join the network.
  • Single sign-on (SSO) lets one login access many systems; OAuth and SAML share authorization between services.
  • Kerberos uses tickets to authenticate on Windows domains.

Check yourself: A website requires a password and a PIN to log in. Is that multifactor authentication?

Show answer

No. Both are something you know, so it's only one factor type.

Blockchain and hashing

  • A hash function turns any input into a fixed-length value; any change to the input changes the hash.
  • Comparing hashes shows whether a file was altered (integrity); SHA-256 is common, while MD5 is outdated.
  • Systems store hashed (and salted) passwords instead of the passwords themselves.
  • A blockchain is a shared ledger of blocks, each holding the hash of the previous block, so changing one block breaks the chain.
  • Blockchains are decentralized: many copies on many computers, so no single party controls the record.
  • A digital signature is a hash encrypted with a private key.

Check yourself: In a blockchain, why does changing one old block break the chain?

Show answer

Each block holds the previous block's hash, so changing one block changes its hash and the next block no longer matches.

Security Operations and Management

10 of 100 questions

Security policies

  • An acceptable use policy (AUP) states how employees may use company systems and the internet.
  • An information security policy sets the organization's overall security rules and responsibilities.
  • A business continuity plan (BCP) keeps critical business functions running during a disruption.
  • A disaster recovery plan (DRP) restores IT systems and data after a disaster.
  • Other policies: password, data classification and retention, incident response, and bring your own device (BYOD).
  • Policies are backed by standards, procedures, and training.

Check yourself: After a flood, one plan restores the servers and data while another keeps customer orders going. Which plan is which?

Show answer

The disaster recovery plan restores IT systems; the business continuity plan keeps the business running.

Disaster recovery planning

  • A business impact analysis (BIA) identifies critical systems and the cost of downtime.
  • RTO (recovery time objective) is how quickly a system must be restored; RPO (recovery point objective) is how much data loss (in time) is acceptable.
  • Recovery sites: hot site (ready immediately), warm site (some equipment), cold site (space only, slowest).
  • Plans list roles, contact lists, backup locations, and step-by-step recovery procedures.
  • Plans must be tested (tabletop exercises, simulations) and updated.
  • Prevention: backups, redundancy, surge protection, and fire suppression.

Check yourself: A company can accept losing at most 4 hours of data in a disaster. Is that its RTO or its RPO?

Show answer

Its RPO (recovery point objective), the acceptable data loss measured in time.

Types of firewalls

  • A firewall filters traffic between networks based on rules.
  • Network-based firewalls protect a whole network; host-based firewalls protect one computer.
  • Packet-filtering firewalls check addresses and ports; stateful firewalls also track connections.
  • A next-generation firewall (NGFW) adds application awareness, deep packet inspection, and intrusion prevention.
  • A web application firewall (WAF) protects web apps from attacks such as SQL injection and XSS.
  • Proxy firewalls make requests on behalf of clients.

Check yourself: An online store wants to protect its website from SQL injection and cross-site scripting. Which type of firewall fits best?

Show answer

A web application firewall (WAF).

Firewall rules and ACLs

  • An access control list (ACL) is an ordered list of allow and deny rules based on source, destination, port, and protocol.
  • Rules are checked top to bottom, and the first match applies, so order matters.
  • Most firewalls end with an implicit deny: anything not allowed is blocked.
  • Allow only what's needed (for example, port 443 for HTTPS) to follow least privilege.
  • Common ports: 22 SSH, 25 SMTP, 53 DNS, 80 HTTP, 443 HTTPS, 3389 Remote Desktop.
  • Review and log rules regularly.

Check yourself: A firewall's first rule allows all traffic and its second rule denies port 23. Is Telnet on port 23 blocked?

Show answer

No. Rules are checked top to bottom and the first match wins, so the allow-all rule applies.

Messaging and email security

  • Encrypt sensitive email (for example, S/MIME) and messaging, and use TLS between mail servers.
  • SPF, DKIM, and DMARC help prove email really came from the claimed domain and stop spoofing.
  • Use email filtering for spam, malware, and phishing; block risky attachments.
  • Classify data and use data loss prevention (DLP) to stop sensitive data from leaving.
  • Train employees and limit company data on personal apps.
  • Keep retention rules so old messages are deleted on schedule.

Check yourself: Which three email standards help prove a message really came from the domain it claims?

Show answer

SPF, DKIM, and DMARC.

Change management

  • Change management is a formal process for approving, testing, and recording changes to systems.
  • Steps: request, impact analysis, approval (often by a change advisory board), testing, implementation, and documentation.
  • Every change needs a backout (rollback) plan in case it fails.
  • Uncontrolled changes can open security holes or cause outages.
  • Changes are often scheduled in a maintenance window to limit disruption.
  • Updating documentation and diagrams keeps security teams informed.

Check yourself: In change management, what must be ready before a change is made, in case it fails?

Show answer

A backout (rollback) plan.

Security Protocols and Threat Mitigation

20 of 100 questions

Secure protocols

  • SSH (port 22) replaces insecure Telnet for remote command-line access.
  • HTTPS (port 443) is HTTP secured with TLS; plain HTTP uses port 80.
  • TLS replaced the older, insecure SSL.
  • SFTP and FTPS replace plain FTP; SNMPv3 replaces older SNMP versions.
  • WPA2 and WPA3 secure Wi-Fi; WEP is insecure.
  • IPsec secures VPN traffic; DNSSEC protects DNS answers from tampering.

Check yourself: A team still uses Telnet to manage servers remotely. Which secure protocol should replace it, and on what port?

Show answer

SSH, on port 22.

IDS and IPS

  • An intrusion detection system (IDS) monitors traffic and alerts on suspicious activity; it doesn't block it.
  • An intrusion prevention system (IPS) sits inline and can block attacks automatically.
  • Signature-based detection matches known attack patterns; anomaly (behavior)-based detection flags unusual activity.
  • Network-based (NIDS/NIPS) systems watch network traffic; host-based (HIDS/HIPS) systems watch one device.
  • A false positive flags normal activity as an attack; a false negative misses a real attack.

Check yourself: A system sits inline on the network and automatically blocks an attack it detects. Is it an IDS or an IPS?

Show answer

An IPS. An IDS only alerts.

Preventing malware and phishing

  • Use up-to-date antivirus/anti-malware and endpoint detection and response (EDR).
  • Give users security awareness training and run simulated phishing tests.
  • Filter email, block dangerous attachments, and mark external emails.
  • Verify unusual requests (such as payment changes) by a separate channel, like calling a known number.
  • Keep systems patched, use least privilege, and back up data.
  • Report suspected phishing to the security team instead of just deleting it.

Check yourself: An email that looks like it's from a vendor asks you to send payments to a new bank account. How should you verify it?

Show answer

Contact the vendor by a separate channel, such as a known phone number, not the one in the email.

Obfuscation

  • Obfuscation makes data hard to understand or find.
  • Tokenization replaces sensitive data (such as a card number) with a random token; the real data is stored securely elsewhere.
  • Data masking hides part of the data (for example, showing only the last four digits: ****1234).
  • Steganography hides data inside another file, such as an image or audio file.
  • Code obfuscation makes software hard to reverse engineer.
  • Unlike encryption, tokens have no mathematical link to the original data.

Check yourself: A store replaces customers' card numbers with random values and keeps the real numbers stored securely elsewhere. What method is this?

Show answer

Tokenization.

Strong passwords

  • Length matters most: long passwords and passphrases take far longer to crack.
  • Mix letters, numbers, and symbols, and avoid dictionary words and personal information.
  • Use a unique password for every account so one breach doesn't expose others (credential stuffing).
  • Password managers create and store strong passwords.
  • Add MFA; lock accounts after repeated failures to stop brute force.
  • Current NIST guidance favors length and screening against breached passwords over forced frequent changes.

Check yourself: Which makes a password stronger: changing 'sunset' to 'sun$et', or using a long passphrase?

Show answer

The long passphrase. Length matters most.

Certificates and CAs

  • A digital certificate (X.509) binds a public key to an identity, such as a website's domain.
  • A Certificate Authority (CA) is a trusted organization that verifies identities and signs certificates.
  • Browsers trust a set of root CAs; a chain of trust links a site's certificate to a root.
  • Revoked certificates are listed in a CRL or checked with OCSP.
  • A self-signed certificate isn't trusted by browsers by default.
  • Certificates enable HTTPS, email signing, and code signing.

Check yourself: Who verifies a website's identity and signs its digital certificate so browsers will trust it?

Show answer

A Certificate Authority (CA), linked to a trusted root CA by a chain of trust.

Patches and version control

  • Patches fix security flaws; most attacks exploit known vulnerabilities that weren't patched.
  • Patch management: inventory, test, deploy, and verify updates on a regular schedule.
  • Test patches before wide rollout so they don't break systems.
  • Version control (such as Git) tracks code changes, who made them, and allows rollback.
  • Firmware and third-party apps need updates too.
  • Replace end-of-life software that no longer gets patches.

Check yourself: Most successful attacks use what kind of vulnerability?

Show answer

Known vulnerabilities that weren't patched.

Penetration testing

  • A penetration test is an authorized simulated attack to find and exploit weaknesses.
  • Testers need written permission and agreed rules of engagement (scope, timing, limits).
  • Knowledge levels: known environment (white box, full information), partially known (gray box), unknown (black box, no information).
  • Phases: reconnaissance, scanning, gaining access, maintaining access, covering tracks, and reporting.
  • Red teams attack, blue teams defend, and purple teams combine both.
  • Bug bounty programs pay outside researchers to report flaws.

Check yourself: Pen testers are given full information about a network before they start. What is this knowledge level called?

Show answer

A known environment (white box) test.