Identity and Access Management
local graph
Chapter 6 — Identity and Access Management
Section titled “Chapter 6 — Identity and Access Management”You have already heard me say a couple of times that identity is now considered the new perimeter of your organization. Because of this, the need for a mature identity and access management program is a necessity. Identity and access management needs a dedicated function within the cybersecurity program because of how important this area has become. Through the ongoing shift to work from anywhere at any time and with data centers continuing to shift to the cloud, users can now access their corporate information from anywhere over the internet. A simple breach of identity will allow an intruder to log in and access information for that compromised user, then laterally move through the network to create a lot more damage. Because of this, we need to revisit the traditional authentication methods and add enhanced protection to our identity and access model.
We will begin the chapter with an overview of identity and access management and many of the components required to build a robust program. Here, we will review Identification, Authentication, Authorization, and Accountability (IAAA). Next, we will review the need to modernize your identity program with the need to shift away from legacy and outdated methods that you may be using today. We will follow with a detailed review of account and access management within the organization, beginning with some basic concepts and then progressing to more advanced concepts.
One of the more important topics in this chapter will be around securing your identities to ensure you minimize the risk of them being compromised.
This will consist of reviewing some of the current technologies to best protect your identities and prevent threat actors from compromising them. We will then move into the last section of the chapter, which will consist of enhanced identity security and some of the more current protection methods that should be used to best protect your identity today. We will also look into the protection of your privileged identities and some best practices to protect them from getting into the wrong hands.
This chapter will include the following topics:
- Identity and access management overview
- Modernizing your identity architecture
- Account and access management
- Securing your identities
- Enhanced identity security
Identity and Access Management Overview
Section titled “Identity and Access Management Overview”First, let’s take a high-level look at all the sub-functions that should be addressed as part of identity and access management. The following image captures much of what the identity and access management function entails.

Figure 6.1: Sub-functions of the identity and access management function
Today, identity can be somewhat considered as the foundation for cybersecurity within your organization. Although there are other methods of compromising data, simply gaining access to a user or administrative account can be destructive. If an intruder compromises an account, they now acquire the same account level of access across all systems and data. All this can take place without anyone being alerted. It is very important that you are rigid with your identity and access policies. The role of least privilegeis a must!
This is a concept where you only receive the required access to data based on your job function. For example, when a user account is set up for someone in HR managing the payroll, they will only receive the access needed to complete the HR payroll responsibilities. They will not need access to other HR roles, such as recruiting or benefits. More importantly, they will not need any access to data in other areas of the business, such as finance. We will cover this in more detail in the Authorization section below and Securing Your Identities later in this chapter.
Essentially, if you don’t need access, you don’t get it. In addition, ensuring that you use separate user accounts from administrative, or privileged accounts, or using capabilities like privileged access and identity management capabilities. There should never be permanent elevated or privileged permissions added to your regular user accounts where general day-to-day tasks are performed. In today’s world, passwords have become obsolete and do not provide the level of security needed anymore. You need to start implementing multi-factor and passwordless capabilities as soon as possible, along with more modern technologies to protect your users and your organization’s data.
Let’s look at the foundation or framework of what comprises a solid identity and access management program. If you have studied for your Certified Information Systems Security Professional (CISSP)certification or some other security-related exam, you will be familiar with IAAA or just Authentication, Authorization, and Accountability (AAA).
Here, we will use IAAA to emphasize identity as the first component of the process because, without an identity, the preceding components cannot exist.

A blue rectangular sign with white text Description automatically generated
Figure 6.2: Sub-functions of the identity and access management function
Next, let’s review each of the components in more detail to better understand the purpose of each. We will begin with the first required component, which is identification.
Identification
Section titled “Identification”The Identification portion of your access relates to something that identifies who you are. Simply put, it is a unique identifier that you enter to let a system know that it is you who is trying to access it. A simple example could be a username, an email address, or an employee ID number. Traditionally, within a Windows environment, you may be familiar with sAMAccountName, which was essentially a username that only worked within your corporate network. Using this outside your corporate network was not possible, as there was no unique identifying factor that accompanied the username on places such as the internet. Today, you will need to adopt the User Principal Name (UPN) method for your identity to best support internet and cloud-based technologies. The UPN appends a domain that you own to the end of your username to provide a unique or immutable identity no matter where you are and how you access it. An example of a UPN identity could be [email protected].
Identities can come in various forms, such as a standard user account, a contractor account, an external account, a bot account, or a service account.
Next, let’s look at authentication to confirm you are the correct person looking to gain access to something.
Authentication
Section titled “Authentication”After you have entered your identity, you will typically be presented with some form of authentication to validate that you are the person who should be gaining access to the system. The most common form of this is entering a password. As part of authentication, there are four different methods to authenticate your identity that are worth mentioning:
- Type 1 is something you know. This is currently the most common and widely adopted method of authentication. Some examples include a password, PIN, or passphrase.
A passphrase is recommended over a password today as it can be created much longer while being a lot easier to remember than a password.
- Type 2 is something you have. This authentication method consists of something you have with you to confirm it is you. Some examples include a hard token, a soft token on your phone, a certificate on your device, or a smart card. The Microsoft and Google Authenticator apps are a good example of this.
- Type 3 is something you are. This authentication method is commonly known as biometrics, or something physical that is used to authenticate you. Some examples of this include your fingerprints, and facial or iris scans. Examples include Windows Hello and Apple’s Face ID and Touch ID.
- Type 4 is location-based. This authentication method can be extremely powerful with the advancement of cloud computing and AI technologies. Authenticating based on location allows you to authenticate users based on a defined geolocation. Think of a company that only conducts business within the United States (US). Why would they expect anyone to access their servers from outside the country? Anyone accessing them from outside the US is expected to be an intruder and should be blocked. In Azure, Conditional Access can provide this level of authentication. This is a very simplified example and threat actors can easily bypass this control by setting up infrastructure in the US. But this same principle applies to only allowing access if you are in an office or on a VPN for added protection.
Ensure you aren’t using legacy authentication such as basic authentication. Make sure you are using modern authentication protocols such as Security Assertion Markup Language (SAML).
In addition to the different methods of authentication, you will want to ensure that risk-based authentication is implemented within your organization. This in some way could be considered Type 5 authentication, although it is being used more as a defensive approach to prevent authorization with any detected anomalies. We will cover this more in the Enhanced Identity Security section further in the chapter. Next, let’s look at authorizing your identity against the system to gain access to data.
Authorization
Section titled “Authorization”Once you have been authenticated into your environment or system, you will need to access data or systems that you have been authorized to access. Authorization is a method in which permissions have been added to your identity to allow access to some information or system. Just because you have been authenticated doesn’t mean that you are authorized to access data or a system. This is where the Principle of Least Privilege (PoLP) comes into play, and as a best practice, there should be no authorization added to a new identity by default. Authorization isn’t an easy task, especially as an organization grows. Ensuring that someone only has access to what they are authorized to do can be a full-time role, especially ensuring that authorization is updated and removed as roles change. To better help with authorization and to define your users’ job functions, a well-defined access control model should be in place to implement Role-Based Access Control (RBAC), using identity management tools and centralized management of users and groups that use a cloud identity store, such as Microsoft Entra ID or a traditional identity store, like on-premises Active Directory (AD).
Now that the identity has been authenticated and authorized to your system, let’s look at what accountability is in terms of actions and data accessed inside an environment.
Accountability
Section titled “Accountability”The last function is known as accountability, also referred to as accounting. This is the function that allows us to ensure that an identity or user is not abusing their rights or the authorization provided. Here, we need to ensure that we track all the activities of our users and ensure auditing is in place to hold anyone accountable for any misuse of their identity and access.
This is also a critical process as part of any investigative and forensic work that is carried out for cybersecurity incidents or compromised accounts. Knowing exactly where an account has been authenticated and what data it has accessed must be captured and audited for historical purposes.
As you can see, the full scope of an identity and access management program takes great effort and time to implement correctly. With the identity of your users being at the forefront and serving as the key to your data and systems, organizations must implement a well-rounded and robust identity and access management program. As we discussed earlier in this book, ensure your policies and standards have leadership support to ensure your program is effective.
Next, we will review account and access management and what is involved in the identity management lifecycle.
Modernizing Your Identity Architecture
Section titled “Modernizing Your Identity Architecture”To take advantage of the latest capabilities and security features for identity management, you are going to need to modernize your identity architecture. This won’t be a simple task but it will be important that you understand the current state of your current identity architecture so you can build a plan to ensure you are allowing for the modernization of your identity architecture. This will allow you to support more modern capabilities being made available by Software-as-a-Service (SaaS) providers and modern applications. In turn, this will allow for the best protection against the continued advancement of threat actors.
Identity and Access Management Statistics
Section titled “Identity and Access Management Statistics”To better understand the current state of identity and access management, let’s first take a look at some statistics that support the need to ensure you are modernizing your identity architecture to best protect your users. The Identity Defined Security Alliance along with Dimensional Research provided the following data from their 2023 Trends in Securing Digital Identities whitepaper of over 500 participants working in organizations with more than 1,000 employees:
- Managing and securing digital identities is the number 1 priority for 17% of businesses and a top 3 priority for 44%.
- In the previous year, identity-related incidents occurred from (all that applied):
- Phishing (62%)
- Brute force attacks (31%)
- Socially engineered passwords (30%)
- Compromised privileged identity (28%)
- Stolen credentials (28%)
- Third-party attacks (27%)
- Insider attacks (22%)
- Man-in-the-middle attacks (18%)
- No incident to report (10%)
- Phishing (62%)
- The following direct impact on business results was reported because of an identity-related incident in the previous year (all that applied):
- Costs to recover from breach (39%)
- Significant distraction form core business (33%)
- Negative impact on reputation (25%)
- Loss of revenue (21%)
- Customer attrition (20%)
- Lawsuit or other legal action (17%)
- No impact (33%)
- Costs to recover from breach (39%)
Source: https://www.idsalliance.org/white-paper/2023-trends-in-securing-digital-identities/
In addition, the 2023 Verizon DBIR report (https://www.verizon.com/business/resources/reports/dbir/) referenced in Chapter 1, Current State, provided some insightful data related to identities:
- Credentials were involved in 49% of breaches.
- The human element is included in 74% of breaches. This is through either human error, privilege misuse, stolen credentials, or social engineering.
- Stolen credentials, phishing, and exploitation of vulnerabilities are the primary entry points for attackers.
As you can see from the statistics referenced above, identity and access management plays a pivotal role in protecting organizations from compromise. More concerning is that the 2023 Trends in Securing Digital Identities whitepaper referenced above found that 90% of its participants suffered an identity-related cybersecurity incident.
Although modernizing your identity architecture is not going to eliminate a cybersecurity event from occurring with your identities, it will allow you to significantly decrease risk and improve your resiliency, as escalation of privileges and abuse of authorization will drastically reduce by taking advantage of more modern and improved capabilities.
Legacy Identity and Access Management
Section titled “Legacy Identity and Access Management”When we think of legacy in terms of identity and access management, this comprises older on-premises directory stores, older protocols, manual processes, and a lack of support for modern capabilities, such as Single Sign-On (SSO), to name a few. Running a legacy identity architecture can become very complex with the need for many different solutions, multiple integrations, and significant infrastructure requirements, such as the need for many on-premises servers, and so on.
To consider a few examples, the following is a list of commonalities when looking at legacy identity and access management architecture:
- Traditional on-premises identity stores such as AD
- On-premises server-based identity management tools
- Legacy protocols such as basic authentication, such as NTLM, LDAP, CHAP, EAP, RADIUS, Kerberos, and so on
- Allowing username and password-only access
- Limited SSO capabilities
- Leveraging old password types of requirements (simple and only eight-character length)
- Complex federation
- The need for dedicated user accounts for external entities
- Limited security features such as lack of user risk or behavioral capabilities
- Antiquated HR systems
- Manually provisioning/deprovisioning to Identity Management (IdM) systems
- The use of service and shared accounts
With a legacy identity and access management architecture in place, you are going to be lacking the capabilities that a modern identity and access management architecture provides to more efficiently protect your identities.
Based on the previous list that touches upon some of those legacy capabilities, the following list provides some of the challenges and lack of capabilities you can expect with a legacy identity and access management architecture:
- Limited integration with your external partners.
- Lack of next-generation protection capabilities such as passwordless.
- Limited identity protection capabilities.
- Decentralized access controls across the enterprise.
- Very complex environment to manage, maintain, operate, and keep current.
- Skill sets will be harder to hire the longer you keep legacy infrastructure.
- Vendors will slowly stop supporting older technologies (end of life).
- Increased costs to maintain legacy infrastructure.
- The need to build custom code to meet business requirements.
- Limited or complex integration with cloud environments.
- Complex business continuity and highly available models.
- Modern apps and SaaS environments may not support legacy identity models.
- Inefficient account life cycle management.
With that, let’s shift our focus over to looking at the need to modernize your identity and access management architecture and what is required to modernize your identities.
The Need to Modernize
Section titled “The Need to Modernize”To allow your business to maintain a competitive advantage and remain current, the need for a modern identity architecture is a necessity. By shifting to a modernized identity and access management model, your organization’s capabilities and user experience will increase significantly. The following capabilities and technologies will allow your organization to transform to the needed identity and access management architecture to meet your business needs and support the ongoing need for your digital transformation journey:
- Supports zero-trust concepts and architecture.
- Modernized cloud-based HR systems.
- Cloud-based identity stores such as Microsoft Entra ID.
- Full integration and automation between HR systems and identity stores.
- Leverages modern authentication to support the latest authentication capabilities, such as the following:
- Multi-Factor Authentication (MFA) including phish-resistant methods
- Passwordless
- Biometrics
- Software (authenticator app) and hardware-based tokens
- Certificates
- FIDO2
- Multi-Factor Authentication (MFA) including phish-resistant methods
- Advanced identity protection capabilities that leverage behavioral capabilities, ML, and AI.
- Modern cloud-based capabilities that support SSO, System for Cross-Domain Identity Management (SCIM), SAML, OpenID Connect, Web Services Federation (WS-Fed), and OAuth.
- Well-defined RBAC is in place and being enforced.
- Advanced federation capabilities with modern B2B and B2C capabilities
- Privilege access and least privilege capabilities using Privilege access and least privilege capabilities using PRivileged Identity Management (PIM), Privileged Access Management (PAM), Just-In-Time(JIT) Access, and Just Enough Access (JEA) are being enforced. are being enforced.
- End-user self-service capabilities.
- Supports conditional access policy capabilities.
As you plan your journey to modernized architecture, you need to remember that this will not happen overnight. It will not even happen within days or weeks. This type of transformation is going to take months to years to transition through. Your legacy identity infrastructures include years and years of compounded systems and capabilities that will be intertwined with endless on-premises infrastructure and applications. Another dependency with moving to a modern identity model is that of legacy applications. There will be old applications that are being used by the business that have been custom-developed to use your legacy infrastructure. Modernizing or re-wiring these applications will not be easy and every one of them will be unique.
Identity and Access Management Modernization Strategy
Section titled “Identity and Access Management Modernization Strategy”To modernize your identity and access management program, you are going to need a strategy behind your modernization along with a roadmap of how you plan to accomplish this journey. Based on what we covered in previous chapters, the Zero Trust Architecture (ZTA) strategy is a perfect place to begin when building your journey to a modern identity architecture.
You don’t want to be onboarding multiple different vendors that will create more complexity. First, you’ll need to build the path needed to get from where you are today to that final modern architecture. To do this, the following is an example that references both the Microsoft and CISA ZTA maturity models that we covered in Chapter 5, Cybersecurity Architecture.

A close-up of a text Description automatically generated
Figure 6.3: Identity and access management ZTA maturity strategy
You will also want to consider your strategy as it relates to your product portfolio for your identity and access management needs. You’ll want to simplify and keep the portfolio to a minimum while focusing on one primary vendor for your core identity needs.
Once you define your strategy, you are going to need to execute against the strategy to ensure you achieve your end goal, which is where your roadmap will come into play.
Identity and Access Management Modernization Roadmap
Section titled “Identity and Access Management Modernization Roadmap”Next, you’ll want to build a more tactical roadmap, as demonstrated in Chapter 5, Cybersecurity Architecture. This roadmap will capture where you are today with the current identity and access management infrastructure and capabilities and where you’d like to be in the future with transformation to a modern architecture. The following is a more detailed example of how your roadmap may look if you use Microsoft Entra ID:

A screenshot of a computer Description automatically generated
Figure 6.4: Identity and access management ZTA tactical maturity roadmap
Obviously, these are higher-level tasks that will each become individual projects to carry out the transformation required to get to the end state. As already stated, these activities will take time and will not come easily. You will need to ensure you have the right resources to support the transition, plan carefully, and execute with precision. Identity-related services can be very impactful on a user’s day-to-day activities so it will be important that the user experience is fully understood, and thorough change management and communication activities are also occurring. The good news is once you make it through the transition, the user experience will significantly transform if executed correctly. Next, let’s take a closer look at account and access management activities.
Account and Access Management
Section titled “Account and Access Management”To ensure success with your account and access management program, it must start with well-defined policies that enforce the correct standards and procedures throughout the life cycle process. Any mismanagement of this process can result in significant damage to your organization due to the critical nature of identity in cybersecurity. Some examples of this include not applying the PoLP to a user account, untimely terminations, or not managing and auditing your privileged accounts. One method to help with any mismanagement or manual errors is implementing automation wherever possible. The more you can automate, the fewer errors will occur. There will always be a need for manual processes, whether it be the initial input of user data, physical validation that the information is correct, or applying an end date to a user, but the more you can reduce these processes, the less error prone they will be.
Every organization is structured differently, but for the most part, you will likely have accounts categorized as Full-Time Employees (FTEs) or associates, contractors, vendors, guests, or service accounts and service principals. For each of these categories, you will need separate policies and procedures for their management. Your FTE accounts may be managed differently from your contractor accounts, as well as your vendor and guest accounts. Ensuring all these accounts are managed correctly will require close collaboration between HR, the cybersecurity team (including the identity management team), and the hiring or reporting managers of these accounts.
Never use shared accounts within your environment. All users who access your environment should have an account assigned that identifies them. Without an assigned identity, individual accountability is difficult. If you do have shared accounts, work to remove them immediately.
Identity Life Cycle Process
Section titled “Identity Life Cycle Process”One of the most important tasks with your identity and access management program is the management and life cycle of accounts and the auditing of the access they have. The whole life cycle process in account and access management may involve multiple teams to make the process efficient and successful. Likely, there’s a chance that multiple systems and tools are involved in life cycle management, including manual human processes that increase vulnerability due to poor housekeeping and being error prone. Account and access management is a complex process and only becomes more challenging through the ongoing expansion of the application portfolio, as well as the shift to the cloud. A typical account and access management program may involve resources from HR, the cybersecurity team (including the identity and access management team), technical operations teams, hiring managers, and potentially others. You must familiarize yourself with your identity life cycle process so you can identify any potential gaps to minimize risk and challenge the need for a modernized identity life cycle process if old legacy methods are in place.
Let’s look at a typical account and access life cycle scenario that starts with HR as the source of authority for identity. Since integration between HR systems and a cloud-based Identity Provider (IdP) is relatively new, there’s a high possibility you are still operating a legacy account life cycle process, which will look somewhat like the following:

A diagram of a system Description automatically generated
Figure 6.5: Identity account life cycle
As noted in the diagram above, the ideal future architecture will be to provision directly into the cloud IdP from the HR system, thus eliminating a lot of complexity.
As HR system integration with the cloud becomes more accessible and adopted, this architecture will significantly simplify. In the meantime, let’s review each of the phases in the identity life cycle process.
HR and Identity Management
Section titled “HR and Identity Management”Your identity management life cycle needs to start somewhere, and that is most likely with your HR department. This is where your employees start their digital journey within your organization. Once an employee has accepted a position, their digital profile will be created. HR software is very specialized and is typically independent of the core IT identity services. Within an HR system, some of the items you can expect to manage are your personal information, time off, payroll, performance, the employees you manage, and employee training. One of the primary challenges with your HR system is efficiently integrating the application into your core identity services.
There are many HR platforms available on the market today. Some examples include SAP SuccessFactors, Workday Human Resource Management, Oracle PeopleSoft, and Microsoft Dynamics 365 Human Resources.
Today, when you look at your core identity service, it’s highly probable that it will consist of an on-premises identity store, such as AD, that’s likely synchronized to a cloud identity store, like Microsoft Entra ID, for example. This is known as a hybrid identity model. One of the challenges with the traditional deployment using a legacy on-premises identity store is the limitations on delivering a robust and modernized identity service beyond basic account management. Having the ability for employees to request contractor accounts, manage their own directory groups, update profile information, use a self-service portal, manage the account life cycle process, and build automation are not native features of legacy directory services. This is where an identity management solution will typically sit between your HR source and on-premises identity store to supply the features needed to provide the additional capabilities.
One solution that has been around for a while is Microsoft Identity Manager (MIM), which is the latest edition of Forefront Identity Manager (FIM). MIM is an extremely powerful management tool and serves as a critical component of the overall identity life cycle.
MIM deployments can be highly complex, depending on the level of customization needed. Some other alternatives to MIM for traditional identity management with an on-premises identity store include solutions from IBM, SailPoint, One Identity, and OKTA.
The HR system will contain both Personally Identifiable Information (PII) and sensitive PII, so you must work closely with the HR team to ensure that data is properly secured and encrypted both in transit and at rest.
As cloud adoption increases, an ideal scenario is to directly integrate your HR system with a cloud IdP, such as Microsoft Entra ID. For example, Workday and SAP SuccessFactors currently support directly provisioning into Microsoft Entra ID. However, you will need to check the prerequisites from your HR system, and you’ll need to be using their latest SaaS offerings to support integration. Unfortunately, this model is still in its infancy and is going to require a major effort to make this transition. There will be many complexities with on-premises dependencies that will include legacy on-premises applications, traditional file shares, legacy authentication, and so on. Although migration is possible and should be part of your current roadmap, the shift isn’t going to happen overnight and will need a lot of preparation with the right resources to support it.
Next, we will review the core identity store used to support your identity life cycle.
Directory Services
Section titled “Directory Services”In the previous section, we reviewed the beginning of the identity life cycle with the HR system as the truth source, which then feeds its data into, or is integrated with, some form of identity management system. This brings us to the next step in the life cycle, which is that of your identity store. Your identity store, or directory service, can be thought of as Microsoft AD. AD is an on-premises hierarchical directory that stores objects, such as user accounts, passwords, user information, computer objects, and security groups. This is where the user objects will be active and enabled for accessing the IT systems within your environment.
Referring back to the overall identity life cycle, once a record has been established in your identity management solution (MIM as an example) based on the HR feed, it will then provision an account in your directory service, or AD, as already referenced for the user being onboarded. The object that has been created in the identity management solution isn’t the account that the user will use but is typically set up as the authoritative source of the AD object. What this means is that if the object within the identity management solution is set to be termed because the HR system sent a term instruction, the AD object will be disabled.
Depending on your configuration, re-enabling the account directly within AD will eventually revert it to a disabled state, since the identity management solution is authoritative. This is extremely powerful and exactly how the process should work by providing HR with the authority to have accounts created for new employees and have them termed as users leave. It also helps to prevent anyone with access to AD from creating and enabling accounts that they shouldn’t. All requests should filter through the identity management solution, for better control and accountability, as it will serve as the centralized place for all identity and access requests.
Protecting your active identities is critical, and your identity store needs to be at the core of this protection. If you use Microsoft AD, the following are best practices for securing AD: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/plan/security-best-practices/best-practices-for-securing-active-directory. We go into more detail on protecting your identities in the Securing Your Identities section later in the chapter.
For on-premises identities to work in a cloud directory, a copy will need to be synchronized to support the identity and authentication requirements of the modern world. To support this, a synchronization tool will be needed between your on-premises directory and the cloud provider. This will enable what’s known as the hybrid identity for your organization.
Hybrid Identities
Section titled “Hybrid Identities”How you implement your hybrid identity strategy will depend on your cloud provider. Regardless of which cloud provider you use, you will want to ensure there is an authoritative source that allows the synchronization of user details, including passwords, so management isn’t required with two separate environments to update account properties. As you work in a hybrid environment, you’ll need to consider that users will need to continue to authenticate against the traditional directory services for applications that are still housed within a traditional on-premises environment and applications that have been modernized and running in the cloud will authenticate using the cloud IdP. The end goal will be to fully move all applications to a cloud-based model where your authentication will all occur from the cloud IdP. This, unfortunately, will not happen overnight and will potentially take many years for organizations to transition.
Depending on your cloud provider, there may be a way to federate authentication back to legacy on-premises applications. This may get complex depending on how old the applications are and which authentication protocols are used.
Referencing back to the Microsoft architecture, this can be accomplished using Microsoft’s Entra Connect, which provides synchronization for all or any selected objects, Organizational Units (OUs), and user attributes from your AD into Azure AD. With Entra Connect, you can provide a single identity for your user to access both on-premises resources as well as cloud-based resources. Entra Connect supports the synchronization of users, user attributes, security groups, and other on-premises objects. Other cloud providers like AWS and GCP provide similar capabilities to connect to each of their respective clouds:
- AWS Directory Service: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/what_is.html
- Google Cloud Directory Sync: https://support.google.com/a/answer/106368?hl=en
It will be critical that security best practices are applied to the hybrid model approach no matter which cloud environment you use hybrid identities with. If you work with multiple cloud providers, your scope for securing your identity will increase significantly along with the complexity of your identity environment.
As briefly mentioned previously, one important decision that will need to be made is around your password management between your on-premises directory services and cloud IdP. For the most part, you can expect two supported models for your hybrid identities: cloud authentication and federated authentication. While there are many considerations when choosing the authentication model, in cloud authentication, the cloud provider will handle the sign-in, whereas, with the federated model, the sign-in is passed back to the on-premises directory services or some form of federation services intermediary. Your choice of which you proceed with will depend on your environment, the cloud provider you are using, and what support capabilities are available. My recommendation would be to leverage the cloud authentication model where you will be able to begin taking advantage of more advanced cloud identity protection capabilities.
With Entra Connect, you are presented with a couple of options when using cloud authentication as the primary method for authentication. The same principles should apply to other cloud providers in which you will need to confirm the options available. The options available with Entra Connect are to use pass-through authentication to on-premises so that users can use the same password both in the cloud and on-premises environment or to synchronization the password hash (known as password hash synchronization) to the cloud IdP. Let’s review the difference between pass-through authentication and password hash synchronization.
With Microsoft’s version of password hash sync, the actual passwords of your user accounts are not synchronized. For optimal security of your user passwords, a hash of the password with a per-user salt is synchronized.
- Pass-through authentication validates passwords between on-premises and the cloud. If you wish to enforce on-premises security and password policies and do not want passwords to be stored within the cloud IdP authentication service, choose pass-through authentication.
- Password hash synchronization synchronizes the stored on-premises password hash to the cloud IdP authentication service. Authentication takes place against the cloud IdP, not against the on-premises directory services. Whenever a password is changed on-premises, the password is synced (in a timely manner) to the cloud IdP. If password writeback is configured, then a user can change the password from the cloud IdP and it syncs back to the on-premises directory service. Some on-premises password policies may still apply to the cloud identity if configured for password hash sync depending on which cloud IdP you integrate with. For example, with Entra Connect, an on-premises password complexity policy will override any policies configured in Microsoft Entra ID. Additionally, any on-premises expiration policy will not affect the cloud identity, as the default configuration is set to never expire. If a user’s password expires on-premises, cloud services will not be interrupted. It will be important you know how the password policies apply within your cloud environments.
Again, if multiple cloud environments are being used within your organization, the hybrid identity model will quickly become complex and challenging to manage efficiently. You will need to ensure you have the right resources in place to architect and engineer the most efficient and secure hybrid model for your users.
Cloud Identities
Section titled “Cloud Identities”Your cloud IdP is essentially the next generation of identity management and security for your users; you can think of it as a modern directory service. The following are the identity management services available from each of the three larger cloud providers:
- Microsoft Entra ID: https://www.microsoft.com/en-us/security/business/identity-access/microsoft-entra-id
- AWS Identity Services: https://aws.amazon.com/identity/
- Google Cloud Identity: https://cloud.google.com/identity?hl=en
For example, if you adopt Microsoft Entra ID, the cloud resources that a user will log into using their cloud identity include Exchange Online, OneDrive for Business, SharePoint Online, Windows (if Entra ID Joined), and so on. The user will not know the difference between the directory services account and the cloud account, which is optimal for the user experience.
Once the identity is synchronized to the cloud, this completes the life cycle of a user’s identity from the system of record. While there may be variances in the products between vendors, the life cycle framework and policy provided can be applied using any identity service or vendor. To recap, the following workflow should be referenced to process your identities:
HR > identity management system > traditional directory service > identity synchronization > modern directory services
It’s also critical to ensure the off-boarding process works correctly throughout this life cycle. If properly configured, when HR initiates a termination, the account should be disabled throughout all directories. Any failures in this process can allow a user to access resources after they have left the organization, which can cause a serious security risk.
Make sure you are fully aware of synchronization times within each of your identity systems. Terminating a user within HR can take time to synchronize downstream through your systems. For immediate action, you may need to manually intervene to ensure identities are correctly disabled in a timely fashion.
The account life cycle can be very complex, and mismanagement of this process can easily create vulnerabilities. Some best practices with this architecture include working closely with your HR team, ensuring all traffic, feeds, and integrations are encrypted, minimizing the number of privileged identities, and enforcing MFA on all accounts. Be sure to enable auditing to hold accountability and add safeguards to ensure the identity management portal is secure and not accessible over the internet if possible.
Group Management and RBAC
Section titled “Group Management and RBAC”In addition to your identity life cycle is your group management strategy. Within a traditional on-premises directory, you will have most likely managed access to the environment and applications using security groups. Although this significantly simplified the access model by eliminating the need to add individual users to every location or application in which access is needed, the concept of group sprawl has occurred over the years where you are most likely dealing with hundreds, if not thousands, of groups within your environment.
Where this becomes challenging is with needed governance, more specifically around auditing and ensuring everyone has access to the correct groups and users don’t have access to locations or applications they shouldn’t. Groups aren’t going to go away any time soon so it’s critical that a well-defined governance model is in place with a policy and process that ensures groups are being managed, reviewed, and audited often for compliance.
Make sure users are removed from groups as they change roles so their accounts aren’t over-provisioned with more permissions than they need to do their jobs. Ideally, having this automated as part of RBAC will significantly help. The reality is you are going to need good processes in place to ensure a thorough audit is complete regularly with user permissions.
A more efficient approach that should be considered if not already being used is that of RBAC. Essentially, RBAC provides the user access based on their role within the organization. Roles are built and provided the access and permissions needed for a user to complete their job responsibilities. This significantly simplifies the model by only needing to apply a role to a user versus needing to apply to different groups. This also simplifies the process when users move into a different role within the organization. Once the updated role is applied to the new user, the old access and permissions will be removed while receiving the newly applied access and permissions. However, you may need to manage cross-function roles as users transition into new roles or are needed to support other areas of the business. Essentially, a user may have multiple roles assigned in certain circumstances. Implementing an RBAC model will not be easy; you will need to work with your HR teams to align roles throughout the organization with the permissions they need to accomplish their job. In a large organization, this will require time and planning. Once in place, your access model will be in a much better place.
RBAC doesn’t just apply to your users based on their role. RBAC is also applied to your privileged users and those who administer your environment. The cloud environment you operate out of will most likely have RBAC roles for all administrative activity. For example, Microsoft has a magnitude of roles across all its cloud services. RBAC roles are available with Exchange Online, Teams, SharePoint, Entra ID, Security and Compliance, and more. It will be critical that you leverage RBAC as part of your cloud management model to simplify the governance of access within the cloud. In addition, these roles should feed into your privileged management model that allows users to request access to these roles as needed, and not permanently. If you aren’t using RBAC for your privileged users, prioritize this today to simplify your privileged access model.
Another access control model is that of Attribute-Based Access Control (ABAC). This model is like RBAC but instead of applying roles, attributes are used to apply the access and permissions needed.
Next, let’s take a look at service accounts to better understand what they are used for and the risk that comes with them.
Service Accounts
Section titled “Service Accounts”Over the years, there has been a need for service accounts to be used to provide access to applications and databases, for automation to be enabled, scripts to be configured, and more. In some situations, there is a possibility that users leveraged their own accounts for such setups. Although there haven’t been many options available for most configurations other than using a service account, especially with traditional on-premises directory services deployment, there is a need to modernize and move away from password-based service accounts. Even more so, there shouldn’t be any user accounts set up as a service account. Another major concern with service accounts over the years is the over-provisioning of access. Providing a service account with more access than needed can be catastrophic when a breach occurs, especially if these accounts have been provided admin-level access. You must ensure service accounts are only provided with the access they need.
Looking to modernize these types of accounts is important as the use of username and password-based accounts is simply not secure anymore. They can easily become compromised with a threat actor being able to access all data that a service account has access to. In many instances, service accounts will have access to a lot more information than needed. Moving beyond password-based service accounts, you need to look at capabilities that allow the use of certificate-based authentication. Another preferred method over a traditional service account would be that of secret keys that are stored centrally and managed in some form of a vault where the secret can be stored and rotated securely. In some of the cloud providers, these may be better known as service principal types of accounts.
One major concern with a password or secret key type of account is the use of it with bad development practices when the password or secret key is viewable in plaintext within the production code. The same applies to Application Programming Interfaces (APIs). This ties back into the DevSecOps process and ensures developers have a security-first mindset.
Another type of account that you may be familiar with is that of a bot account.
Although you may be familiar with the term from social media and fake accounts trying to manipulate others, bot accounts are also used in the enterprise essentially for the same purpose but for legitimate purposes. Think of Robotic Process Automation (RPA) where bot accounts are set up to manipulate and automate user activities. In essence, these are, in some aspect, a service account that has been automated to run a repetitive process. Like service accounts, these accounts will have been provisioned access to data to complete their actions, so a lot of risk comes with managing and protecting these accounts.
External Access
Section titled “External Access”Most, if not all, reading this will have external users accessing your environment. Whether it be a customer, vendor, partner, or any other external entity, there will need to be a model and process in place to provide the needed access to your environment. When looking at a traditional model with an on-premises directory service accessing traditional on-premises applications, providing access to external partners was far from an easy task. For most organizations, setting up an identity within their local directory service was probably standard practice. This meant the need for local accounts to be set up, managed, and governed within your environment, the same as with your employee and contractor accounts. This is far from an ideal model with a lot of risk involved. If your organization was better staffed with the right resources, you may have set up some form of federated application or service to support the ability to allow an external party to use their own identity from the connecting organization. The issue with this is the involvement, complexity, and effort to set up the federation between both parties. The more external vendors you work with, the more integration you will need to set up and systems to manage.
As we continue to shift to modernized cloud models with more adoption of SaaS-based services, new and more efficient ways are needed to provide access to our services along with the governance of these identities. The most current and most efficient capabilities available are Business-to-Business (B2B) identity capabilities. These capabilities are a game-changer within the enterprise identity space. In short, the B2B model is more focused on a vendor or partner type of relationship that may require access to your internal resources or the need to interact and collaborate more efficiently.
There is also the concept of Business-to-Consumer (B2C) identity capabilities, which is intended for consumer type of users for commerce types of interaction that are separate from your organization’s IdP. Typically, this will allow users to leverage their personal email addresses or social media type of accounts as an option to authenticate.
The B2B model greatly simplifies this process by allowing you to invite a guest user into your environment and provide them with access to your applications and services. Once invited into your organization, the guest user then authenticates using their current organization’s work identity to access approved applications hosted in your environment. There is no need to provision new user accounts or identities within your environment with this model. The best part of this process is that the user’s identity is managed and maintained by their hosting organization, which is a significant improvement from an account management perspective. Although housekeeping will be required to clean up stale accounts, once the external user is disabled within their hosting environment, they can no longer access your environment using that identity, which is a major advantage. B2B models will typically support collaboration with organizations through external identity partners, such as Facebook, Google, Microsoft accounts, and other SAML/WS-Fed IdPs. Another benefit of this model is the ability to apply the same access policies as you do internally with the likes of MFA, control policies, life cycle capabilities, and so on.
Privileged Access
Section titled “Privileged Access”Privileged access is any elevated access provided to a standard user account. This can be viewed in two separate risk buckets. The first is that of your technical staff and developers who have elevated access to manage and operate the environment. For example, a domain admin or a SQL admin. The second bucket can be thought of as your users’ elevated access needed to accomplish their responsibilities. An example could be someone in the HR department who has access to all users’ sensitive PII, or a user in the financial department who has access to all account and routing information for the organization. Either way, both pose a significant risk to the organization.
Unfortunately, privilege access continues to be abused in both instances whether a threat actor gains access to a privileged account on the technical team or insider threats where an employee takes advantage of the elevated access they have been provided to complete their responsibilities. There is a lot involved in managing privileged access and gone are the days of over-provisioning and providing more access than needed to users. The same applies to domain admin-level or cloud admin-level access; the accounts with the highest level of privilege need to be managed very carefully with minimum users having access to this privilege.
As part of privileged management within your environment, the following will need to be considered:
- Local administration access with capabilities such as Local Admin Password Solution (LAPS)
- Privileged Access Management (PAM), Privileged Identity Management (PIM), and Just-in-Time (JIT) capabilities
- PoLP and Just-Enough Access (JEA)
- Separation of Duties (SoD)
- Insider threats
We will review each of these in more detail within the Securing Your Identity section.
Governance, Reporting, and Auditing
Section titled “Governance, Reporting, and Auditing”A very important function of your account and access management administration is that of governance, reporting, and auditing. As much as it would be great to have everything automated, the reality is that the human element needs to be involved to oversee the overall process and execute additional due diligence to reduce risk as much as possible. In addition, there will be a need to build, review, publish, and continually update policies and procedures for account and access management. There will also be many different teams involved in the identity life cycle that will require close collaboration to ensure efficiency. You can expect close collaboration with the HR and IT teams at a minimum.
As you can see, there is a lot of complexity involved with account and access management, which only makes operating the identity life cycle more challenging. Ensuring your users’ accounts are working as intended and they have the correct permissions to execute their daily functions requires ongoing support. As users are onboarded and offboarded, roles change, and new applications are onboarded, your identity operations will need to be involved to ensure the identities are being provisioned and de-provisioned correctly, that access is being applied correctly with new roles, and new access is made available as new applications are onboarded. All this operational work requires a team that fully understands the identity requirements and, at the same time, has a security-first mindset with the role they fulfill.
From a governance and risk perspective, you will need to pay close attention to the provisioning process. I recommend you set up some time to review the offboarding process in more detail. This process can quickly become very complex depending on the different scenarios when users are offboarded. The one that comes with a higher risk is that of users who are being terminated on the spot. You will need to ensure you are embedded in the process for these types of terminations so you can ensure that the termination process for these users is efficient. A typical timeline for an account to terminate could be hours or longer in some instances, depending on the timing of systems working through their workflows.
With a termination on the spot, access needs to be terminated immediately to prevent any initial reaction of malicious intent from a disgruntled employee. This process will need special attention to ensure all access is terminated immediately, including the use of their badge to get back into the building.
It is also important to make sure that employees are aware that they should not be allowing anyone into the building who doesn’t have an active badge, otherwise known as tailgating. This will prevent a potential disgruntled employee from gaining access to the building and causing harm. Tailgating should be included in your access management or cybersecurity policy and users should be trained on this.
A more modern approach to governing your identities is that of identity entitlement management. Entitlement management allows for a much more efficient management of your identity life cycle with automation capabilities. As your identity and access management footprint continues to grow, entitlement management provides capabilities that allow you to streamline the management of access to groups and applications for both internal and external users. Automated access can be provided based on specific properties a user may have on their account, and the same applies as those properties change. For example, a user who is part of a specific business unit with a tagged attribute on their account may receive access to specific groups. If the user moves to a different business unit, their account will be updated with a new tagged attribute on their account, which will, in turn, remove access to the old groups and apply any new groups needed. Also, look for capabilities that allow the expiration of access in situations with external users.
Finally, let’s not forget auditing and reporting. You will need to conduct frequent audits within your organization of account and access management. The process of provisioning and de-provisioning users begins with the human element, and there will be mistakes because of this. More specifically, the offboarding process could be missed in certain situations. For example, a user gives their manager notice and departs the organization, but the manager fails to process the termination within the system although HR has already been informed causing the account to remain active once the user has departed the organization (ideally, the account would be terminated as part of HR process but, for this example, let’s assume the process is different and the account deactivation was missed). Ensuring all accounts have been terminated that should have been will require ongoing auditing to reconcile HR data with the identity system data. The same will apply to access to applications and data throughout the organization; there will be a need to execute ongoing audits to confirm access isn’t applied where it shouldn’t be.
There will be many different areas that will need to be reviewed and audited frequently. In addition, if you have any audit requirements, such as SOC1 Type 2, for example, you will need to provide evidence of access management audit and reviews. There will also be an ongoing need for reporting to be provided throughout the organization as communications are needed, user access reviews are needed, reconciliation of user accounts is needed, and so on. For any reporting coming out of your identity systems, make sure they are encrypted and accessed securely only by those who need them.
Securing Your Identities
Section titled “Securing Your Identities”In this section, we will shift our focus toward best practices and recommendations for securing the identities within your environment. As already mentioned, your identities are the new perimeter of your network and the keys to all your data. As leaders, you need to commit the time and resources needed to ensure the identities within your environment are protected as best as possible.
If you do a quick Google search on “password statistics,” you will be provided with an overwhelming amount of data on the challenges we face with protecting our users and their behaviors. Traditional authentication methods, specifically password-only authentication, are irrelevant these days. We have an enormous task ahead of us to continue pushing for the modernization of our authentication and to move away from the dependency on passwords. This effort also includes the awareness needed for our users to prevent them from continuing to use bad habits with their accounts and password usage. Once again, referencing back to the 2023 Verizon DBIR report, some statistics relevant to identity management include:
- 49% of all breaches reported involved the use of credentials.
- The primary method used as an entry point into organizations was through stolen credentials.
- 86% of breaches against basic web applications involved the use of stolen credentials.
As you look to protect your infrastructure from malicious intent, you will want to ensure you are implementing recommended baselines to protect your environment. Your internal infrastructure will be most vulnerable if a threat actor can get access. Once a threat actor gains access to your internal network, the damages can be catastrophic as exploitation of other users can quickly allow for lateral movement throughout the environment. Because of this, ensure you are referencing back to the CIS Controls that will provide the guidance needed to harden your server infrastructure, as well as directory services, for example, any Domain Controllers (DCs) you have in place. As a reminder, you can access the latest CIS benchmarks here: https://www.cisecurity.org/cis-benchmarks/.
The CIS benchmarks will apply to a lot of your identity and access management services so make sure your teams are familiar with the available benchmarks and taking advantage of them. You should at least be striving for CIS Level 1 with anything applicable within your environment.
Let’s move into ways we can best protect the identities within our environment by first looking into directory services protection and best practices.
Directory Services Protection
Section titled “Directory Services Protection”For those of you who still have a traditional directory service infrastructure in an on-premises environment, which I imagine will be most, must have the right protection in place to reduce risk when a threat actor infiltrates your environment. Once a threat actor gains access to your directory services, they essentially have the keys to the kingdom for your traditional on-premises infrastructure, which will also provide a door into your cloud environment as you are most likely synching your directory services to your cloud IdP. Make sure you are following best practices with the directory services solution you have in place, as covered earlier in the Directory Services section.
In addition, CIS has AD-specific controls that can be applied to ensure your directory service is hardened per best practices. We have already covered CIS a couple of times. In addition to CIS, Microsoft also has its own Windows security baselines from the Microsoft Security Compliance Toolkit (SCT), which provides recommended configurations to harden your Windows systems, including a DC. If you aren’t using Microsoft, ensure you follow up with the vendor you are using to review any best practices they have available.
For access controls within a traditional directory services identity store, such as AD, Microsoft has traditionally recommended using a tiered model for privileged access. This model essentially separates your roles into tiers preventing lower-level accounts from being able to access higher-level accounts in the event of a compromise. However, this model has been replaced with the Microsoft enterprise access model, which incorporates the features from the tiered model. The enterprise model essentially covers the entire enterprise going beyond traditional infrastructure into the cloud. You can review more details on the model here: https://learn.microsoft.com/en-us/security/privileged-access-workstations/overview.
If you are an organization that does not use Microsoft technologies, the Microsoft enterprise access model can be applied generically to ensure you are following best practices to protect your identity infrastructure.
This model also emphasizes a focus on the privileged access strategy model, which we will briefly cover next.
Privileged Access Strategy
Section titled “Privileged Access Strategy”The privileged access strategy follows zero-trust principles to provide the best protection for your privileged accounts across all your identity sources throughout your environment. There are four initiatives to follow with the implementation of this strategy, as outlined here:
- End-to-end session security.
- Protect and monitor identity systems.
- Mitigate lateral traversal.
- Rapid threat response.
More information on the privileged access strategy can be found in this article: https://learn.microsoft.com/en-us/security/privileged-access -workstations/privileged-access-strategy.
To help accomplish the privileged access strategy within your environment, Microsoft advises using the Rapid Modernization Plan (RAMP). RAMP is built on a roadmap that provides the steps needed to implement the recommended controls. The first section of the roadmap focuses on separate and managed privileged accounts, and is outlined here:
- Ensure you have emergency access accounts in the event of an emergency.
- Enable and implement privileged management capabilities.
- Identity and audit all privileged accounts and limit who needs privileged accounts.
- Ensure separate accounts for on-premises and cloud; ensure no mailbox on administrator accounts.
- Enable and configure identity protection capabilities.
The second section focuses on how to improve the credential management experience and is outlined here:
- Enable Self-Service Password Reset (SSPR) and enable the combined security information registration experience.
- Require MFA or allow passwordless on all privileged user accounts.
- Block legacy authentication protocols.
- Disable the ability for users to consent to applications.
- Enable identity protection capabilities and ensure notifications are set up to review and clean up alerts.
The last section covers administrator workstations’ deployment and is outlined here:
- Set up dedicated workstations for privileged users to log in and use with their privileged accounts.
You can learn more about RAMP here: https://learn.microsoft.com/en-us/security/privileged-access-workstations/security-rapid-modernization-plan.
Setting up the preceding recommendations requires time and investment to implement correctly.
It is easy to fall back and apply elevated access to standard users and over-permission accounts to meet deadlines and so on. Don’t fall into this trap! Ensure you spend time implementing these recommendations correctly from the ground up and clearly define the account provisioning process.
One consideration is ensuring a clean backup of your identity infrastructure in the event of ransomware. If threat actors compromise your environment and your backups because they aren’t secure, you will have a catastrophe on your hands. Backups will be covered in more detail in Chapter 7, Cybersecurity Operations.
Next, let’s look into password management for your environment.
Password Management
Section titled “Password Management”In today’s world, the use of passwords is becoming obsolete. Due to major breaches and the advancement of technology, it’s not unrealistic to assume passwords associated with our accounts (including old used passwords that can become seeds for different variations) have been leaked and are sitting on the dark web for sale. In addition, bad password management leads to the reuse of passwords on other accounts or with slight variations that are easy to crack. What does this mean? Essentially, someone with your password will be able to easily access all your accounts, especially if no additional security protections are in place. It’s commonplace to see attackers use the same username and passwords within services that haven’t been breached to try and gain access.
This type of attack is known as credential stuffing, and unfortunately, it is working!
The reality is passwords are going to be around for a while. Not ideal, but as security professionals, it is a risk we are going to need to continue to manage. Most importantly, it is a risk we need to continue to share and educate our users on as password hygiene for many needs improving. One of the challenges we face is that the original password recommendations we have all followed for many years are now obsolete, making our passwords more vulnerable because of these practices. Traditionally, password policy recommendations included changing them every 90 days, using 8 characters as a minimum, and ensuring complexity. With new research coming to light, so have new recommendations for password management. This is due to the advancement of cracking tools, password leaks on the dark web, predictable passwords due to frequent changes, and users writing them down due to complexity.
One reference I always like to share is the work by Hive Systems on brute-forcing passwords. The analysis is primarily based on MD5 hashing for their outputs with the hope they start seeing more use of stronger hashing with PBKDF2 and bcrypt, in which their research will shift toward providing outputs on these hashes, which will change the outcome.
The following chart is one of their latest using the same hardware, Graphics Processing Units (GPUs), that is used for ChatGPT to brute-force passwords with MD5 hashes:

A table with numbers and letters Description automatically generated
Figure 6.6: Hive Systems Password Brute Force
source: https://www.hivesystems.com/blog/are-your-passwords-in-the-green-2023
Without going into too much detail on the above chart, it should serve as a guiding principle and educational tool as to how passwords should be created and managed.
Another powerful reference I like to provide awareness with is that of Have I Been Pwned (https://haveibeenpwned.com/) and the fact that over 14 billion accounts as of September 2024 have been identified as compromised from their discovery and research.
The risk we have ahead of us with password management is real. Based on experience, recommendations from others, and seeing frameworks/controls also changing their recommendations, the following should be implemented and recommended for your users:
- Consider using passphrases over passwords.
- Use a minimum of 15 characters (20 or more for privileged accounts).
- Remove the periodic requirements to change passwords and only change them in the event of account compromise.
- Ban common passwords through a centralized banned password list.
- Use a unique password for each account.
- Use a password manager (more in the next section).
- Go passwordless (more in the Enhanced Identity Security section).
An important capability to consider is that of password self-service for your users: the ability to allow your users to reset, change, or update their own passwords. Thus, taking away the capability from the service desk, who are prone to social engineering attacks that have been observed to have been successful with many breaches. If you look to enable these types of capabilities, make sure the correct validations are in place before allowing a password to be reset. Simply asking for some answers to questions is not secure. Additional controls will need to be in place to validate a user before resetting.
If you do require your service desk to reset passwords, make sure you have a well-defined and robust process in place. There must be enhanced validations in place to confirm a user calling in is who they claim to be. At the same time, there should be processes in place when resetting the password on behalf of a user. Spending time on hardening this process will be time well invested.
Password Vaulting
Section titled “Password Vaulting”I purposely added password vaulting right after password management. If we are requiring our users to use longer, more complex passwords, they are going to need a tool to support the capability. Writing down your passwords on a notepad or storing them in Word or Excel is not the answer. There is no way any user can use best practices with their password management without the support of a tool. The tool to support this reequipment is that of a password vault, or password manager as you may be more familiar with. Obviously, there is a lot of controversy over specific types of password vaults, which has caused a lot of hesitancy in using them. More specifically, with cloud-based password vaults, and for good reason. A few of the more notable reasons are your passwords being stored in someone else’s infrastructure in which you are reliant upon their security being strong. Another is the attention we have seen in the past with cloud-based password vaults becoming compromised, and the third is that they are all a common target for threat actors because of the amount of information that can be gained. However, there are alternatives and more secure methods of password vaulting that need to be considered.
I would categorize password vaulting into three different categories:
- Cloud-Based (SaaS): As already mentioned, these are password vaults that are hosted within a vendor’s environment in some form of a SaaS service most likely. This allows easy access from anywhere. Some examples include LastPass, 1Password, and Keeper, but there are many more.
- Self-Hosted: With this model, you will deploy the vaulting infrastructure within your own environment. This allows you to implement your own security controls and significantly reduce the footprint from a public cloud-based (SaaS) model. Examples of vendors with this type of model include BitWarden, Psosno, and Passbolt.
- Offline Password Vault: Here, your password vaults will be fully offline and stored on your local computer or cloud storage such as OneDrive or Box to allow access across multiple devices. Some examples of these vaults include Enpass, KeePass, and KeePassXC.
Of the three options, the offline password vault provides the least risk with a significantly reduced footprint because vaults are distributed to each user and not stored centrally.
Today, MFA should not be an option but a requirement for every account that a user logs in with. According to the Microsoft Digital Defense Report 2023 (https://www.microsoft.com/en-us/security/security-insider/microsoft-digital-defense-report-2023), the risk of compromise can be reduced by 99.2% when using MFA according to a recent study with actual attack data from Microsoft Entra. Although MFA is not 100% resilient and there are ways that it is currently being compromised with SIM swapping type of capabilities, MFA fatigue type of tactics, and social engineering, enabling this capability will significantly reduce the risk of compromise for your users.
Some of the more common methods for MFA include:

A screen shot of a blue and white box Description automatically generated
Figure 6.7.png: MFA recommended methods
Although several are listed as not recommended, if you are not able to implement the recommended options, having something in place is better than having no MFA. Just ensure you have a roadmap to attain the recommended methods.
If you are not requiring MFA for your users today, I would make this one of your top priorities and begin working on it straight away. If it is enabled, review the current requirements, and look for ways to continue to strengthen your MFA requirements as threat actors continue to evolve by compromising MFA. You may have heard the term phishing-resistant MFA. This is a newer concept that aims to prevent the current MFA bypass techniques as referenced above.
By using phishing-resistant MFA, you will be opting for a much more secure method of using MFA. We will cover this in more detail along with passwordless (which should be your ultimate goal) in the Enhanced Identity Security section.
Non-User Accounts
Section titled “Non-User Accounts”As we briefly covered in the Account and Access Management section, there is an ongoing need for non-user types of accounts, such as service accounts, service principal, bot accounts, and so on. The governance of these accounts is no easy task as you need to understand what the accounts have access to, the data type they are accessing, who is managing the accounts, password management, and so on. As the accounts are issued to the business, keeping track of them is very difficult. Even more concerning is that these accounts typically have privileged access within certain systems so if they get into the wrong hands, significant damage can be done. Some best practices to consider with service accounts, bot accounts, and/or service principals include:
- If possible, leverage certificate-based authentication. If not possible, use secret key-based service principals over standard username and password-based service accounts.
- Use one service account, bot account, or service principal for each use case; never reuse accounts or principals for multiple applications, databases, and so on. Do not allow the use of these accounts for anything other than the purpose they were set up for.
- Follow the best practice of least privilege, never apply more permissions than needed, and especially don’t apply any admin-level permissions. Trust me, the request will come through many times.
- If you are using password-based service accounts, ensure long complex passwords are being used and they are being changed on a schedule. If possible, use vaulting capabilities with automation to manage service accounts.
- If using a service principal with secret keys, leverage a vault to manage and auto-rotate your secrets.
- Ensure no one is using a personal or admin account as a service or bot account.
- You will need to keep an active and up-to-date inventory of all service accounts and service principals, including what access they have and their purpose.
- Execute frequent audits on all service accounts and service principals to ensure they are still needed, or the same level of access is needed.
- Audit and monitor all sign-on and access activity for these accounts.
- Remove any service accounts or service principals that are no longer needed.
- Monitor expirations of passwords, secrets, and certificates to ensure no impact on services.
- Ensure SecDevOps best practices are being used by all developers to prevent plaintext passwords or secrets within any code.
Next, we will review SSO and the benefits of adopting SSO throughout your organization.
SSO is a technology that has been around for a while and is something you should already be familiar with. SSO provides the ability for your users to only have to use one identity to log into applications that support SSO with your IdP. Most modern IdPs will support current methods, such as SAML 2.0, to authenticate with applications. As more applications are being onboarded, more specifically, SaaS-based applications, you are going to need to integrate SSO with each of these applications and SaaS vendors.
Having SSO in your environment provides significant improvement from both a security and user experience perspective. Without SSO, users would need to manage usernames and passwords for every unique application they access. As we’ve already discussed, password hygiene is far from optimal. In addition to passwords, there’d be a requirement to have to configure MFA for every application you need users to access. With SSO, users will have only one password and MFA will only need to be configured once with your primary IdP.
From an identity management perspective, the governance around managing tens to hundreds of application user identities would not be realistic and would take an army to efficiently manage and govern. Think of the auditing requirements and the process that would be needed to onboard, offboard, and apply the correct access to all these applications individually within the application. With an SSO solution, those tens to hundreds of applications now become one centralized identity store with consistent configuration and requirements. There will still be a need to potentially manage roles within the application locally, depending on provisioning capabilities and how much can be automated. Every application will be different.
Since we touched upon provisioning, an additional capability that should be considered in addition to your SSO integration is SCIM. This is a standard for provisioning users and groups directly into applications from your IdP, which will allow for centralized management of your user provisioning into the application along with group management. This will also significantly help reduce risk as you can manage both the users and groups centrally more efficiently within your IdP.
SSO also comes with its own risk when using one identity to access many applications. Therefore, it is important to ensure strong access and management policies are in place with your SSO setup and configuration. It will be important that you have firm compliance in place with your SSO configuration, specifically enforcing MFA and even leveraging advanced capabilities that require stronger authentication for certain apps depending on their classification. Make sure you fully understand the capabilities of your IdP when it comes to SSO and the capabilities that can be used to reduce risk as much as possible.
Privileged Accounts
Section titled “Privileged Accounts”As we already discussed in the Account and Access Management section, privileged access is any elevated access needed beyond a basic user account setup and is typically needed to manage the infrastructure or support business applications and services. These accounts are what threat actors look for once they are in your environment. The more access they can gain, the more damage they can do, and the more data they can exfiltrate. For this reason, privileged access must be managed and secured with the strictest controls available. Let’s review ways to help better protect these accounts.
Local Administrative Access
Section titled “Local Administrative Access”Local administrative access can occur in many different places within your environment. The first is that of your end-user devices and users who request local admin access on their local devices. Today, there should be no users with local administrative access on their devices. This creates a significant risk within the environment and there should be processes in place that allow users to complete their responsibilities without the need for local administrative access on their work device. Another is having local administrative access on servers within your environment. Again, this is something that should not be granted to any user and there should be no one using the local admin account to log into any servers.
Ensure you review built-in administrator and/or guest accounts on user devices and servers. It is recommended these are disabled to prevent compromise of these accounts.
The following are some reasons that will help with justification as to why local administrative access should not be allowed on user devices, or at a minimum, not allowing permanent local administrative access:
- The ability for users to install any application increases the risk of malware being installed. The same applies if a malicious actor gets access to the device.
- Inadvertently (social engineering as an example) providing access to an external threat actor who can quickly use the elevated permission to compromise the environment.
- If a malicious link is clicked on or a malicious attachment is opened, there are no protections to prevent installation.
- Allows a malicious attacker to disable endpoint or other security software on a device.
- Many other tasks could benefit a malicious attacker, including modifying registry keys, managing system services, allowing the use of port scanning tools or other tools to exploit the network, uninstalling patches, and so on.
Although a different concept with Linux and that of the root user, the same principles apply by ensuring the privileged accounts are not being misused and following best practices to reduce risk.
There are solutions available to assist with users’ needs with elevated access on their devices as well as the ability to manage local accounts. For example, Microsoft has a capability known as LAPS that allows the management of local administrative accounts on Windows devices, and there are third-party PAM tools, such as Delinea, CyberArk, or BeyondTrust, that provide capabilities to manage local administrative accounts along with user access and permissions more efficiently.
Another important consideration regarding local admin access is its necessity within business applications and any SaaS applications owned by the business. You will find that as the business deploys applications and services, there will be a need for local administrator-level access on these applications or SaaS-provided services. It will be critical that those who manage these environments and have access to these privileged accounts are following best practices and being closely monitored. In addition, frequent auditing must be conducted on these accounts to confirm access is still needed and additional administrator accounts haven’t been provisioned without following the correct process with approvals.
PAM, PIM, and JIT
Section titled “PAM, PIM, and JIT”PAM, PIM, and JIT are a must in today’s environments. As the need to manage multiple on-premises-based roles, cloud admin-level roles, application admin-level roles continues to increase, we need much more efficient methods to protect these roles versus that of the past where permanent privileged permissions were most likely assigned to user accounts.
Today, there shouldn’t be permanent access provided to any elevated roles within your environment. There needs to be an approval workflow process that allows users to request access to perform a specific task as needed. Access should only be applied for the duration needed and auditing of all activity must be captured. Anything less will only increase your risk.
With a PAM solution, think of privileged management primarily for your legacy on-premises infrastructure within a domain environment. Although you can store and manage passwords/secrets within PAM that are used within your cloud, the cloud environment becomes more challenging to manage because of RBAC-based roles versus traditional security groups within an on-premises domain. In essence, a PAM solution is a requirement today to reduce the risk of compromise against your privilege accounts.
Although the terminology for PIM comes primarily from Entra ID, think of PIM as the same as PAM but for your cloud environment. No matter what cloud environment you operate within, you will need some form of privilege management solution to assist with efficiently managing your roles within your cloud environment. As mentioned above with the PAM benefits, the same applies to PIM. A concept used by both PAM and PIM is that of JIT. JIT provides the ability to provide access to an account or assign a role to an identity that allows the needed administrative action to be taken for a specified amount of time. This prevents the need to permanently apply permissions to user accounts or the need to create secondary accounts with elevated permissions permanently assigned.
When looking to implement a privileged management access solution for your environment, the following capabilities should be considered. This isn’t an exhaustive list but includes some of the more important requirements:
- The ability to discover accounts for all systems, devices, and applications. Examples of systems and devices include Windows, Linux, and networking equipment.
- Local and service account management.
- Capable of managing credentials including password rotation.
- The solution can provide workflow approval with auditing capabilities.
- Remote Desktop Protocol (RDP) /Secure Shell (SSH) capabilities to systems and capable of keeping credentials secure by not allowing them to be read or copied.
- Notifications when new accounts are created outside the standard process.
- The ability to monitor and audit all activity with the ability to record remote sessions.
- Security Information and Event Management (SIEM)integration.
- IdP integration to leverage SSO authentication and MFA.
Ensure your PAM solution requires stronger authentication than your standard policy when accessing. If an account gets compromised that has access to the PAM solution, you want to ensure additional verification is taking place before anyone can access it. The recommendation is phish-resistant level authentication, which is covered later in the chapter within the Enhanced Identity Security section.
An important consideration is that of emergency or what you may be more familiar with as break-glass administrative accounts. There could be several scenarios in which these accounts may be needed such as being locked out of your PAM solution, enforcing policies in your cloud that accidentally lock specific elevated accounts from gaining access, or a ransomware event that impacts access to your accounts. Whatever the reason, you’ll need to have break-glass accounts available for certain components and applications within your environment. Storing these within your PAM will not work, so you’ll need a strategy around how you manage, store, and protect these accounts in the event they are ever needed.
Let’s take a look at the PoLP and JEA.
PoLP and JEA
Section titled “PoLP and JEA”One of the core principles of zero trust is that of least privilege access, or you may have seen it referenced as the PoLP. This is a core principle in that you only receive the access needed on your user account to execute the responsibilities for your assigned job role. There should be no additional access or permission added unless you require it for your role. JEA follows the same principle, by only providing the access needed to accomplish something you have been assigned to do.
Over the years, this most likely hasn’t been the case in many organizations. We have all been there; a new project is initiated, and we need to move fast. To get things moving as quickly as possible, infrastructure needs to be deployed, services need to be provisioned, databases need to be set up, and so on. This quickly turns into the need to provide more permissions to users than necessarily needed to prevent delay. Once the project is complete, the clean-up tasks tend to get forgotten, leaving user accounts with permissions that are no longer needed. The same applies within the business as users change roles and move into different departments. The access tends to stay with users as they move around, providing their accounts with way more access to data than needed.
One of the biggest risks is that of your technical support staff; simply providing them the highest level of privileged access to their user account for convenience is extremely risky and should never be done.
It is important that the mindset of least privilege and JEA are being applied at all times. As threat actors continue to compromise organizations, they are looking for those with privileged access. Once they get access to a privileged account, the damage can be destructive if a user account they can compromise has access to the entire environment. You need to ensure the footprint of your user account access is minimized as much as possible. One way to simplify the management of least privilege and JEA is that of RBAC in which users are simply assigned to a role versus applying multiple permissions. This will help keep the access management a lot cleaner. In addition, the importance of governance around your access provisioning is critical. You must track an inventory of all access that has been provided and ensure auditing is being complete. In addition, clean-up should occur frequently if not automated.
SoD holds a critical role and one that may not have been enforced as much as it should have in the past. Within the financial industry, SoD is widely adopted in the corporate world to help prevent fraud, and more importantly, to ensure compliance with the Sarbanes-Oxley Act (SOX). For example, having SoD within the payroll function and ensuring that there is not a single person responsible for issuing, approving, and distributing checks. There should be someone preparing the checks for distribution and someone else signing and approving them for distribution. In cybersecurity, the same concept should be applied, specifically as privileged types of tasks need to be complete within the environment.
As it relates to cybersecurity, the SoD process should prevent any one user from making changes within the environment or accessing data they don’t initially have access to without prior approval. For example, an administrator who needs to make some global changes within the cloud environment shouldn’t be able to make any changes without going through an approval process. This approval process should at a minimum require a second person to review and physically approve the request for the administrator to make the changes. Once approved, the correct permissions should be applied, or the user should be able to check out a secondary account that allows the changes to be complete. In addition, all work being completed should be audited to ensure the correct changes are being applied.
Another method of reducing risk, especially if you can’t deploy technologies to support the SoD process, is to use separate accounts for normal user activity versus privileged activity. A best practice in general is to set up a separate account with privileged access that is used for administrative purposes only, and with enhanced protection. This prevents a threat actor from gaining more access than needed in the event the administrator’s standard user account becomes compromised.
By enforcing SoD within your environment for your technical staff, you will significantly reduce risk by preventing a standard compromised account from gaining access to more data than needed. If the correct processes are in place with the SoD model, a threat actor should be prevented from additional lateral movement within the environment beyond what the compromised user account has access to. To ensure efficiency with the SoD model, technologies such as PAM and PIM will need to be deployed correctly.
Insider Threats
Section titled “Insider Threats”You may be thinking, “Why have insider threats been listed within privileged access?”. In reality, any user who has been provided additional access to their standard user account can be considered a privileged user. Take, for example, the HR team; depending on the role, they will have access to your sensitive PII. As part of their role, there is a high possibility that their standard user account has been provisioned the needed access as part of their day-to-day duties and there will most likely be no SoD type of accounts within the business functions. This leaves users vulnerable to threat actors who will have access to all information that the user has access to if compromised. Even more concerning is the misuse of these privileges by the users themselves, better known as an insider threat.
As already referenced in the 2023 Verizon DBIR report, the human element is included in 74% of breaches. This is through either human error, privilege misuse, stolen credentials, or social engineering. When referencing privilege misuse, most incidents reference internal threat actors as the source. The report notes that financial gain is the primary motivation with personal data being the most common target. A little older than the Verizon report is the 2022 Ponemon Institute Cost of Insider Threats: Global Report (https://www.proofpoint.com/us/resources/threat-reports/cost-of-insider-threats), which identified that 26% (a total of 6,803 incidents were represented) of the incidents reported were caused by malicious insiders and that the average cost of an incident was $648,062.
This is obviously very concerning and certainly opens our eyes to the reality that malicious activity is occurring right in front of us.
The challenge with insider threats is that this type of activity can somewhat fly under the radar as normal day-to-day activity, making it extremely challenging to identify. Some of the ways that you can reduce risk in this area are to ensure the correct access controls are in place with your users such that the least privilege is in place and being enforced, ensure user activity is being monitored, provide awareness around insider threats and encourage any suspicious activity to be reported confidentially, conduct regular audits of user access, look at implementing insider threat security capabilities, and look at technologies like Data Loss Prevention (DLP) and information protection.
Physical Security
Section titled “Physical Security”One important item to consider as part of your identity and access management solution is that of physical access to your offices and data centers. Ensuring that an intruder can’t easily walk onto your site is not only critical to ensure the protection of your data but also the safety of your employees. Nothing is more important than human safety! Within the National Institute of Standards and Technology 2.0 (NIST) Cybersecurity Framework, there is a specific category, subcategory, implementation examples, and informative references to ensure you implement the minimum recommended guidelines for physical security, as shown below. You can review more details on the informative references by navigating the following link: https://www.nist.gov/informative-references and clicking Download (XLSX) within the Directly download all the Informative References for CSF 2.0 section.

Figure 6.8: The NIST 2.0 Cybersecurity Framework Physical Access to Assets Guidelines
The following link gives you access to NIST Special Publication 800-53, referenced in the preceding figure: https://csrc.nist.gov/pubs/sp/800/53/r5/upd1/final.
Don’t forget to integrate the physical access system (badge system) with your HR termination process to ensure badges that have access to facilities and data centers (if access has been granted) are terminated at the same time a user is terminated. If the physical access system is independent, badges may not get terminated promptly, which will allow a disgruntled employee to still have access to your facilities.
Now that we have completed our review of securing your identities, let’s shift over to some of the more enhanced capabilities available to protect your identities.
Enhanced Identity Security
Section titled “Enhanced Identity Security”The last section of this chapter will cover some of the more enhanced capabilities you should be reviewing and deploying to best protect your identities. This includes providing biometric capabilities, moving to both phish-resistant MFA and passwordless, deploying a risk-based type of protection that can leverage AI capabilities, and ensuring your identity-based activity is being sent to your SIEM for 24/7 monitoring and review.
Biometrics
Section titled “Biometrics”If you recall the Authentication section from earlier in the chapter, biometrics was referenced as a Type 3 authentication method to confirm your identity. Type 3 authentication is something that you are. Because of this, biometrics provides a much more secure method to authenticate as your biometrics are unique to you as a person and they can’t easily be replicated, making it very difficult to compromise. In addition, biometrics provides a much-improved user experience as you don’t need to remember anything to authenticate, other than the correct biometric method. Some of the more common methods you’ll be familiar with include:
- Facial recognition
- Fingerprints
- Palm recognition
- Voice recognition
- Iris recognition or retina scan
Biometrics can be used as a second factor for authentication, or it can even be used alone, which falls within the passwordless model of authentication. which we will cover later in the section. Fortunately, biometrics has become widely available and is available with many of the familiar technologies we already use today. With Windows, biometrics can be leveraged using Windows Hello to log into your Windows device.
Options to authenticate include facial recognition, fingerprint, or iris recognition. With mobile devices, Apple provides the capability to authenticate using facial recognition or fingerprint using Face ID or Touch ID. Android has similar capabilities to allow facial recognition or fingerprints to be used. If you are using a Mobile Device Management (MDM) platform within your environment, you will be able to enforce the use of biometrics on your users’ devices.
Like anything, biometrics doesn’t come risk-free, and as biometrics becomes more adopted, the risk will also increase as threat actors continue to look for ways to abuse this data. In 2023, the US Federal Trade Commission (FTC) released a policy statement to provide some protection for consumers on how biometrics data is handled and used: https://www.ftc.gov/news-events/news/press-releases/2023/05/ftc-warns-about-misuses-biometric-information-harm-consumers. You will also need to be aware of whether there are any privacy laws or acts that may impact you and what they mean. For example, the state of Illinois in the US has enacted the Biometric Information Privacy Act (BIPA) to aid in protecting users’ biometric data.
If biometric authentication is an option with any technologies you use, it is highly recommended to enable the capabilities for users to adopt. With increased security and convenience, you’ll be reducing the risk of compromise along with providing your users a much better experience.
Phishing-Resistant MFA
Section titled “Phishing-Resistant MFA”Because MFA continues to be compromised by threat actors, we need to find stronger methods of authentication to better protect us. Phishing-resistant MFA is the next generation of MFA to provide improved protection against MFA being compromised. Referencing CISA, they have a great guide to better understand phishing-resistant MFA and how to implement it. You can access the CISA Implementing Phishing-Resistant MFA guide here: https://www.cisa.gov/sites/default/files/publications/fact-sheet-implementing-phishing-resistant-mfa-508c.pdf.
According to CISA, the following methods have been used by threat actors to compromise MFA:
- Phishing by tricking the customer to enter their login information including the code from their authenticator app.
- Push bombing, or you may be familiar with the term push fatigue, where a threat actor continuously sends the user notification in the hope they will finally click Accept.
- SS7 protocol vulnerabilities that allow threat actors to exploit the communications network to read texts and listen to phone calls to obtain MFA codes.
- SIM swap where a threat actor can transfer a user’s phone number on a SIM card they have access to allowing them to take control of the number.
To combat these threats, CISA recommends using phishing-resistant MFA in the form of:
- Fast IDentity Online (FIDO) /WebAuthn Authentication using tokens or security keys.
- Public Key Infrastructure (PKI) -based MFA using smart cards as an example. This is a popular method used by the US government for their users to authenticate.
The least resistant and easiest method to adopt is that of FIDO/WebAuthn authentication, leveraging widely available security keys and gaining popularity.
If you aren’t familiar, FIDO is an alliance that works toward improving today’s authentication challenges with passwords. They are looking to provide simpler and more secure authentication methods using open standards. You can view additional information about this at https://fidoalliance.org/. FIDO will be covered in more detail in the Passwordless section.
Deploying phishing-resistant MFA won’t be easy and something with which you may not get 100% deployment anytime soon. Those of you who have already deployed MFA will be well aware of the challenges faced by users and the adoption of MFA. Phishing-resistant MFA is going to require additional hardware to support it, which means additional costs, a lot of logistics around the distribution of hardware, and ongoing support and operations. In addition, not all applications will support phishing-resistant MFA. For this reason, it is recommended you focus on high-risk areas with phishing-resistant MFA to begin. This will include those high-risk targets within the organization such as executive leadership and anyone with privileged access. Anyone with the highest level of access such as Global Administrators should have this enabled already.
Passwordless
Section titled “Passwordless”As clearly stated several times, password-only authentication is becoming obsolete and not something we can rely on anymore. Because of this, we need to look at more modern and secure methods that will provide us with a world in which passwords no longer exist. Welcome to a new era of authentication with passwordless. The good news is that passwordless is already available and accessible today. Similar to phishing-resistant MFA, this method isn’t going to happen overnight and the journey to a full passwordless world is far away. The first challenge will be getting users to change their ways of working and adopt passwordless. To make this happen, it will be critical that the passwordless experience is streamlined and easy to adopt and use. The bigger challenge will be getting applications up to date to support passwordless capabilities. With some applications still unable to support MFA, we clearly have a long way to go.
By eliminating the use of passwords, authentication is significantly improved by using something you have, such as a security key or phone, and/or something you are, such as biometrics, as previously discussed. Examples of current passwordless authentication methods include:
- Windows Hello on Windows devices leveraging facial recognition, fingerprint, iris recognition, or even a PIN.
- Microsoft mobile authenticator app that provides a number matching screen; either select the number on the screen or enter the number presented followed by biometric or PIN confirmation.
- Apple and Android devices using facial recognition or fingerprint capabilities.
- Both Apple and Google are adopting the use of passkeys that allow passwordless authentication to websites and applications.
- FIDO 2 security keys with supported IdPs, such as Microsoft Entra ID.
Passkeys are the next generation of authentication that will allow us to eliminate passwords and provide a much simplified and secure user experience when logging into applications or websites. Passkeys essentially allow applications or websites to pass through authentication to a passwordless mechanism, such as biometrics. You can learn more about passkeys here: https://fidoalliance.org/passkeys/.
Ideally, we would like to get all our users leveraging passwordless capabilities as soon as possible. The reality is this isn’t going to happen overnight, but as leaders, we need to keep pushing hard to make this happen as soon as possible. FIDO 2 security keys are the most secure method, but this comes at a cost and with a lot of logistics needed with physical key management and distribution. As stated in the Phishing-Resistant MFA section, you should deploy FIDO 2 biometric keys to your highest-risk users. First and foremost, the most privileged users, such as Global Administrators, then other privileged users throughout your environment, especially those who manage the environment, and then executive leadership, who are most prone to targeted phishing attempts.
Here is an example of a FIDO 2 biometric key that can be utilized by your users if your IdP supports FIDO. This key comes in both USB C and A:

A black device with a round circle Description automatically generated
Figure 6.9: The Yubico USB C FIDO 2 biometric key
source: https://www.yubico.com/product/yubikey-bio-series/yubikey-c-bio/
Although not considered as secure as a security key, the next best passwordless method that you can begin to enable for your users today is through the use of passkeys or an authenticator app that supports passwordless. If you already have an authenticator application deployed, and support is available for passwordless, it simply becomes a configuration change followed by change management and communication for your users. Although your users may not adopt the capability right away, at least you have the capabilities enabled to allow the adoption to occur without the need to deploy and manage physical security keys. An example of this would be using Microsoft Entra ID with the Microsoft Authenticator app. In the following screenshot, you can see that the user is being prompted to enter a number that will have been provided by the app.
An additional optional feature is the ability to provide a location of where the authentication is coming from so you can visually confirm the login attempt is from yourself.

A screenshot of a phone Description automatically generated
Figure 6.10: A passwordless option using Microsoft Authenticator using additional context
Next, we will move into conditional-based policies to better protect your user’s identity.
Conditional-Based Policies
Section titled “Conditional-Based Policies”Conditional-based policies are a very powerful tool to protect your identities and reduce risk with potential account compromise. You’ll need to check with your IdP on conditional-based policies and whether they are available.
To help provide a better understanding of what conditional-based policies are and how they will benefit you, let’s reference Microsoft Entra Conditional Access capabilities. Microsoft Entra Conditional Access is a cloud-based policy tool that enforces compliance conditions for your users. These policies fall in line with ZTA.
Conditional Access policies make decisions based on signals along with enforcing configured policies. Signals include specific conditions such as user and sign-in risk (based on identity-based signals), device platform or type, sign-in location, specific applications, and device-level attributes. Based on these conditions, you can manage access controls by granting or blocking access, or by applying session-based controls such as specifying the sign-in frequency needed for an application. For example, if a user is not on a compliant managed device or they are not accessing from a trusted IP (company office, for example) and they are trying to access their email via a personal device, they can be blocked or you can require a strong form of MFA or passwordless to be satisfied before access is granted, then require them to re-authenticate every hour. This is a simple example, but the possibilities of this scenario are extensive and allow for much greater fine-grained security controls for your user identities. In today’s world, conditional-based policies are a necessity, especially with the transformation to the cloud. If you aren’t adopting conditional-based policies, you need to review and enable them immediately.
Some use cases that can be set up with Conditional Access include:
- Require phishing-resistant MFA for your admins (privileged roles).
- Require mobile devices to be compliant before allowing access to company resources.
- Enforce MFA for all guest users.
- Block all legacy authentication protocols.
- Allow users on trusted company devices to access resources without MFA.
- Block any access outside a specific region – for example, a US-based company can block any connection from outside the country.
- Block applications from being accessed on untrusted devices.
Microsoft Entra Conditional Access is being shared as a reference to provide a better understanding of how conditional access works. Use this information to understand what capabilities your IdP has available. You can learn more on Microsoft Entra Conditional Access here: https://learn.microsoft.com/en-us/entra/identity/conditional-access/overview.
Let’s review another enhanced identity protection capability using risk-based protection.
Risk-Based Protection
Section titled “Risk-Based Protection”Risk-based login, or behavior-type login, is an advanced protection mechanism to help protect your identities based on what is considered normal behavior versus abnormal behavior. These are capabilities that you need to be adopting immediately if not already being adopted. Your IdP determines the capabilities available for you to enable. I’d imagine whichever IdP you are with, there’ll be an upcharge for these types of capabilities. Even with the upcharge, the feature will be well worth the investment.
Again, I’m going to reference the Microsoft capabilities with Microsoft Entra ID Protection as a baseline for what you should be thinking about within your environments. Microsoft Entra ID Protection is an identity-based security tool similar to Conditional Access. The protection works by analyzing signals from user activity to generate both a user risk level and identify any risky sign-ins in real time. A mind-staggering statistic from Microsoft states that they analyze 65 trillion (as of this writing) signals per day. These signals are used to identify the risk of a user and then provide automated remediation based on configuration. Some of the actions that are used to determine risk level and potentially generate an alert include:
- Atypical or impossible travel
- Anonymous IP addresses
- Malware-linked IP addresses
- Identified leaked credentials
- Unfamiliar or new locations
- Suspicious activity-linked IP addresses
- Suspicious inbox forwarding
- Password spray
- Admin confirmed compromise
The user risk detection mechanism determines whether an account has been compromised and is categorized as low, medium, or high. The same categories apply to the sign-in risk but instead, the determination is based on the legitimacy of the authentication request and whether is it from the real owner or not. Based on these determinations, policies can be configured to block access of the user, or you can get more granular by using the risk as a condition within Conditional Access (as discussed previously) to grant access based on additional controls, requiring phishing-resistant MFA as an example.
Again, this is used only as a reference to provide a better understanding of the concepts using Microsoft Entra ID Protection. Use this information to understand what capabilities your IdP has available. You can learn more about Microsoft Entra ID Protection here: https://learn.microsoft.com/en-us/entra/id-protection/overview-identity-protection.
Let’s move on to the final section to briefly discuss SIEM integration and that importance of ensuring the identity-based events are all sent for review.
SIEM Integration
Section titled “SIEM Integration”We will finish the chapter by explaining the importance of ensuring the integration of your identity and access management events are fed into your SIEM or security monitoring platform. We won’t go into detail on SIEM here as it will be covered in more detail in Chapter 7, Cybersecurity Operations.
Obviously, there will be a need to ensure all events are being monitored within the organization. However, ensuring identity-based events are being sent and analyzed correctly is critical. As stated previously, identity is the new perimeter of our organization, and the quicker we can identify suspicious activity of these accounts, the quicker we can action and remediate. The first recommendation is to automate as much as you can based on your conditional-based policies and risk-based protections. At the same time, you need to ensure any actions from your automation are sent to your SIEM solution for review as an investigation and follow-up will be needed.
As an example, let’s take a business user who is working their normal day from the office. Suddenly, your risk-based detection policy identifies a login attempt for this user coming from a different city, in which it would be impossible for the user to log in based on their current location and login time. If set up correctly, your risk-based identity policy should have blocked the new attempt if the signal determined this was a high risk. Once detected, this event should have been instantly sent to the SIEM where an incident would be triggered for the Security Operations Center (SOC) to investigate. This will require reaching out to the user to determine whether the abnormal activity was indeed them. Maybe they remoted in to a different location for the first time to execute some work. If so, the incident can be closed, and the user account can be unblocked so they can continue. If the user has no idea of the attempted login, it will then be determined as malicious. From here, you will need to follow the process to reset the user’s password, scan their device for any malicious activity, and then once it is confirmed that it is clean, re-initiate access for the user.
Beyond this, you will want to ensure additional monitoring of the user account for a specified duration to ensure no more abnormal activity has occurred. In this instance, there is a high possibility the user’s password has been compromised via a possible phishing attempt, the use of a common password, a reused password.
As you can see, the importance of efficient integration into the SIEM will allow for a much quicker response to reduce risk as quickly as possible. The reality is that your users’ identities will get compromised at some point, and no one is immune to threat actors attempting to access our environment. Make sure you are providing as much visibility into your SIEM from your identity and access management activity to ensure quicker response for reduced risk.
Summary
Section titled “Summary”This chapter shows how important the identity and access management function is within the cybersecurity program. Identity and access management is not just simply providing an ID to your user so they can accomplish their responsibilities, although, to them, it may look that easy. Under the covers, there is an extraordinarily large amount of processes and complexity involved. With complexity comes increased risk and the need to ensure you have the correct resources in place, and continuing to simplify and modernize your identity and access management program is critical. Every IdP will have different capabilities so it will be important to work closely with them to ensure they are providing the most advanced identity protection capabilities, as reviewed in this chapter.
As we journeyed through this chapter, we first completed a review of identity access and management and covered IAAA in detail, which provided the foundation for your identity and access management program. Next, we reviewed the reasons and need to modernize your identity architecture along with many statistics to prove the need for moving away from a legacy-based architecture. This was followed by going into detail with account and access management by covering the identity life cycle process, group management and RBAC, service and external accounts, privileged access, and finishing with governance, reporting, and auditing.
In the final couple of sections, we focused on securing your identity. In the first section, Securing Your Identities, we went into detail about protecting directory services, password management and vaulting, MFA, non-user account best practices, SSO, the different privileged account considerations, and physical security. We then moved into the last section, which covered Enhanced Identity Security. This provided a focus on protection using biometrics, phishing-resistant MFA, passwordless, conditional-based policies, and risk-based protection, and finished off with the importance of integrating your identity-based events with a SIEM solution.
In the next chapter, we will be reviewing cybersecurity operations. First, we will look at an overview of cybersecurity operations, including the management of your cybersecurity operations. We will follow this with a review of threat detection and prevention along with a detailed review of the SOC and everything involved with a SOC. Next, we will spend some time reviewing incident response followed by finishing off the chapter with a very important overview of Business Continuity Planning (BCP).