ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Cyber Security
    ITEC3125
    Progress0 / 39 topics
    Topics
    1. Introduction: Fundamental Concepts of Security2. Types of Attacks3. Social Engineering Attacks4. Classification Traits of Malwares5. Circulation6. Infection7. Concealment8. Payload Capabilities9. Web Application Attacks: SQL Injection10. Web Application Attacks: Cross Site Scripting11. Security Management & Cryptography12. Client Side Attacks: Cookies13. Client Side Attacks: DoS14. Client Side Attacks: Man in the Middle15. Client Side Attacks: Replay16. Developing Security Policy17. Deploy and Manage Security Settings18. Security Through Design19. Security Through Anti Malware20. Fundamentals of Cryptography21. OSI Reference Model22. AES23. Standard Network Devices24. Network Security Hardware25. Firewalls26. Types of Firewalls27. Spam Filters28. Virtual Private Networks29. Intrusion Detection and Prevention Study30. DNS31. Network Security: Network Address Translation (NAT)32. Network Access Control (NAC)33. Network Protocols34. TCP/IP35. Wireless Network Security: Wireless Network Attacks36. Wireless Network Security: Types of Attacks37. Mobile Devices Security38. Cloud Security Challenges and Solution39. IoT Security Challenges
    ITEC3125›OSI Reference Model
    Cyber SecurityTopic 21 of 39

    OSI Reference Model

    7 minread
    1,269words
    Intermediatelevel

    OSI Reference Model

    The OSI (Open Systems Interconnection) Model is a conceptual framework used to understand and standardize how different computer systems communicate over a network. The OSI model divides the communication process into seven distinct layers, each responsible for a specific aspect of communication, from physical transmission to application-level services. By structuring network communication in layers, the OSI model helps ensure interoperability between different systems and technologies, and allows for modular design and troubleshooting.


    The Seven Layers of the OSI Model

    The seven layers of the OSI model, from the lowest to the highest, are:

    1. Physical Layer
    2. Data Link Layer
    3. Network Layer
    4. Transport Layer
    5. Session Layer
    6. Presentation Layer
    7. Application Layer

    1. Physical Layer (Layer 1)

    • Purpose: The physical layer is responsible for the actual transmission of raw bits (0s and 1s) over a physical medium (e.g., cables, fiber optics, radio waves). It defines the hardware elements involved in communication, including the electrical signals, mechanical connectors, and data transmission rates.

    • Key Functions:

      • Transmission of raw binary data.
      • Defines the type of cables, connectors, and signals.
      • Specifies voltage levels, timing, and data rates for communication.
      • Manages the physical aspects of devices and media like Ethernet cables, fiber-optic links, radio frequency (RF) signals.
    • Devices: Hubs, network adapters, cables, repeaters, and modems.

    • Example: The actual physical connection between a computer and a network switch using an Ethernet cable.


    2. Data Link Layer (Layer 2)

    • Purpose: The data link layer is responsible for creating a reliable link between two directly connected nodes (devices). It packages raw bits from the physical layer into frames, detects errors in transmission, and manages access to the physical medium.

    • Key Functions:

      • Framing: Dividing the stream of bits from the physical layer into frames.
      • Error detection and correction (e.g., using checksums or CRCs).
      • Media Access Control (MAC): Controls access to the shared network medium, preventing collisions in networks like Ethernet.
      • Flow control: Regulating the flow of data to avoid congestion.
    • Devices: Switches, network interface cards (NICs), bridges.

    • Protocols: Ethernet, PPP (Point-to-Point Protocol), ARP (Address Resolution Protocol), and Wi-Fi.

    • Example: Ethernet frames in a local network, where data is packaged into frames and sent to the appropriate network device.


    3. Network Layer (Layer 3)

    • Purpose: The network layer is responsible for routing data across the network, determining the best path from the source to the destination. It handles addressing, packet forwarding, and routing between different networks.

    • Key Functions:

      • Routing: Determines the best path for data to travel across networks using routing algorithms.
      • Logical addressing: Devices are assigned unique IP addresses, allowing them to be identified across the network.
      • Packet forwarding: The network layer ensures that data packets are forwarded across routers toward the destination.
    • Devices: Routers, Layer 3 switches.

    • Protocols: IP (Internet Protocol), ICMP (Internet Control Message Protocol), and routing protocols like OSPF, BGP, RIP.

    • Example: An IP packet is routed through several routers across different networks to reach its destination.


    4. Transport Layer (Layer 4)

    • Purpose: The transport layer ensures reliable data transfer between two devices on different hosts. It manages flow control, error detection, and retransmission of lost or corrupted data.

    • Key Functions:

      • Segmentation and reassembly: Divides large messages into smaller segments and reassembles them on the receiving end.
      • Flow control: Ensures that the sender does not overwhelm the receiver.
      • Error detection and correction: Detects errors in transmitted segments and requests retransmission if needed.
      • Reliable delivery: Ensures that data is delivered in order and without errors (e.g., using acknowledgments).
    • Protocols: TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).

    • Example: TCP ensures that a web page request from a browser is received correctly by a server, and that all data is delivered in the correct order.


    5. Session Layer (Layer 5)

    • Purpose: The session layer manages the establishment, maintenance, and termination of communication sessions between two devices. It ensures that data is properly synchronized during a session and that the communication is orderly.

    • Key Functions:

      • Session establishment, maintenance, and termination: Ensures a consistent connection is maintained for the duration of communication.
      • Synchronization: Keeps track of communication states and data synchronization.
      • Dialog control: Controls whether the communication is half-duplex (one direction at a time) or full-duplex (both directions simultaneously).
    • Protocols: NetBIOS, RPC (Remote Procedure Call), SMB (Server Message Block).

    • Example: A video conference session uses the session layer to establish, maintain, and terminate the connection.


    6. Presentation Layer (Layer 6)

    • Purpose: The presentation layer is responsible for translating, encrypting, and compressing data. It ensures that data is in a format that the application layer can understand, independent of the data’s internal representation.

    • Key Functions:

      • Data translation: Converts data from one format to another, such as from EBCDIC to ASCII.
      • Data encryption: Ensures data confidentiality by encrypting messages.
      • Data compression: Reduces the size of data to improve transmission efficiency.
    • Protocols: SSL/TLS (for encryption), JPEG, GIF, and other formats for data encoding/decoding.

    • Example: When you access a secure website, the presentation layer handles encryption and decryption of the HTTPS communication.


    7. Application Layer (Layer 7)

    • Purpose: The application layer is the topmost layer, where user-level interactions with network services occur. It provides the interface between the user and the network, and allows software applications to communicate over the network.

    • Key Functions:

      • Application services: Defines protocols and services for software applications to interact with the network (e.g., web browsers, email clients, file transfer programs).
      • Network services: Provides access to network resources and services such as email, file sharing, and remote login.
    • Protocols: HTTP/HTTPS, FTP, SMTP, IMAP, POP3, DNS, DHCP, SNMP.

    • Example: When you use a web browser to access a website, HTTP or HTTPS protocols operate at this layer to enable communication between the browser and the web server.


    OSI Model Summary

    Layer Name Key Functions Protocols/Technologies Devices
    1. Physical Physical Layer Transmits raw bits over physical medium Ethernet, Fiber, Bluetooth, Wi-Fi, DSL Hubs, Repeaters, Cables
    2. Data Link Data Link Layer Frames data, error detection, and manages access to media Ethernet, PPP, ARP, MAC Switches, Network Interface Cards
    3. Network Network Layer Routes packets, IP addressing, and manages path selection IP, ICMP, RIP, OSPF, BGP Routers
    4. Transport Transport Layer Ensures reliable data transfer, error correction, flow control TCP, UDP Gateways, Firewalls
    5. Session Session Layer Manages sessions, synchronization, and dialog control NetBIOS, RPC, SMB Firewalls, Load Balancers
    6. Presentation Presentation Layer Data translation, compression, encryption SSL/TLS, JPEG, GIF, ASCII, EBCDIC Gateways, Proxy Servers
    7. Application Application Layer Provides network services to applications, user interface HTTP, FTP, DNS, SMTP, IMAP, SNMP, DHCP End-user Devices (PCs, Servers)

    Importance of the OSI Model

    1. Standardization: The OSI model provides a standard way to describe network protocols and their interactions. It helps ensure that different network devices and software from different manufacturers can work together.

    2. Troubleshooting: The layered approach helps network professionals diagnose issues by isolating them to specific layers of the model. This makes it easier to pinpoint problems related to hardware, software, or configuration.

    3. Network Design: The OSI model helps engineers design networks by ensuring that each layer performs a distinct set of tasks, and that each protocol or service works within its appropriate layer.

    4. Interoperability: By abstracting network functions into layers, the OSI model facilitates interoperability between different systems, devices, and technologies.


    The OSI model remains a critical conceptual framework, though modern networks tend to follow the TCP/IP model, which is more streamlined and closely aligned with the protocols used in the internet. Despite this, the OSI model remains useful for understanding and categorizing networking concepts.

    Previous topic 20
    Fundamentals of Cryptography
    Next topic 22
    AES

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time7 min
      Word count1,269
      Code examples0
      DifficultyIntermediate