785 MB
7,528 files
Updated 19 days ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| .git | 791 items | ||
| .github | 4 items | ||
| .trunk | 7 items | ||
| Books | 5 items | ||
| HomeWorks | 109 items | ||
| NetSec | 64 items | ||
| docs | 115 items | ||
| frontend | 6,248 items | ||
| proj | 21 items | ||
| scripts | 2 items | ||
| slides | 157 items | ||
| .DS_Store | 18.4 kB xet | 73a17742 | |
| .gitignore | 361 Bytes xet | ad050160 | |
| LICENSE | 1.11 kB xet | 23a99ee0 | |
| README.md | 12.1 kB xet | 6bcee1b7 | |
| grading.log | 7.08 kB xet | beb1a48d |
π‘οΈ Network Security & Cryptography Master Academic Repository
Welcome to the Network Security & Cryptography Master Academic Repository. This repository contains a complete, university-level Network Security curriculum, interactive textbook companion, lecture slide breakdown suite, computer assignment lab analysis, and research project implementation.
π Live Online Textbook Portal
Access the interactive multi-page course website locally or via GitHub Pages:
- π Master Documentation Portal:
docs/textbook/index.html - π Live GitHub Pages URL: https://tahamajs.github.io/Network_Security_UT/textbook/index.html
- π Automated CI/CD Workflow: Integrated via
.github/workflows/pages.yml
π Academic Scope & Audit Metrics
| Metric Category | Quantitative Value | Description |
|---|---|---|
| PDF Documents Processed | 62 Documents | All course slides, assignments, lab specifications, past exams, and research papers. |
| Total Pages Analyzed | 2,444 Pages | Full page-by-page extraction and cross-referencing into textbook chapters. |
| Slide Decks Covered | 23 Decks (689 Slides) | Slide-by-slide interpretation, algorithms, protocol flows, and exam notes. |
| HTML Textbook Modules | 48 HTML Files | 16 Chapters, 23 Slide Companions, 4 Lab/Exam files, Glossary, Takeaways, FAQ. |
| Relative Links Audited | 1,466 Links | 100% link integrity verified via scripts/check_links.py (0 broken links). |
| Reference Textbooks | 2 Core Books | William Stallings (Principles and Practice, 7th Ed) & Nigel Smart (Cryptography Made Simple, 3rd Ed). |
π Repository Directory Structure
.
βββ docs/
β βββ index.html # Root GitHub Pages Redirect Portal
β βββ .nojekyll # Disables Jekyll processing for raw HTML
β βββ textbook/ # Complete University Textbook Website
β βββ index.html # Master Landing Portal & Knowledge Map
β βββ css/
β β βββ style.css # Custom Responsive Dark-Theme Stylesheet
β βββ chapters/ # 16 Full Textbook Chapters (3,000+ words each)
β β βββ 01-introduction.html
β β βββ 02-classical-cryptography.html
β β βββ 03-symmetric-cryptography.html
β β βββ 04-block-ciphers.html
β β βββ 05-public-key-cryptography.html
β β βββ 06-authentication.html
β β βββ 07-digital-signatures.html
β β βββ 08-key-management.html
β β βββ 09-network-security-applications.html
β β βββ 10-transport-security.html
β β βββ 11-wireless-security.html
β β βββ 12-email-security.html
β β βββ 13-ip-security.html
β β βββ 14-intrusion-detection.html
β β βββ 15-firewalls.html
β β βββ 16-usable-security.html
β βββ slides/ # 23 Lecture Slide Companions (deck-01.html to deck-23.html)
β βββ labs-exams/ # Lab Analysis, Homeworks, Exams & Project
β β βββ hw-solutions.html # Homework 1 through Homework 5 Solutions
β β βββ ca-lab-analysis.html # Computer Assignments 1 through 4 (Wireshark PCAPs)
β β βββ loopy-hello-research.html# USENIX Security '24 Loopy Hello Research Project
β β βββ exam-solutions.html # Past Examination Problems & Step-by-Step Solved Math
β βββ glossary.html # Cryptographic AβZ Master Glossary
β βββ takeaways.html # 50 Core Key Security Takeaways
β βββ faq.html # Frequently Asked Questions & Exam Guide
βββ HomeWorks/ # Original Homework Assignments & Python Code (HW1βHW5)
βββ NetSec/ # Computer Assignments & Wireshark PCAP Traces (CA1βCA4)
βββ proj/ # USENIX Security '24 Research Project (Codes & Slides)
βββ slides/ # Original PDF Lecture Slide Decks
βββ Books/ # Textbook References & Academic Citation Mapping
βββ scripts/ # Repository Audit Tools (check_links.py)
βββ .github/
βββ workflows/
β βββ pages.yml # Automated GitHub Pages Deployment Workflow
βββ ISSUE_TEMPLATE/
β βββ bug_report.md
βββ pull_request_template.md
πΊοΈ Master Knowledge Map
[ REFERENCE BOOKS ] βββΊ Stallings 7th Ed (Architecture & Standards) + Smart 3rd Ed (Math Proofs)
β
βΌ
[ CONCEPTS & THEORY ] βββΊ 16 Master Chapters (Galois Fields, RSA, TLS 1.3, IPsec, Firewalls)
β
βΌ
[ LECTURE SLIDES ] βββΊ 23 Slide Companions (deck-01.html β deck-23.html, 689 slides analyzed)
β
βΌ
[ LABS & PROJECT ] βββΊ HW1βHW5, CA1βCA4 (Wireshark PCAPs), USENIX '24 Loopy Hello Project
π Comprehensive Curriculum Breakdown
1. Master Textbook Chapters (docs/textbook/chapters/)
- Chapter 01: Introduction to Network Security & Security Architecture
CIA Triad (Confidentiality, Integrity, Availability), Authenticity, Non-Repudiation, ITU-T X.800 Architecture, Active vs. Passive Threats, Defense-in-Depth. - Chapter 02: Classical Cryptography & Cryptanalysis
Substitution (Caesar, Vigenère, Hill matrix cipher), Transposition, Frequency Analysis, Index of Coincidence, One-Time Pad (OTP) Unconditional Secrecy Proof. - Chapter 03: Symmetric Cryptography & Block Cipher Modes
Stream vs Block Ciphers, ECB (Pattern Leakage), CBC (IV Security & Padding Oracles), CFB, OFB, CTR, XTS-AES, AEAD Authenticated Encryption (AES-GCM). - Chapter 04: Block Ciphers, DES & Feistel Architecture
Claude Shannon's Confusion (S-Boxes) & Diffusion (P-Boxes), Feistel Cipher Network Invertibility, DES Round Function F, 56-bit Brute Force, Triple DES (3DES) EDE. - Chapter 05: Public-Key Cryptography & Number Theory
Asymmetric Trapdoor Functions, Primes, GCD, Extended Euclidean Algorithm, Euler's Totient $\phi(n)$, Fermat's & Euler's Theorems, Discrete Logarithm Problem (DLP), Diffie-Hellman Key Exchange. - Chapter 06: User Authentication & Kerberos Architecture
Multi-Factor Authentication (MFA), Password Storage (Argon2id, bcrypt, PBKDF2), Challenge-Response HMAC, Kerberos v4/v5 Protocol (AS, TGS, Service Tickets, Timestamps). - Chapter 07: Digital Signatures, RSA & ECDSA
RSA Cryptosystem (Factorization, Modulus $n=pq$, Private exponent $d$), RSA-PSS Padding, Elliptic Curve Cryptography (ECC Weierstrass Curves), ECDSA Nonce Security. - Chapter 08: Key Management, Distribution & PKI Infrastructure
Key Distribution Centers (KDC), Needham-Schroeder Protocol, X.509 Digital Certificates, Root CA Trust Hierarchies, Certificate Revocation Lists (CRL), OCSP & OCSP Stapling. - Chapter 09: Network Security Applications & Protocols
OSI Layer Security Trade-offs, SSH Protocol Suite (SSH-TRANS, SSH-USERAUTH, SSH-CONNECT), HTTPS, DNSSEC Cryptographic RRSIG Records. - Chapter 10: Transport Layer Security (TLS 1.2 / TLS 1.3)
TLS Record Protocol, Handshake Protocol (2-RTT TLS 1.2 vs 1-RTT TLS 1.3), Mandatory ECDHE Forward Secrecy, AEAD Ciphers, Vulnerability Mitigations (BEAST, POODLE, Heartbleed). - Chapter 11: Wireless Network Security (IEEE 802.11i)
802.11i Architecture, WEP 24-bit IV Collisions & CRC32 Linear Flaws, WPA2-CCMP (AES), WPA3 Simultaneous Authentication of Equals (Dragonfly SAE Handshake). - Chapter 12: Electronic Mail Security Protocols
Pretty Good Privacy (PGP Web of Trust), S/MIME X.509 PKI, DomainKeys Identified Mail (DKIM DNS Signatures), Sender Policy Framework (SPF), DMARC Domain Spoof Enforcement. - Chapter 13: IP Security (IPsec: AH, ESP, IKEv2)
Layer 3 IPsec Protocol Suite, Authentication Header (AH), Encapsulating Security Payload (ESP), Transport Mode vs Tunnel Mode, Security Associations (SA, SPI, SAD, SPD), IKEv2 Key Exchange. - Chapter 14: Intrusion Detection Systems (IDS/IPS) & SIEM
Host-Based (HIDS) vs Network-Based (NIDS), Signature Detection (Snort Rules) vs Anomaly Detection (Statistical Baselines), Confusion Matrix ($TP, FP, TN, FN$), ROC Curves, SIEM. - Chapter 15: Firewalls, Perimeter Defense & DMZ Architecture
Stateless Packet Filtering, Stateful Inspection Connection Tables, Application Proxies, Next-Generation Firewalls (NGFW), Dual-Homed DMZ Subnet Architecture. - Chapter 16: Usable Privacy & Security and Human Factors
Human-in-the-Loop Model, Password Usability Cognitive Limits, FIDO2/WebAuthn Hardware Security Keys, Active vs Passive Warnings, Habituation & Phishing Mitigations.
2. Lab Assignments & Practical Code
- Homework 1 (HW1): Classical Cipher Decryption Solvers (
HomeWorks/HW1/Solution_code/Solution.py) & DES S-Box Tables (s-box-tables.txt). - Homework 2 (HW2): AES $\text{GF}(2^8)$ Galois Field Operations (
HomeWorks/HW2/codes/Q1.py,Q2.py,aes_encryption.py) & ECB Image Pattern Leakage. - Homework 3 (HW3): RSA Mathematics Report (
HomeWorks/HW3/answers/main.pdf, 40 pages) & Extended Euclidean Inverses. - Homework 4 (HW4): IPsec Configuration (
ipsec.conf) & Wireshark Handshake Captures (ssl3.0.cap,tls1.2.cap,tls1.3.cap). - Homework 5 (HW5): OpenSSL S/MIME PKI Certificate Generation (
certificate_s_mime_mv.cer) & Email Signature Verification. - Computer Assignments (CA1βCA4): Wireshark Packet Filtering, TCP 3-Way Handshake, SYN Flood Cookie Defenses, SSL 3.0 vs TLS 1.2 vs TLS 1.3 PCAP Analysis (
Q4_TLS13_H_no_clientkeyexchange.txt). - *Course Project (Loopy Hell(ow)):* USENIX Security '24 Application-Layer Infinite Traffic Loop Simulator (
proj/Codes/server.py, Scapy traffic generators, UDP amplification loop benchmarks).
π» Diagnostic Commands & Verification
Run Automated Link Checker
Audit all internal HTML links across the repository:
python3 scripts/check_links.py
Test Local Web Server
Serve the documentation locally using Python's built-in HTTP server:
python3 -m http.server 8000 --directory docs/textbook
Then navigate to http://localhost:8000 in your web browser.
π Academic References & Citations
- William Stallings, Cryptography and Network Security: Principles and Practice (7th Edition, Global Edition), Pearson.
- Nigel Smart, Cryptography: An Introduction (3rd Edition / Cryptography Made Simple), Springer.
- Yepeng Pan, Anna Ascheman, Christian Rossow, "Loopy Hell(ow): Infinite Traffic Loops at the Application Layer", USENIX Security Symposium 2024.
- IETF RFC Specifications: RFC 5246 (TLS 1.2), RFC 8446 (TLS 1.3), RFC 4301 (IPsec Architecture), RFC 5280 (X.509 PKI).
π License
This repository is distributed under the MIT License.
- Total size
- 785 MB
- Files
- 7,528
- Last updated
- Sep 12
- Pre-warmed CDN
- US EU US EU