CoachnestCoachnest
Sign InGet Started
Back to course

Complete Cybersecurity Bootcamp: Defend, Detect & Respond

…
—
Contents
1

What Is Cybersecurity & Why It Matters

Reading14mFree
2

The CIA Triad & Core Security Principles

Reading16mFree
3

Threat Actors, Motivations & the Attack Surface

Reading14m
4

Setting Up a Safe, Legal Practice Lab

Reading12m
5

Security Domains & Career Paths Overview

Video15m
6

Chapter 1 — Quiz

Quiz10m
7

TCP/IP, the OSI Model & How Data Travels

Reading18m
8

Common Protocols & Their Weaknesses

Reading16m
9

Firewalls, IDS/IPS & Network Segmentation

Reading16m
10

VPNs, TLS in Transit & Secure Remote Access

Reading14m
11

Reading Network Traffic with Wireshark

Video17m
12

Chapter 2 — Networking Quiz

Quiz12m
13

Symmetric vs Asymmetric Encryption

Reading16m
14

Hashing, Salting & Password Storage

Reading16m
15

Digital Signatures, Certificates & PKI

Reading16m

Crypto in Practice & Common Mistakes

Reading14m
17

How HTTPS & TLS Work — Visual Walkthrough

Video15m
18

Chapter 3 — Cryptography Quiz

Quiz12m
19

Linux Security Fundamentals & Hardening

Reading18m
20

Windows Security & Active Directory Basics

Reading16m
21

Endpoint Protection: Antivirus, EDR & Application Control

Reading14m
22

Data Protection, Backups & Ransomware Resilience

Reading14m
23

Hardening a Linux Server — Demo

Video16m
24

Chapter 4 — Endpoint Security Quiz

Quiz12m
25

How the Web Works & The HTTP Request Lifecycle

Reading16m
26

Injection Attacks: SQL Injection & Command Injection

Reading18m
27

Broken Access Control & Authentication Failures

Reading16m
28

Cross-Site Scripting (XSS), CSRF & Security Headers

Reading18m
29

Finding Web Vulnerabilities Safely — Demo

Video17m
30

Chapter 5 — Web Security Quiz

Quiz12m
31

Authentication Factors, MFA & Passwordless

Reading16m
32

OAuth 2.0, OpenID Connect, SAML & JWTs

Reading18m
33

Access Control Models: RBAC, ABAC & Least Privilege

Reading16m
34

Identity Threats: Phishing & Social Engineering

Reading14m
35

Setting Up MFA & SSO — Walkthrough

Video14m
36

Chapter 6 — Identity & Access Quiz

Quiz12m
37

Malware Taxonomy: Viruses, Worms, Trojans & Ransomware

Reading16m
38

The Cyber Kill Chain & MITRE ATT&CK

Reading16m
39

Network Attacks: DoS/DDoS, MITM & Sniffing

Reading14m
40

Vulnerability Management & Penetration Testing

Reading16m
41

Understanding the MITRE ATT&CK Framework — Overview

Video15m
42

Chapter 7 — Threats & Attacks Quiz

Quiz12m
43

The SOC, SIEM & Log Management

Reading16m
44

Detection, Threat Hunting & Threat Intelligence

Reading16m
45

The Incident Response Lifecycle

Reading18m
46

Digital Forensics Fundamentals

Reading14m
47

Inside a SOC: Analyst Workflow — Walkthrough

Video16m
48

Chapter 8 — SecOps & IR Quiz

Quiz12m
49

Cloud Security & the Shared Responsibility Model

Reading16m
50

Container & Kubernetes Security

Reading16m
51

DevSecOps: Shifting Security Left

Reading16m
52

Secure SDLC & Threat Modeling

Reading14m
53

Securing a CI/CD Pipeline — Demo

Video15m
54

Chapter 9 — Cloud & DevSecOps Quiz

Quiz12m
55

Risk Management Fundamentals

Reading16m
56

Security Frameworks, Standards & Compliance

Reading16m
57

Security Awareness, Policy & the Human Factor

Reading14m
58

Cybersecurity Careers, Certifications & Next Steps

Reading16m
59

Cybersecurity Career Roadmap — Overview

Video14m
60

Chapter 10 — GRC & Careers Quiz

Quiz12m
←→navigate lessons
Chapter 3 of 10·Chapter 3 — Cryptography Essentials
Lesson 16 of 60Reading14 min

Crypto in Practice & Common Mistakes

Crypto in Practice & Common Mistakes¶

Most cryptographic failures aren't broken algorithms — they're misuse. Here are the mistakes you'll actually encounter.

Top Cryptographic Mistakes¶

1. Rolling Your Own¶

Custom encryption schemes are nearly always broken. Use vetted libraries.

2. Hardcoded / Committed Secrets¶

API keys and private keys in source code or Git history are a leading breach cause.

bash
3 lines
1# Scan your repo and history for secrets
2git log -p | grep -i "api_key\|secret\|password"   # quick smell test
3# Better: use automated scanners (gitleaks, trufflehog) in CI

If a secret is ever committed, rotate it — removing it from history isn't enough; assume it's compromised.

3. Weak Randomness¶

Using Math.random() or a predictable seed for keys, tokens, or IVs. Always use a cryptographically secure RNG (crypto.randomBytes, /dev/urandom, secrets module).

4. Reusing IVs / Nonces¶

In modes like AES-GCM, reusing a nonce with the same key is catastrophic — it can leak the key stream. Generate a fresh random nonce per message.

5. ECB Mode¶

Encrypts identical plaintext blocks to identical ciphertext — patterns leak. Use authenticated modes (GCM, ChaCha20-Poly1305).

6. Not Authenticating Ciphertext¶

Encryption alone doesn't prevent tampering. Use authenticated encryption (AEAD) so modified ciphertext is rejected.

Data States — Encrypt All Three¶

StateProtection
In transitTLS 1.3
At restDisk/database encryption (AES-256), KMS-managed keys
In useHardest; emerging confidential-computing / enclaves

Key Management Is Everything¶

The hardest part of crypto isn't encrypting — it's managing keys:

  • Store keys in a KMS or HSM, never next to the data they protect.
  • Enforce least privilege on key access and log every use.
  • Rotate keys on a schedule and after any suspected exposure.
  • Separate key-encryption keys from data-encryption keys (envelope encryption).

Practical Checklist¶

  • TLS 1.3 in transit, AES-256 at rest.
  • Passwords hashed with Argon2id/bcrypt + unique salt.
  • Secrets in a vault/KMS, never in code.
  • CSPRNG for all keys, tokens, IVs.
  • Authenticated encryption (AEAD) everywhere.
  • Automated cert renewal and secret scanning in CI.

Previous

Digital Signatures, Certificates & PKI

Next

How HTTPS & TLS Work — Visual Walkthrough

Use ← → arrow keys to navigate between lessons