Security+ domain 1: General security concepts
Control types, Zero Trust, physical and deception controls, change management, and above all cryptography, PKI and digital certificates.
Control types, Zero Trust, physical and deception controls, change management, and above all cryptography, PKI and digital certificates.
0 of 10 · 0 of 100 points
Task 1: Controls and Zero Trust
Control categories and types
- Categories: technical, managerial, operational (carried out by people, like guards), physical.
- Types: preventive, deterrent (a "CCTV in use" sign), detective, corrective, compensating (a temporary substitute when the main one isn't possible), directive (a policy saying do this).
Zero Trust
- Control plane: decides (the Policy Engine and Policy Administrator).
- Data plane: enforces (the Policy Enforcement Point).
- Every request is checked by identity, device and context, not by "inside or outside the network".
Deception and detection
- Honeypot: a fake server that lures attackers. Honeynet: a fake network. Honeytoken: fake data (an account or file) that, if touched, tells us there's an intruder.
Change management
Request, impact analysis, approval (the CAB), testing, a backout plan, a maintenance window, documentation.
1.1A "this area is monitored by CCTV" sign is which control type?
101.2We can't patch a legacy system, so we isolated it on its own network. This control is:
101.3A fake admin account nobody uses that alerts if anyone tries it. This is a:
101.4In Zero Trust, which part enforces the decision and allows or blocks the connection?
10Task 2: Cryptography and PKI
Basics
- Symmetric: AES (the strongest and best known). One key, fast, the problem is sharing the key.
- Asymmetric: RSA and ECC. A public and a private key. ECC gives the same strength with smaller keys (good for phones).
- Key exchange: Diffie-Hellman.
- Hashing: SHA-256. MD5 and SHA-1 are weak. A salt is added to a password before hashing so the same password gives a different hash. Key stretching (bcrypt, PBKDF2) slows guessing.
PKI and certificates
- CA (certificate authority): signs certificates. A certificate binds a public key to an identity (a domain or a person).
- CSR: a certificate signing request you create and send to the CA.
- Revocation: a CRL list or a live OCSP check.
- Wildcard (
*.example.iq) covers every subdomain one level down. SAN covers several names. - Self-signed: signed by itself, browsers don't trust it.
Protecting keys
- HSM: a dedicated device that stores keys safely (banks use them). TPM: a chip in a laptop for keys and disk encryption.
- Key escrow: a copy of a key held by a trusted party.
- Hiding data: tokenization (swap the card number for a token), masking (show the last 4 digits), steganography.
2.1The bank wants to keep its master keys in a dedicated, protected device. It uses an:
102.2The browser wants to know right away if a site's certificate was revoked. It uses:
102.3Why add a salt to passwords before hashing?
102.4One certificate covering mail.bank.iq, www.bank.iq and pay.bank.iq is a:
102.5Showing a card number on a receipt as ************1234 is:
102.6Which asymmetric algorithm gives the same strength with smaller keys?
10