SECURITY ENGINEERING · FREE

Security Engineering

Become a security engineer, ethical hacker or cloud security engineer, step by step. Learn operating systems, networking and cryptography from the inside first, then how attackers break in, then how to build secure code, pipelines and cloud, and finally how to protect a whole company with detection and incident response. Free, animated, and every lab attacks and defends one practice system.

  • 229 episodes
  • 17 parts, beginner to staff
  • 102 live now

Also called: cybersecurity, information security, ethical hacking, penetration testing, application security (AppSec), cloud security, DevSecOps, SOC and detection engineering. New parts are added in batches.

1 / 6

Where to start

The practice system

ShopRung: attack it, detect it, fix it

Every lab uses one small online shop, the same one the DevOps and Testing tracks use, running only on your own machine. You attack it the way a real attacker would, find the attack in its logs, write the fix and prove the same attack now fails. Its attack switch, which arrives with Part 5, turns on real weaknesses such as SQL injection, a leaked secret, a public bucket or a login with no rate limit.

Download ShopRung (.zip)

Stage 1 · Foundation

Before any hacking: the job and its rules, Linux and Windows from the inside, networking, scripting and cryptography.

Part 0 · Start here7 of 8 episodes live What security engineers, ethical hackers and cloud security engineers really do, how attacks happen, the rules, and your lab.
  1. 1What is cybersecurityWhat cybersecurity really means: the assets a company protects, the CIA triad, the difference between a threat, a vulnerability, an exploit and a risk, how one unpatched server became one of the largest breaches on record, the words every security team uses, the three kinds of control, and what a security engineer does all week.
  2. 2Security rolesThe jobs inside a security team and how they really differ: application security, cloud security, detection and response (the SOC), red team and penetration testing, identity, corporate security, GRC and security platform engineering. What each one owns, the skills they share, how interviews test them, and how to read a job ad by its duties.
  3. 3How attacks happenFollow one attack on the ShopRung practice shop from the first search to stolen customer data: reconnaissance, initial access through a forgotten staging site, a foothold, privilege escalation, lateral movement and exfiltration. Then the two maps defenders use, the Cyber Kill Chain and MITRE ATT&CK, and where each step could have been stopped or detected.
  4. 4Hackers, ethics and the lawWho hackers really are: white hat, black hat and grey hat, then the attackers companies face (script kiddies, hacktivists, criminal and ransomware groups, nation-state teams and insiders) and the red, blue and purple teams that defend. Then the rules: written permission, scope, rules of engagement, responsible disclosure, and what computer misuse laws say.
  5. 5How security teams workThe loop every security team runs: keep an inventory, find gaps (design reviews, threat models, code review, scanners, penetration tests, bug bounties, posture checks and audits), rank them by risk, fix them at the root with guardrails and secure defaults, verify the fix, then detect, respond and learn. With the working habits that make other teams want security involved.
  6. 6Security principlesThe handful of principles behind every secure design, each shown on one online shop: least privilege, defense in depth, zero trust, secure by default, separation of duties, fail safe, keep it simple and open design. Plus authentication, authorization and accounting (AAA), non-repudiation, and how to use the principles to review any system in an interview.
  7. 7The security career pathThe security engineering career ladder level by level: what a Security Engineer 1, 2, 3 and a staff security engineer is trusted with, the skills and scope that move you up, the common ways in (as a student, or from development, DevOps, IT support or QA), the portfolio that gets interviews, which certifications help and when, and how this track maps to each level.
  8. 8Set up your labSoon
Part 1 · Linux and Windows, from the inside12 of 12 episodes live How an operating system protects itself, how attackers get around it, and how to harden and watch a server.
  1. 9Permissions, SUID, sudoHow Linux decides who can do what, read as an attacker and a defender: the nine permission bits and their numbers, ownership, the SUID bit that makes passwd and sudo run as root, why a loose SUID program is a privilege-escalation path, world-writable files, and sudo configured for least privilege instead of full root.
  2. 10Linux privilege escalationHow a limited shell becomes root on Linux, each path paired with its fix: enumeration first, then SUID and sudo misconfigurations, writable files a root process trusts, cron jobs, PATH and wildcard tricks, kernel and capability issues, and secrets left in the environment. Plus the tools defenders use (LinPEAS) and the hardening that removes the paths.
  3. 11Logs and auditdWhere Linux records who did what, read as a defender: the auth log for logins and sudo, journald and the system logs, the Linux audit framework (auditd) for fine-grained rules on commands and file access, which events actually matter for detection, and why logs must be shipped off the box before an attacker can wipe them.
  4. 12SSH hardeningSSH is the main door into most Linux servers, so attackers hammer it. How to make it hard to break: keys instead of passwords, disabling root login, locking down sshd_config, limiting who can connect, defending against brute force with fail2ban and rate limits, bastions and port knocking, and watching the auth log for the attacks that will come.
  5. 13Hardening: CIS and LynisTurning a default Linux install into a hardened one you can defend: what a baseline is, the CIS Benchmarks as a published checklist, scanning with Lynis and OpenSCAP to get a score and a to-do list, the highest-value hardening steps, applying a baseline at scale with Ansible and golden images, and verifying it stays applied.
  6. 14SELinux and AppArmorMandatory access control, the layer that contains a process even after it is compromised: why normal Linux permissions are not enough, how SELinux (labels and policy) and AppArmor (per-program profiles) confine what a service may do, enforcing versus permissive modes, reading denials instead of just disabling it, and why these systems blunt real exploits.
  7. 15Memory attacks and defensesHow classic memory-corruption attacks work at a high level, and the layered defenses that make them hard: what a buffer overflow is, why unsafe languages allow them, the defenses built into modern systems (non-executable memory, ASLR, stack canaries, RELRO, control-flow integrity), why they are defense in depth, and what an engineer does without writing exploits.
  8. 16Secure boot and TPMProtecting a machine from the hardware up: why a stolen or tampered device is a serious threat, how Secure Boot checks each stage of startup is signed, what a TPM is and how it stores keys and measures boot, full-disk encryption with BitLocker and LUKS, how the TPM unlocks the disk only on a trusted boot, and the limits these controls do and do not cover.
  9. 17Windows security basicsThe Windows security model an engineer needs, since most company laptops and many servers run it: accounts and SIDs, the SAM and LSASS, access tokens and groups, User Account Control, the registry and its run keys, services and scheduled tasks, Defender and SmartScreen, and the places attackers hide for persistence, each with its defensive setting.
  10. 18Windows event logsWhere Windows records security activity and how to turn it into detection: the Security, System and PowerShell logs, the event IDs that matter (logons 4624/4625, privilege use, process creation 4688, service and scheduled-task changes), why the defaults log too little, enabling command-line and PowerShell logging and Sysmon, and forwarding everything to a SIEM.
  11. 19Active DirectoryActive Directory, the identity system most companies run, and why attackers love it: domains, domain controllers, users, groups and OUs, how login works with Kerberos and the older NTLM, the all-powerful Domain Admins and KRBTGT account, and the structural weaknesses (one compromised account reaching everything) that Part 7 attacks and this episode starts to defend.
  12. 20Windows hardeningTurning Windows machines from default to defensible at scale: using Group Policy and Intune to enforce a baseline, the Microsoft and CIS security baselines, removing local admin, LAPS for unique local-admin passwords, attack surface reduction rules, application control (WDAC/AppLocker), credential protections, and keeping the baseline applied with reporting and drift detection.
Part 2 · Networking for security16 of 16 episodes live How data travels from a laptop to a database, where it can be sniffed or changed on the way, and the control that protects each hop.
  1. 21The journey of a requestFollow one login request from a laptop to a database and back across eight hops: the device, Wi-Fi, DNS, the internet, the CDN and WAF, the load balancer, the application and the data store. At every hop: what an attacker can sniff or change there, and the one control that protects it. The map for the rest of this part.
  2. 22Sniffing with WiresharkSee what an attacker on the network sees, using your own traffic in your own lab: how packet capture works, promiscuous and monitor mode, tcpdump on a server and Wireshark on a desktop, the filters worth knowing, a login captured over HTTP in plain text and the same login over HTTPS as unreadable bytes, what still leaks under TLS, and how defenders use captures.
  3. 23ARP spoofing and MITMHow an attacker on the same local network gets between you and the router: what ARP does and why it trusts every answer, how forged ARP replies redirect traffic through the attacker, what a man in the middle can read or change, how to spot it in the ARP table and in captures, and the defenses that matter (TLS, switch protections, segmentation).
  4. 24DNS attacks and DNSSECDNS decides where every connection goes, so attackers aim at it: spoofed answers on the local network, cache poisoning at the resolver, hijacking the domain at the registrar, subdomain takeover through dangling records, and data smuggled out in DNS queries. Then the defenses: DNSSEC, encrypted DNS, registrar locks and DNS monitoring.
  5. 25TCP/IP attacksThe weaknesses built into TCP and IP, and what defends against each: IP address spoofing and why UDP makes it worse, the SYN flood that fills a server with half-open connections, SYN cookies, reset and session hijacking attacks, ICMP abuse, and amplification, with the kernel settings, filtering and encryption that blunt them.
  6. 26Port scanning with NmapHow a port scan works and how to run one on your own lab: open, closed and filtered ports, host discovery, the SYN scan and the connect scan, service and version detection, the scripting engine, reading the output, what a scan looks like in the target logs, and how defenders use the same tool to find what they expose before an attacker does.
  7. 27TLS attacks and HSTSTLS is strong, so attackers go around it: SSL stripping keeps the victim on plain HTTP, downgrade attacks push a connection to an old weak version, fake or mis-issued certificates impersonate the site, and bad configuration undoes the rest. The fixes: HSTS and preload, modern TLS versions only, certificate validation, and testing your own servers.
  8. 28DDoS attacksDenial of service is the attack on availability: what a DDoS is and where the traffic comes from, the three families (volumetric floods, protocol attacks and application-layer floods), why each needs a different defense, how CDNs, scrubbing and anycast absorb volume, rate limiting and caching at layer 7, and the runbook to prepare before the day it happens.
  9. 29Firewalls and WAFWhat each kind of firewall can and cannot see: packet filters, stateful firewalls, next-generation firewalls and web application firewalls. How rules are evaluated, default deny, inbound versus outbound (egress) filtering, host firewalls and cloud security groups, writing rules that survive review, and why a firewall is one layer and never the whole defense.
  10. 30IDS and IPSThe systems that watch traffic a firewall already allowed: intrusion detection versus intrusion prevention, signature detection and anomaly detection, where sensors sit, how a Suricata rule reads, Zeek as a network flight recorder, host-based detection, the blind spot created by encryption, and the tuning that keeps alerts worth reading.
  11. 31Segmentation and DMZLimiting how far an attacker can travel once inside: why flat networks turn one compromised machine into a company-wide breach, zones and trust levels, VLANs and subnets, the DMZ for public-facing systems, three-tier designs, microsegmentation down to single workloads, the same ideas in cloud VPCs, and how to test that the walls really hold.
  12. 32VPN and ZTNAHow people and offices reach private systems safely: what a VPN tunnel is, IPsec, OpenVPN and WireGuard, site-to-site and remote-access VPNs, why a VPN that grants the whole network is a gift to attackers, and zero-trust network access, which checks the user and device on every request and grants one application at a time.
  13. 33Wi-Fi securityWireless networks send everything through the air, so the security is all in the protocol: open networks, the broken WEP, WPA2 and its offline password-guessing weakness, what WPA3 fixes, enterprise Wi-Fi with 802.1X where each person has their own login, evil twin and deauthentication attacks, guest and device isolation, and how to run an office network properly.
  14. 34Intercepting proxiesThe main tool of web security testing: a proxy you place between your own browser and an application, to read and change requests the user interface would never send. How it decrypts HTTPS with a certificate authority you install yourself, intercept, repeat and replay, mitmproxy and Burp Suite, testing mobile apps, certificate pinning, and why this proves that client-side checks are not security.
  15. 35BGP and routing attacksHow the internet decides where packets go, and how that can be subverted: autonomous systems and BGP announcements, why a false or more specific announcement pulls traffic toward the wrong network, route leaks versus deliberate hijacks, two real incidents, what RPKI and route filtering fix, and what an ordinary company can do about a problem it does not control.
  16. 36Network monitoringPutting Part 2 together: how to watch a network so attacks are noticed. The four kinds of network evidence (flow records, protocol logs, alerts and full packet capture), what each costs and answers, baselines and the patterns worth alerting on (beaconing, scans, large transfers, new destinations), monitoring in the cloud, and working with mostly encrypted traffic.
Part 3 · Scripting and automation8 of 8 episodes live The small tools security engineers write every day: Bash and Python for logs, packets and APIs, PowerShell for Windows, and a Go scanner.
  1. 37Bash for securityThe shell skills a security engineer uses every day, shown on a practice auth log of 519 lines: counting failed logins with grep, ranking attacker addresses with sort and uniq (one address made 412 of 516 failures), pulling fields with awk, finding the brute force that succeeded, hunting files with find, checking hashes, and turning a one-liner into a safe script.
  2. 38Python for securityThe parts of Python a security engineer actually uses, each as a small working snippet: reading and counting log lines with re and Counter (the same 412 failed logins as the Bash episode), hashing files with hashlib, checking addresses with ipaddress, talking to web services with requests, raw connections with socket, JSON in and out, and the habits that keep a security script from becoming a security problem.
  3. 39Build a port scannerWrite a working TCP connect scanner in about 40 lines of Python to understand what Nmap does: one connection attempt with a timeout, a loop over ports, threads for speed, reading service banners, and command-line options. Tested on a lab machine, it checked 10,000 ports in 1.15 seconds and found 3 open. Then why timeouts dominate real scans, and the rules for using it.
  4. 40Scapy and packetsScapy lets you build any packet layer by layer in Python, send it, and read the reply: stacking IP, TCP, UDP, ICMP and DNS with the slash operator, sending one SYN and seeing the RST-ACK come back from a closed port, sniffing with a filter, reading and writing capture files, and using it to test firewalls and detection rules in your own lab.
  5. 41Regex and log parsingRegular expressions are the query language of security work: the handful of symbols that matter, named groups that turn a log line into fields, patterns for addresses, hashes and leaked keys, greedy versus lazy matching, the anchor mistake that lets bad input through, and ReDoS, where one bad pattern took 2.54 seconds on 26 characters in our test.
  6. 42Automating with APIsMost security work at scale is a script asking an API a question on a schedule: which access keys are older than 90 days, which buckets are public, which repositories lack branch protection. How to write those checks with boto3 and requests, with pagination, rate limits, read-only credentials, a dry-run mode, alerts to chat, and safe automatic fixes.
  7. 43PowerShell for securityPowerShell is how Windows is administered, investigated and attacked, so defenders must read and write it: objects instead of text, querying event logs with Get-WinEvent, checking local admins, services, scheduled tasks and network connections, hashing files, auditing Active Directory, why attackers love it, and the controls (script block logging, AMSI, constrained language mode) that tame it.
  8. 44A Go security toolWhy Trivy, Nuclei, Gitleaks, Vault and most new security tools are written in Go: one static binary with no runtime to install, easy cross-compiling, cheap concurrency with goroutines, and memory safety. Shown by rebuilding the port checker in about 40 lines: a 3.3 MB binary that checked 10,000 ports in 115 ms, ten times faster than the Python version.
Part 4 · Cryptography in practice13 of 13 episodes live The cryptography engineers actually use: hashing, encryption, signatures, certificates and TLS, key management and rotation, and the mistakes that break them.
  1. 45Encoding, hashing, encryptionThree things that all turn readable data into unreadable-looking data, and are constantly confused: encoding (Base64, hex) changes the format and needs no key, hashing (SHA-256) is a one-way fingerprint, and encryption (AES) is reversible only with a key. Each shown on real values, with what it is for, what it protects, and the mistakes that come from mixing them up.
  2. 46Symmetric encryptionSymmetric encryption uses one key to lock and unlock, and AES is the standard: what a block cipher is, why ECB mode leaks patterns (two identical blocks gave identical ciphertext in our test), authenticated encryption with AES-GCM and ChaCha20-Poly1305, what the nonce and the tag are for, why a nonce must never repeat, and 100 MB encrypted in 0.08 seconds.
  3. 47Asymmetric encryptionAsymmetric cryptography uses a key pair: a public key anyone may have and a private key only you hold. This episode explains what that solves, how RSA and elliptic curves differ, real numbers for key size and speed (RSA-2048 key generation 0.13 s, P-256 0.04 ms), why RSA can only encrypt 190 bytes, hybrid encryption, and how private keys are stolen and protected.
  4. 48Hashing and HMACA hash function turns any input into a short fixed fingerprint that cannot be reversed. This episode covers the properties that matter, real SHA-256 output (one changed letter flipped 131 of 256 bits), why MD5 and SHA-1 are broken, what hashes are used for, why a plain hash does not prove who sent a message, and how HMAC adds a secret key to sign webhooks and API requests.
  5. 49Password storageHow to store passwords so a stolen database is not a disaster: why plaintext, encryption and fast hashes like SHA-256 all fail (we computed a million SHA-256 hashes in 0.42 seconds), what a salt and a pepper do, how bcrypt and Argon2id slow attackers down (0.27 s per guess at cost 12), how to read a stored hash, and how to upgrade old hashes safely.
  6. 50Key exchangeHow two computers agree on a secret key over a network an attacker is recording: the Diffie-Hellman idea in plain words, the modern X25519 version with real output (both sides derive the same 32 bytes in 0.04 ms), why the exchange must be authenticated to stop a man in the middle, what forward secrecy means, and how a key derivation function turns the result into session keys.
  7. 51Digital signaturesA digital signature proves who produced some data and that it has not changed since. This episode shows how signing and verifying work, real Ed25519 output (a 64-byte signature in 0.03 ms, and a tampered message rejected), how RSA-PSS, ECDSA and Ed25519 compare, where signatures protect you every day (TLS, software updates, git commits, container images, JWTs), and how attackers get around them.
  8. 52PKI and certificatesA certificate ties a public key to a name, signed by an authority you already trust. This episode builds a practice certificate authority with OpenSSL and reads a real certificate field by field, then covers the chain of trust, the checks a client performs (we show the exact errors for an unknown issuer and a wrong hostname), revocation, Certificate Transparency, and running an internal PKI.
  9. 53The TLS 1.3 handshakeThe TLS 1.3 handshake is where key exchange, signatures, certificates and AES-GCM work together. This episode walks through it message by message with real OpenSSL output from a practice server (TLSv1.3, X25519, TLS_AES_256_GCM_SHA384), shows what an eavesdropper can and cannot see, what TLS 1.3 removed, the attacks on older versions, 0-RTT replay risk, mutual TLS, and a hardening checklist.
  10. 54Envelope encryption, KMSWhere do encryption keys live? This episode explains envelope encryption: data is encrypted with a data key, and the data key is wrapped by a master key that never leaves a KMS or HSM. With a working local example (a 32-byte data key wraps to 40 bytes, and the wrong master key fails), key hierarchies, what an HSM guarantees, KMS access policies, audit logs, and how attackers abuse KMS permissions.
  11. 55Key rotationKeys and secrets must be replaced regularly and immediately after a leak, without breaking the system. This episode shows how: key versions stored with every ciphertext, decrypt with any version but encrypt with the newest, a working rotation with real output, rewrapping 100,000 data keys in 0.23 seconds instead of re-encrypting the data, dual credentials for passwords and API keys, and a rotation policy by key type.
  12. 56Common crypto mistakesStrong algorithms fail through weak usage. This episode is a review checklist of the cryptography mistakes found in real code: inventing your own scheme, predictable random numbers (a seeded generator repeated exactly in our test), reused nonces (we recovered a second message from two ciphertexts), hard-coded keys, missing authentication, disabled certificate checks and weak algorithms, with how to find and fix each.
  13. 57Post-quantum cryptoA large quantum computer would break RSA, Diffie-Hellman and elliptic curves, but not AES or SHA-256. This episode explains what is at risk and why, "harvest now, decrypt later", the NIST standards ML-KEM, ML-DSA and SLH-DSA with their real key sizes, hybrid key exchange already used in browsers and SSH, the final NIST 2030 and 2035 deadlines, and a practical migration plan built on a cryptography inventory.

Stage 2 · Attack and defend

Think like an attacker: the hacking process, web and API attacks, passwords, phishing and malware, each with its defense.

Part 5 · Ethical hacking, step by step7 of 15 episodes live The penetration testing process from scope to report: recon, scanning, exploitation and post-exploitation, each with the logs a defender would see.
  1. 58The pentest processA penetration test is an authorised, time-boxed attack on a system to find weaknesses before real attackers do. This episode walks through the whole process: scoping and permission, reconnaissance, scanning, exploitation, post-exploitation, reporting and retesting, the standards behind it (PTES, OWASP, NIST 800-115), black, grey and white box tests, and what the defending team should see at each phase.
  2. 59Scope and rulesBefore any security test, three documents decide whether it is legal, safe and useful: the scope, the rules of engagement and the authorisation letter. This episode covers what each must contain, cloud provider testing policies, third parties you cannot authorise for, what to do when you find real attacker activity or sensitive data, safe harbour in bug bounties, and the same rules seen from the company side.
  3. 60OSINT and reconReconnaissance is finding out what a target exposes before touching it. This episode covers open-source intelligence (OSINT): passive versus active recon, what DNS, WHOIS, certificate logs, search engines, code repositories, job adverts, staff profiles and breach data reveal, the tools used (theHarvester, Shodan, Amass), and how a security engineer runs the same recon on their own company to shrink the exposure.
  4. 61Finding assetsYou cannot protect a host you do not know exists, and attackers look for exactly those. This episode covers subdomain and asset discovery: certificate logs with crt.sh, passive sources through Subfinder and Amass, DNS brute forcing, probing which hosts are alive with httpx, cloud assets such as open buckets, the subdomain takeover risk from dangling DNS records, and building a continuous asset inventory.
  5. 62Scanning and enumerationScanning finds which services a host exposes; enumeration extracts the detail from each one. This episode gives the step-by-step method testers use: host discovery, a full port scan, version detection, then service-by-service enumeration of web, SMB, SSH, DNS, SNMP, mail and databases, with example lab output, how to keep notes, what every step looks like in defender logs, and how to shrink what a scan can find.
  6. 63Vulnerability scanningA vulnerability scanner checks systems against thousands of known weaknesses automatically. This episode explains how scanners decide something is vulnerable, the difference between unauthenticated and credentialed scans, OpenVAS (Greenbone) for networks and Nuclei for template-based web checks, how to read results and remove false positives, the limits of scanning, and how security teams run it continuously.
  7. 64CVE, CVSS and exploitsEvery known vulnerability gets a CVE identifier, a weakness type (CWE) and a CVSS severity score. This episode explains each, reads a real CVSS vector piece by piece using Log4Shell (CVE-2021-44228, score 10.0), shows why severity is not the same as risk, and adds the signals that matter for prioritising: EPSS exploit probability, the CISA Known Exploited Vulnerabilities list and public exploits in Exploit-DB.
  8. 65MetasploitSoon
  9. 66Bind and reverse shellsSoon
  10. 67Post-exploitationSoon
  11. 68Lateral movementSoon
  12. 69Exfiltration and C2Soon
  13. 70The pentest reportSoon
  14. 71Bug bounty and CTFsSoon
  15. 72Red, blue, purple teamsSoon
Part 6 · Web and API security21 episodes · coming soon Every OWASP Top 10 and API Top 10 risk on one shop: how the attack works, how to spot it in logs, and the fix in code.
  1. 73How the web trustsSoon
  2. 74Burp Suite and ZAPSoon
  3. 75The OWASP Top 10Soon
  4. 76Broken access control, IDORSoon
  5. 77SQL injectionSoon
  6. 78Command and NoSQL injectionSoon
  7. 79Cross-site scripting (XSS)Soon
  8. 80CSRFSoon
  9. 81SSRFSoon
  10. 82XXE and deserializationSoon
  11. 83File upload, path traversalSoon
  12. 84Authentication attacksSoon
  13. 85JWT attacksSoon
  14. 86OAuth attacksSoon
  15. 87Headers, misconfigurationSoon
  16. 88API Security Top 10Soon
  17. 89BOLA and mass assignmentSoon
  18. 90GraphQL securitySoon
  19. 91Rate limiting, WAF rulesSoon
  20. 92Business logic flawsSoon
  21. 93Mobile app securitySoon
Part 7 · Passwords, phishing and malware12 episodes · coming soon How attackers get in through people and identities: cracked passwords, phishing, Active Directory paths, malware and bots, and the defenses for each.
  1. 94Password crackingSoon
  2. 95MFA and its bypassesSoon
  3. 96PhishingSoon
  4. 97Phishing simulationSoon
  5. 98Active Directory attacksSoon
  6. 99Attack paths, BloodHoundSoon
  7. 100Malware typesSoon
  8. 101RansomwareSoon
  9. 102Spread and persistenceSoon
  10. 103Bots and account takeoverSoon
  11. 104Bot defenseSoon
  12. 105Insider threatsSoon

Stage 3 · Build and run secure

Secure code, secure pipelines, secure cloud and secure Kubernetes.

Part 8 · Writing secure code16 of 16 episodes live Security built into how software is designed, written, reviewed and tested: threat models, secure Java and Python, authentication and authorization done right.
  1. 106The secure SDLCSecurity is cheapest when it is built in, not bolted on. This episode explains the secure software development lifecycle: what happens in each phase from requirements to operations, what "shift left" really means, why a bug caught in design costs a fraction of one caught in production, the activities a security engineer adds at each stage, and the maturity models (OWASP SAMM, BSIMM) that measure a programme.
  2. 107Requirements, abuse casesMost security flaws are missing requirements, not broken code. This episode shows how to write security requirements that can be tested and signed off, how to turn a normal user story into abuse cases by asking how it could be misused, where ready-made requirements come from (OWASP ASVS, the top ten, compliance), and how these become acceptance criteria, test cases and a shared definition of done.
  3. 108Risk ratingRisk is likelihood times impact, but turning that into a number teams trust is the hard part. This episode covers risk rating for security work: the core formula, the OWASP Risk Rating method with its likelihood and impact factors, DREAD and its weaknesses, where CVSS fits and where it misleads, qualitative versus quantitative approaches, and how to keep ratings consistent and honest across a team.
  4. 109Threat modeling, STRIDEThreat modeling means taking a design and asking what can go wrong, before it is built. This episode walks through the four questions, how to draw a data flow diagram with trust boundaries, the six STRIDE categories with a concrete example and mitigation for each, and how to make threat modeling a lightweight habit rather than a heavy document.
  5. 110Attack trees and toolsSTRIDE finds categories of threat; attack trees explore how a specific goal could be reached. This episode covers attack trees (a goal at the root, branches of AND and OR steps, leaves you can cost or rate), when to use them, the heavier PASTA and VAST methods and when they fit, threat modeling as code with pytm, diagramming with OWASP Threat Dragon, and how to choose an approach for your team.
  6. 111Validation and encodingMost injection bugs come from two habits done wrong: trusting input and building output by string concatenation. This episode separates the two defenses, explains allowlist validation, why validation alone never stops injection, context-aware output encoding, parameterised queries for SQL, and the rule that fixes injection for good: keep code and data apart with APIs, not escaping.
  7. 112Secure Java and SpringJava and Spring give you strong security building blocks, but the defaults and the common patterns still leave gaps. This episode covers the mistakes that appear most in Spring Boot code review: SQL and injection, unsafe deserialization, SSRF, mass assignment, broken method-level authorization, actuator and CORS misconfiguration, secrets in properties, and the Spring Security patterns that fix each, with short code.
  8. 113Secure PythonPython is forgiving, which is why its security pitfalls are easy to hit. This episode covers the mistakes that appear most in Python code review: SQL injection with string formatting, command injection via shell=True, dangerous functions (eval, pickle, yaml.load), SSRF, path traversal, template injection in Jinja and Flask, unsafe defaults in requests and XML parsers, secrets in code, and the safe pattern for each.
  9. 114Authentication designAuthentication is proving who you are, and it is where many breaches begin. This episode covers designing it: the three factors and MFA, server-side sessions versus stateless tokens and when to use each, how session cookies and JWTs should be configured, secure login, logout and password reset flows, account recovery as the weakest link, and the rule to not build your own identity system when a good one exists.
  10. 115OAuth 2.0 and OIDCOAuth 2.0 is for delegated authorization; OpenID Connect adds authentication on top. This episode explains both in plain terms: the four roles, why OAuth is about access not login, the authorization code flow with PKCE as the default, access and refresh tokens and scopes, what OIDC adds with the ID token, the common mistakes (implicit flow, missing state, open redirects), and how to use them safely.
  11. 116SAML and SSOSingle sign-on lets one login work across many applications. This episode explains how: the identity provider and service provider model, SAML with its signed XML assertions, how SAML and OpenID Connect compare and when each is used, the security that holds SSO together (signature validation, audience and time checks), the classic SAML vulnerabilities, and why SSO centralises both convenience and risk.
  12. 117Passkeys and WebAuthnPasskeys replace passwords with public-key cryptography and are phishing-resistant by design. This episode explains how WebAuthn works: a key pair per site, the private key held in a device or security key, a signed challenge instead of a shared secret, why that defeats phishing, how registration and login flow, synced versus device-bound passkeys, and how to add them to an application.
  13. 118Authorization modelsAuthorization decides what an authenticated user may do, and broken authorization is the number one web risk. This episode covers the models: RBAC with roles, ABAC with attributes and policies, ReBAC with relationships (the Google Zanzibar approach), the broken-access-control bugs they prevent (IDOR, missing checks), and the rules that make authorization reliable: deny by default, check on the server, every time.
  14. 119Security code reviewSecurity code review is reading code specifically to find security flaws, and it finds things scanners cannot. This episode gives a method: where to focus, a checklist grounded in the OWASP Top 10, how to follow untrusted input to dangerous sinks, reviewing pull requests versus whole codebases, combining human review with tools, and how to give findings developers can act on.
  15. 120SAST: Semgrep and CodeQLStatic analysis reads code without running it to find security bugs. This episode explains how SAST works, pattern matching (Semgrep) versus deep dataflow and taint tracking (CodeQL), writing your own rules to catch a bug class once and forever, where SAST fits in the pipeline, how to manage false positives and keep developers on side, and the related tools SCA, secret scanning and DAST.
  16. 121FuzzingFuzzing throws huge volumes of unexpected input at code to find the cases a human never thinks to test. This episode explains how it works, coverage-guided fuzzing that evolves inputs to reach new code, what fuzzers catch (crashes, memory bugs, hangs, some logic errors), where they fit (parsers, protocols, APIs), tools like AFL++, libFuzzer and OSS-Fuzz, and how to add fuzzing to your project.
Part 9 · DevSecOps and supply chain13 of 13 episodes live Security checks inside the pipeline, safe dependencies, signed artifacts, secrets that rotate, and a CI system attackers cannot turn against you.
  1. 122Security in the pipelineDevSecOps means building security checks into the delivery pipeline so they run automatically on every change. This episode maps which check goes where: pre-commit and the IDE, pull-request scans, build-time SCA and secret scanning, image and IaC scanning before deploy, and runtime checks after. It covers blocking versus warning, keeping the pipeline fast, baselining old findings, and the culture that makes it stick.
  2. 123Vulnerable dependenciesMost of your application is other people's code, and most of its known vulnerabilities live there. This episode explains software composition analysis: how it finds vulnerable dependencies from lockfiles, why most risk is transitive, the tools (Snyk, Trivy, Grype, Dependency-Check), license and malicious-package checks, and how to run SCA so it blocks the right things without drowning developers.
  3. 124Triaging alertsScanners produce more alerts than any team can fix, so triage is the real skill. This episode gives a repeatable method: filter by reachability, rank by exploitability (EPSS and the known-exploited list) and exposure, not by CVSS alone, decide to fix, accept or mark not-affected, record decisions so they stick, set SLAs by tier, and automate the triage so humans only see what matters.
  4. 125Safe dependency upgradesFinding vulnerable dependencies is useless if nobody updates them. This episode covers automated dependency updates: why staying current is a security control, how Dependabot and Renovate open update pull requests, pinning and lockfiles, grouping and scheduling, the tests that make auto-merge safe, and how to balance patching against the risk of a bad update.
  5. 126SBOM and VEXA software bill of materials is an ingredient list for your software: every component and version inside it. This episode explains why SBOMs matter (answering "are we affected?" in minutes, not weeks), the formats CycloneDX and SPDX, how SBOMs are generated and consumed, VEX statements that say whether you are actually affected by a vulnerability, and how regulation is making SBOMs a requirement.
  6. 127Signing and SLSAIf you cannot prove where an artifact came from, an attacker can swap it for their own. This episode covers signing and provenance: why signing images and artifacts matters, how Sigstore and Cosign make keyless signing practical, build provenance and the SLSA framework for a trustworthy pipeline, verifying signatures before deploy, and how this stops the supply-chain attacks of the next episode.
  7. 128Supply chain attacksWhy attack one company when you can compromise a dependency thousands of companies use? This episode covers software supply chain attacks: typosquatting and dependency confusion, compromised maintainers and malicious updates (SolarWinds, the xz-utils backdoor), build-system compromise, and the layered defences, pinning, verification, provenance, least privilege and detection, that make them much harder to pull off.
  8. 129Secret scanningHard-coded secrets in code are one of the most common and most exploited mistakes in software. This episode covers secret scanning: why committed secrets are so dangerous, how scanners find them (patterns, entropy, verification), where to scan, the tools (Gitleaks, TruffleHog, push protection), and the rule that a leaked secret must be rotated, not just deleted.
  9. 130Rotation, short-lived credsThe best defence against a leaked secret is a secret that is already worthless. This episode covers managing secrets at runtime: secret managers and vaults, dynamic secrets created on demand and expired automatically, workload identity and OIDC federation so CI and cloud workloads need no stored keys, and how to migrate from static secrets to short-lived ones that make rotation and leaks almost a non-issue.
  10. 131IaC scanningWhen infrastructure is code, its misconfigurations are code too, and you can scan for them before they ever reach the cloud. This episode covers infrastructure-as-code security: common misconfigurations (public buckets, open security groups, no encryption), scanning Terraform and manifests with Checkov and Trivy, scanning the plan versus the code, drift, and fixing issues at the source.
  11. 132Guardrails with OPAA guardrail is a rule that automatically blocks a risky action instead of relying on people to remember. This episode covers policy as code with Open Policy Agent: what OPA and Rego are, enforcing policy in CI and at Kubernetes admission, paved roads versus blockers, writing clear allow/deny rules, testing policies, and how guardrails scale a security team by making the safe path the default.
  12. 133Securing CI itselfYour pipeline has the keys to production, so attackers target it directly. This episode covers securing the CI/CD system itself: why it is such a high-value target, poisoned pipeline execution and malicious pull requests, protecting runners and secrets, pinning third-party actions, least-privilege tokens and OIDC, protected branches, and treating the pipeline as the production system it really is.
  13. 134Image scanningA container image bundles your code with an entire operating system, and most of its vulnerabilities come from that base, not your code. This episode covers container image security: what is in an image, scanning with Trivy and Grype, why minimal and distroless base images cut vulnerabilities dramatically, running as non-root, not baking in secrets, and scanning at build and in the registry.
Part 10 · Cloud security10 of 16 episodes live How cloud accounts get breached and how to stop it: identity, networks, storage, encryption, detection and posture tools. Shared foundations first, then a full course per cloud.
  1. 135Shared responsibilityThe cloud provider secures the cloud; you secure what you put in it. This episode explains the shared responsibility model: what the provider handles versus what is always yours, how the line shifts for IaaS, PaaS and SaaS, why almost every cloud breach is a customer-side misconfiguration rather than a provider failure, and how to use the model to know exactly what you must secure.
  2. 136How clouds get breachedCloud breaches rhyme. This episode walks the handful of patterns behind almost all of them: public storage buckets, leaked access keys, over-broad IAM and privilege escalation, the metadata service and SSRF, misconfigured services exposed to the internet, and weak account security. Each pattern maps to a later episode, so this is the map of what cloud security actually defends against.
  3. 137Cloud IAMIn the cloud, identity is the perimeter: permissions decide what any attacker who gets in can actually do. This episode covers cloud IAM for security: principals, policies and roles, how AWS, Azure and GCP model access, why you use roles not long-lived keys, least privilege in practice, how permissions are actually evaluated (allow, deny, boundaries), and the common IAM mistakes that turn a foothold into a breach.
  4. 138IAM privilege escalationAn attacker rarely lands as admin; they escalate. This episode shows how cloud privilege escalation works: dangerous permissions that let an identity grant itself more (PassRole, policy edits, key creation), how attackers map paths through the IAM graph, the role-chaining and confused-deputy tricks, and the defences that find these first.
  5. 139Landing zones, guardrailsSecuring one account is one thing; securing a hundred is governance. This episode covers landing zones and org-wide guardrails: multi-account structure and blast-radius isolation, service control policies and organisation policies that cap what any account can do, baselines like centralised logging and no-public-access, and how a well-built landing zone makes every new account secure by default.
  6. 140Cloud network securityEven though identity is the perimeter, network controls still cut off whole classes of attack. This episode covers cloud networking for security: VPCs and subnets, security groups versus network ACLs, keeping databases private, private endpoints that avoid the internet entirely, egress filtering to stop data exfiltration, and why "private by default" is the rule that prevents exposed-service breaches.
  7. 141Storage and public bucketsThe public storage bucket is the most famous cloud mistake, and it still happens. This episode covers object storage security: why buckets become public, the layered controls (account-wide block-public-access, bucket policies, ACLs, IAM), encryption and versioning, signed URLs for controlled sharing, detecting exposure, and the defaults that make a leak almost impossible.
  8. 142Encryption and KMSThe cloud makes encryption easy; the hard part is managing the keys, and that is what decides whether it protects anything. This episode covers cloud KMS: provider-managed versus customer-managed keys, envelope encryption in the cloud, key policies and who can decrypt, automatic rotation, why access to a key is the real control, and the attacks on KMS such as ransom via key deletion.
  9. 143Metadata service and SSRFThe instance metadata service hands every cloud workload its own credentials, and a single SSRF bug can steal them. This episode explains the metadata service, how SSRF reaches it, the Capital One breach, the defences (IMDSv2, SSRF protection, least-privilege roles, egress limits), and why this is the attack that most clearly links application and cloud security.
  10. 144Cloud logs and detectionYou cannot respond to what you cannot see. This episode covers cloud logging and threat detection: the audit log that records every API call, where the logs are and how to protect them, managed threat detection services, what cloud attacks look like in the logs, central log aggregation, and why turning on and protecting the logs is the foundation of every cloud investigation.
  11. 145CSPM, CNAPP, CIEMSoon
  12. 146WizSoon
  13. 147Prowler and ScoutSuiteSoon
  14. 148Cloud incident responseSoon
  15. 149Serverless securitySoon
  16. 150Securing AI workloadsSoon

Then pick a cloud. Each is a full security course with the same modules in the same order, so any lesson can be repeated on another cloud. Real recordings from free-tier accounts, with every resource deleted after use.

AWS

The most common first cloud, with the deepest set of security services. Built first, end to end.

Modules Organizations and SCPs · IAM deep dive · VPC security · WAF and Shield · KMS and Secrets Manager · S3 · CloudTrail, Config, GuardDuty, Security Hub · incident response · capstone

Certifications AWS Certified Security Specialty (SCS-C03)

Coming soon

Azure

For Microsoft-heavy companies: Entra ID, Defender for Cloud and Sentinel.

Modules The same modules, Azure names: Entra ID and Conditional Access, PIM, Azure Policy, NSGs and Firewall, Key Vault, Defender for Cloud, Sentinel, Purview

Certifications SC-900, SC-500 (replaced AZ-500)

Coming soon

Google Cloud

Strong org-wide policies and identity, with a global network.

Modules The same modules, GCP names: org policies, IAM and Workload Identity, VPC Service Controls, Cloud Armor, Cloud KMS, Security Command Center

Certifications Professional Cloud Security Engineer

Coming soon

Part 11 · Containers and Kubernetes12 episodes · coming soon What really isolates a container, how clusters are attacked, and the RBAC, policies and runtime detection that lock them down.
  1. 151Container isolationSoon
  2. 152Container escapesSoon
  3. 153Hardening imagesSoon
  4. 154Kubernetes attack surfaceSoon
  5. 155RBAC and service accountsSoon
  6. 156Pod Security StandardsSoon
  7. 157Network policiesSoon
  8. 158Secrets in KubernetesSoon
  9. 159Admission controlSoon
  10. 160Runtime security, FalcoSoon
  11. 161kube-bench and CISSoon
  12. 162mTLS and SPIFFESoon

Stage 4 · Expert

Protect a whole company, detect and respond to incidents, find gaps, design secure architecture, and the interview.

Part 12 · Securing the company18 episodes · coming soon Protect the whole organisation: people and logins, laptops, email, the tools teams use every day, the data they hold, and the policies that keep it safe.
  1. 163Knowing what you ownSoon
  2. 164SSO and identity lifecycleSoon
  3. 165Privileged accessSoon
  4. 166Service accounts, API keysSoon
  5. 167Password and MFA policySoon
  6. 168Rotation policySoon
  7. 169Endpoints: MDM and EDRSoon
  8. 170Email securitySoon
  9. 171Securing GitHubSoon
  10. 172SaaS securitySoon
  11. 173Data classificationSoon
  12. 174Encrypting app dataSoon
  13. 175Tokenization, masking, DLPSoon
  14. 176Database securitySoon
  15. 177Backups and recoverySoon
  16. 178Privacy lawsSoon
  17. 179Vendor riskSoon
  18. 180Security awarenessSoon
Part 13 · Detection and incident response17 episodes · coming soon See attacks while they happen and handle them calmly: logs, SIEM detections, hunting, the incident process, forensics and malware analysis.
  1. 181What to logSoon
  2. 182SIEMSoon
  3. 183Writing detectionsSoon
  4. 184Tuning and ATT&CKSoon
  5. 185EDR and XDRSoon
  6. 186Honeypots and canariesSoon
  7. 187SOAR and playbooksSoon
  8. 188Threat intelligenceSoon
  9. 189Threat huntingSoon
  10. 190Incident responseSoon
  11. 191Triage and containmentSoon
  12. 192Postmortems and tabletopsSoon
  13. 193Disk forensicsSoon
  14. 194Memory forensicsSoon
  15. 195Malware analysisSoon
  16. 196How a SOC worksSoon
  17. 197OT and ICS securitySoon
Part 14 · Finding security gaps9 episodes · coming soon Find weaknesses before attackers do, across a whole company: scanning programmes, gap assessments, attack paths, purple teaming and a roadmap leadership will fund.
  1. 198Vulnerability managementSoon
  2. 199Enterprise scannersSoon
  3. 200Gap assessmentsSoon
  4. 201NIST CSF and CIS ControlsSoon
  5. 202Attack path analysisSoon
  6. 203Purple teaming and BASSoon
  7. 204Running a bug bountySoon
  8. 205Metrics and reportingSoon
  9. 206A 90-day roadmapSoon
Part 15 · Architecture, compliance and AI15 episodes · coming soon Design secure systems end to end, pass audits without theatre, secure AI features and agents, and lead security across many teams.
  1. 207Architecture reviewsSoon
  2. 208Zero trust architectureSoon
  3. 209Secure multi-tenant SaaSSoon
  4. 210Auth and secrets designSoon
  5. 211Security modelsSoon
  6. 212Writing policiesSoon
  7. 213SOC 2 and ISO 27001Soon
  8. 214PCI DSS and automationSoon
  9. 215Risk managementSoon
  10. 216OWASP Top 10 for LLMsSoon
  11. 217Prompt injectionSoon
  12. 218Agent and MCP securitySoon
  13. 219AI red teamingSoon
  14. 220Paved roadsSoon
  15. 221Strategy and influenceSoon
Part 16 · Interview and career8 episodes · coming soon How security engineer interviews run, every round practised, and the portfolio and certifications that open doors.
  1. 222The interview loopSoon
  2. 223Fundamentals roundSoon
  3. 224Code review roundSoon
  4. 225Threat modeling roundSoon
  5. 226Security design roundSoon
  6. 227Incident and behavioralSoon
  7. 228Resume and portfolioSoon
  8. 229CertificationsSoon

Questions

Is this security engineering course free?

Yes. All 229 planned episodes and the practice system are free. The labs run on a laptop with free virtual machines; cloud labs use a free-tier account with a budget alarm and a teardown step.

Do I need to know programming or Linux to start?

No. Part 0 explains the job and sets up your lab, Part 1 covers Linux and Windows from a security point of view, and Bash and Python come in Part 3, before any lab needs them.

What does a security engineer do?

A security engineer finds the weaknesses in software, cloud accounts and company systems before attackers do, builds the controls that prevent and detect attacks, and leads the response when something goes wrong. The work spans application security, cloud security, detection and response, and identity.

Is ethical hacking legal?

Only with permission. An ethical hacker tests systems they own or have written permission to test, inside an agreed scope. Every lab in this track runs on your own machine against a practice system built to be attacked.

Why does it start with networking and operating systems instead of hacking tools?

Tools change every few years; how Linux, Windows, TCP/IP, DNS, TLS and cryptography work does not. An exploit is a process doing something its permissions allowed, and a stolen session is a cookie sent over a network. Learning the foundation first makes every tool, and every defense, easier to understand.

Which tools does it cover?

Kali Linux, Nmap, Wireshark, Burp Suite, OWASP ZAP, Metasploit, Hashcat, Semgrep, CodeQL, Trivy, Gitleaks, Vault, Checkov, OPA, Prowler, Falco, Wazuh, Sigma and Volatility hands-on, plus walkthroughs of enterprise tools such as Wiz, Snyk, Splunk, Microsoft Sentinel and HUMAN bot defense.

Will it prepare me for interviews and certifications?

Every episode ends with interview questions and answers, and Part 16 practises each interview round. The syllabus covers the topics of Security+, CySA+, AWS Certified Security Specialty, Microsoft SC-500, Google Professional Cloud Security Engineer and CISSP.

Keep going

Security engineers work closest with the teams that ship and run software. Learn how they work, and practise the design round.