
Explore how security protects information through encryption algorithms, ciphers, and network protocols, and learn cryptography basics, cipher types, and encryption techniques to prevent unauthorized access.
Define security as protecting sensitive information from unauthorized access and disruption, preserving confidentiality and privacy; differentiate information security, cyber security, and network security and their scope.
Explore the CIA triad of confidentiality, integrity, and availability, and learn how these security goals protect privacy, data integrity, and reliable access in information systems.
Explore security attacks that threaten confidentiality, integrity, and availability, including snooping, traffic analysis, modification, masquerade, replay, repudiation, and denial of service.
Explore security services such as confidentiality, integrity, authentication, non-repudiation, and access control within the CIA triads and availability; learn key mechanisms like encipherment and digital signatures.
Explain the basics of cryptography, including encryption and decryption, plaintext and ciphertext, keys and algorithms, and the CIA concepts of confidentiality, integrity, and availability, and authentication.
Explore classical encryption techniques by contrasting symmetric and asymmetric cryptography, showing how plaintext becomes ciphertext with a shared or public/private key pair, and how decryption retrieves plaintext.
In this lecture you will learn the concept of cryptography, its categories like Substitution and Transposition cipher
In this lecture you will learn the concept of different types of Ciphers
This lecture will cover the concept of Substitution Cipher
Explore caesar cipher and generalized caesar cipher, covering additive shift and monoalphabetic cipher, encryption and decryption via mod 26 with index mapping a=0, hello example.
Explore a Caesar cipher example: encode cat to fdw using a shift of 3 with a=0 indexing, then decrypt fdw back to cat.
Explore the affine cipher, blending additive and multiplicative ciphers. Use key pair a and b to encrypt p -> a p + b mod 26 and decrypt with a inverse.
Explore the Playfair cipher, a symmetric substitution method with a 5x5 matrix, i and j merged, and encryption and decryption rules using row, column, and rectangle cases.
Explore the Playfair cipher with a five by five matrix using the key computer, group plaintext into pairs with an x, and encrypt by row, column, or diagonal rules.
Explore polyalphabetic ciphers and the Vigenere method, using the Vigenere square and table to map plaintext to ciphertext through key-based letter substitution.
Learn how the Vigenere cipher uses the keyword method to generate ciphertext from plaintext. The process maps letters to 0–25 indices and applies mod 26 with a repeating keyword.
Learn how a transposition cipher reorders letters, not substitutes them, with keyless and key transposition methods. Use the rail fence technique and row-by-row or column-by-column writing to encipher and decipher.
Explore the key transposition cipher by permuting plaintext using a key, encrypting with 31452 and decrypting with 12345 to yield the ciphertext.
Learn how a key distribution center generates and shares session keys for Alice and Bob, creating secret keys Ka, Kb, and the final Ka,b for secure communication.
Learn diffie-hellman key exchange to generate a shared secret key for symmetric key agreement without a KDC, using p, g, r1, r2, x, and y.
Explore the Diffie-Hellman key exchange by showing how Alice and Bob compute public keys R1 and R2 and derive the shared secret k from g, x, y, and p.
Master RSA algorithm steps by selecting primes p and q, computing n and phi(n), choosing e not a factor of phi(n), and deriving d for encryption and decryption mod n.
Compute p and q as 7 and 11, yielding n=77 and phi(n)=60. Select e=7 (public key) and derive d=43 (private key), then encrypt m=9 to c=37 and decrypt back.
Determine rsa private key d by solving d·e ≡ 1 mod φ(n) for p=13, q=11, e=13, φ(n)=120, yielding d=37.
Demonstrate rsa key setup with p=7 and q=17, computing n=119 and phi(n)=96. Show how to derive e and d using the extended Euclidean algorithm, encrypt 12, and decrypt to 24.
Illustrates a man in the middle attack on the diffie-hellman key exchange, where an attacker intercepts messages and derives separate keys k1 and k2 with Alice and Bob.
Learn Euler's totient function and how to compute phi(n) using prime and prime-power rules, multiplicative factorization, and examples like phi(11)=10, phi(49)=42, phi(240)=64.
Explore how hash functions transform arbitrary-length input into fixed-size outputs, producing a message digest, with preimage resistance, second preimage resistance, and collision resistance.
Learn about the three properties of hash functions—preimage resistance, second preimage resistance, and collision resistance—and how a fixed-length message digest secures arbitrary data.
The lecture explains the message authentication code (mac) using a shared secret key and a hash function to ensure the authenticity and integrity of messages sent over insecure channels.
Learn how nested mac strengthens integrity and authenticity by hashing the secret key with the message to produce an intermediate digest and a final mac value.
CMAC uses CBC mode with a shared encryption key to produce a cipher-based MAC, ensuring integrity and authenticity, with a second distinct key used for the final block.
Learn how hash message authentication codes use a shared secret key with ipad and opad padding and iterative hashing to ensure message authenticity and integrity, surpassing nested mac.
Understand how digital certificates link a user to a public key, detailing subject, serial number, validity, issuer, and signature algorithm, and roles of end user, certification authority, and registration authority.
Explore x.509 digital certificates, including versions 1–3, serial numbers, signature algorithm, validity, subject and issuer names, public key info, extensions, and certificate renewal and revocation by the certification authority.
Explain authentication as validating a user's identity and returning true or false, via identification and central authentication, and show authorization granting access based on roles.
Learn how multifactor authentication strengthens security by requiring two or more verification factors—username and password, otp on a mobile device, and biometric verification—within iam policy.
Explore tcp/ip vulnerabilities and their types. Learn how packet sniffing, arp spoofing, port scanning, ip spoofing, tcp syn flood, and dns spoofing threaten network security.
Understand packet sniffing, where a packet sniffer reads and captures network data, enabling attackers to spoof packets and steal passwords, emails, and files, using tools like Wireshark.
Learn how arp spoofing maps ip addresses to mac addresses and how attackers intercept, modify, or drop traffic through denial of service, session hijacking, and man in the middle attacks.
Describe how DNS spoofing redirects users from legitimate websites to forged clones by spoofing IP addresses, enabling attackers to capture and modify requests and present a fake site.
Identify open ports and running services on target machines through port scanning to reveal authentication requirements and entry points. Use nmap and TCP SYN scans to map network services.
Examine how IP spoofing uses spoofed source addresses to misroute traffic, mask identities, and enable denial of service by overwhelming the target network.
explore the tcp three-way handshake and how a syn flood attack uses spoofed packets to disrupt ack messages, triggering a half-open denial of service.
Learn SSL, TLS, and IPsec, including AH and ESP, with tunnel and transport modes, and how they secure data from the application layer through the session and transport layers.
SSL establishes secure end-to-end communication by encrypting data in transit, delivering confidentiality, authentication, and data integrity to prevent eavesdropping, tampering, and forgery in HTTPS connections.
Discover the SSL protocol stack across two layers, including handshake, change cipher specification, and alert protocols, and the record protocol that provides confidentiality and integrity.
Learn how TLS secures transport-layer communication through the handshake, certificate-based authentication, and session keys, enabling encrypted and authenticated data exchange between client and server.
Explore how IPsec secures network layer traffic with confidentiality, integrity, authentication, and replay protection, between hosts and networks, using AH and ESP in transport and tunnel modes.
Explore the two IP security modes: transport mode and tunnel mode; transport encrypts only the payload, while tunnel encrypts the entire IP packet for gateway-to-gateway transfer, AH and ESP protocols.
Explain IP security at the network layer, detailing authentication header and ESP, their transport and tunnel modes, and how IKE distributes keys to support confidentiality, integrity, and availability.
Explore how firewalls monitor and control traffic between a LAN and the internet, dropping malicious packets and forwarding valid ones, with types including packet filter, circuit-level, application-level, and stateful multilayer.
Describe the packet filter firewall, the simplest network-layer firewall that tests each packet against criteria such as IP address, subnet, and TCP/UDP ports, forwarding valid packets and dropping invalid ones.
Explain circuit level gateway firewall operating at the session and tcp layers, monitoring tcp handshakes to validate legitimate sessions by checking source and destination addresses, port, time, and user credentials.
Explore application level firewalls that filter traffic by predefined protocols at the application layer, acting as a web proxy gateway between internal and external networks.
Explore the stateful multilayer inspection firewall, a dynamic hybrid that combines packet filtering, circuit level, and application level checks to enforce rules across network, session, and application layers.
Explore intrusion concepts, the CIA triad, and how intruders threaten confidentiality, integrity, and availability, and identify the three intruder classes: masquerader, Miss Fraser, and clandestine user.
Explore intrusion detection systems that monitor traffic, detect suspicious activities, and generate alerts for SOC analysts to investigate and remediate threats across host-based, network-based, hybrid, signature-based, and anomaly-based IDS.
Explore host-based intrusion detection systems that monitor a host with predefined rules to detect malicious or suspicious activity from both inside and outside threats, defending against malware, trojans, and vulnerabilities.
Explore network-based intrusion detection systems that monitor traffic across the network, detect threats such as denial of service and port scanning, and work with the firewall to guard multiple devices.
Explore hybrid ids that merge host-based and network-based detection to protect individual devices and the network, with soc analysts issuing alerts and coordinating incident response.
Learn how signature based intrusion detection systems monitor inbound traffic by matching known attack signatures against a signature database, triggering alerts when patterns match and taking no action otherwise.
Learn how anomaly-based intrusion detection systems identify unknown attacks by building a machine learning model to analyze network data and traffic, distinguish normal from malicious activity, and generate alerts.
In this course you will learn about cryptography and system security concepts.
This course provides an in-depth exploration of system security goals and concepts, focusing on confidentiality, integrity, availability, and related principles such as authentication and non-repudiation. It delves into classical and modern encryption techniques, including symmetric and asymmetric algorithms, and the application of these methods to solve problems related to data confidentiality and authentication. The course covers hashing algorithms for data integrity and the analysis of digital signature schemes to ensure secure communication. Students will also learn to design secure applications, analyze network vulnerabilities, and evaluate various attacks. The course includes an evaluation of firewalls and key security protocols such as SSL/TLS, IPSec, and PGP, preparing students to effectively implement and assess security measures in real-world scenarios.
Chapter 1 : Introduction and Basics of Cryptography
Security and its types
CIA Triads (Security Goals)
Security Threats (Threats related to Confidentiality, Integrity and Availability)
Security services and mechanism
Chapter 2 : Cryptography and Different Types of Ciphers with example
What is Cryptography and its terminology
Classical Encryption Techniques: Symmetric and Asymmetric Encryption Techniques
Cryptography and its categories
Different types of ciphers - Substitution Cipher
Caesar Cipher and Generalized Caesar Cipher
Caesar Cipher Example 2
Affine Cipher
Playfair Cipher
Playfair Cipher Example
Vigenere Cipher: Vigenere Table Method
Vigenere Cipher: Keyword Method
Transposition Cipher: Keyless Transposition Cipher
Transposition Cipher: Keyed Transposition Cipher
Chapter 3 : Public Key Cryptography
Key Distribution Center (KDC)
Diffie Hellman Key Exchange Algorithm
Diffie Hellman Example
RSA Algorithm - Steps
RSA Example 1
RSA Example 2
RSA Example 3
Man in the Middle Attack Example
Chapter 4 : Hash Function, MAC, CMAC and HMAC
What is hash function?
Properties of hash function
Message Authentication Code (MAC)
Nested MAC
CMAC
HMAC
Chapter 5 : Digital Certificate
Digital Certificate
X.509 Digital Certificate Format
Chapter 6 : Authentication
Authentication and Authorization
Multi-factor Authentication
Chapter 7 : TCP/IP Vulnerabilities
TCP/IP Vulnerabilities
Packet Sniffing
ARP spoofing
DNS Spoofing
Port Scanning
IP spoofing
TCP Syn Flood
Chapter 8 : Internet Security Protocols
Introduction
SSL
SSL Protocol Stack
TLS
IPSec
IPSec Modes of Operations: Transport and Tunnel Mode
IP Sec Protocols : AH and ESP
Chapter 9 : Firewall
What is Firewall and its types
Packet Filters Firewall
Circuit Level Gateway Firewall
Application Level Firewall
Stateful Multilayer Firewall
Chapter 10 : Intrusion Detection System (IDS)
What is Intrusion and its types
IDS and its types
Host based IDS
Network based IDS
Hybrid IDS
Signature based IDS
Anomaly based IDS
Thanks for joining my course, let's get started!