๐ Ethernet Security โ Exam Notes (Network Security)
๐ 1. Definition
Ethernet Security refers to the methods, protocols, and mechanisms used to protect Ethernet-based LAN networks from unauthorized access, attacks, and data breaches.
๐ Simple idea:
It ensures that communication over a wired LAN (Ethernet network) is safe, authenticated, and protected from attackers.
๐ฏ 2. Objectives of Ethernet Security
- Prevent unauthorized access to LAN
- Protect data from sniffing and modification
- Ensure secure communication between devices
- Detect and prevent network attacks
- Maintain integrity of network traffic
๐งฑ 3. Ethernet Overview (Basic Concept)
Ethernet is a widely used LAN technology that works at:
- Data Link Layer (Layer 2 of OSI model)
It uses:
- MAC addresses
- Switches and hubs
- Frames for communication
โ ๏ธ 4. Ethernet Security Threats
๐ธ 1. MAC Spoofing
- Attacker changes MAC address to impersonate another device
๐ธ 2. ARP Spoofing
- Fake ARP messages redirect traffic to attacker
๐ธ 3. Packet Sniffing
- Capturing Ethernet frames to steal data
๐ธ 4. VLAN Hopping
- Attacker jumps between VLANs to access restricted networks
๐ธ 5. MAC Flooding
- Overloads switch MAC table
- Switch behaves like a hub โ enables sniffing
๐ก๏ธ 5. Ethernet Security Mechanisms
๐น 1. Port Security
- Restricts number of MAC addresses per switch port
- Blocks unknown devices
๐น 2. MAC Filtering
- Allows or denies devices based on MAC address
๐น 3. VLAN Segmentation
- Divides network into isolated groups
- Limits attack spread
๐น 4. IEEE 802.1X Authentication
- Provides port-based network access control
- Requires authentication before network access
๐น 5. Encryption (MACsec - IEEE 802.1AE)
- Encrypts Ethernet frames at Layer 2
- Ensures confidentiality and integrity
๐น 6. Firewalls and IDS/IPS
- Monitor and block malicious Ethernet traffic
๐ 6. Important Ethernet Security Protocols
๐ธ 802.1X (Port-Based Access Control)
- Controls who can connect to LAN
๐ธ MACsec
- Provides encryption for Ethernet frames
๐ธ STP Security (Spanning Tree Protection)
- Prevents network loops and attacks
๐ง 7. Key Security Concepts
๐น Switch Security
- Secure switch configuration prevents attacks
๐น Layer 2 Security
- Ethernet security mainly focuses on Data Link Layer protection
๐น Access Control
- Only authorized devices can access LAN
๐ 8. Important Rule
๐ธ Ethernet Security Principle
Secure Switch Ports + Authentication + Encryption = Safe Ethernet Network
๐ผ๏ธ 9. Diagram Descriptions
๐ Normal Ethernet Network
- Devices โ Switch โ Communication
๐ MAC Flooding Attack
- Attacker floods switch โ switch behaves like hub
๐ Port Security Setup
- Switch port โ allowed MAC addresses only
๐ VLAN Segmentation
- Network divided into isolated groups
๐งพ 10. Real-Life Examples
- ๐ข Offices using switch port security to block unknown laptops
- ๐ซ Universities using VLANs for student/staff separation
- ๐ Data centers using MACsec encryption
- ๐ก๏ธ Companies blocking MAC spoofing attacks
๐ Likely Exam Questions
- Define Ethernet security.
- What are common Ethernet security threats?
- Explain MAC spoofing and ARP spoofing.
- What is port security in Ethernet?
- Explain IEEE 802.1X authentication.
- What is MACsec and its importance?
- Describe VLAN security.
- What is MAC flooding attack?
- How can Ethernet networks be secured?
- Write short notes on:
- Switch security
- Layer 2 attacks
- MAC filtering
๐ Quick Summary / Conclusion
- Ethernet security protects LAN networks at the Data Link Layer.
- Major threats include MAC spoofing, ARP spoofing, and sniffing.
- Security is achieved using port security, VLANs, 802.1X, and MACsec encryption.
- Proper configuration of switches is essential for protection.
๐ In short:
Ethernet security ensures safe communication in LANs by controlling access, preventing attacks, and encrypting data at the link layer.