# CISSP Domain 4 Part 1 Dont miss

An episode of [Prabh Nair](https://invisiblenetwork.ai/podcast/1554859289), 22 Dec 2024, 14 min.

Audio: https://anchor.fm/s/4dbb0ab0/podcast/play/96150337/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2024-11-22%2F391959510-44100-2-0972806aaef2d.m4a

In this Podcast i have covered high level but important pointer for domain 4 CISSP which can be helpful for your exam Prep #cissp #infosec

## Transcript

[0:00] Hi team, welcome to my session on Coffee with Prabh.
[0:02] And in this podcast we going to cover Domain 4 of CSSP.
[0:06] Thanks for sharing a great response on my domain one to
[0:09] Domain 3 podcast and that motivate me to make the Domain 4
[0:13] podcast also. Now those who are from GRC or
[0:17] they have experience in the data privacy side and all that, one
[0:21] thing you need to understand, domain four and domain 3,
[0:23] literally a nightmare for them. I agree with that.
[0:27] So in domain 4, we talk about communication, network security.
[0:30] Because one thing you need to understand is you need to
[0:34] understand how it think, how things works.
[0:37] If you don't know how things works, it is difficult for you
[0:39] to understand where it works. I will give an example until and
[0:42] as you don't know what is the difference between PAP and CHAP,
[0:44] until and as you don't know how the PAP work, how the CHAP work,
[0:48] you don't know where it works. In which condition I will
[0:50] recommend CHAP. In which condition we will
[0:52] recommend PAP. So domain 4 just memorizing
[0:55] concept will not help you. You really need to understand
[0:58] how things work. So domain four start with OSI
[1:00] model 1st and as OSI you need to understand all the seven layer
[1:04] of OSI. The layer one is physical, then
[1:07] data, then network, transport, session, presentation,
[1:10] application and you really need to understand each and every
[1:13] layer functionality. Let's say example, when I open a
[1:16] browser, I type https://gmail.com.
[1:18] I am actually interacting on application layer.
[1:22] From there the data move to presentation layer.
[1:23] Presentation layer responsible for encoding and compressing
[1:27] data then move to session layer establishing a session.
[1:29] Then transport layer, divide the data into segment.
[1:33] Then the data is for the segment divide into the fragment.
[1:37] And we do create a packets on network layer where we assign
[1:40] the source IP, destination IP. Then data link layer is divided
[1:44] into So 2 subpart 1 is called LLC logical link control and one
[1:48] is called as a logical link control and 2nd is basically
[1:53] called as a this one media access control.
[1:58] And all your band technology works on data link layer.
[2:00] And then from there we move data to the physical layer.
[2:04] So understand in layman term, let's say example, you open some
[2:07] food aggregator app like it can be Zomato or Uber eat and all
[2:10] that. So you are actually interacting
[2:12] on the application layer. Then you see the list of
[2:17] restaurants, that is the presentation layer.
[2:18] You select one restaurant, you set up the session.
[2:22] When you open the restaurant, you can see the list of menus
[2:24] that is a transport layer. Then you add the address which
[2:27] is called network layer. You add the PIN code which is a
[2:30] data link layer. And then we have physical layer.
[2:32] Same thing. Network layer responsible for
[2:34] assigning a source IP, destination IP and data link
[2:37] layer responsible for assigning the source Mac and destination
[2:39] Mac address. Now Ipsec works on network
[2:43] layer, SSLTLS works from presentation to transport layer
[2:48] and major band technologies works on the data link layer.
[2:52] So you should know each and every layer in detail.
[2:54] Then we talk about the topology. So we have a start topology,
[2:57] tree topology, ring topology. The most secure one is mash
[3:01] topology. So you should know that.
[3:02] Now when it comes to the physical layer, we have a three
[3:05] type of media, twisted pair, fiber optic and Co excel.
[3:08] The best cable for sending a sensitive data is fiber optic
[3:12] cable because it has a less attonation on data link layer we
[3:16] creating a collision domain. So to divide the collision
[3:20] domain, we create a broadcast domain.
[3:22] Network layer has A2 type of protocol IP and IPX.
[3:26] Major routing done on the network layer and it is
[3:29] responsible assigning a source IP, destination IP and we have
[3:32] A2 type of IP, IP version 4, IP version six.
[3:34] You also need to understand there is a routing protocol of
[3:37] BGP. BGP is a backbone of the
[3:39] Internet. Then we are talking about
[3:41] network classes. It's starting from Class A to
[3:43] class East. Class A start from 1:00 to 1:26,
[3:46] Class B is 128 to 191, Class C is 192 to 223, Class D is 224 to
[3:53] 239 and class E is 240-2240 to 255.
[3:57] From the first octet we identify the IP.
[3:58] Class IP is divided in two-part public IP, private IP.
[4:03] Then we talk about 2-3 type of networks Internet which is
[4:07] simply you browse any sites on the Internet then intranet by
[4:10] the LAN you connect with your branch office and when the
[4:13] suppliers using a VPN to connect with your location that is
[4:16] called extranet. Transport layer is very
[4:18] important. Two protocols are there on
[4:20] transport layer TCP and UDP protocol.
[4:22] Which one is faster TCP sorry UDP.
[4:25] Which one is slower is TCP? Which one is more reliable TCP?
[4:29] Which one is less reliable UDP. So when you open first time
[4:32] youtube.com you are establishing connection on TCP but when you
[4:36] start playing a videos it is happening on UDP.
[4:39] Now one thing also need to remember is whatever the
[4:41] protocol you use on the application layer it need to
[4:43] communicate through a particular port number because protocol is
[4:47] called as a set of rule like I am speaking English so English
[4:49] is a protocol by which you can understand.
[4:52] So every protocol has a number. So here in the transport layer
[4:55] we categorize all the ports protocols into three category
[4:59] well known port, registered ports and dynamic ports.
[5:02] Well known port ranges 0 to 2:50.
[5:05] Registered is 1024249151 and dynamic port is 49152 to 65535.
[5:14] Then we have a session layer. Session layer responsible for
[5:16] establishing a session. Any question talking about which
[5:20] layer responsible for creating, maintaining and tearing down the
[5:23] session is session layer. Which layer responsible for
[5:26] encrypting data, encoding data, compressing data?
[5:29] That is called presentation layer and the data which is
[5:32] interact on the user is called as a application layer.
[5:34] Along with that OSI we also have a TCP IP model.
[5:37] In TCP IP model we have a four layers application, transport,
[5:41] Internet and network access. Application is a combination of
[5:44] OSI application presentation session transport of OSI is also
[5:49] called transport. Here network of the OSI here is
[5:51] called Internet layer and data link and physical is called as a
[5:54] network access layer. So you should know this now once
[5:57] we are done with the OSI, we move to the next part called
[5:59] network zones. So what happened?
[6:01] Traditionally all systems part of the one zone whether it's a
[6:04] public facing server like DNS, web server or database or e-mail
[6:09] server. So if I consider database or
[6:13] database server or e-mail server for MEAN, sensitivity is a
[6:16] priority. And if I consider web server or
[6:19] file server or web server or DNS server, criticality is my
[6:22] priority. If I configure everything with
[6:24] the one network and we have one firewall then it is a problem
[6:29] because what happen is all the traffic going through the one
[6:32] firewall and then from there it go to the internal network.
[6:35] Understand in this way like in India we have a two layer of
[6:37] security checks. One when you go to airport 1 is
[6:41] the check checking your board boarding pass Oregon tickets and
[6:43] 2nd is after collecting a boarding pass checking your
[6:46] detailed security checks. But here we only have one
[6:48] firewall. If I consider the the server
[6:52] which is like a my database or AD will put more restrictions on
[7:00] the firewall. On the other side, if I keep
[7:05] think about web servers and all that, it will impact the
[7:07] functionality. If I think from a web server
[7:09] point of view, if I reduce the rules, then attacker is easy for
[7:13] him to bypass. So that is why in the
[7:15] organization we create the concept of DMZ demilitarized
[7:18] zones. So now what happened?
[7:20] We have one firewall for the external facing side, all the
[7:23] traffic coming on that firewall. Then it comes to DMZ.
[7:27] Whatever the public hosting server we have, we can keep it
[7:30] in the DMZ like web server or DNS server.
[7:33] And then after that we can have another firewall which has a
[7:35] more security configuration and then we can keep the Internet.
[7:39] So public facing server, we keep it in the DMZ.
[7:41] And ultimate goal of DMZ is to protect the external traffic to
[7:46] the internal. We also have a different type of
[7:50] converge protocols. Fcoe is you need to remember
[7:55] MPLS is very important. So whenever we're talking about
[7:59] label based forwarding, so the answer is MPLS.
[8:03] We also have a wipe protocol. In wipe we have a three
[8:05] protocols you need to know one is called H .323 SIP or RTP.
[8:10] SIP you should set up the session RTP which is called as
[8:13] a. This called secure real time
[8:16] transfer protocol used to carry the data on the SIP.
[8:20] It is very important you have to segregate the wipe traffic from
[8:23] the other IT traffic. Then we talk about Bluetooth.
[8:27] We have a three type of attacks in the Bluetooth which is called
[8:30] blue snarfing, blue bugging and blue jacking.
[8:33] And then we talk about the wireless.
[8:35] So we have a four type of wireless security standards. 1
[8:38] is called as the WEP. The key size is 64 bit, 40 bit
[8:41] is the key, 24 bit is IV. There is a dedicated coffee shot
[8:44] I have for that. Please check that.
[8:47] Use the algorithm which is called RC 4.
[8:48] The concern is after 5000 packets there is a possibility
[8:52] of IV has a repetition. Then we introduce WPA.
[8:55] In that we introduce an advanced security feature called TK IP
[8:59] Temporal Key Integrity Protocol. It's still using RC4 algorithm
[9:03] to encrypt the data. Then we introduce WPA2 in which
[9:07] we use AES and use the CCMP to enhance the data security
[9:11] protection. Then we WPA3 which is 192 bits
[9:15] and they introduce a new algorithm which is called PSI
[9:18] simultaneous authentication of equal.
[9:20] So if you get a question which is more secure, WPA 3 is
[9:23] definitely more secure. Then we talk about 802.1 X EAP.
[9:29] So when you having a multi customers and multiple access
[9:31] points, so I want to streamline them with the centralized
[9:34] authentication server. So now we have a multiple
[9:37] customers connecting to multiple access points.
[9:39] So access point itself will not do any authentication.
[9:41] Access point pass the information to RADIUS, RADIUS
[9:44] will pass the information to Active Directory or Certificate
[9:50] Authority server. So today now you have seen the
[9:52] in the hotel we use the concept of captive portal.
[9:55] What is that? You connect with the Wi-Fi
[9:57] without any password and then it redirect you to some kind of a
[10:00] login page where you enter the user and password.
[10:03] But you cannot see the same in your house, right?
[10:05] Everyone comes, you share the same password.
[10:07] So this is how they use with the help of 802.1 X which is used
[10:11] for the wired and wireless authentication.
[10:14] Then we have our next part which talk about type of certificates.
[10:18] We have a client certificate which client provide to server
[10:20] to prove him I am your trusted client.
[10:22] Then we have a server certificate which server provide
[10:24] to the client that I am your server trust me.
[10:27] And we also have a S MIME. S MIME is a solution which is
[10:31] used to protect the e-mail security.
[10:32] See what happen is when you send any e-mail when you attach any
[10:37] data in the e-mail so it will be convert into MIME extension.
[10:40] MIME extension so any e-mail client can able to read the
[10:44] document. So 10 years back when you
[10:46] receive any attachment you have to 1st download the attachment
[10:49] and then you have to browse. But today you can directly open
[10:52] the attachment in the e-mail itself because of the MIME
[10:54] support. But MIME send the data in the
[10:57] plain text and that is the reason we introduce the concept
[11:00] of South MIME Secure Multipurpose Internet Mail
[11:02] extension which has a two major feature.
[11:05] One is called as a signed message and one is called as a
[11:07] envelope message. Sign message provide the
[11:09] integrity, sender authentication and non reputation.
[11:13] On the other side envelope message provide the integrity,
[11:15] sender authentication and confidentiality and they achieve
[11:18] with the help of RSA and AES. Next we talk about securing
[11:22] network component. Here we talk about NAC network
[11:24] access control. It is a solution which is used
[11:26] to differentiate between the authorized and unauthorized
[11:29] connection. Understand in this way when we
[11:31] having a hybrid workforce or people carrying the device, when
[11:35] the device trying to connect to the network, the solution is
[11:38] there which is called as a NAC and one of the example a
[11:40] solution is Microsoft NPS Network Protection system.
[11:44] So what the solution does is solution basically inspect the
[11:46] configuration of the system and check against a known
[11:50] configuration baseline. Actually they check the help
[11:53] profile whether the system has adequate baseline or not.
[11:55] If it match they connect to the internal network otherwise it
[11:58] can be moved to the restricted network.
[12:00] It is seem like you know when the company has announced you to
[12:03] resume work from office, they have hired the security guard to
[12:06] check on the day one hope you carry your vaccination
[12:09] certificate. So based on a vaccination
[12:11] certificate they allow you to work on this particular office
[12:13] or you can move to some other zones.
[12:15] So NAC does the same thing. It differentiate between the the
[12:18] device which has inappropriate updated health profile or not.
[12:21] And ultimately by this we're trying to reduce the zero day
[12:24] attacks. Next important part we got talk
[12:27] about the firewall. It's very important for you to
[12:28] know that four type of firewall. The 1st is called as a packet
[12:31] generation firewall. Very simple firewall which
[12:33] inspects source IP, destination IP, source port, destination
[12:35] port, but it's a stateless. Then we have a second generation
[12:38] firewall which is called as application circuit level proxy.
[12:42] Now context you need to understand is which will take
[12:45] more time. Application level proxy take
[12:47] time because it inspect the data and then it pass the
[12:49] information. And if you get a question around
[12:52] which is a most detail inspection so it is done by the
[12:56] application level proxy, which one is faster circuit level
[12:59] proxy? Circuit level proxy works on the
[13:01] session layer where the application level proxy works on
[13:04] the layer 7. Then we have a third generation
[13:07] firewall which is called as a stateful firewall which maintain
[13:10] the information about state, source and destination.
[13:13] And manually we don't need to create a rule for both side and
[13:16] it works on the layer 4. But today we use the next
[13:19] generation firewall which work from layer 3 to layer 7.
[13:22] So whenever we configure firewall on the Internet side,
[13:25] we always configure basic firewall.
[13:26] So static packet filtering firewall is a best answer.
[13:29] Moving ahead, we also talk about the endpoint security.
[13:32] We have a Nat also. Ultimate goal of Nat is to hide
[13:35] your internal network from external.
[13:37] So we have a three type of Nat static Nat, dynamic Nat and PAT.
[13:41] Static is 1 to one, dynamic is 1 to many, many to many and PAT is
[13:45] basically one to many. Ultimate goal of Nat is to hide
[13:49] your internal network from external.
[13:51] So this is the first part. Do let me know shall I make a
[13:54] second part of the domain 4? Thank you so much.

Shows are listed from Apple Podcasts' charts and directory, and Podcast Index where it is used. Every show and episode belongs to its publisher and plays from the publisher's own feed; this site hosts none of them.
