00->1

00->1

Writeups, lab notes and a learning log from the lab.

New here?Follow the learning path62 writeups in order, from computer basics to security testing and vulnerability reporting
Nov 5, 202612 min read

SQL Basics for Security, Explained

A hands-on first course in SQL for security learners: tables and keys, SELECT, filtering, counting, joins, NULL, changing data safely, and using queries on a login log to tell brute force from password spraying. Ends with why injection happens and the one-line fix.

Nov 5, 202613 min read

Software Supply Chain Security, Explained

Why the code you did not write is part of your attack surface: dependencies, build tools and updates, two real cases (Log4Shell and the xz backdoor), what an SBOM is, and a hands-on lab that makes pip refuse a tampered or unpinned package.

Nov 5, 202612 min read

Measuring Security: Metrics, KRIs and Dashboards, Explained

How organizations tell whether their security is working: measures versus metrics, key risk and key performance indicators, leading and lagging signals, NIST's four types of measure, what makes a good one, how to build a dashboard for non-technical readers, and the traps that make numbers lie.

Nov 5, 202611 min read

Python Basics for Security, Explained

A first course in Python for security learners: the core ideas, then small real scripts that analyse a login log, hash a file and check a local port, plus the habits that keep your own code safe: secrets, subprocess, eval, pickle and virtual environments.

Nov 5, 202615 min read

Identity and Access Management Basics, Explained

The life of an account from joining to leaving, how single sign-on and federation work (identity providers, assertions, SAML and OpenID Connect), why leftover accounts and privileges cause breaches, and a hands-on account audit and token check you can run yourself.

Nov 5, 202624 min read

Cryptography Basics, Explained

What encryption, hashing and digital signatures really are, how symmetric and asymmetric keys differ, how certificates let you trust a public key, why key management is the hard part, and what post-quantum means. With hands-on OpenSSL labs.

Nov 5, 202617 min read

Cloud Security Basics, Explained

What "the cloud" actually means, the difference between IaaS, PaaS and SaaS, who is responsible for what under the shared responsibility model, and the mistakes behind most cloud incidents: public storage, over-broad permissions, leaked keys and missing logs.

Nov 5, 202612 min read

Build a Safe Practice Lab, Explained

How to set up a home security lab that cannot hurt you or anyone else: choosing a virtual machine tool for your processor, isolating the network, taking snapshots, verifying downloads, picking deliberately vulnerable targets, and the rules for using them.

Oct 9, 202613 min read

Security Design Principles, Explained

The handful of design rules behind almost every secure system: least privilege, fail-safe defaults, complete mediation, separation of duties, defence in depth, zero trust and more, with where each one comes from and how to spot it.

Oct 9, 202618 min read

Data Security and Privacy Basics, Explained

How to classify data, protect it at rest, in transit and in use, reduce it with masking and minimisation, dispose of it safely, and how privacy differs from security, with GDPR and India's DPDP law explained from the legal text.

Oct 4, 202611 min read

Writing a Report That Gets Fixed

How to write a vulnerability report that a stranger can reproduce and act on: what to include, how to explain impact honestly, how to prove a flaw harmlessly, how to rate severity with CVSS or a program's own scale, a worked example, and what to do when the vendor disagrees.

Oct 3, 202614 min read

Security Research, Explained

What vulnerability research is and how to do it safely: choosing targets you may test, working in a controlled lab, proving a flaw without harm, reporting through the right channel, getting a CVE ID, and publishing responsibly with an eye on timelines, ethics and the law.

Oct 2, 202615 min read

Vulnerability Disclosure and Bug Bounty, Explained

How finding and reporting a security flaw works in practice: the roles in coordinated disclosure, vulnerability disclosure programs versus bug bounties, reading a program's scope and rules, safe harbor and its limits, duplicates and rewards, public disclosure, and how a beginner starts safely.

Oct 1, 202630 min read

Security Testing, Explained

How organizations test their own security: rules of engagement, vulnerability scanning, code review, static and dynamic analysis (SAST, DAST, IAST), threat modeling and penetration testing, how each differs, what each can and cannot find, and how results turn into fixes.

Oct 1, 202618 min read

Security Operations, Explained

The daily work of defending an organization: logging, monitoring and SIEM, the SOC, events versus incidents, the incident response life cycle in NIST SP 800-61 Rev. 3, forensics basics, vulnerability and patch management, backup and recovery, and the incident-reporting rules in India and the EU.

Sep 30, 202618 min read

How Malware Works and Its Types, Explained

What malware is, how it gets onto a system, what it does once it runs, the main types (virus, worm, trojan, ransomware, spyware, rootkit, botnet and more) and how they differ, famous real cases, how malware is detected, and how to prevent and respond.

Sep 29, 202616 min read

Privilege Escalation, Explained

What privilege escalation is, how attackers move from a low-level account to administrator or root, the common causes on Linux, Windows and the web, and how to prevent and detect it.

Sep 28, 202611 min read

Server-Side Request Forgery (SSRF), Explained

How an attacker makes a server send requests to places it should not, why internal systems and cloud metadata services are the usual targets, blind SSRF, why filters get bypassed, and the layered defences that work.

Sep 28, 20268 min read

Brute Force vs Password Spraying, Explained

How brute force, password spraying and credential stuffing differ, why spraying avoids account lockout, and the defences (multi-factor authentication, throttling, blocklists, monitoring) that work against all three.

Sep 27, 202612 min read

Cross-Site Request Forgery (CSRF), Explained

How a malicious page can make your logged-in browser send a request you never intended, the three conditions that make CSRF possible, what it can and cannot do, and the defences: CSRF tokens, SameSite cookies, Fetch Metadata and Origin checks.

Sep 26, 202610 min read

Broken Access Control and IDOR, Explained

What access control is, how it breaks (missing checks, hidden admin pages, trusting parameters, insecure direct object references), vertical and horizontal escalation, how testers find it with two accounts, and the server-side rules that prevent it.

Sep 25, 202611 min read

SQL Injection, Explained

How SQL injection happens when user input becomes part of a database command, its types (in-band, blind, out-of-band, second-order), a real breach, and the defences that work: parameterized queries, allowlists and least privilege.

Sep 25, 202612 min read

Cross-Site Scripting (XSS), Explained

How cross-site scripting lets an attacker run JavaScript in a victim's browser on a trusted site, the reflected, stored and DOM-based types, what it can do, a real worm, and the defences: output encoding, safe APIs, sanitizing and Content Security Policy.

Sep 23, 202618 min read

Network Defence, Explained

How networks are defended in layers: firewalls and their types, the DMZ, proxies, VPNs, intrusion detection and prevention, segmentation and VLANs, network access control and the idea behind zero trust, with the limits of each and how they answer the attacks covered on this blog.

Sep 23, 202611 min read

Deauthentication Attacks, Explained

What a Wi-Fi deauthentication attack is, why anyone in radio range can send one, what attackers use it for (disconnecting devices, capturing handshakes, pushing clients toward an evil twin), the 2014 FCC Marriott case, and how protected management frames, WPA3 and monitoring stop it.

Sep 22, 202611 min read

Evil Twin Wi-Fi Attacks, Explained

What an evil twin access point is, how it differs from a rogue access point, why devices connect to it, what attackers do with the connection, a real 2024 airport and in-flight case, and the defences for users, businesses and network administrators.

Sep 21, 202612 min read

DoS vs DDoS Attacks, Explained

What denial-of-service and distributed denial-of-service attacks are, how they differ, the three technique types (volume, protocol, application), reflection and amplification, botnets such as Mirai, DDoS-for-hire, the real GitHub and Dyn cases, and how to prepare, spot and respond.

Sep 20, 202612 min read

Replay Attacks, Explained

What a replay attack is, why encryption alone does not stop it, where it appears (logins, keyless entry, sessions, network protocols, TLS 0-RTT), how it differs from relay and man-in-the-middle attacks, and the defences: nonces, timestamps, sequence numbers and single-use secrets.

Sep 20, 202613 min read

DNS Poisoning (Cache Poisoning), Explained

How DNS cache poisoning plants a false answer in a resolver, why a 16-bit ID was not enough (Kaminsky, 2008), how source port randomization and later the SAD DNS attack changed the picture, how it differs from DNS hijacking, and how DNSSEC and good resolver settings stop it.

Sep 19, 202612 min read

Man-in-the-Middle (MITM) Attacks, Explained

What a man-in-the-middle attack is, the ways an attacker gets between two parties (ARP, DHCP, name resolution, rogue Wi-Fi, DNS, stolen certificates), the real cases of DigiNotar and Superfish, and the defences: TLS, HSTS, certificate checks and network controls.

Sep 18, 202611 min read

Spoofing, Explained

What spoofing is, why networks and messages are so easy to fake, the main kinds (IP, email, caller ID, ARP, DHCP, Wi-Fi, GPS), how each one is detected, and the defences that actually prove identity.

Sep 17, 20266 min read

Watering Hole Attack, Explained

How a watering hole attack compromises a website that a chosen group already trusts and visits, how it differs from phishing, real examples, and how individuals and organizations defend against it.

Sep 17, 20266 min read

Typosquatting, Explained

What typosquatting (URL hijacking) is, the kinds of look-alike domains attackers register, what they do with them, and how users and brand owners defend against it.

Sep 16, 20266 min read

Drive-By Attack, Explained

What drive-by downloads and drive-by compromise are, how a normal-looking web visit can run attacker code, how it relates to malvertising and watering holes, and how to defend against it.

Sep 15, 20267 min read

Zero-Day, Explained

What a zero-day vulnerability, exploit and attack are, why the name has "zero" in it, the life of a vulnerability from discovery to patch, famous examples, and how to defend against something nobody knows about yet.

Sep 14, 20265 min read

Tailgating, Explained

What tailgating (and piggybacking) is, why physical access defeats digital security, the stories attackers use at the door, and the physical controls and habits that stop it.

Sep 14, 20265 min read

Dumpster Diving, Explained

How attackers learn about people and organizations from discarded paper and equipment, what the law says about trash, and how secure disposal (shredding, sanitizing media) stops it.

Sep 12, 20266 min read

Impersonation, Explained

What impersonation is, the identities attackers borrow (executives, vendors, government, support staff, family), how it is used across email, phone and in person, and how to verify who you are really dealing with.

Sep 11, 20265 min read

Smishing, Explained

What SMS phishing is, why text messages are an easy channel for scammers, the common scam stories, and what to do (and not do) when a suspicious text arrives.

Sep 10, 20267 min read

Vishing, Explained

What voice phishing is, why a phone call is so persuasive, how caller ID spoofing and voice cloning are used, common scam scripts, and the rule that defeats most of them.

Sep 9, 202610 min read

Phishing, Explained

What phishing is, the two goals behind it (stealing logins and delivering malware), how to spot it, why some multi-factor authentication still fails against it, and what individuals and organizations should do.

Sep 8, 20269 min read

Social Engineering, Explained

What social engineering is, why it works on people instead of software, the main techniques and channels, famous cases, the warning signs, and how individuals and organizations defend against it.

Sep 7, 20267 min read

Reconnaissance, Explained

What reconnaissance is, the difference between passive and active recon, what attackers gather, how the same activity is used in authorized testing, and how to reduce what you give away.

Sep 6, 202619 min read

Threat Intelligence and OSINT Basics, Explained

What threat intelligence is and how it differs from raw data, the levels and the intelligence cycle, what OSINT is and where it comes from, how to collect and verify it, and the legal and ethical rules.

Sep 6, 202616 min read

Honeypots, Explained

What a honeypot is and why every touch on it is suspicious, its history, the types (low, medium and high interaction, honeynets, honeytokens, spam traps), the main open-source tools, what defenders learn from them, how to run one safely, and their limits and legal questions.

Sep 3, 202616 min read

Threats and Vulnerabilities, Explained

The words every security conversation uses, defined from NIST sources: threat, threat actor, vulnerability, exploit and attack surface. Where threats come from, how vulnerabilities are named, scored and prioritised (CWE, CVE, CVSS, KEV, EPSS), and how the Cyber Kill Chain, MITRE ATT&CK and D3FEND describe attacks.

Sep 3, 202616 min read

Risk and Security Controls, Explained

What risk means in security (likelihood and impact), the five ways to respond to it, what security controls are and how they are grouped, how policies, standards and procedures fit together, the NIST Cybersecurity Framework, and the legal and ethical rules that shape the work, with a worked example.

Sep 2, 202617 min read

Authentication vs. Authorization, Explained

The difference between proving who you are and being allowed to do something, how each works in practice (factors, MFA, passkeys, sessions, roles, least privilege), how HTTP 401 and 403, OAuth and OpenID Connect fit in, and which failures belong to which.

Sep 1, 202626 min read

Git and GitHub, Explained

Version control from zero: what Git and GitHub are, the essential commands, branches, remotes and pull requests, a hands-on project, and the security habits that matter, from leaked secrets and account protection to signed commits and safer workflows.

Sep 1, 202614 min read

The CIA Triad, Explained

What confidentiality, integrity and availability mean, how each one is lost and protected, why security people use them, and where the triad stops being enough.

Aug 28, 202621 min read

Handshakes, Explained: TCP, TLS and Wi-Fi

What a handshake is, the TCP three-way handshake step by step, how a TLS 1.3 and TLS 1.2 handshake builds an encrypted connection, the WPA2 four-way handshake on Wi-Fi, and how each one is seen, attacked and defended.