Intermediate Cybersecurity Fundamentals
Learn how systems are attacked so you can defend them: the CIA triad and risk, classical and modern cryptography, hashing and passwords, TLS and firewalls, and the OWASP Top 10, with every demo run safely in your browser against a fake database.
- Level
- Intermediate
- Time
- About 60 hours
- Modules
- 6
- Lessons
- 25
- Exercises
- 75
This course teaches security the way defenders use it. Every lesson starts from something you already know, such as a mobile wallet, a university portal or a hostel door, and ends with a program you can run and step through.
Attacks are shown only to explain the defence. Every injection or cracking demo runs against a fake in-memory database inside your browser, never against a real system, and each one is paired with the code that fixes it.
What you will learn
- Describe any incident in terms of confidentiality, integrity and availability
- Rank risks and decide whether a control is worth its cost
- Explain how encryption, hashing and signatures protect data, and where each one fails
- Recognise the OWASP Top 10 weaknesses in code and fix them
- Plan layered defences and a basic incident response
Skills you will gain
- Risk scoring and quantitative risk analysis
- Applied cryptography concepts
- Secure password storage
- Secure web coding
- Threat modelling
Before you start
- Basic JavaScript: variables, loops, functions and arrays (the JavaScript course covers them)
- An idea of how the web works: browsers, servers and HTTP
- Comfort with simple algebra and percentages
Where it is used
- Writing web apps that resist injection and cross-site scripting
- Storing user passwords safely
- Reviewing a small organisation's security and writing a risk register
- Starting a career path in security operations or application security
Modules
Module 1: Security basics
The words and the thinking behind every security decision: what we protect, what threatens it, how to rank risks and how to layer defences.
- 1
What security protects: the CIA triad
Confidentiality, integrity and availability: the three things every attack breaks and every defence protects, and why a checksum catches accidents but not attackers.
- 2
Threats, vulnerabilities and risk
Assets, vulnerabilities, threats and risk told apart; ranking risks with a likelihood × impact matrix; and the SLE, ARO and ALE sums that show whether a protection is worth its price.
- 3
Attack surface and defence in depth
Why several independent layers of protection beat one strong lock, how the chances of getting through multiply, and how closing what you do not need shrinks the attack surface.
Module 2: Cryptography
How secrets are kept and proved: classical ciphers and how they break, AES and its modes, RSA and Diffie-Hellman with small numbers, and the signatures and certificates behind the browser's lock.
- 1
Classical ciphers and how they break
The Caesar and Vigenère ciphers, broken by brute force, frequency analysis and repeated patterns, and the rules those breaks taught every modern cipher.
- 2
Symmetric encryption and AES
One key to lock and unlock: what AES does inside a round, why ECB leaks patterns while CBC and GCM do not, and the key-sharing problem symmetric encryption leaves open.
- 3
Public-key encryption with toy RSA
Two keys instead of one: building RSA keys from two primes, encrypting with mᵉ mod n and decrypting with cᵈ mod n, step by step with small numbers, and why real RSA needs huge keys and padding.
- 4
Agreeing on a key: Diffie-Hellman
How two people agree on a secret key over a channel everyone can read, why the discrete logarithm keeps it safe, and why the exchange still needs signatures to stop a man in the middle.
- 5
Digital signatures and certificates
Signing with a private key and checking with the public one, what a signature proves, and how certificates and a chain of trust tell your browser that a public key really belongs to a website.
Module 3: Hashing and passwords
One-way functions and the logins built on them: SHA-256 and the avalanche effect, why MD5 and SHA-1 fell, salted slow password hashes, honest password strength and two-factor codes.
- 1
Hash functions and the avalanche effect
What a cryptographic hash such as SHA-256 promises (fixed size, one-way, collision resistant), the avalanche effect seen bit by bit, and why a hash is not encryption.
- 2
Why MD5 and SHA-1 are broken
The birthday paradox and the birthday bound, what it means for a hash to be broken, and the real collision attacks on MD5 and SHA-1 that pushed the world to SHA-256.
- 3
Storing passwords: salt and slow hashes
Why sites store a salted, slow hash instead of your password: what precomputed tables are, how a per-user salt defeats them, and how bcrypt, scrypt and Argon2 slow attackers down on purpose.
- 4
Password strength and entropy
Measuring password strength honestly: entropy as length × log₂(pool), why length beats symbols, why passphrases work, and why patterns people use make the real strength far lower.
- 5
Two-factor authentication and one-time codes
The three kinds of factor, how authenticator apps compute a fresh six-digit TOTP code every 30 seconds from a shared secret and the clock, and why passkeys resist phishing when SMS codes do not.
Module 4: Network security
Protecting traffic on the way: ports and first-match firewalls with default deny, the TLS 1.3 handshake that makes HTTPS safe, and what VPN tunnels do and do not hide.
- 1
Ports and firewalls
What ports are, how a firewall reads an ordered rule list where the first match decides, why the default policy should be deny, and how a stateful firewall lets only replies back in.
- 2
The TLS handshake
How HTTPS starts: the TLS 1.3 handshake message by message, with key shares in the Hellos, a certificate and signature for identity, and Finished MACs that catch any change, plus what a network can still see.
- 3
VPNs and secure tunnels
How a VPN wraps packets in an encrypted tunnel, who can see what with and without one, the overhead it adds, split tunnelling, and the protections a VPN does not give.
Module 5: Web security and the OWASP Top 10
The mistakes behind most website breaches and their fixes, each shown as vulnerable code next to fixed code: broken access control, SQL injection, cross-site scripting, cross-site request forgery and weak logins.
- 1
The OWASP Top 10 and broken access control
The map of web application risks: the OWASP Top 10 categories in plain words, and the top one, broken access control, with the classic insecure direct object reference and its fix.
- 2
SQL injection and parameterized queries
How pasting user input into SQL lets one input box change what a query means, the classic payloads shown on a fake in-page table, and the fix: parameterized queries, plus allow-lists and least privilege.
- 3
Cross-site scripting (XSS)
How text treated as HTML lets an attacker's script run in every reader's browser, the stored, reflected and DOM-based kinds, and the fix: output encoding, with a Content-Security-Policy and HttpOnly cookies as extra layers.
- 4
Cross-site request forgery (CSRF)
How another site can make your browser send a request to a site where you are logged in, why it targets actions and not data, and the defences: CSRF tokens, SameSite cookies and Origin checks.
- 5
Broken authentication and sessions
Credential stuffing, password spraying and stolen sessions, and the defences: rate limits with growing delays, safe session IDs that are renewed and expired, generic errors and safe password resets.
Module 6: Security in practice
The people side of security and the work after an attack: phishing and social engineering, least privilege, incident response, and how to plan a career in security.
- 1
Phishing and social engineering
How phishing tricks people with a story, a lure and a request; how to read where a link really goes, past subdomain tricks, look-alike names and the @ trick; and the habits and tools that defeat it.
- 2
Least privilege and access control in practice
Giving every person, program and device only the access its job needs: least privilege, separation of duties, role-based access, time-limited admin rights and access reviews, and why they shrink the damage of every attack.
- 3
Incident response basics
What to do when a defence fails: the four phases of NIST SP 800-61, triage by impact and urgency, building a timeline from logs, time to detect and time to contain, and blameless reviews.
- 4
Security careers and a learning roadmap
The main kinds of security work and the skills each leans on, a skill-gap check to turn a target role into a study list, and how projects, legal practice and ethics build a security career.
Projects
- A security review of a small web app Review a small, deliberately weak web app that runs only in your browser: list its assets and attack surface, rank its risks, find its OWASP Top 10 weaknesses and fix them.
- A password and encryption toolkit Build a small browser toolkit that measures password strength, stores passwords safely with a salt and a slow hash, and encrypts a note, explaining each step on screen.
What to learn next
- Computer Networks How the internet works, layer by layer, in Python: delay, errors, switches, IP and subnetting, NAT, routing, TCP, congestion control, DNS, HTTP, sockets and TLS.
- JavaScript: Programming for the Web From your first program to closures, async code and modules, with every variable and call visible, then real pages that respond, load data and remember it.
- Database Management Systems Tables and SQL: queries, joins, grouping, keys, subqueries, ER design, normalization, relational algebra, indexes and transactions, on a real database in your browser.