Network কীভাবে কাজ করে সেটা বোঝা থেকে শুরু করে — Nmap দিয়ে professional scanning, Wireshark দিয়ে packet analysis, এবং WiFi security assessment (WPA2, WPS vulnerabilities) — সব কিছু authorized lab environment-এর জন্য। From understanding how networks work — professional scanning with Nmap, packet analysis with Wireshark, and WiFi security assessment (WPA2, WPS vulnerabilities) — everything for authorized lab environments.
| Layer | নামName | Protocol | Hacking RelevanceHacking Relevance |
|---|---|---|---|
| 7 | Application | HTTP, FTP, DNS, SSH | Web attacks, SQLi, XSS |
| 6 | Presentation | SSL/TLS, JPEG, ASCII | SSL stripping |
| 5 | Session | NetBIOS, RPC | Session hijacking |
| 4 | Transport | TCP, UDP | Port scanning, DoS |
| 3 | Network | IP, ICMP, OSPF | IP spoofing, routing |
| 2 | Data Link | Ethernet, ARP, MAC | ARP spoofing, MITM |
| 1 | Physical | Cable, WiFi, Fiber | Physical tap, WiFi attack |
3-way handshake (SYN → SYN-ACK → ACK) করে connection establish করে। প্রতিটা packet-এর delivery নিশ্চিত করে। HTTP, SSH, FTP ব্যবহার করে।Establishes connection via 3-way handshake (SYN → SYN-ACK → ACK). Guarantees delivery of every packet. Used by HTTP, SSH, FTP.
Handshake নেই — সরাসরি পাঠিয়ে দেয়। Packet হারিয়ে গেলে জানে না। DNS, DHCP, Video streaming ব্যবহার করে।No handshake — sends directly. Doesn't know if packets are lost. Used by DNS, DHCP, video streaming.
| Flag | Scan TypeScan Type | কীভাবে কাজ করেHow it Works | কখন ব্যবহার করবেWhen to Use |
|---|---|---|---|
-sS | SYN Stealth | SYN পাঠায়, SYN-ACK পেলে RST পাঠায়Sends SYN, sends RST on SYN-ACK | DEFAULT (root) |
-sT | TCP Connect | Full 3-way handshakeFull 3-way handshake | Non-root user |
-sU | UDP Scan | UDP packet পাঠায়Sends UDP packets | DNS, SNMP, DHCP |
-sA | ACK Scan | Firewall rules detect করেDetects firewall rules | Firewall mapping |
-sN | NULL Scan | কোনো flag নেইNo flags set | IDS evasion |
-sn | Ping Scan | Port scan ছাড়া host discoveryHost discovery without port scan | Quick discovery |
HTTP, FTP, Telnet-এ credentials plaintext-এ পাঠানো হয়। Wireshark-এ http.request.method == "POST" filter দিলে login form submissions দেখা যায়। এটাই দেখায় কেন HTTPS, SFTP ও SSH ব্যবহার করা উচিত।HTTP, FTP, and Telnet send credentials in plaintext. Using the filter http.request.method == "POST" in Wireshark reveals login form submissions. This is exactly why you should use HTTPS, SFTP, and SSH.
| Standard | বছরYear | Encryption | নিরাপত্তাSecurity | দুর্বলতাVulnerability |
|---|---|---|---|---|
| WEP | 1997 | RC4 | BROKEN | মিনিটে crack হয়Cracked in minutes |
| WPA | 2003 | TKIP | WEAK | TKIP vulnerabilities |
| WPA2 | 2004 | AES-CCMP | MEDIUM | Weak password, PMKID, KRACKWeak password, PMKID, KRACK |
| WPA3 | 2018 | SAE (Dragonfly) | STRONG | DragonBlood (patched) |
WiFi scanning শুধুমাত্র নিজের network বা লিখিত অনুমতি নিয়ে করতে হবে। অন্যের WiFi-তে unauthorized access বাংলাদেশের Digital Security Act এবং আন্তর্জাতিক আইনে অপরাধ। সব practice নিজের home lab বা dedicated test network-এ করো।WiFi scanning must only be done on your own network or with written permission. Unauthorized access to others' WiFi is a crime under Bangladesh's Digital Security Act and international law. Do all practice in your own home lab or a dedicated test network.
এই chapter-এর সব কিছু শুধুমাত্র নিজের WiFi বা dedicated lab-এ test করার জন্য। এটা দেখায় কেন তোমার router-এ strong password রাখা দরকার।Everything in this chapter is only for testing your own WiFi or a dedicated lab. It shows why you need a strong password on your router.
WPS হলো router-এ easy connection-এর জন্য একটি feature। কিন্তু এর 8-digit PIN system-এ fundamental design flaw আছে — শুধু 11,000 combination try করেই crack করা যায়।WPS is a feature for easy router connections. But its 8-digit PIN system has a fundamental design flaw — it can be cracked by trying only 11,000 combinations.
সম্পূর্ণ শিক্ষামূলক উদ্দেশ্যে। শুধুমাত্র authorized environment-এ এবং নিজের নেটওয়ার্কে practice করো। Entirely educational. Practice only in authorized environments and on your own network.
v1.0 — Network Scanning & WiFi Security | Bilingual | 12 Chapters + Cheat Sheet