Compliancemanzill.com
CIS Microsoft Azure Foundations Benchmark v1.4.0

CIS Microsoft Azure Foundations Benchmark v1.4.0/Virtual Machines/94 of 115

7.4Ensure that Only Approved Extensions Are Installed

Control family: Virtual Machines

Control description

For added security only install organization-approved extensions on VMs.

How to implement

ResponsibilityCustomerYou configure and operate this in your own cloud accounts.

VM extensions run with full rights inside the VM, so an unapproved one is a way to run anything there. Only extensions on an approved list may be installed, and others are removed.

Before you start

The same on every cloud, before the steps in the tabs.

  • Write the list of approved VM extensions and who may change it.

Evidence

  • The approved extension list

On Azure the tasks remove unapproved extensions from each VM, block others with the built-in Azure Policy, and keep it checked with the CIS standard.

Task 1Remove unapproved extensions

  1. Sign in to the Azure portal at portal.azure.com and open Virtual machines, then a VM.
  2. Select Settings > Extensions + applications.
  3. Compare each extension with the approved list.
  4. Select each unapproved extension and choose Uninstall.
  5. Check it: the VM lists only approved extensions.

Task 2Block new resources that break it with Azure Policy

  1. Open Policy and select Assignments, then Assign Policy.
  2. Set Scope to the management group or subscription.
  3. Next to Policy definition, search Available Definitions for Only approved VM extensions should be installed, select it and select Add.
  4. On the parameters page, set the effect to Deny and list the approved extensions in its parameter.
  5. Select Review + create, then Create.
  6. Check it: creating a test resource that breaks the rule is refused with a policy error.

Task 3Keep it checked with the CIS v1.4.0 standard in Defender for Cloud

  1. Open Microsoft Defender for Cloud > Regulatory compliance and select Manage compliance policies.
  2. Select the subscription, select Security policies, find CIS Microsoft Azure Foundations Benchmark v1.4.0 and toggle its status to On (once per subscription).
  3. Back on Regulatory compliance, open the CIS Microsoft Azure Foundations Benchmark v1.4.0 standard and expand recommendation 7.4.
  4. Open the assessment for Only approved VM extensions should be installed and fix the resources it lists as non-compliant.
  5. Check it: every resource under recommendation 7.4 shows as passing after the next evaluation.

Evidence

  • The extensions of each VM, all on the approved list
  • The policy assignment with the approved list and Deny effect

Console steps as of 5 November 2026. Not every step has been confirmed in a live console yet, and menus and labels can move between releases, so look for the nearest match if one has changed.