security

How to implement principle of least privilege in Azure AD – TechTarget


Malicious actors target cloud user accounts with the highest levels of access, with admin roles the most prized. To protect against bad actors, IT teams must implement the principle of least privilege, which restricts user accounts to the minimum rights needed to complete their work.

With the principle of least privilege enabled, fewer accounts are available for malicious actors to take advantage of that would wreak havoc across the network. Systems are more secure because the average user account won’t have overly wide permissions.

The principle of least privilege is especially important when it comes to determining how many global administrator accounts a cloud environment needs. Azure Security Cookbook author Steve Miles recommended the least possible — two at an absolute minimum to prevent a single point of failure, he said, with the industry standard being three to five.

In the following excerpt from Chapter 1, Miles explains how to implement the principle of least privilege in Microsoft Azure for administrator accounts. Download a PDF of Chapter 1 to learn more about handling identity and access management tasks in Azure, such as implementing Azure Active Directory (Azure AD) password protection, multifactor authentication, conditional access and more.

Read an interview with Miles, where he discussed Azure network security, including how to use network security groups and Azure Firewall, why to use a hub-and-spoke topology, and some quick and easy ways to secure the network.

Screenshot of Azure Security Cookbook coverClick to learn more about

Azure Security Cookbook.

Implementing Azure AD tenant Identity and Access Management

Account compromise is one of the biggest threat vectors to protect against, and those with privileged access roles will be the focus of attacks. There are often too many users assigned privileged accounts, with more access than is required for a user to carry out their role. There is often insufficient RBAC in place, and the principle of least privilege should be adopted for these privileged administrator roles.

Readers Also Like:  Foundation started by Virginia Tech shooting victim aims to improve ... - WSIU

While we need to limit the number of user accounts that have the Global Administrator role, there should also not be a single point of compromise for the Global Administrator role. Having more than one account with the Global Administrator role is important. It is crucial to have an emergency account in case of a breach or conditional access lockout of a Global Administrator role assigned. Global Administrator role accounts can use a buddy system to monitor each other’s accounts for signs of a breach.

This recipe will teach you to ensure you only have the users assigned with the least privileges required for their role and ensure you have a minimum of two accounts assigned the Global Administrator role.

We will take you through the steps to implement these tasks.

Getting ready

This recipe requires the following:

  • A device with a browser, such as Edge or Chrome, to access the Azure portal: https://portal.azure.com
  • You should sign in with an account that has the Global Administrator role

How to do it…

This recipe consists of the following tasks:

  • Implementing least privileged administrative roles
  • Designating more than one Global Administrator

Task — implementing least privileged administrative roles

Perform the following steps:

  1. From the Azure portal, go to Azure Active Directory | Roles and administrators.
  2. From the All roles section, select the Global administrator role:

    Screenshot of Azure AD Roles and Administrators screen
    Figure 1.8 — Azure AD Roles and Administrators screen

  3. From the Assignments section, identify only the accounts required to have the Global Administrators role; ensure you have at least two or no more than five accounts with the Global Administrator role.

    Select a user for users who no longer require the Global Administrator role and then click Remove assignments from the top toolbar:

    Screenshot of Azure AD Remove assignments screen
    Figure 1.9 — The Remove assignments screen

  4. From Azure Active Directory | Roles and administrators | All roles | Global administrator, we can now see that the user has been removed from the Global Administrator role:

    Screenshot of Azure AD current global admins
    Figure 1.10 — Global Administrator Assignments screen

  5. To reassign least privileged admin users to roles required to complete their tasks, navigate to Azure Active Directory | Users. Select and click the users to assign roles.
  6. From the User blade for the user selected to assign a directory role, go to Assigned roles from the Manage section and click Add assignments:

    Screenshot of Azure AD Assigned roles screen
    Figure 1.11 — The Assigned roles screen

  7. From the Directory roles pop-up screen, locate the directory role you wish to assign from the list of all available roles; select the directory role to assign and click Add:

    Screenshot of Azure AD Directory roles to assign
    Figure 1.12 — The Directory roles assignment screen

  8. Your user will now have the required least privileged admin role assigned and no longer have the highly privileged Global Administrator role:

    Screenshot of Azure AD current user admin assignments
    Figure 1.13 — User administrator | Assignments

With that, you have learned how to use least privileged roles. In the next task, we will designate more than one Global Administrator for the tenancy.

Readers Also Like:  Munich Students Smashed the World Record For EV Distance On a ... - Slashdot

Task — designating more than one Global Administrator

Perform the following steps:

  1. From the Azure portal, go to Azure Active Directory | Roles and administrators | All roles | Global Administrator.
  2. From the Assignments blade, click Add assignments and locate the user(s) to add to the Global Administrators role:

    Screenshot of Azure AD global admin Add assignment screen
    Figure 1.14 — Global administrator — the Add assignments screen

  3. Select the user, and then click Add:

    Screenshot of Azure AD Add global administrator assignments screen
    Figure 1.15 — Global administrator — The Add assignments screen

  4. You will now see that the user(s) have been assigned the Global Administrator role:

    Screenshot of Azure AD global admin assignments
    Figure 1.16 – Global administrator | Assignments

With that, you have created more than one Global Administrator role. This concludes the hands-on tasks for this recipe.

How it works…

In this recipe, we looked at limiting the number of users with the Global Administrator role and ensuring you only had the users assigned with the least required privileges for their role. In our example, we removed the Global Administrator role from a user and reassigned them to the User Administrator role, which was the least privileges required for their tasks.

We then ensured you had a minimum of two accounts assigned the Global Administrator role by adding a user to this role. The Microsoft recommendation is for a minimum of two users and no more than five for this role.

There’s more…

Azure AD user accounts with the highest privileged role of Global Administrator will be the primary goal for compromise by bad actors. This is because this role has access to every administrative setting in your environment’s Azure AD tenancy at the read and modify permission level.

Microsoft recommends that you assign user accounts with less privileged roles. This limits the user’s scope of permissions through RBAC to only be able to do what a user needs to do for their job function.

Readers Also Like:  7 Best Cloud Security Posture Management (CSPM) Software for 2023 - TechRepublic

The following are some of the many roles that can be considered to reduce the use of the Global Administrator role but still have enough access for a user to be able to perform their duties:

  • Application Administrator
  • Authentication Administrator
  • Azure DevOps Administrator
  • Azure Information Protection Administrator
  • Billing Administrator
  • Compliance Administrator
  • Conditional Access Administrator
  • Directory Readers
  • Exchange Administrator
  • SharePoint Administrator
  • Privileged Role Administrator
  • Security Administrator
  • User Administrator



READ SOURCE

This website uses cookies. By continuing to use this site, you accept our use of cookies.