# CISSP Domain 5: Identity & Access Management Simplified

An episode of [Prabh Nair](https://invisiblenetwork.ai/podcast/1554859289), 2 Jan 2025, 19 min.

Audio: https://anchor.fm/s/4dbb0ab0/podcast/play/96519754/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2025-0-2%2F392416868-44100-2-bc510933a3c7b.m4a

Unlock the secrets of CISSP Domain 5 in this engaging podcast! We break down Identity and Access Management (IAM) concepts, from access control models like DAC, MAC, and RBAC to advanced authentication techniques like SSO, federated identity, and privilege management. Whether you're prepping for your CISSP exam or enhancing your cybersecurity knowledge, this episode has you covered with real-world examples and actionable insights. Perfect for aspiring CISSPs and cybersecurity professionals #cissp #cisspdomain5

## Transcript

[0:00] Hi team. Welcome to my session on Coffee
[0:02] with Prep and Today podcast. We're going to cover what is
[0:04] important for you to understand from CSSP Domain 5, identity and
[0:09] access management. If you go by the percentage, it
[0:12] is very less. But if you really need to pass
[0:14] this exam, you need to have a very, very good understanding of
[0:17] the domain 5. You can say it is like a base.
[0:20] Now for CSSP. Now when you talking about
[0:24] identity and access management it is start with what is
[0:27] subject, what is object? And let's say example I am a
[0:30] user, I want to access a website.
[0:33] So when I when I request so I am a subject.
[0:37] Website is the object. When I enter my username,
[0:39] password, website, website verifying the username, password
[0:41] from that another server which is called database, then web
[0:44] server become a subject and then it become a database become an
[0:47] object. So, object is always a passive
[0:49] entity, Subject is the active entity.
[0:52] So you should know what is objects, object and access.
[0:54] Then we talk about administration of controls.
[0:58] So we have a different type of administration of access
[1:00] control. We have we implement the
[1:03] control, we monitor the access control, we modify, we test, we
[1:06] terminate as per the business objective.
[1:09] Then we talk about the approaches how you implement the
[1:12] access control. So we have a three type of
[1:14] implementation of access control administration.
[1:16] One is called centralized. Let's say example, you have a
[1:19] office in US and you only have one office, head office in US
[1:24] and from there you manage all the branches or different
[1:26] different countries and all that.
[1:27] So everything access done from there.
[1:28] So that is called centralized administration.
[1:30] The biggest advantage of going for centralizes is very strict
[1:33] controls and easy to manage governance.
[1:37] Second is called as the decentralized.
[1:39] Decentralized administration is you have a local branch offices
[1:42] and you have a local access control there and they manage
[1:44] their functions. That is called decentralized.
[1:46] Hybrid is a combination of both because centralized has A1
[1:49] disadvantage. It is called single point of
[1:51] failure because if head office access control is done,
[1:54] everything is down. In decentralized governance is a
[1:56] issue because each and every branch they will manage their
[1:59] own access. That is why a lot of companies
[2:01] go for hybrid where centralized activities, critical activities,
[2:05] approvals need to know required from head office and whatever
[2:08] the local administrations like SharePoint access given by the
[2:10] local IMT. So you should know this now move
[2:14] ahead, we're going to discuss about identification,
[2:16] authentication, authorization. It is very important for you to
[2:19] know the definitions. So if I say identification is
[2:22] all about assertion of unique identity for a person or system.
[2:26] A starting point for all access control second is called as
[2:30] authentication, verifying the identity of the user and
[2:34] authorization define the specific resource.
[2:36] Understand in this way like when you go to airport you say my
[2:38] name is Prabh and I'm travelling from Delhi to Chandigarh or
[2:42] Sydney to Melbourne. So they will check your name in
[2:44] the list whether your passenger name in the list is there or
[2:47] not. That is called identification.
[2:49] Second is called as authentication.
[2:51] It mean OK I can see your name in the list but do we need to
[2:54] confirm is you know you are the same person who claimed to be.
[2:56] So I will show my Aadhar card, passport, national ID, something
[3:00] is a proof which can prove that I am the same person who claimed
[3:03] to be, that is called authentication.
[3:05] And then they give me a seat #3738 that is called
[3:08] authorization. That's why we say identification
[3:10] provide uniqueness, authentication provide validity
[3:13] of the identity and authorization provide control
[3:16] over the access level. Now we have a different type of
[3:17] identification methods, but make sure whenever you issue the
[3:21] identity, it must be unique, it must be non descriptive, it
[3:23] should not reveal your job descriptions and all that and it
[3:26] should have a secure issuance. Now here the exam point is who
[3:30] issue the ID to the new joining. So it is issued by the hour.
[3:34] One of the also automation of identification of asset we use
[3:37] is RFID. So it is a technology which is
[3:40] automatically identify the asset when when it come under the
[3:43] radar of RFID. But the biggest concern is
[3:45] called as a breach of privacy in CSSP news labels, they introduce
[3:49] a new topic called Git just in time access.
[3:52] It is one of the important foundation of 0 trust
[3:54] architecture and as a security consultant you should know Git.
[3:57] OK, so git is is basically has A2 primary use case and both
[4:02] focus on provisioning access only when needed.
[4:04] So git is identify is a way to reduce some of the insider
[4:07] threats and they can be seen as a way to enforce a principle of
[4:12] lace footage. What is the meaning is suppose I
[4:14] join as a System Administrator. Now I want to perform some
[4:16] activities, some better activities more than system.
[4:19] So they will escalate my privilege for a particular time
[4:21] and after that particular time it will be revert back to my
[4:23] previous state. So instead of creating a new
[4:25] account, instead of creating a new account I will use my old
[4:30] account, they will escalate my privilege of my current account
[4:32] for some time being and once it done it automatically revert
[4:35] back. So by this way we simplify the
[4:37] administrations, we managing the same user and all that.
[4:40] So ultimate goal of JIT is to improve the compliance and
[4:43] simplify the auditing. Then we have a next topic which
[4:47] is called as a different type of authentication.
[4:48] So we have a something you know which is called password or PIN,
[4:51] something you have token or smart card something you are
[4:54] biometric. If we get a question around
[4:57] which one is difficult to implement something you are
[4:59] because getting an acceptance on biometric is always a challenge.
[5:03] But which is one of the weakest is something you know which easy
[5:06] to interpret. That is why single factor is
[5:09] always weaker and multi factor increase the trust level of
[5:13] authenticity. So when you're talking about
[5:15] authentication factor something you have which is called
[5:19] ownership. So we have A2 type of token,
[5:23] soft token, heart token, soft token mean a dedicated software
[5:26] that you have installed on the device with generating a value
[5:29] for you Google Authenticator. And heart token is like a
[5:31] dedicated hardware device like RSA and all that with generating
[5:34] a token for you. So both are prone to human
[5:38] error. Further we have A2 type of
[5:40] application based authentication tokens.
[5:42] So we have a HOTP and TOTP. The best example of TOTP is
[5:46] basically called time based. OK so TATP is a time based which
[5:50] is called time based one time password.
[5:52] And the best use case is Google Authenticator where every 32nd
[5:55] and generate a token. And HOTP is called as a hash Mac
[5:59] based one time password. And the best example is UB key
[6:03] YUBY key. So you insert the UB key and you
[6:05] press, you know the sensor is there which generate a value for
[6:08] you so that you should know. Now another authentication, we
[6:12] have stand startup authentication which is used for
[6:15] the financial transaction when you're doing critical
[6:18] transactions and all that, you should know this startup
[6:20] authentication. And then we have a biometric.
[6:23] So in biometric it is very important for you to know.
[6:26] We have A2 type of errors, type 1 and type 2.
[6:29] The type 1 is called FRR false rejection rate and type 2 is
[6:33] called as a fair false acceptance rate.
[6:35] Now, what is the difference? So when we say type 1 which is
[6:38] called FRR false rejection rate where the authorized user
[6:41] rejected by the machine and type 2 error is false acceptance rate
[6:45] where unauthorized user falsely accepted by the machine.
[6:48] And I will give best example of that.
[6:49] Suppose you, you come, you're going on the way to your office.
[6:52] You reach office, you try to place your fingers on the
[6:55] scanner and machine could not able to recognize even you are
[6:58] an employee of the company and machine could not able to
[6:59] recognize. So this is called FRR false
[7:01] rejection rate. Now someone tried to mimic your
[7:04] voice and try to bypass the gate and all that.
[7:05] So he's not authorized but he use your voice in access.
[7:08] That is called false acceptance rate.
[7:10] Now how to remember is if you want to walk 1km and 2 kilometer
[7:13] which one is far, 2 is far. So type 2 is basically far.
[7:18] Now one thing you need to remember is if you increase the
[7:21] sensitivity of biometric you're increasing FRR.
[7:25] I repeat if you increasing the sensitivity of the sensor, you
[7:28] increasing the FRR. It will take more time to verify
[7:30] everything. It is same like you know when
[7:32] you learn from mistake, you take you think twice before trusting
[7:35] anyone, right? So when you increase the
[7:36] sensitivity of the sensor, there is a increase of FRR and if you
[7:40] decrease sensitivity of the sensor you increasing the FAR.
[7:45] So you have to balance that and the point where they intersect
[7:48] that is the best optimum point called CER crossover error rate.
[7:52] That's how we say the lower, lower the CER, the most accurate
[7:56] is the biometric system. Now biometric is 2.
[7:58] Type 1 is called physiological and one is called behavioral.
[8:02] Physiological is fingerprint, facial image, hand geometry,
[8:05] iris pattern, retina scan and vascular pattern.
[8:08] Retina scan scan the blood vessel, but the most accurate
[8:11] and acceptance is iris pattern. On the other side, behavioral
[8:14] basis, signature dynamics, keystroke dynamics and voice
[8:17] recognition. So that's something you should
[8:20] know. Now coming back, we're going to
[8:22] discuss about SSO single sign on.
[8:26] OK, so next thing is basically we're talking about here is
[8:29] single sign on. Single sign on is very important
[8:32] topic because it just it just like a Gmail, you know, you
[8:36] login once and able to access the drives, files, folders and
[8:40] everything, right? So same like single sign on.
[8:43] The biggest reason of introducing a single sign on is
[8:45] user convenience. Because if you're taking example
[8:48] of traditional access, if you want to access 5 servers, you
[8:51] need to remember the password of five servers, but now
[8:54] authenticate once and access all the resources and that is called
[8:58] single sign on. And one of the solution of
[9:00] single sign on is Kerberos. Always one thing.
[9:02] Kerberos is a implementation of SSO and it has a three
[9:05] functions, authentication, authorization and auditing.
[9:09] Now in Kerberos what happen is we have one concept called as a
[9:12] principal which is a user who requests the ticket.
[9:16] Ticket is just like a passport. OK so you submit all your
[9:19] document to get a passport. So here you get a TGT ticket
[9:22] granting ticket and that's something you get from
[9:23] authentication server. So we have authentication server
[9:26] and TGS server ticket granting server both are the component of
[9:30] KDC key distribution center. So you can say KDC is the first
[9:33] thing key distribution center under which we have
[9:35] authentication server and TGS. Now what you need to know is the
[9:38] process when users connecting authentication server provide
[9:42] the TGT. Based on a TGT you get a session
[9:45] ticket to access a particular file server.
[9:47] So session ticket is just like a visa.
[9:50] Now you need to also understand we have a two major type of
[9:53] attacks in the carbro. So one is called golden ticket
[9:55] and one is called silver ticket. Silver ticket used to capture
[9:59] the NTLM hash of the service account and based on that he can
[10:02] access the particular session. But golden ticket, if attacker
[10:05] obtained, he obtain the hash of the Carbro service account, they
[10:09] can create a ticket at, you know, with the Active Directory
[10:12] and all that. And look, if the TGT is down,
[10:15] KDC down, everything is basically down South.
[10:17] That's something you need to understand.
[10:18] I repeat again, in Golden ticket who attacker basically gain
[10:22] domain administrator access, which can create a golden
[10:25] ticket, which is our ticket granting ticket with the
[10:27] extensive privilege and long validity period.
[10:30] Silver ticket is like forging the existing service ticket and
[10:32] based on that access the particular thing.
[10:34] And this entire attack is called as a Kerber roasting.
[10:37] Kerber roasting and they use a tool called Mimicat.
[10:41] So that's something you should know.
[10:42] Another important thing you need to understand is the federation.
[10:45] So SSO is all about authenticating once within a one
[10:48] domain and access the resource within a one domain.
[10:50] But in the federation we access within a one domain or sorry
[10:53] authenticate with one domain and access the resource of other
[10:56] domain. And the best example of this you
[10:58] can use Gmail to login to booking.com.
[11:01] So Gmail is A1 domain, you are a user belong to Gmail but based
[11:05] on the credential you can able to access the booking.com
[11:08] without creating any new account there.
[11:11] And the one benefit which booking.com get is you don't
[11:14] need to create an account. So there's no accountability of
[11:16] data breach and all that. So in the federation one of the
[11:19] solution we use is SAML. Now one thing you need to
[11:21] remember is in SAML we have a service which exchange the
[11:25] authentication authorization data over the web with the help
[11:27] of HTTP. And what they use is called as a
[11:30] SAML as a assertion. So we have a three component 1
[11:34] is called as a identity provider, one is called service
[11:37] provider and 3rd is called principal.
[11:40] Identity provider is just like you know your Gmail, you
[11:43] authenticate with Gmail, Gmail will provide you assertion and
[11:46] service provider is a booking.com who will consume the
[11:48] assertion and based on that we provide the access.
[11:51] So you should know who will generate the assertion, who will
[11:53] consume the assertion and make sure entire transit the
[11:55] accession must be secure. But this is something we use in
[11:58] enterprise. Now we are talking about the
[12:00] another one which is called as a API based access.
[12:03] So when we have a two different applications peer-to-peer, they
[12:06] want an authorization authentication, we use Oauth or
[12:09] deal with only authorization. OK.
[12:11] And layman example is when you, when you, you know, I don't know
[12:15] whether notice 5-7 years back, you know, we, you know, Twitter
[12:20] will basically grant access to LinkedIn.
[12:22] So whatever you post on Twitter, it ought to get ought to get
[12:25] post on the LinkedIn or whatever you post on LinkedIn, it ought
[12:28] to get post on the Twitter. That's the example of Oauth
[12:30] which is deal with authorization.
[12:32] Then we introduce a open ID. Open ID deal with
[12:34] authentication. It mean I want to login to
[12:36] booking.com but I don't need to create an account.
[12:37] So we'll use a Google credential and with the help of that we can
[12:40] able to open the profile in the booking.com.
[12:45] Then we introduce a Oauth 2.0 which using open ID in the
[12:49] combination of both and do the authentication authorization.
[12:52] So Oauth may use JWT as a format to access a token token but the
[12:56] specification does not mandate OIDC specifically utilize the
[13:00] JWT for its ID token which include claim about
[13:03] authentication even other attributes.
[13:05] So you need to know what kind of a token has been exchanged in
[13:07] Open ID connect which is called as a Oauth 2.0.
[13:10] So Open ID connect is authentication layer using the
[13:13] Oauth 2.0 authorization framework and by this it
[13:17] providing both information. So for example we have a hand
[13:20] user which is a resource owner can print services which is a
[13:24] client access to her protected photos stored on a photo sharing
[13:26] services which is a resource server.
[13:28] So without sharing user and password with the printing
[13:31] services. So instead she authenticate
[13:32] directly with the server trusted by a photo sharing services.
[13:36] We can issue the printing service delegation a specific
[13:39] credential which is called access token and that is called
[13:41] as a assertion. Sorry that is called as a Jason
[13:43] web token JWT. But JWT basically have a three
[13:46] main component you should know first is header which contain
[13:48] the type of token, second is payload contain the claim of
[13:51] Jason object. And 3rd is called as a
[13:53] signature, a string that verify the integrity of payload.
[13:57] Now next is called as IDAS identity as a service which is
[14:00] SAS in nature. OK everything is hosted on the
[14:02] cloud. The biggest reason I'm going for
[14:04] the IDAS is the uniformity and consistency and ease of access.
[14:09] But disadvantage is that if the IDAS is down, everything is down
[14:13] South. You should know that next is
[14:15] important part is called as a access control.
[14:17] So we have a different type of access control.
[14:19] The 1st is called as a DAC and DAC stand for discretionary
[14:22] access control. Our controls are placed on the
[14:25] data by the owner of the data. The one of the primary advantage
[14:28] is that user controls or user has a better visibility and all
[14:31] that. So advantage of DAC is based on
[14:33] a system is it primarily user centric.
[14:35] Second is called as an end deck. End deck is where the
[14:39] administrator control who can access who cannot.
[14:41] It is more centralized in nature.
[14:42] Uniformity is there. Third is called as a RBAC.
[14:45] Now role based access control where the rules based on our
[14:48] rules we give access no as a user I added to a particular
[14:51] backup administrator group. So automatically he will get a
[14:53] backup administrator rule. The biggest reason reason of
[14:56] going for RBAC. Now you need to understand here
[14:58] see if you talk about DAC, individual user need to be added
[15:01] to the individual file. Now just imagine if you have a
[15:04] 10,000 users and 10,000 user has to be added to the 1,000,000
[15:08] files which is a create a concern.
[15:09] So instead of adding each and every 10,000 user, we creating a
[15:13] four groups Delhi group, Bangalore group, Sydney group,
[15:16] Melbourne group and we can have N number of user but by end of
[15:19] the day we are adding to this four groups only.
[15:21] So it's simplify the user access administration.
[15:24] So biggest reason of going for the rule based access control is
[15:27] simplify the user administration and increase the turnover which
[15:31] can be manageable. Now next is called as a rule
[15:33] based access control. in Rule based access control like
[15:36] firewall is the best example. In firewall you create a rule
[15:38] right sources any destination is this source port is any
[15:41] destination port is this if condition match the packet will
[15:45] be dropped. So based on a rule we create.
[15:47] So rule based access control are most commonly form of DAC which
[15:49] can be created by user also administrator.
[15:51] Also next is very very important is Mac mandatory access control.
[15:56] They are the controls which is determined by the owner and
[15:59] system. This system apply control based
[16:01] on a privilege. So here you need to understand.
[16:03] So we use the concept of clearance.
[16:05] So user should have a clearance to access a specific object.
[16:09] So we don't create multiple rules we create three things OK
[16:13] top secret, secret, confidential, senior management,
[16:15] management and professional. So, so we have labeled this data
[16:18] as a top secret. So anyone with the
[16:20] classification of senior management can able to access
[16:22] the data. So we only have a three
[16:23] clearance. So subject assign the clearance
[16:26] level and object assign the sensitivity level.
[16:28] This is the thing you need to remember.
[16:29] So we are using this mandatory access control in a high secure
[16:33] environment in a government institutions and military
[16:37] organizations. So here the controls will be
[16:39] given based on a need to know and access next is called as a
[16:43] ABAC attribute based access control.
[16:45] And the best example you can say as a Netflix, the best example
[16:49] you can take example of Netflix in the Netflix, when you create,
[16:52] when you create first time login, they will ask you about
[16:54] your name, your type, your nature of web series, movie,
[16:57] what you like, Hindi, English, Telugu.
[17:00] And then they create a profile for you.
[17:02] So it doesn't matter you login, I login, they will check the
[17:04] profile profile has a your attributes.
[17:07] So they will evaluate your attribute, which is called user
[17:09] attributes. And then they match with the
[17:10] application engines. So they have a series of web
[17:13] series, movies and all that with the predefined attributes.
[17:16] So they match both attributes understood and based on that
[17:19] they will display the list of movies, web series and that is
[17:22] called as a ABAC attribute based access control.
[17:24] So here we have a four type of attribute subject attribute that
[17:27] describe the user attempt to access like clearance,
[17:30] department, role, job title. Then we have a contextual
[17:33] contextual attribute which is called environmental attribute
[17:36] that deal with time locations. Then third is called as an
[17:39] action attributes that described the actions been attempted which
[17:42] is read, delete, view and approve.
[17:44] And last is called as an object attribute that described the
[17:47] objects been accessed and all that.
[17:50] So if I'm a user, I'm a security guy OK security administrator.
[17:54] So when I'm trying to login they will check my attribute the user
[17:56] belong to security. The context is the late night
[17:59] time is late night location is unknown.
[18:01] So it's OK because security will work 24 into 7 from anywhere.
[18:05] So based on this only we give access.
[18:08] Next important thing when we giving any kind of an access
[18:11] control we follow three-step process.
[18:12] One is called provisioning, second is called review and 3rd
[18:16] is called revocation. So at the stage of provisioning
[18:19] we create a user, we issue the account during a review monitor
[18:22] when X is not required we revoke the access.
[18:25] So by revocation we can able to maintain the access scope
[18:28] creeping. So this is all from my side.
[18:30] Do let me know how do you find this podcast and do share a
[18:33] suggestion in the comment box which help me to improve my
[18:35] podcast better. Thank you so much, good day.
[18:38] Bye.

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.
