Learning path
Read these writeups in order. Each stage builds on the ones before it, and each ends with a checkpoint so you can test yourself. New here? The start guide explains who the path is for, how long it takes and where to begin.
62 writeups · about 13.5 hours of reading · 13 stages
Foundations
Start here. These ten give you the vocabulary everything else builds on.
-
Computer and Networking Basics, Explained from Zero
How a computer and a network work, from CPU and RAM to DNS, HTTP and what happens when you open a website. Later posts assume this background.
-
Handshakes, Explained: TCP, TLS and Wi-Fi
What a handshake is and how the TCP, TLS and Wi-Fi handshakes build a connection step by step, including how they are seen, attacked and defended.
-
Linux Fundamentals, Explained Step by Step
The Linux file system, permissions, users, processes and bash. Most servers and security tools run on Linux.
-
Python Basics for Security, Explained
A first course in Python for security work: the building blocks, then small tested scripts that analyse a login log, hash a file and check a local port, plus the habits that keep your own scripts safe.
-
Operating Systems and Windows Basics, Explained
What an operating system does: user and kernel mode, processes and memory, then Windows accounts, tokens, UAC, services, the registry and logs, plus virtual machines, containers and hardening.
-
Git and GitHub, Explained
Version control from zero: Git essentials, branches, remotes and pull requests, a hands-on project, and the security habits that keep secrets, accounts and code safe.
-
The CIA Triad, Explained
Confidentiality, integrity and availability: the three goals every security control serves, and a way to describe what an incident broke.
-
Cryptography Basics, Explained
Encoding versus encryption versus hashing, symmetric and asymmetric keys, digital signatures, certificates and PKI, key management and post-quantum cryptography, with safe hands-on OpenSSL experiments.
-
Authentication vs. Authorization, Explained
Proving who you are versus deciding what you may do: factors, MFA and passkeys, sessions, roles, least privilege, HTTP 401 and 403, and OAuth versus OpenID Connect.
-
Identity and Access Management Basics, Explained
The account life cycle from joiner to leaver, least privilege and privileged accounts, how single sign-on and federation work (SAML and OpenID Connect), and a hands-on account audit.
Explain what happens between typing a web address and seeing the page, what each letter of CIA stands for, the difference between encoding, encryption and hashing, the messages of the TCP three-way handshake, and why a logged-in user is not automatically allowed to do everything, and what to do first if a password or key is committed to a Git repository, and say what a Windows access token is and how it differs from a file's permissions list. Name the stages of the account life cycle and describe what an identity provider and a relying party each do.
Threats, risk and controls
The vocabulary behind every later writeup: what a threat and a vulnerability are, how flaws are named and scored, how risk decides which controls to use, and the design rules and data-protection basics those controls follow.
-
Threats and Vulnerabilities, Explained
Threat, threat actor, vulnerability, exploit and attack surface defined from NIST; CVE, CVSS, KEV and EPSS; and how the Cyber Kill Chain, MITRE ATT&CK and D3FEND describe attacks.
-
Risk and Security Controls, Explained
Risk as impact and likelihood, the five ways to respond, how controls are grouped, policies and standards, NIST CSF 2.0, and the laws and ethics that set the limits.
-
Measuring Security: Metrics, KRIs and Dashboards, Explained
How organizations tell whether security is working: measures versus metrics, KRIs and KPIs, leading and lagging indicators, NIST's four types of measure, dashboards, and the traps that make numbers mislead.
-
Security Design Principles, Explained
The classic rules for building secure systems: least privilege, fail-safe defaults, complete mediation, separation of duties, defence in depth and zero trust, with their NIST and NCSC sources.
-
Data Security and Privacy Basics, Explained
Classifying data, protecting it at rest, in transit and in use, masking and pseudonymisation, minimisation, safe disposal, and the security and breach rules in GDPR and India's DPDP law.
Explain the difference between a threat, a vulnerability and a risk. Say why a CVSS score alone does not decide what to patch first, and name the five ways to respond to a risk. Explain least privilege and fail-safe defaults with an example each, and say why pseudonymised data is still personal data.
Defence, offence and intelligence
Who does what in security, how detection is judged, and how information about threats is gathered.
-
Blue, Red and Purple Teams, Explained
The roles of attackers, defenders and the teams between them, and how a red team exercise differs from a penetration test.
-
False Positives and False Negatives, Explained
Why detection tools are judged by their mistakes, and the measures analysts use: recall, precision and the base-rate trap.
-
Threat Intelligence and OSINT Basics, Explained
How raw information about threats becomes intelligence, and how public (open-source) information is collected safely and legally.
-
Honeypots, Explained
Decoy systems, files and logins whose only purpose is to be touched: why every hit is suspicious, the main tools, what defenders learn, and how to run one safely.
Explain why a detector that is 99% accurate can still produce mostly false alarms. Say why any activity on a honeypot is suspicious, and why one should be isolated.
How attacks begin
The first move of an attack, and the family of attacks that target people instead of software.
-
Reconnaissance, Explained
What attackers learn about a target before they strike, passive versus active, and how to see your own organization as an outsider does.
-
Social Engineering, Explained
The overview of attacks that deceive people. The posts that follow cover its main techniques one by one.
Say what an attacker could learn about an organization from public sources alone, and how you would reduce it.
Attacks that arrive as messages and calls
The same trick through different channels: email, targeted email, phone, text, bulk messages and borrowed identities.
-
Phishing, Explained
The core technique: deceptive messages that steal logins or deliver malware, and why some multi-factor authentication still fails against it.
-
Spear Phishing and Whaling, Explained
Targeted phishing aimed at specific people and executives, and how business email compromise turns one convincing message into a large payment.
-
Vishing, Explained
Phishing by phone: caller ID spoofing, voice cloning and the call-back rule that defeats most scams.
-
Smishing, Explained
Phishing by text message: why small screens help attackers and what to do when a suspicious text arrives.
-
Spam vs Spim, Explained
Unwanted bulk messages by email versus instant messaging, and why they matter as a delivery route for scams and malware.
-
Impersonation, Explained
The common thread of all these attacks: borrowing a trusted identity, and verifying the person instead of the message.
For any message or call, say who it claims to be, what it wants, and how you would check it without using anything in the message.
Attacks in the physical world
Social engineering does not need a computer. These three need only a place and a moment.
-
Shoulder Surfing, Explained
Stealing a secret by watching it being typed or shown, and the habits and screens that stop it.
-
Tailgating, Explained
Walking in behind an authorized person, why physical access can bypass digital security, and how to challenge politely.
-
Dumpster Diving, Explained
What attackers learn from discarded paper and devices, and how secure disposal and media sanitization stop it.
Name one habit that stops each of shoulder surfing, tailgating and dumpster diving.
Web and technical attacks
Flaws in software and look-alike websites, and how a normal web visit can become an attack.
-
Zero-Day, Explained
Flaws the defenders do not know about yet, the path from discovery to patch, and the layered defences that still help.
-
Drive-By Attack, Explained
How simply visiting a web page can run attacker code when browsers or plugins are out of date.
-
Watering Hole Attack, Explained
A drive-by aimed at a chosen group, by compromising a site that group already trusts.
-
Typosquatting, Explained
Look-alike domains that catch typing slips, and how users and brand owners defend against them.
-
Software Supply Chain Security, Explained
Why the code you did not write is part of your attack surface: dependencies, Log4Shell, the xz backdoor, SBOMs, and a hands-on lab where pip refuses a tampered or unpinned package.
Explain which defences still help against a flaw nobody knows about yet. Say what a software bill of materials is and why it would have helped answer the question "do we use Log4j?".
Network attacks and defence
How traffic is faked, intercepted, repeated, redirected or overwhelmed, how Wi-Fi is impersonated and disrupted, and the layered defences that answer them.
-
Spoofing, Explained
Faking an identity at each layer: IP, email, caller ID, ARP, DHCP, Wi-Fi, GPS and websites, and why protocols that trust a claimed address are the root cause.
-
Man-in-the-Middle (MITM) Attacks, Explained
How an attacker gets between two parties to read or change traffic, the main routes in, real cases such as DigiNotar, and the defences: TLS, HSTS and certificate checks.
-
DNS Poisoning (Cache Poisoning), Explained
How false answers get into a resolver's cache, the Kaminsky and SAD DNS attacks, and why DNSSEC validates data while DoT and DoH only protect the path.
-
Replay Attacks, Explained
Why a recorded valid message can be sent again even when encrypted, and how nonces, timestamps and sequence numbers add freshness, from Kerberos to TLS 1.3 0-RTT.
-
DoS vs DDoS Attacks, Explained
One source versus many, the main technique families, amplification and botnets, real attacks, and what to do before, during and after.
-
Evil Twin Wi-Fi Attacks, Explained
Fake Wi-Fi access points that copy a real network's name, how they differ from rogue access points, a real airport case, and defences for users and administrators.
-
Deauthentication Attacks, Explained
Forged Wi-Fi disconnect frames: what they are used for, how protected management frames and WPA3 stop them, and the FCC Marriott case.
-
Network Defence, Explained
How networks are defended in layers: firewalls, the DMZ, proxies, VPNs, intrusion detection and prevention, segmentation and VLANs, and where each one falls short.
-
Cloud Security Basics, Explained
What the cloud is in NIST's terms, IaaS versus PaaS versus SaaS, the shared responsibility model, and the mistakes behind most cloud incidents: public storage, over-broad permissions, leaked keys and missing logs.
Say what each attack fakes, intercepts, repeats or overwhelms. Explain why encryption does not stop a replay, why a Wi-Fi name proves nothing, and why DNSSEC and DoH solve different problems. Name the main types of firewall and say why a VLAN is not a security boundary by itself. Say which security tasks stay with you in IaaS, PaaS and SaaS, and why a cloud provider's secure defaults do not remove your duty to check storage and permissions.
Web application attacks and the OWASP Top 10
How websites are attacked through their own features, starting with the overview and then the main attack types one at a time.
-
Web-Based Attacks and the OWASP Top 10, Explained
Why web applications are attacked, what the OWASP Top 10 is, and all ten categories of the 2025 list with their main defences.
-
SQL Basics for Security, Explained
A hands-on first course in SQL on a practice login log: SELECT, filtering, counting and grouping, joins, NULL, changing data safely, spotting brute force and password spraying, and why injection happens.
-
SQL Injection, Explained
How user input becomes part of a database command, the types of SQL injection, a real breach, and why parameterized queries are the fix.
-
Command Injection and Path Traversal, Explained
Two more injection-style flaws: user input reaching a shell, and user input escaping a folder. Tested Python demos show the vulnerable code, a common wrong fix, and the defences that work.
-
Cross-Site Scripting (XSS), Explained
How an attacker's script runs inside a trusted site: reflected, stored and DOM-based XSS, and how output encoding and CSP stop it.
-
Broken Access Control and IDOR, Explained
The number one web risk: missing server-side checks, IDOR, hidden admin pages, and how to test with two accounts.
-
Cross-Site Request Forgery (CSRF), Explained
How a malicious page makes a logged-in browser send an unwanted request, and the defences: tokens, SameSite cookies and Fetch Metadata.
-
Server-Side Request Forgery (SSRF), Explained
How a server is made to request places it should not, from internal admin pages to cloud metadata, and the layered defences.
Write a SQL query that counts failed logins per address, and explain why comparing a value with NULL using an equals sign never matches. For each of SQL injection, XSS, IDOR, CSRF and SSRF, say what the attacker controls, what the server wrongly trusts, and the one fix that matters most. Explain why a string-prefix check does not stop path traversal, and why a list of arguments is safer than a shell command string.
Attacking accounts and gaining control
Getting into an account, then getting more power than the account was meant to have.
-
Brute Force vs Password Spraying, Explained
How guessing, spraying and credential stuffing differ, why spraying avoids lockout, and the defences that work against all three.
-
Privilege Escalation, Explained
How a low-level foothold becomes administrator or root on Linux, Windows and the web, and how to prevent and detect it.
Explain why password spraying slips past per-account lockout, and why whoever can change what root or SYSTEM runs controls it.
Malware
Software built to harm: how it arrives, what it does, the main types, and how to defend against it.
-
How Malware Works and Its Types, Explained
How malware gets in and what it does step by step, the difference between viruses, worms, trojans, ransomware and the rest, five real cases, and the layered defence.
Say how a virus, a worm and a trojan differ, and list four layers that would have stopped WannaCry or Emotet.
Detection, response and testing
How an organization watches for attacks, responds when one happens, and tests its own defences.
-
Security Operations, Explained
The daily work of defence: logs, SIEM and the SOC, events versus incidents, the NIST incident response life cycle, forensics, patching, backups, and incident-reporting duties.
-
Security Testing, Explained
How organizations test their own security: rules of engagement, vulnerability scanning, code review, SAST and DAST, threat modeling and penetration testing, and how findings become fixes.
-
Build a Safe Practice Lab, Explained
How to set up a home security lab that cannot hurt you or anyone else: virtual machines, isolated networks, snapshots, verified downloads, legal targets and the rules for using them.
-
Packet Capture and Port Scanning Basics, Explained
Reading traffic with tcpdump and Wireshark using a real sample capture (handshake, HTTP, DNS), capture versus display filters, what Nmap port states mean, and when scanning is allowed.
Say how an event becomes an incident and what the incident response life cycle is. Explain why authorization and rules of engagement come before any test, and how a vulnerability scan differs from a penetration test. Name two network modes that keep a vulnerable lab machine away from your real network, and say what a SYN, SYN-ACK and ACK look like in a tcpdump line.
Finding and reporting vulnerabilities
How outside researchers find flaws safely, report them through disclosure and bug bounty programs, and write reports that get fixed.
-
Vulnerability Disclosure and Bug Bounty, Explained
How coordinated disclosure, vulnerability disclosure programs and bug bounties work: scope and rules, safe harbor and its limits, rewards and duplicates, conduct, and timelines.
-
Security Research, Explained
How to research safely: targets you may test, a lab, harmless proof, CVE IDs and CNAs, disclosure timelines, responsible publication, and the law.
-
Writing a Report That Gets Fixed
How to write a report that a stranger can reproduce: what to include, honest impact, severity, a worked example, and what to do when the vendor disagrees.
Explain what a program's scope and safe harbor do and do not allow. Say what a CVE ID is and who assigns it. Write a short report for a fictional flaw with a title, numbered steps, a harmless proof and an honest impact.
Finished the path?
See what to practise, which certifications exist, which careers to explore, and what to learn beyond these writeups.
What next