π Introduction to Network Security β Exam Notes
π 1. Definition of Network Security
Network Security refers to the policies, practices, and technologies used to protect computer networks, devices, and data from unauthorized access, misuse, modification, or attacks.
π In simple terms:
It ensures that only authorized users can access network resources, and data remains safe and reliable.
π― 2. Objectives of Network Security (CIA Triad)
The foundation of network security is the CIA Triad:
1. Confidentiality
- Ensures that data is only accessible to authorized users.
- π Example: Password-protected files, encryption.
2. Integrity
- Ensures that data is not altered or tampered with.
- π Example: Hash functions, checksums.
3. Availability
- Ensures that network resources are accessible when needed.
- π Example: Preventing server crashes or DDoS attacks.
π§ 3. Key Concepts in Network Security
πΉ Authentication
- Verifying the identity of a user or device.
- Example: Username & password, biometric login.
πΉ Authorization
- Determines what resources a user can access.
- Example: Admin vs normal user permissions.
πΉ Accounting (Auditing)
- Tracking user activities in the system.
- Example: Login logs, usage records.
π These three together are called AAA (Authentication, Authorization, Accounting).
β οΈ 4. Types of Network Threats
1. Passive Attacks
- Monitor data without altering it.
- Example: Eavesdropping, traffic analysis.
2. Active Attacks
-
Modify or disrupt data.
-
Example:
- Man-in-the-Middle (MITM)
- Denial of Service (DoS)
π¦ 5. Common Network Attacks
πΈ Malware
πΈ Phishing
- Fake emails/websites to steal user data.
πΈ DoS / DDoS Attacks
- Overload a system to make it unavailable.
πΈ Spoofing
- Pretending to be a trusted entity.
π‘οΈ 6. Security Mechanisms
πΉ Encryption
- Converts plain text β cipher text.
- Protects confidentiality.
πΉ Firewalls
- Filters incoming and outgoing traffic.
- Acts as a barrier between trusted and untrusted networks.
πΉ Intrusion Detection System (IDS)
- Monitors suspicious activities.
πΉ Antivirus Software
- Detects and removes malware.
π 7. Types of Encryption
1. Symmetric Key Encryption
- Same key for encryption & decryption.
- Fast but less secure for sharing keys.
2. Asymmetric Key Encryption
-
Uses two keys:
-
More secure but slower.
π 8. Important Formulas / Rules
πΈ Encryption Concept
Ciphertext = Encryption(Plaintext, Key)
Plaintext = Decryption(Ciphertext, Key)
πΈ Strong Password Rule
πΌοΈ 9. Diagram Descriptions (For Exams)
π 1. CIA Triad Diagram
-
Draw a triangle with:
- Top: Confidentiality
- Bottom left: Integrity
- Bottom right: Availability
π 2. Firewall Diagram
π 3. Encryption Process
- Plaintext β Encryption Algorithm β Ciphertext
- Ciphertext β Decryption β Plaintext
π§Ύ 10. Real-Life Examples
- π HTTPS websites use encryption for secure communication.
- π¦ Banks use multi-factor authentication.
- π§ Spam filters protect against phishing emails.
π Likely Exam Questions
- Define network security and explain its importance.
- Explain the CIA triad with examples.
- Differentiate between authentication and authorization.
- What are active and passive attacks? Give examples.
- Explain symmetric vs asymmetric encryption.
- What is a firewall and how does it work?
- Describe common network security threats.
- What is AAA (Authentication, Authorization, Accounting)?
- Explain DoS attack with an example.
- Write short notes on:
π Quick Summary / Conclusion
- Network security protects data, devices, and systems from attacks.
- The CIA triad (Confidentiality, Integrity, Availability) is the core principle.
- Security involves authentication, authorization, and monitoring.
- Threats include malware, phishing, and DoS attacks.
- Protection tools include encryption, firewalls, and IDS.
π In short:
Network security ensures safe, reliable, and authorized communication over networks.