What is OSI Security Architecture?
Attacks, Services and Mechanisms

OSI security architecture is a standard framework, ITU-T X.800, that gives everyone the same words for network security. It sorts security into three parts: the attacks that can harm data, the services that protect it, and the mechanisms, such as encryption, that deliver those services.

Short Answer OSI security architecture is a standard framework, ITU-T X.800, that gives everyone the same words for how network data gets attacked and protected. OSI stands for Open Systems Interconnection. The framework splits security into three parts: security attacks, security services and security mechanisms. For example, a fake email pretending to come from your bank is an attack. Checking who really sent it is a service. A digital signature is the mechanism that does the check.

What is OSI Security Architecture?

OSI security architecture is the security plan that sits on top of the OSI model. The OSI model splits network communication into seven layers, from the cable up to the app you use. On top of these layers, the security architecture explains what can go wrong with data on that network and how to protect it.

The framework comes from ITU-T Recommendation X.800, titled “Security architecture for Open Systems Interconnection for CCITT applications”. ITU-T is the standards arm of the International Telecommunication Union, a United Nations agency, and CCITT was its earlier name. The ITU approved X.800 in March 1991, and its website still lists the standard as in force. X.800 is also technically aligned with ISO 7498-2, the matching standard from the International Organization for Standardization (ISO).

In simple words, X.800 is a shared dictionary for security. It names no products. It gives teams, auditors and vendors one set of terms. So “integrity” (data not changed) or “non-repudiation” (no one can deny sending a message) means the same thing to everyone. That is why students meet OSI security architecture in cryptography and network courses.

Key Words to Know

  • Threat: anything that could break security, such as a person trying to read your files.
  • Attack: any threat that someone actually carries out on purpose.
  • Entity: any person, computer or program taking part in a communication.
  • Encipherment: the X.800 word for encryption, which means scrambling data so only someone with the right key can read it.

The Three Parts of OSI Security Architecture

The whole framework rests on three simple questions. First, what can go wrong? Second, what protection do we need? Third, which tool gives that protection? Each part answers one of them:

  1. Security attack: any action that breaks, or tries to break, the security of information. For example, someone reads an email meant for someone else.
  2. Security service: a protection the system offers, such as proving who sent a message. Services are the “what we need”.
  3. Security mechanism: the actual method that delivers a service, such as encryption or a digital signature. Mechanisms are the “how we do it”.

So the three parts link together in a chain. An attack creates a need, a service meets that need, and one or more mechanisms deliver the service.

Three linked columns showing how attacks create needs, services meet them and mechanisms deliver them
Every attack points to a service you need, and every service needs at least one mechanism to deliver it.

Security Attacks in OSI Security Architecture

X.800 sorts threats in two ways: accidental or intentional, and passive or active. For security exams, the passive and active split matters most. A passive threat tries to see information without changing anything. An active threat, in contrast, deliberately changes data or how the system behaves. When someone actually carries out one of these threats, most courses call it a passive attack or an active attack.

Passive Attacks

Passive attacks are about watching and listening. The attacker stays quiet, so the victim often never notices. Because nothing changes, the best defense is to prevent the attack rather than detect it.

  • Reading message contents (often called release of message contents): the attacker reads data in transit, for example by tapping a line or capturing office Wi-Fi traffic. X.800 gives passive wire tapping, secretly listening on a line, as its example of a passive threat.
  • Traffic analysis: the attacker cannot read the messages but studies who talks to whom, how often and how much. For example, a sudden burst of emails between two firms can hint at a merger.

Active Attacks

Active attacks change something. They are easier to detect, but harder to prevent completely. X.800 describes four main types (its definitions also mention inserting fake messages):

  • Masquerade: one entity pretends to be another, for example by using a stolen login. This is close to what people now call spoofing.
  • Replay: the attacker captures a valid message and sends it again later. For example, they repeat a payment instruction.
  • Modification of messages: the attacker changes part of a message, so “pay vendor A” becomes “pay vendor B”.
  • Denial of service: the attacker stops a system or network from doing its job. They may block messages or flood it with traffic. A flood from many machines at once is called a distributed denial of service, or DDoS attack.

X.800 also mentions insider attacks, outsider attacks, trapdoors and Trojan horses. However, exam answers usually focus on the passive and active groups above.

Question Passive Attack Active Attack
What the attacker does Watches or listens Changes, repeats, fakes or blocks
Data changed? No Yes, or the service stops
Easy to notice? Hard Easier
Main defense Prevent, mostly with encryption Detect and recover
Examples Reading messages, traffic analysis Masquerade, replay, modification, denial of service

Security Services Defined by X.800

A security service is a protection that one part of a system gives to another. X.800 lists five basic services, and most are split into a few narrower types. They cover confidentiality and integrity, two of the three goals in the CIA triad, plus identity checks, access rules and proof of who did what. Availability, the third goal, comes after the list.

  1. Authentication: proves the other side of a connection is who it claims to be (X.800 calls this peer entity authentication). It also proves data came from the claimed sender (data origin authentication).
  2. Access control: stops people or systems from using a resource they have no right to use. Our page on access control explains the common models.
  3. Data confidentiality: keeps data secret from anyone not allowed to see it. It also includes traffic flow confidentiality, which hides patterns from traffic analysis.
  4. Data integrity: makes sure data arrives exactly as sent, with nothing changed, added, deleted or replayed.
  5. Non-repudiation: stops a sender from later denying they sent a message (proof of origin). It also stops a receiver from denying they got it (proof of delivery).

Many course books also add availability as a sixth service. X.800 defines availability as being “accessible and useable upon demand by an authorized entity”. However, it does not list availability among its five services. So for an exam on the X.800 list, give the five above and add availability as a common extra.

Security Mechanisms in OSI Security Architecture

Mechanisms are the working parts. Many of them rely on cryptography, the science of protecting information with codes and keys. X.800 splits mechanisms into two groups, and its Table 1 shows which mechanisms can deliver each service.

Specific Security Mechanisms

In OSI security architecture, these eight mechanisms sit inside a chosen layer and deliver a chosen service. Two of them share their names with the services they deliver:

  • Encipherment: scrambles data so outsiders cannot read it. It supports confidentiality.
  • Digital signature: a cryptographic stamp that only the signer can create and anyone can check. It supports authentication, integrity and non-repudiation.
  • Access control: checks identity or rights, for example against an access control list, before allowing use.
  • Data integrity: adds a check value to data, so the receiver can spot any change.
  • Authentication exchange: a back-and-forth exchange of information, such as a password or a secret code check, that proves identity.
  • Traffic padding: adds dummy data or messages to hide real traffic patterns. It works only when combined with encryption.
  • Routing control: sends sensitive data only over trusted routes and links.
  • Notarization: uses a trusted third party, like a digital notary, to vouch for details such as integrity, origin, time and destination.

Pervasive Security Mechanisms

Pervasive means present everywhere. These mechanisms are not tied to one service or one layer. Instead, they support security across the whole system:

  • Trusted functionality: hardware and software that you can rely on to work correctly.
  • Security labels: tags on data, for example “confidential”, that show the right way to handle it.
  • Event detection: spotting security-related events, such as a failed login.
  • Security audit trail: a record of events that a reviewer can examine later.
  • Security recovery: actions taken after a problem, such as cutting a connection or changing a key.

How Does OSI Security Architecture Link to the OSI Model?

The OSI model has seven layers: physical, data link, network, transport, session, presentation and application.

X.800 then states which security services each layer can offer. For example, the physical layer offers only connection confidentiality (keeping all data on a link secret) and traffic flow confidentiality. The session layer offers no security services at all. In contrast, the application layer can offer every service, including non-repudiation. As a result, designers can choose the right layer for each protection instead of guessing.

Seven network layers stacked, with notes on which security services and protocols belong at each one
X.800 says which security services each layer can offer, which is why TLS and IPsec protect data at different levels.

Everyday Examples: TLS and IPsec

Today’s internet mostly runs on the TCP/IP model, which has fewer layers than OSI. Still, OSI security architecture ideas apply. Two open standards show this well:

  • TLS (Transport Layer Security): the protection behind the padlock in your browser. It works just above the transport layer and stops eavesdropping, tampering and forged messages between an app and a server.
  • IPsec (Internet Protocol Security): protects traffic at the network layer, so it can protect every app’s data sent between two sites. Many company VPNs (virtual private networks, secure tunnels between sites) use it, including AWS Site-to-Site VPN and Azure VPN Gateway.

In X.800 terms, both use encipherment, data integrity and authentication exchange mechanisms. Together they deliver confidentiality, integrity and authentication services. For the wider picture of protecting company networks, see our page on network security.

Talk to an ExpertDo you know which attacks your network blocks today? Talk to our team about protecting your business network.

Why OSI Security Architecture Still Matters for a Business

X.800 dates from 1991, and companies still use its ideas today. First, it gives IT teams, auditors and vendors shared words. So when an auditor asks how you ensure non-repudiation, everyone knows the question.

Second, it maps neatly to modern controls. A firewall is a form of access control at the network edge. Multi-factor authentication strengthens the authentication service. Encryption of email and stored files delivers confidentiality. Logs and alerts are today’s versions of event detection and audit trails.

Third, the attack, service and mechanism chain of OSI security architecture gives a simple way to check for gaps. For each attack you worry about, ask which service stops it and which mechanism delivers that service. If no mechanism answers, you have found a gap.

An Example From a Chennai Office

For example, the finance team at a Chennai logistics firm gets an email. It asks them to change a supplier’s bank details. The IT manager uses the OSI security architecture chain to review it. The threat is a masquerade, because someone may be pretending to be the supplier. The service that answers it is data origin authentication, which checks the real sender. So the firm adds digitally signed email for supplier messages. Staff also phone the supplier on a known number before any bank change. Finally, the firm keeps an audit trail of every approval, which supports non-repudiation if there is a dispute.

Frequently Asked Questions About OSI Security Architecture

What is the full form of OSI?

OSI stands for Open Systems Interconnection. It is a model that splits network communication into seven layers, so different systems can talk to each other in a standard way. The OSI security architecture adds security to that model. In fact, its official name, from ITU-T Recommendation X.800, is “Security architecture for Open Systems Interconnection for CCITT applications”.

What is OSI security architecture in cryptography?

In cryptography courses, OSI security architecture explains where codes and keys fit into network protection. Encryption and digital signatures appear in X.800 as security mechanisms. They deliver services such as confidentiality, integrity, authentication and non-repudiation. So the framework shows students why each cryptographic tool exists: every tool answers a specific attack, such as reading, changing or faking messages.

What does an OSI security architecture diagram show?

A typical diagram shows the three parts in a chain. On the left sit security attacks, split into passive and active. In the middle sit the five security services. On the right sit the mechanisms, such as encipherment, digital signatures and traffic padding. Arrows show that a mechanism delivers a service, and a service protects against an attack.

Is X.800 the same as the OSI model?

No. The OSI model, from ITU-T Recommendation X.200, describes the seven layers of network communication. X.800 builds on that model and adds security. It names the attacks, services and mechanisms, and says which security services each layer can offer. In short, the OSI model explains how data moves, while X.800 explains how to protect it on the way.

What is OSI security architecture in information security?

In information security, OSI security architecture gives a shared set of terms for protecting data in transit. Teams use it to explain risks, choose controls and talk to auditors. Its services cover two of the three CIA goals, confidentiality and integrity. Availability, the third goal, is defined in X.800 but not listed as a service, so teams usually add it themselves.

What is OSI security architecture in cyber security?

In cyber security, OSI security architecture is a starting map for defending networks. It sorts attacks into passive and active, then links each one to a protection. Modern tools still fit the map. For example, encrypted office Wi-Fi gives confidentiality, and signed email proves who really sent a message. So security teams can use it to spot gaps in their defenses.

How do you explain OSI security architecture with an example?

Imagine an office sends a payment file to its bank. Someone could read it (passive attack) or change the account number (active attack). The office needs confidentiality and data integrity, which are security services. TLS then delivers them, using encipherment and integrity checks, which are mechanisms. That simple story covers all three parts of OSI security architecture: attack, service and mechanism.
Use CaseProtect Endpoints and Business Networks

References

  1. Attacks, services and mechanisms: ITU-T, Recommendation X.800: Security architecture for Open Systems Interconnection for CCITT applications (03/91)
  2. TLS: IETF, RFC 8446: The Transport Layer Security (TLS) Protocol Version 1.3
  3. IPsec: IETF, RFC 4301: Security Architecture for the Internet Protocol
Stay Updated

Get the Latest Terms & Insights.

New encyclopedia terms, threat intelligence, and architecture decisions, by email.

Book a Consultation

A practice principal will contact you within 1 business day.

Thank you! A Signisys principal will be in touch within 1 business day.