← Previous lessonFree lesson 3 of 3 · lesson 3 of 31

Unlock all 31 lessons of Enterprise SecurityFull course ₹40,000 · paid

Price & syllabus
Free lesson · 84 min · no payment

Security Elements: OSI Model, TCP/IP and the CIA Triad

A free lesson from Skill-Lync's Enterprise Security course, on Grow by Skill-Lync · Last updated 16 Nov 2026 · Session: “Week 3”

What will you learn in this free Enterprise Security lesson?

Recaps the threat landscape, then explains why networks need a common model and introduces the seven-layer OSI model, data flow and encapsulation. Compares it with the TCP/IP model, then covers the CIA triad of confidentiality, integrity and availability, with attacks and countermeasures for each.

  • Seven OSI layers and their functions
  • Data encapsulation and how data moves through a network
  • TCP/IP model compared with OSI
  • CIA triad with related attacks and countermeasures

What comes after lesson 3?

Later in Skill-Lync's Enterprise Security course (paid): lesson 4, Week 4 Session 1; lesson 5, Week 4 Session 2; lesson 6, Week 4 Session 3. The full course has 31 lessons (16 h 21 min of video); see the course overview or its price and syllabus.

Lesson transcript

Machine transcript of the lesson audio (lightly cleaned). Technical terms may contain errors; the video is the reference.

Hello and welcome to the week three of enterprise security from scratch, that is security elements. As you can rightly understand from the title of this module, security elements, we will be learning about the foundation or the pillars of enterprise security. Before we start off with the module, let's do a quick recap of what we have learned in week two. That was understanding enterprise security landscape. In enterprise security landscape, we talked about the threat landscape, which is continuously evolving. We had spoken about external threats, internal threats, and the compliance issue that the industry or enterprise come across often at times.

In external threats, we talked about how enterprise or the corporates have opened up themselves to internet-based commerce and remote uses, thereby enabling external threats to exist within the corporate premises. Next, we had seen in internal threats that the domain of human error or malicious intent or various forms of propagating malware are not only the threats from the internal parameter, but to add on, we have advanced persistent threats with their coordinated action in the internal threats section also. In compliance section, we understand how enterprise today are under pressure to follow the mandates such as HIPAA, FSMA, PCI DSS, etc.

Then, we talked about how security breaches occur. It is mostly because of the deficiency in application or clicking into the links provided in the phishing email or CIA vulnerabilities that are readily available in internet. We talked about how cyber criminals are getting organized, how ransomware is becoming more common. Then, we understood the common terminologies used in the enterprise security such as malware, which includes virus, spyware, and ransomware. We had seen bitcoins. We had seen bitcoins. We understood what is Bitcoin miner. Then, we talked about keyloggers, both hardware and software keyloggers.

We talked about how a botnet works. We understand command and control. Then, we moved on to the three common terminologies that is vulnerability, threat, and risk. After that, we talked about the current threats like unpaired software. Why is it really dangerous for the industry to have unpaired software? Then, we talked about hijacking SMS. We also understood wholesale and retailers. What is ransomware? We talked about data breach. Then, we talked about specifically talked about phishing, hacked email accounts, credit card schemas, and finally, the social engineering. After that, we looked into the five most common cyber security attacks and their countermeasures, which include the social, engineered malware.

Then, we understood how password phishing attacks occur and how to countermeasure it. After that, we talked about the unpatched software and what steps we should follow in order to prevent any attacks recorded from unpatched software. Then, we talked about the social media threat. Also, how to countermeasure it. Then, we talked about advanced persistent threats and how to countermeasure those threats. So now, let's move on to see what we are going to cover in this present module of security elements. In this module, we will talk about ISO and OSI model in detail.

We will understand the layers that are present in OSI model and understand the functionality of these layers in detail. Then, we will understand what is TCP IP model. Then, we will have a comparison between TCP IP and OSI model. After that, we will touch upon the CIA triad that is confidentiality, integrity, and availability. So, without further ado, let's move on to. So, let's check out the learning objective of this module. In this module, we will build a solid understanding of ISO and OSI reference model. Then, we will have an understanding of TCP IP reference model.

And after that, we will touch upon CIA trial. The ISO OSI model. Many people think that the OSI reference model arrived at the beginning of computer age. as we know it. Many people think that OSI reference model arrived at the beginning of the computer age. However, this is not true. In fact, it was introduced in 1984 at which time the basic of internet had already been developed and implemented. And the basic internet protocols had been in use for many years. Let's understand ISO OSI model in detail.

ISO stands for International Standard Organization. However, it is known as International Organization for Standardization. So, let's understand how this ISO evolved. ISO is evolved from a Greek word known as ISOs. That means equal. ISO is a non-government organization based in Geneva, Switzerland. It is dedicated to develop voluntary standards that ensure product safety and quality while encouraging innovation in a global marketplace. OSI, on the other hand, stands for Open Systems Interconnection Model, which can be defined as a conceptual model that standardize the communication functions of a telecommunication or computing system without in regards to its underlying internal structure or technology.

So, why do we need this OSI model? In order to understand the need of this OSI model, we first need to understand the challenges before the OSI model was in place. So, way back in early to mid 1970s, there were only two types of networks present. Number 1, Government Sponsored. Number 2, Vendor Specific. Government Sponsored Network examples are ARPANET in US, CLIDIS in France or NPL Network in UK. Vendor Specific, if we talk about these are the proprietary standards such as IBM System Infrastructure and DECNET.

Public Data Networks, which is known as Internet, was in very infant stage or we can say it was just beginning to emerge. So, as we understand, we have categorically vendor specific and government sponsored networks which have their own proprietary systems. There was no specific standard hardware or software in place or followed. So, in order to have a communication between this government sponsored and vendor specific network, it was really difficult to communicate. So, the challenges before OSI model, the first point is no standard hardware or software in place.

Now, which leads to transmission of data was difficult between heterogeneous systems. Of course, the reason being, as these are the proprietary systems, they can talk to each other in their own particular systems. So, for example, if we have a system. So, for example, there are two IBM systems. All right. IBM system one can only speak to. Takeoff. You'll see you in a minute again. All right. Thank you. IBM System 2. So this IBM System 2 cannot speak to Government System 1 because there was no intraoperability.

So basically when there is no intraoperability, we cannot have a error-free communication and we cannot achieve it. The data format vary from vendor to vendor. As there were no standardized format of the data, it is all proprietary. So there was no possibility of interoperability or talking to each other. So let's understand in a very common language. Let's say we have a Nikon DSLR and we have Kodak DSLR. Now let's say the picture that is clicked in Nikon DSLR is some XYZ format and in Kodak DSLR we have some ABC format.

Now if we import these two standard or the clicks or the photos into the system, the system will not be able to understand because both have their own proprietary standards. So in order to access the Nikon DSLR camera for the .xyz format, we need to have a specific set of software that will understand that format. Now that particular photos or the clicks that we have clicked in Nikon DSLR cannot be used in the Kodak DSLR and same goes vice versa. So all these challenges, all these challenges gave rise to the need of a network model.

To have a common set of languages to describe and analyze data communication networks. To have a error free data exchange and to understand and design a network architecture. That is there when ISO came up with open systems interconnection model which is known as OSI model. This particular model has seven layers. So in order to understand these seven layers, we have the physical layer starting with physical layer, data link layer, network layer, transportation layer, session layer, presentation layer and application layer. We will go through each layer in detail in the subsequent slides.

Let's understand how to remember these seven layers because it is the foundation pillar to get a foothold into the networking. So there are two ways to remember these seven layers. One is the top-down approach and another one is the bottom-up approach. So the top-down approach starts from seven, six, five, four, three, two, one. All right. That means application layer, presentation layer, session layer, transportation layer, network layer, data link and physical. So in order to understand this top-down approach, we can remember it through an acronym. All people seems to need data processing.

So A stands for application layer, P stands for presentation layer, S is your session layer, T stands for transportation, N stands for network, D stands for data link layer and P stands for physical layer. So the top-down approach in order to remember this OSI model in the top-down approach, you need to remember all people seems to need data processing. However, my personal preference is to remember from the bottom-up approach. The reason being, we always start from the layer one, that is physical layer, then we move up the ladder to layer seven, that is the application layer.

So for the bottom-up approach, the acronym is PLEASE DO NOT THROW SAUSAGES PIZZA AWAY. So again, P stands for physical layer, that is layer one. D stands for data link layer. N stands for the network layer. T stands for transportation layer. Sausages S stands for the session layer. P stands for the presentation layer. And A stands for application layer. So please do not throw SAUSAGES PIZZA AWAY is the acronym that I usually remember in order to remember from layer one to layer seven. Either of the way top-down or bottom-up is fine.

So this OSI model satisfies the need of the network model, thereby addressing all the challenges before the OSI model was in place. So the solution was, follow common set of rules while exchanging data. These common set of rules are known as protocols. Protocols define the format and speed on which error-free data should be transmitted. Now let's understand this protocol in length. So a network protocol is a standard set of rules that determines how systems will communicate across the networks. Two different systems that use the same protocol can communicate and understand each other despite their differences.

Similarly to how two people can communicate and understand each other by using the same language. Make sense? So the role of ISO here is to provide important guidelines to be used by vendors, engineers, developers and others while developing a protocol. You see seven layers over here. So each layer has its own responsibilities regarding how to computers communicate over a network. Each layer has certain functionalities and the services and protocols that work within that layer fulfill them. Let's check out the goal of OSI model. So the goal of OSI model is to help others.

So the goal of OSI model is to help the vendors and other developers to develop product that will work within an open network architecture. So let's understand open network architecture in detail. Open network architecture is the one that no vendors own it or it is not proprietary at all and that can easily integrate various technologies and vendors to implement their own technologies. So OSI model is a seven layer approach model. It is made by international standard organization. It is non proprietary and not vendor specific. So in a nutshell, what is an ISO OSI model?

ISO stands for international organization for standardization. OSI is open system interconnection developed in 1980s. OSI contains seven layers that help us understand how data is transferred between the devices. So this particular table is a summarized view of ISO OSI model. In this table, we have the first column as the numbers. Second one is the layer name. Third is the description of what this layer does. And we have PDUs at the last column. PDU stands for protocol data units. Before we understand this summarized view of the table, let's go through the another concept that is known as data encapsulation.

Encapsulation means adding a particular set of information to the message in that particular layer. Let us understand this through an example. So in the example here, we have seven layers, seven, six, five, four, three, two and one. So in each layer... We have this data. So in each layer we have this data that will flow through layer 7 to layer 1. So here is how the encapsulation works. A message in the form of data is constructed within a program on one computer and is then passed down through the network protocol stack.

A protocol at each layer adds its own information to the message. Thus the message grows in size as it goes down the protocol stack. So it will be like this. When it will flow to the lower stack from 7 to 6, it will add some message to this particular data. Then this particular data will then when it will flow to down it will add another message to this. Same it goes down, down and down and here we will have a bigger data size. Alright. So here we will have a bigger data size with the encapsulated packet. So this is how this data packet size will get increased as each layer will add its own messages.

So this is what is known as data encapsulation. So this is what is known as data encapsulation. And each data when it is encapsulated is known as protocol data unit for that particular layer. So if we talk about PDUs. So if we talk about PDUs, we call data as PDUs till layer 7 to layer 5. We know we call it as data. In layer 4, we call it as segment or a datagram. In layer 3, we call it as a packet. In layer 3, we call it as a packet. Layer 2, we call it as a frame. And in layer 1, we call it as a bit or symbol.

So as we now understood the PDUs, let's understand this table in detail so that we can have it printed in our mind. So let's talk from the physical layer. That is the lower layer in number 1, physical layer. So it is the hardware transmit raw bit over physical medium. So it is basically known as the hardware layer of this OSI model. In data link layer, it is the hardware frame defines the format of the data. We will understand this in detail while we speak specifically about the data link layer.

Then comes up the network layer. In this network layer, we have routing that decides the path of the data that we take. So here in network layer, the PDU is in the form of packet. In physical layer, as we understand it is bits and symbol. In data link layer, it is in the form of frame. Now the job of transport layer is to transmit the data via TCP or UDP. TCP is the transmission control protocol or UDP. UDP is the user datagram protocol. So these are the two protocol suits by which the data is transmitted over the network.

So here the PDU is segment or datagram. Now talking about the layer 5 to layer 7, the PDU is data layer. Layer 7 is the session layer that maintains the session and ports. Layer 6 on the other hand is the presentation layer. Here the data representation layer known as the data representation layer. So here data encoding occurs like when we have a picture, we have it in JPEG format, we have it in bitmap format. So these all encoding occurs here. So these all encoding occurs in layer 6. Layer 7 is the application layer where the PDU is again the data layer. In layer 7, it is the frontend layer. So basically all the users interact on layer 7.

Application accesses the network services. So this is how you need to remember this. We have the numbers, we have the layer name and the PDUs. Now let's understand each individual layer in detail. So the first layer that we are going to talk about is the physical layer that we are going to talk about is the physical layer that is known as layer 1. The physical layer layer 1 converts bits into voltage through transmission. Signals and voltage schemes. Signals and voltage schemes have different meanings for different LAN and WAN technologies. So for instance, let's take an example. If a user sends data through his dial-up software and out his modem onto a telephone line.

Signals and the data format. The data format electronic signals and control functionalities are much different than if that user sends the data through a NIC that is network interface card and onto a UTP that is unshielded twisted pair wire of LAN communication. So there will be a total different format of electronic signals. Signals that will distinguish whether the data that will distinguish whether the data is coming from a modem dial-up modem or it is coming through NIC. So the mechanism that controls this data going onto a telephone line or to a UTP wire works at the physical layer. This layer controls synchronization, data rates, line noise and transmission techniques.

So talking about the protocols in physical layer. As we now know that network interface cards, I mean the NIC and the driver convert bits into electrical signals and control the physical aspects of the data transmission which includes optical, electrical and mechanical requirements. So in order to understand the protocols used in physical layer, we have 10, base, T, 10, base, 100, base, FX. So these are the standard interfaces that are used in physical layer. So all your unshielded twisted pair. So all your unshielded twisted pair are one of the standards fall under one of the standards over here. We have other form that is ISDN that stands for integrated services digital network.

We have DSL that is digital subscriber link. Also we have SONET. SONET stands for synchronous optical network. It is used in the optical fiber. So to summarize this physical layer and to remember this is layer one of OSI reference model. This layer falls under hardware layers. Actual physical connection is established between the devices through this physical layer that is layer one and the protocol data unit is in the form of bit or more generally in the form of a electrical symbol. Key functions and point to remember in the physical layer is the transmission medium is in the form of bits. Bits like 0 and 1 are encoded to electrical or optical signals. The transmission mode is simplex, half duplex or full duplex.

Synchronizing of clock rate between the sender and receiver is mandatory in order to transmit the PDUs and the synchronization occurs in physical layer that is layer one. Let's now move to the second layer that is data link layer, layer two, data link layer. As we had seen in data encapsulation, the outer format of the data packet changes slightly. So, the led by . Check it out.. At each layer and it comes to a point where it needs to be transmitted into the LAN or Wide Area Network that is WAN as we had seen in the data encapsulation the outer format of the data packet changes slightly at each layer and it comes to a point where it needs to be translated into LAN or WAN technology binary format for proper line translation.

transmission and this is what happens in data link layer that is layer 2. LAN and WAN technologies can use different protocols, network interface cards, cables and transmission method. Each of these components has a different header data format structure and they interpreted electromagnetic signals in different ways. The data link layer is where the network stacks, the network stacks knows in what format the data frame must be in order to transmit it properly over Token Ring, Ethernet, ATM or Fiber Distributed Data Interface, FDDI Networks. So these are the topologies. Token Ring, Ethernet, ATM we will all learn in the separate module in the upcoming modules.

So at this point of time, you understand these are the topologies. So at this point of time, let's understand these are the network topologies which is present in which the data is transmitted. The data link layer is further divided into two sub layers. One is LLC. Another one is MAC. LLC stands for logical link control. MAC that is MAC stands for media access control. So the LLC which was originally defined in IEEE 802.2 specification for Ethernet networks communicates with protocols immediately above it. That is the network layer. That is the network layer. While this MAC will have the appropriately loaded protocols to interface with the protocol requirement of the physical layer. So let's understand in the form of diagram.

So in the below diagram. So in the below diagram we see we have upper layers that is from layer 3 to layer 7. We have data link layer that is layer 2 and we have physical layer. In data link layer. In data link layer. In data link layer is further divided into two sub layers. One is LLC that is logical link layer and media access control that is MAC layer. Now LLC communicates with upper layer. MAC communicates with physical layer. The protocols at the data link layer convert data into LAN or WAN frames for transmission and define how a computer access a network. Some protocols that work in the layer include the following.

They are ARP that is ARP that is ARP that is address resolution protocol. RARP that is reverse address resolution protocol. We have PPP that is point to point protocol. We have Ethernet that is very popular which follows the standard IEEE 802.3. Then we have wireless Ethernet. Then we have wireless internet that follow IEEE 802.11 standard. So data link layer is layer 2 of OSI reference model. This falls under hardware layer because it talks with MAC that is media access control. It has node to node error free delivery of data. This particular layer is responsible for transmitting the received packet to the host using MAC address.

So the key functions and points to remember are number one the protocol data unit in data link layer is referred as frame. Physical addressing the data link layer adds physical address that is MAC address of the sender and or the receiver in the header of each frame. That means a data encapsulation is happening. Flow control. The data link layer checks if the receiver receives the exact rate of data that is sent by the sender. Also it addresses the error control. It checks for damaged or lost or duplicate packets.

It also does the access control wherein when multiple devices connects in the same link. This lets now talk about the layer 3 which is network layer. The main responsibility of network layer 3 are to insert information into packets header so that it can be properly addressed and routed. And then to actually route the packets to their proper destination. In a network, many routes can lead to one destination. The protocol in the network layer must determine the best path for the packet to take. Routing protocols build and maintain their routing tables.

These tables are mapped to the network. And when the packet must send from computer A to computer B, the protocol checks the routing table and add the necessary information to the packets header and send it on its way. So let's understand this through a diagram. Let's say we need to communicate from host A to host B. Now host A is connected to an access switch which is thereby connected to a router. And then we have our WAN technology over here which is through the provider and we have multiple routers.

And there are many different paths. Yeah. We have many different paths. And then we have access switch over here. And here is the host. So the network layer in network layer it operates over here when the routing takes place. Alright. So when a host A needs to communicate to host B, the protocols in the network layer determines which path or which best possible path the data should flow in. So that it reaches host B swiftly. So over here it may take from R1 to P3 to R2 to the access switch and will reach here.

So this is how the network route will take place. So to determine the path which is the shortest path, shortest and the best path, the computer A should communicate to computer B. This is the job of network layer wherein we have network protocols that determines this path. But the point to remember over here is the protocols that work at this network layer that is in layer 3 do not ensure the delivery of the packets. They depend on the protocols at the transport layer to catch any problems and resend the packets if necessary.

The internet protocol that is IP is a common protocol working at the network layer. Although other routing protocols, routed and routed protocols work there as well. Some of the other protocols that also work in this layer apart from IP is ICMP that is used to ping. That is Internet Control Message Protocol, IGMP that is Internet Group Management Protocol. But right now. The resource campaign adventure from IP is reckoned with companies. The software campaign is recovered from internet slack adverse assets. The main process of this messaging just says that if the action of ICMP is expected to work, the response of the current market is not required of them or Joker.

So that is stated that there is no toゲer than limit today. These sum调 best мужic values that we can do utilizzably and carry onuh. protabolic each of these visionsPHPE work there was noturbished in español. IP, that is routing information protocol. We have OSPF, that is open source test path first and IPX, that is inter-network packet exchange. So, network layer is the third layer of OSI reference model. This falls under hardware layers. It takes care of data transmission between hosts located in different networks, but as I said earlier, it doesn't ensure the delivery of the packet that is taken care in the transport layer.

The protocol data unit, PDU, is in the form of a packet. Key functions and points to remember for network layer, that is layer 3 of OSI model, routing, that is it identifies the best path or route, that is suitable for data communication from source to destination. The function of network layer is known as routing, logical addressing, that is IP, the sender and receiver's IP are placed in the header by network layer to distinguish each device uniquely in the inter-network communication. So, these are the key points that we must remember in the network layer, that is layer 3 of OSI model.

Now, let's learn the layer 4 of OSI model, that is transport layer. So, when two computers are going to communicate through a connection-oriented protocol, they will first agree on how much information each computer will send at a time, how to verify the integrity of the data once received, and how to determine whether a packet was lost along the way. The two computers agree on these parameters through a handshake protocol, handshake processes, handshake process at the transport layer, that is layer 4. The agreement on these issues before transferring, so the agreement on these issues before transferring data helps provide more reliable data transfer and error detection, correction, recovery and flow control.

Also, it optimizes the network services needed to perform this task. The transport layer provides end-to-end data transport services and establishes the logical connection between two communicating computers. So, you can imagine the transport layer protocol as the bus. It does not know or care what applications are communicating with each other. It just provides the mechanism to get the data from one system to another. So, let's understand this in the form of a diagram. Let's say we have three different applications. Application one is MS Office. Application two is Outlook.

Application three is Google Chrome. Alright. So, let's say we have a host A needs to talk to host B. So, in transport layer, what happens is in the upper layer, we have these applications. They have their data. They will have their data encapsulation and will flow to the lower layer. And this is where the transport layer will come. So, this is where the transport layer will come. So, what will happen is in this transport layer, this transport layer will assemble the data into a stream. So, all the applications.

So, all the application data which will come to this transport layer will be streamed in this transport layer. And will be transmitted to the lower layers. However, when it comes to the computer B, in there. However, when the connection is established to the host B. In that transport layer. In that transport layer. Decapsulation of this stream data will happen. And it will flow to the upper layers. So, that is how. That is how. The transport layer works. So, it is the bridge. It is the bridge.

Between hardware and software layers. So, upper layer of transport layer is station layer. Which maintains the station between two computers. However, the transport layer maintains the network connectivity between two computers. So, when the transport layer receives data from many different applications. And assemble the data into a stream. To a properly transmitted over the network. The main protocol that works at this layer. Are TCP and UDP. TCP stands for transmission control protocol. And UDP stands for user datagram protocol. The information is passed down. From different entities.

At higher layers. To the transport layer. Which must assemble the information into a stream. The stream is made up of various data segments passed to it. Just like a bus carrying a variety of people. The transport layer protocol. Can carry a variety of application data types. Here in our example. It is Microsoft Office. Outlook. And Google Chrome. All the three data types can be transported through this bus. I mean the transport layer. And can be streamed to the lower layers. Thereby moving on to the. When in contact with host B.

Then the decapsulation can be happen. Then the decapsulation takes place. Let's talk about the protocols. In the transport layer. The protocols at the transport layer. Handles end to end transmission. And segmentation of the data streams. So the following protocols work at this layer. One is TCP. That is transmission control protocol. Then we have UDP. That is user datagram protocol. And we have SPX. That is sequence packet exchange. So these are the three protocols. That works in the transport layer. So as we understand. It is the layer for OSI reference model.

This layer is the heart of OSI model. It is the bridge between hardware and software layers. The protocol data unit. PDU is in the form of segment. So now the key function and points to remember. For the transport layer. That is layer four of OSI model. Is number one. The segmentation. The transport layer. Add sequence number to the packet. Before transmitting. It helps in error control. Make sure that the entire message. Is transmitted without error. The services. It provides. Each application. Uses port address. To send or receive communication.

The transport layer. Includes the port address. So the connection control. Is done by TCP. That is connection oriented. And UDP. Which is connectionless. Now let's learn about the layer five. Of OSI model. That is session layer. So. When two applications. Need to communicate. Or transfer data. Between themselves. A connection. May need to be set up. Between them. The session layer. That is layer five. Of OSI model. Is responsible. For establishing. A session. Between the two application. And maintaining. During the. Transfer. Of data. Also. It controls.

The release. Of the connection. A good analogy. For the functionality. Within the. Layer of. Let's understand. This. Through an example. Of a telephone. Conversation. Between. Alice. And Bob. When. Alice. Wants to. Call. Bob. She uses. A telephone. The telephone. Network. Circuitry. And. Protocols. Set up. The connection. Over. The telephone lines. And. Maintain. That communication. SinceDonough. What. Oh. I'm not. I don't know how to do you. And when Alice hangs up, they release all the resources they were using to keep that connection open. Similar to how this telephone circuitry works, the station layer works in three phases.

Number one is, so number one is, connection, establishment. Number two, data transfer. And number three is, connection release. The responsibility of this layer is to provide session restart and recovery, if necessary, and provide all, and provide the overall maintenance of the session. When the conversation is over, this path is broken down and all parameters are set back to the original settings. This process is known as, digital management. Also, it is worthwhile to note that there are three modes, by which the communication is enabled between two applications. Number one is, simplex. Number two is, half duplex.

And number three is, full duplex. So, simplex is where the communication takes place in one direction. Though in practice, this is very seldom in case. Half duplex, in which the communication takes place in both direction, but only one application can send information at a time. In full duplex, communication takes place in both direction, and both applications can send information at the same time. So, these are the three modes of communication in session layer. So, let me give you a cheat sheet over here. Many people have a hard time understanding the difference between what takes place at the session layer versus the transport layer, layer versus the application to application to application to application communication, whereas the transport layer protocol handles the computer-to-computer connection.

So, let's understand this once again. Session layer controls application-to-application connections only, and transport layer controls computer-to-computer connections. As said, the session layer protocols set up connections between applications, main dialogue controls, and negotiate, establish, maintain, and tear down the communication channel. Some of the protocols that work in this layer are, NetBIOS, that is Network Basic Input and Output System. Another one is PAP, that is Password Authentication Protocol, and RCP, that is Remote Procedure Call. So, session layer is fifth layer of OSI reference model. This session layer falls under software layer.

It establishes connections, maintain sessions, authenticates, and ensures security. The protocol data unit is in the form of data. The key functions and points to remember are, number one, the session management. As we have learnt, it establishes, maintain, and terminate the sessions. Number two, it helps, it moderates the dialogue control. It creates a dialogue for two systems to start the communication with each other in half-duplex, simplex, or full-duplex mode. Number third one is the synchronization. It syncs points in data streams. The next layer that we are going to learn is layer six of OSI model, that is presentation layer.

The presentation layer, layer six, receives information from application layer protocol and put it in a format that any process operating at the same layer on the destination computer following the OSI model can understand. This layer provides a common means of representing data in a structure that can be properly processed by the end system. This means, this means that when a user creates a word document and send it to several people, it does not matter whether the receiving computer have different word processing programs. For example, open office or Microsoft Office, each of the computer will be able to receive the file and understand and present it to its user as a document.

It is the data representation processing that is done at the presentation layer that enables this to take place. For example, when a Windows 10 computer receives a file from another computer system, the information within the files header indicates what type of file it is. The Windows 10 operating system has a list of file types it understands and a table describing what programs should be used to open and manipulate each of the file types. For example, the sender could create a PDF file in Word 2016 while the receiver uses a Linux system.

The receiver can open the file because the presentation layer on the sender system encoded the file and added a descriptive header in accordance with the multipurpose internet mail extension standards. And receiver computer interprets the header type, decodes the file and knows how to open it with a PDF viewer application. So, in a simplistic term, if we want to understand the presentation layer is not concerned with the meaning of data but the syntax and format of the data. It works as a translator. Translating the format an application can use to understand format used for passing messages over network.

If a user uses a choral application to save a graphic for example, the graphic could be a tagged image file format that is TIFF or a GIF that is graphic interchange format or JPEG that is joint photographic experts group format. And the presentation layer adds information to tell the destination computer the file type and how to process and present it. This way, if the user sends this graphic to another user who does not have the choral application, the user's operating system can still present the graphic because it has been saved into a standard format.

It is worthwhile to note the services of the presentation layer. So, the presentation layer handles translation into translation into standard format. Secondly, it handles the data compression and decryption. And third, it also handles the data encryption and decryption. Also important point to note is no protocols work in presentation layer. Presentation layer is only there to provide services. So, the following list of the presentation layer standards that is ASCII that stands for American Standard Code of Information Exchange. TIFF, that is Tagged Image File Format, JPEG, JPEG, JPEG, that stands for Joint Photographic Expert Group.

And M-I-D-I, that stands for Musical Instrument Digital Interface. So, session-layer is the . So, the presentation layer is the layer 6 of OSI reference model. This falls under software layers. The translation layer extracts data from application layer and formats it to transmit over the network. The PDU is in the form of data. The key points and key functions to remember for layer 6 that is presentation layer is number 1 translation. Converts app data to standard format before transmitting. Encryption and decryption that is use cyber text to encrypt and plain text to decrypt.

Number 3rd one is compression. That means it reduces the number of bits to be transmitted. Finally, we are on the layer 7 of OSI model that is application layer. So, the application layer, layer 7 works closest to the user and provide file transmissions, message exchanges, terminal sessions and much more. This layer does not include the actual applications, but rather the protocols that support the application. When an application needs to send data over the network, it passes instructions and the data to the protocol that support it at the application layer.

This layer process and properly formats the data and passes it down to the next layer within the OSI model. This happens until the application layer has all the information from the lower layers for the data to be transmitted over the network. Let's understand this through an example. Let's understand this through an example. Let's say you are recruited in a company as a security analyst wherein your main job profile is to find the vulnerabilities and report it to the higher management so that they can take necessary actions on your report.

Now, let's say you are written in a report. Now, let's say you are writing a report and you would like to send it to your senior management. So, your job is to write the report and the findings and to figure out how you are going to send it to the senior management. And the senior management's job is to read your report and respond to it through appropriate actions. So, let's understand through this diagram. So, you send a report, you create a report and send it through SMTP that is any email through Outlook email.

So, let's see if you see your email. And that email flows from layer 7 to layer 1. It reaches to senior management and senior management responded to the response to it with the appropriate action. And once the senior management responds, then it flows from layer 1 to layer 7 to you. Now, let's consider this in terms of the computer network. So, you can be termed as an application. Application creates a content in the form of message. Message flows through the network in the form of a protocol.

And protocol flows through layer 7 to layer 7 to layer 1. And then once it receives a response from host B, it flows from layer 1 to layer 7 through the same channel and to the same application. And that is how the whole circuit gets complete. The protocols at the application layer 8. The protocols at the application layer 8. The protocols at the application layer handles file transfer, virtual terminals, network management and fulfilling network request of application. A few of the protocols that work at the application layer 9. A few of the protocols that work at this layer include FTP that is file transfer protocol, TFTP that is tribal file transfer protocol, SNMP that is simple network management protocol, then SMTP that is simple mail transfer protocol, TELnet, TELnet, HTTP, Hypertext transfer protocol, etc.

So, application layer is the layer 7 of OSI reference model. Application layer falls under software layer. Application interface to network allows the users to access network via protocols like HTTP, TELnet, TELnet, FTP, etc. The PDU that is the protocol data unit is in the form of data. The key functions and the point to remember are file transfer access and management, email services, application layer does not include application programs but network based services are included. TELnet, TELnet, FTP, etc. An example for application layer is application layer does not contain Google Chrome but contains the internet access via HTTP.

TELnet, FTP, etc. Now, let's summarize all our understanding on OSI model that is ISO OSI model with an example. In our example, we have Alex and Bob. So, Alex wants to send an email to Bob. So, let's understand with this conceptual model of OSI, how the data flow is going to be happen. Alright? So, Alex is using Outlook. So, Alex is using Outlook for Outlook application for email messages and Bob is also using Outlook to receive or send emails. Now, let's say Bob has typed an email in Outlook and wants to send it to Bob. So, Alex had put Bob's email address in the sender and had put an subject and then written an message to Bob and then Alex clicks send. Once Alex clicks send, as we learned in application layer, application layer do not host the application but the protocol.

So, here in application layer, we will SMTP that is TCP 25 will come in play. So, through SMTP, it will flow down to the presentation layer. The presentation layer will format this text message to .ot. OTF format extension with this OTF format so that it is standardized. It is standardized and then it will flow down to the session layer. In session layer, will establish a session, a logical session with Bob. So, then it will flow down to the transport layer. In transport layer, so in transport layer, there will be a connection, there will be a connection established between computer to computer, I mean from Alex's computer to Bob's computer with the help of lower hardware layers. So, in transport layer, TCP that is transmission control protocol will come in picture wherein that will ensure the connection, TCP is a connection oriented protocol and ensures the data reliability. It will then pass the information. It will then pass the information to the network layer. In network layer, the IP of Bob's computer will come in picture where routing will take place. Then in when the information will flow down to the data link layer. In data link layer, it is subdivided into LLC and MAC.

So, logical link layer will encode the packets to frame and in MAC address, hardware address will get assigned to the Bob's IP. Then it will flow down to the physical layer. Here in physical layer, there will be a connection established to Bob's computer in the form of electrical signals. Here in physical layers. Here in physical layer, it will flow down to the physical layer. It will then, as we had understood, the data will get encapsulated and will be of a bigger size over here, when it present into the physical layer, then the decapsulation will start and it will flow to the application layer with SMTP with only the single data.

So here, the encapsulation of data will takes place and here data will take place. Here, the decapsulation of data will take place. So at the end, the protocol SMTP will decapsulate and the application outlook will decode the data, I mean the email and thereby Bob can read the email that is being sent from LX and that is how the whole model will work. Now let's move on to the next section of this module that is TCP IP model. So the transmission control protocol slash internet protocol that is TCP slash IP is a suite of protocols that governs the way data travel from one device to another.

Besides these two protocols, TCP and IP, the protocol suite includes a lot many other protocols. Also, IP is a network clear protocol and provides data ground routing services. IP's main task is to support inter-network addressing and packet routing. It is a connectionless protocol that involves data passes it from the transport layer. The IP protocol addresses the data ground with the source and destination IP addresses. The protocols within the process. The protocols within TCP IP suite together works together to break down the data pass from application layer into pieces that can be moved along the network.

They work with other protocols. They work with other protocols to transmit the data to the destination computer and then reassembles the data back into the form that application layer can understand the process that we saw it in our previous example between Alex and Bob. So there are two main protocols that work in the transport layer that is TCP and UDP. We had spoken about it. TCP is a reliable protocol as it is a connection oriented protocol wherein UDP is a connection less protocol and is not that reliable.

Now talking about the TCP IP model, it is designed by the Department of Defense of United States. It has only four layers. It is the shorter version of OSI model. So the four layers include the network interface, the network layer, transport layer and application layer. So now let's see how this TCP IP and OSI model look like. So the key points, if you can see over here, these four layers are resembles this seven layer. However, two layers, the layer one and layer two are combined in TCP IP model and that forms the network interface layer.

network layer. Network layer of both the models are similar. Transport layer is also remain separate and application layer presentation and session layer are clubbed into the application layer. So the key points that we need to remember are both the models are based on layered architecture. TCP IP and OSI models has four layers. and seven layers respectively. OSI model helps to standardize the network devices and TCP IP establishes connection between heterogeneous systems. TCP IP is more practical oriented model. So these are the key points that we need to remember with TCP IP and OSI.

Let's move on to the final section of this module that is introduction to CIA triad. So CIA stands for confidentiality, integrity and availability. CIA are the three pillars of security that needs to be taken care in order to ensure security of any system. CIA is suitable to all data types that is the data at rest or data in use or data in motion. We need to balance the security controls to be placed for confidentiality, integrity and availability in order to secure the data in such a way that the business objective should not get hampered, is achievable.

And also if we make sure that there is a balanced approach among all the three. So we need to have a balanced approach of this pillar in order to ensure adequate amount of security is provided to a system. So for example, let's say we are more concerned on the availability that in my enterprise most of my employees should access a particular page in a web server. Then the availability is more priority. However, confidentiality and integrity of the data in that web server should be maintained so that none of the breaches could occur.

So let's understand the definitions of confidentiality, integrity and availability. Then we will discuss in deep. Confidentiality. It is the information is not given or disclosed to unauthorized individuals, entities or processes. In this pillar, it is ensured that only authorized people can access the information. Confidentiality. Confidentiality uses methods like cryptography and encryption and there are certain attacks that attacks particularly on the confidentiality of the data. These are password attacks, port scan, dumpsters driving, keylogger, etc. We will understand these attacks more in detail when we will go through the module of understanding hacking.

When we talk about integrity, it is the accuracy and completeness of the data. Integrity ensures that the data in any state is accurate and unaltered from the original source of the information. There are few attacks specifically targeted to the integrity of data. They are salami attack, data diddling, man in the middle, etc. Talking about availability, it is the property of being attainable and of use upon demand by an authorized entity. This pillar ensures that the source information is readily accessible to authorized people only. The attacks that target availability of the data is DOS, that is denial of services, sync flood, electrical power, havoc, etc.

Let's understand confidentiality in detail. So, confidentiality ensures that the necessary level of secrecy is enforced at each junction of the data processing and prevents unauthorized disclosure. This level of secrecy should prevail while data resides on system and devices within the network as it is transmitted and once it reaches their destination. Attackers can thwart confidentiality mechanism by network monitoring, shoulder surfing, stealing password files, breaking encryption schemes, and social engineering. So, how do we ensure confidentiality? Confidentiality can be provided by encrypting data as it is stored and transmitted by enforcing strict access control and data classification.

And by training personnel on the proper data protection procedures. So, talking about integrity, integrity is upheld when the assurance of the accuracy and reliability of information and systems is provided and any unauthorized modification is prevented. Hardware, software, and communication mechanisms must work in concert to maintain... to process data correctly and to move data to intended destinations without unexpected alteration. The system and network should be protected from outside interference and contamination. Environments that enforces and provide this attribute of security ensures that the attackers or mistakes by user do not compromise the integrity of the system or data.

When an attacker inserts a virus or a logic bomb or backdoor into the system, the system's integrity is compromised. This can in turn harm the integrity of the information held on the system by the way of corruption, malicious modification or replacement of data with incorrect data. Strict access control, intrusion detection and hashing can combat these threats. Speaking on availability, protection ensures reliability and timely access to data and resources to unauthorized individuals. Network devices, computers and applications should provide adequate functionality to perform in a predictable manner with an acceptable level of performance.

They should be able to recover from disruptions in a secure and quick fashion so productivity is not negatively affected. Necessary protection mechanism must be in place to protect against inside and outside threats that could affect the availability of the productivity of a business processing component. Like many things in life, ensuring the availability of necessary resources within an organization sounds easier to accomplish than it really is. Networks have many pieces that must stay up and running like routers, switches, DNS servers, DSCP servers, proxies, firewalls and so on.

Software has many components that must be executing in a healthy manner like operating system, applications, anti-malware, software and so forth. And an organization's operations can potentially be negatively affected by environmental aspects such as fire, flood, havoc issues or electrical problems. And an organization must fully understand its operational environment and its availability and weaknesses so that it can protect in place. The proper countermeasures. So let's summarize what we had learned in this module. This week we learned about ISO and OSI reference model, all its layer, its function, how the data flow is, all data encapsulation, through we had talked about the functions and key points to remember.

We understand how data is transmitted in the network. We talked about TCP IP reference model and also we had compared the TCP IP reference model with OSI model. Then we got an insight of confidentiality, integrity and availability which is known as CIA triad. We talked about what all attacks that are concerned to each of the pillars of security. Then we spoke about what are the countermeasures that we need to take care of. So that is how we concluded this module. Thank you so much and have a happy learning ahead.

Thank you so much for spending your time in the history of this module. Thank you.

Want the rest of Enterprise Security?

Get the full course syllabus and fees.

The full course is paid (₹40,000). We'll send the syllabus and call you back within one working day.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Full course · paid

Unlock the full Enterprise Security course

The remaining 28 lessons, mentor-reviewed projects and a certificate come with the paid course (₹40,000). Leave your details: we'll send the syllabus and fees and call you back.

Get the syllabus and fees

A counsellor calls you back within one working day.

By submitting you agree to our Terms and Privacy Policy.

Grow by Skill-Lync · free lesson

Start watching

Free, no payment. Leave your details once and every free lesson on Grow plays straight away. A Skill-Lync counsellor may call you about the full Enterprise Security course.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.