Home › Cybersecurity wiki › What is the OSI model used to describe network communication?

Wiki

What is the OSI model used to describe network communication?

The OSI model arranges network communication in seven layers so that functions do not sit in one opaque block.
Each layer uses the one below and offers a service to the one above.
In security the model shows on which level a control can have any effect at all.

Overview of the OSI Model

The overview starts at the application that users and programs see and ends at the signals on the medium.
In between are presentation, session, transport, network, and data link.
The names help to place a fault or an attack on the layer that actually causes it.

Application Layer

The application layer carries the services programs work with directly, such as fetching pages, mail, or name lookup as the application sees it.
User data, sign-ins, and commands live here.
Attacks at this layer often look like valid use, and a pure packet filter does not understand them.

Presentation Layer

The presentation layer deals with representation, character sets, and with encryption where that is described as a service of this level.
It makes two systems interpret the same bytes in the same way.
Faults here show up as unreadable content or as encryption that is only claimed and does not actually bind the right parties.

Understanding the Layers of the OSI Model

The middle layers connect application intent with reliable delivery.
The session keeps the context of a conversation, and transport delivers between processes.
Understanding these layers separates a conversation that drops from a single packet that is lost.

Session Layer

The session layer manages opening and closing a dialogue and can mark points where a conversation resumes.
In many current protocols it is not visible as separate software, and the job then sits inside the application or transport.
For analysis the question remains who starts, ends, and restores the dialogue.

Transport Layer

The transport layer connects processes on different machines and can take on completeness, order, and flow control.
Ports arise here and separate one service from another.
A firewall that knows only addresses and no ports cannot tell services on the same machine apart.

Lower Layers of the OSI Model

The lower layers move data from network to network and across the actual medium.
The network layer chooses the path, the data link organizes the hop to the next device, and the physical layer carries the signals.
Controls at the bottom no longer see application content, only frames, addresses, and disturbances.

Network Layer

The network layer addresses systems across network boundaries and chooses the next hop.
The addresses that routes and many filters use live here.
An attack at this layer can bend paths or make destinations unreachable without understanding the application itself.

Data Link Layer

The data link layer organizes exchange between directly connected devices, detects errors on that segment, and names local addresses.
Switches work with these addresses and learn which port a device sits behind.
False bindings at this layer divert traffic on the local network before any router is involved.

Physical Layer

The physical layer transmits bits as electrical, optical, or radio signals.
It knows no users and no sessions, only medium, connector, and noise.
Protection here means limiting access to sockets, cables, and radio paths, because reading at this level assumes higher-layer encryption rather than replacing it.

Importance of the OSI Model

The importance of the OSI model is a shared language for teaching, troubleshooting, and placing controls.
It is a way of thinking and is not identical, line by line, with the protocols that run on networks today.
It still stops a measure on the wrong layer from being treated as sufficient.

Conclusion

The OSI model splits communication into layers, each with its own job, address, and failure mode.
Security and operations become clearer when a control is tied to the layer whose data it actually sees.
The model does not replace configuration, but it organizes it.