// CYBERSECURITY MASTER GUIDE

Zero to Cyber

100 terms. 10 chapters. Real-world examples, attack flows, and defenses — from absolute beginner to actually knowing what's happening.

100
Terms Covered
10
Chapters
∞
Real Examples
🔐

Encryption & Protocols

Data ko scramble karna taaki sirf sahi log padhein — internet ki neev

🔐
Encryption
Data ko unreadable banana — sirf key se padhein
Cryptoâ–¾
What is it

Plaintext ko ciphertext mein convert karna using an algorithm aur key. Bina key ke — garbage. Key ke saath — original data. Two types: Symmetric (same key) aur Asymmetric (public/private key pair).

Types

Symmetric: AES — same key encrypt aur decrypt karne ke liye. Fast.
Asymmetric: RSA — public key se encrypt, private key se decrypt. Slower but more secure.

// Simple Caesar cipher (not real encryption, just concept): Plaintext: HELLO Key: +3 Ciphertext: KHOOR // Real AES-256 looks like this (128 chars of gibberish): a3f8e9c7b2d1f4e8c9b3a2d1f4e8c9b3a2d1f4e8...
🧠 Analogy

Tumhara diary mein secret language likhna — sirf tumhe pata hai "cat = 7, dog = 9". Key yaad ho to padhlo, nahi to gibberish. Encryption exactly aise, par mathematically unbreakable.

💬
End-to-End Encryption (E2EE)
Sirf sender aur receiver padh sakte — beech mein koi nahi
Cryptoâ–¾
What is it

Message sirf sender ke device pe encrypt hota hai aur sirf receiver ke device pe decrypt hota hai. Server bhi nahi padh sakta — even WhatsApp apne messages nahi padh sakta.

Apps using E2EE

WhatsApp (Signal Protocol), Signal, iMessage (when blue), Telegram (Secret Chats only — normal chats E2EE nahi hain!). Regular email E2EE nahi hai.

// E2EE Message Flow
👤
Alice
Encrypts
→
🔒
Encrypted
(Server sees 🔒)
→
👤
Bob
Decrypts
🔢
AES
Advanced Encryption Standard — industry gold standard symmetric encryption
Cryptoâ–¾
What is it

US government approved symmetric encryption algorithm. AES-128, AES-192, AES-256 (key size). AES-256 is unbreakable with today's computers — even supercomputer billions of years lagenge.

Used everywhere

Wi-Fi (WPA2), HTTPS, file encryption, banking, WhatsApp messages, disk encryption (BitLocker, FileVault). Tum daily AES use karte ho without knowing.

🏛️
PKI
Public Key Infrastructure — trust management system
Cryptoâ–¾
What is it

Public key pairs, digital certificates, Certificate Authorities (CA) ka poora framework. Identity verify karta hai online — kaisa pata chale ki google.com actually Google hai aur fake site nahi?

Components

CA (Certificate Authority): Trusted issuer (DigiCert, Let's Encrypt)
Digital Certificate: Identity proof
CRL: Revoked certificates ki list

📜
Digital Certificate
Online ID card — identity prove karta hai
Cryptoâ–¾
What is it

Electronic document jo ek entity ki identity prove karta hai aur unki public key contain karta hai. CA (Certificate Authority) issue karta hai. Browser ka padlock icon yahi hai.

Contains

Owner name, public key, issuing CA, validity dates, domain name, CA's digital signature (tamper proof).

🧠 Analogy

Passport jaisa. Government (CA) ne issue kiya, tumhara photo aur details hain (public key), expiry date hai, aur tamper-proof features hain. Bank ne passport dekha → trust kiya.

✍️
Digital Signature
Authenticity prove karna — tamper detect karna
Cryptoâ–¾
What is it

Apni private key se document ko "sign" karna. Koi bhi tumhari public key se verify kar sakta hai ki document tumne hi sign kiya aur modify nahi hua. Non-repudiation provide karta hai.

Process

1. Document ka hash generate karo
2. Private key se hash encrypt karo (= signature)
3. Receiver: same hash generate karo, public key se signature decrypt karo, match karo

🔓
SSL
Secure Sockets Layer — now deprecated, replaced by TLS
Cryptoâ–¾
What is it

Secure communication protocol jo browser aur server ke beech encrypted connection establish karta hai. Ab technically deprecated hai — TLS use hota hai, par "SSL" term abhi bhi common hai.

History

SSL 2.0 (1995) → SSL 3.0 → TLS 1.0 → TLS 1.1 → TLS 1.2 → TLS 1.3 (current). SSL 3.0 mein POODLE vulnerability thi isliye abandon kiya gaya.

🛡️
TLS
Transport Layer Security — SSL ka successor, internet ki backbone
Cryptoâ–¾
What is it

Current secure communication protocol. Jab tum HTTPS use karte ho, actually TLS run ho raha hai. Encryption, authentication, integrity — teeno provide karta hai.

TLS Handshake

1. Client: "Hello, I support TLS 1.3"
2. Server: "OK, here's my certificate"
3. Key exchange
4. Encrypted communication begins

🔒
HTTPS
HTTP + TLS — secure website communication
Cryptoâ–¾
What is it

HTTP (web protocol) + TLS (encryption) = HTTPS. Browser ka padlock icon = HTTPS. Data encrypted hai transit mein — MITM attacker garbled text hi dekhega.

Misconception

HTTPS = secure site NAHI. Sirf matlab hai connection encrypted hai. Fake phishing sites bhi HTTPS use karti hain. Padlock ≠ trustworthy website.

⌨️
SSH
Secure Shell — encrypted remote server access
Cryptoâ–¾
What is it

Remote server ko securely access karna command line se. Web developers, system admins daily use karte hain. Telnet (unencrypted predecessor) ko replace kiya 1995 mein.

SSH Keys

Password ke alawa SSH keys use kar sakte ho — more secure. Public key server pe, private key tumhare paas. Brute force practically impossible.

// Connecting to a server via SSH: ssh username@192.168.1.100 // With a specific key file: ssh -i ~/.ssh/id_rsa username@server.com
// END OF GUIDE
Zero to Cyber — 100 Terms Done ✅
Ab yeh sirf terms nahi — concepts hain. Real-world mein apply karo, labs karo (TryHackMe, HackTheBox), aur keep learning. Cadet — cybersecurity ki neev tune padhh li hai. 🔐