What is Microsoft Defender for Cloud?
Microsoft Defender for Cloud helps you prevent, detect, and respond to threats with increased visibility into and control over the security of your resources. It provides integrated security monitoring and policy management across your subscriptions, helps detect threats that might otherwise go unnoticed, and works with a broad ecosystem of security solutions.
Defender for Cloud uses monitoring components to collect and store data. For in-depth details, see Data collection in Microsoft Defender for Cloud.
How do I get Microsoft Defender for Cloud?
Microsoft Defender for Cloud is enabled with your Azure subscription and accessed from the Azure portal. To access it, sign in to the portal, select Browse, and scroll to Defender for Cloud.
Is there a trial version of Defender for Cloud?
Defender for Cloud is free for the first 30 days. Any usage beyond 30 days is automatically charged as per the pricing scheme. Learn more. Note that malware scanning in Defender for Storage is not included for free in the first 30 day trial and will be charged from the first day.
Which Azure resources are monitored by Microsoft Defender for Cloud?
Microsoft Defender for Cloud monitors the following Azure resources:
- Virtual machines (VMs) (including Cloud Services)
- Virtual Machine Scale Sets
- The many Azure PaaS services listed in the product overview
Defender for Cloud also protects on-premises resources.
How can I see the current security state of my Azure, and on-premises resources?
The Defender for Cloud Overview page shows the overall security posture of your environment broken down by Compute, Networking, Storage & data, and Applications. Each resource type has an indicator showing identified security vulnerabilities. Selecting each tile displays a list of security issues identified by Defender for Cloud, along with an inventory of the resources in your subscription.
What is a security initiative?
A security initiative defines the set of controls (policies) that are recommended for resources within the specified subscription. In Microsoft Defender for Cloud, you assign initiatives for your Azure subscriptions according to your company's security requirements and the type of applications or sensitivity of the data in each subscription.
The security policies enabled in Microsoft Defender for Cloud drive security recommendations and monitoring. Learn more in What are security policies, initiatives, and recommendations?.
Who can modify a security policy?
To modify a security policy, you must be a Security Administrator or an Owner of that subscription.
To learn how to configure a security policy, see Setting security policies in Microsoft Defender for Cloud.
What is a security recommendation?
Microsoft Defender for Cloud analyzes the security state of your Azure, and on-premises resources. When potential security vulnerabilities are identified, recommendations are created. The recommendations guide you through the process of configuring the needed control. Examples are:
- Provisioning of anti-malware to help identify and remove malicious software
- Network security groups and rules to control traffic to virtual machines
- Provisioning of a web application firewall to help defend against attacks targeting your web applications
- Deploying missing system updates
- Addressing OS configurations that don't match the recommended baselines
Only recommendations that are enabled in Security Policies are shown here.
What triggers a security alert?
Microsoft Defender for Cloud automatically collects, analyzes, and fuses log data from your Azure, and on-premises resources, the network, and partner solutions like antimalware and firewalls. When threats are detected, a security alert is created. Examples include detection of:
- Compromised virtual machines communicating with known malicious IP addresses
- Advanced malware detected using Windows error reporting
- Brute force attacks against virtual machines
- Security alerts from integrated partner security solutions such as Anti-Malware or Web Application Firewalls
What's the difference between threats detected and alerted on by Microsoft Security Response Center versus Microsoft Defender for Cloud?
The Microsoft Security Response Center (MSRC) performs select security monitoring of the Azure network and infrastructure and receives threat intelligence and abuse complaints from third parties. When MSRC becomes aware that customer data was accessed by an unlawful or unauthorized party or that the customer's use of Azure doesn't comply with the terms for Acceptable Use, a security incident manager notifies the customer. Notification typically occurs by sending an email to the security contacts specified in Microsoft Defender for Cloud or the Azure subscription owner if a security contact isn't specified.
Defender for Cloud is an Azure service that continuously monitors the customer's Azure, and on-premises environment and applies analytics to automatically detect a wide range of potentially malicious activity. These detections are surfaced as security alerts in the workload protection dashboard.
How can I track who in my organization enabled a Microsoft Defender plan in Defender for Cloud?
Azure Subscriptions might have multiple administrators with permissions to change the pricing settings. To find out which user made a change, use the Azure Activity Log.
If the user's info isn't listed in the Event initiated by column, explore the event's JSON for the relevant details.
What happens when one recommendation is in multiple policy initiatives?
Sometimes, a security recommendation appears in more than one policy initiative. If you have multiple instances of the same recommendation assigned to the same subscription, and you create an exemption for the recommendation, it affects all of the initiatives that you have permission to edit.
If you try to create an exemption for this recommendation, you'll see one of the two following messages:
If you have the necessary permissions to edit both initiatives, you'll see:
This recommendation is included in several policy initiatives: [initiative names separated by comma]. Exemptions will be created on all of them.
If you don't have sufficient permissions on both initiatives, you'll see this message instead:
You have limited permissions to apply the exemption on all the policy initiatives, the exemptions will be created only on the initiatives with sufficient permissions.
We're already using conditional access (CA) policy to enforce MFA. Why do we still get the Defender for Cloud recommendations?
To investigate why the recommendations are still being generated, verify the following configuration options in your MFA CA policy:
- You included the accounts in the Users section of your MFA CA policy (or one of the groups in the Groups section)
- The Azure Management app ID (797f4846-ba00-4fd7-ba43-dac1f8f63013), or all apps, are included in the Apps section of your MFA CA policy
- The Azure Management app ID isn't excluded in the Apps section of your MFA CA policy
- OR condition is used with only MFA, or AND condition is used with MFA
Why does Defender for Cloud show user accounts without permissions on the subscription as "requiring MFA"?
Defender for Cloud's MFA recommendations refers to Azure RBAC roles and the Azure classic subscription administrators role. Verify that none of the accounts have such roles.
We're enforcing MFA with PIM. Why are PIM accounts shown as noncompliant?
Defender for Cloud's MFA recommendations currently doesn't support PIM accounts. You can add these accounts to a CA Policy in the Users/Group section.
Can I exempt or dismiss some of the accounts?
The capability to exempt some accounts that don't use MFA is available on the new recommendations in preview:
- Accounts with owner permissions on Azure resources should be MFA enabled
- Accounts with write permissions on Azure resources should be MFA enabled
- Accounts with read permissions on Azure resources should be MFA enabled
To exempt account(s), follow these steps:
- Select an MFA recommendation associated with an unhealthy account.
- In the Accounts tab, select an account to exempt.
- Select the three dots button, then select Exempt account.
- Select a scope and exemption reason.
If you would like to see which accounts are exempt, navigate to Exempted accounts for each recommendation.
Tip
When you exempt an account, it won't be shown as unhealthy and won't cause a subscription to appear unhealthy.
Are there any limitations to Defender for Cloud's identity and access protections?
There are some limitations to Defender for Cloud's identity and access protections:
- Identity recommendations aren't available for subscriptions with more than 6,000 accounts. In these cases, these types of subscriptions are listed under Not applicable tab.
- Identity recommendations aren't available for Cloud Solution Provider (CSP) partner's admin agents.
- Identity recommendations don't identify accounts that are managed with a privileged identity management (PIM) system. If you're using a PIM tool, you might see inaccurate results in the Manage access and permissions control.
- Identity recommendations don't support Microsoft Entra conditional access policies with included Directory Roles instead of users and groups.
Does workflow automation support any business continuity or disaster recovery (BCDR) scenarios?
When preparing your environment for BCDR scenarios, where the target resource is experiencing an outage or other disaster, it's the organization's responsibility to prevent data loss by establishing backups according to the guidelines from Azure Event Hubs, Log Analytics workspace, and Logic Apps.
For every active automation, we recommend you create an identical (disabled) automation and store it in a different location. When there's an outage, you can enable these backup automations and maintain normal operations.
Learn more about Business continuity and disaster recovery for Azure Logic Apps.
What are the costs involved in exporting data?
There's no cost for enabling a continuous export. Costs might be incurred for ingestion and retention of data in your Log Analytics workspace, depending on your configuration there.
Many alerts are only provided when you enabled Defender plans for your resources. A good way to preview the alerts you get in your exported data is to see the alerts shown in Defender for Cloud's pages in the Azure portal.
Learn more about Log Analytics workspace pricing.
Learn more about Azure Event Hubs pricing.
For general information about Defender for Cloud pricing, see the pricing page.
Does the continuous export include data about the current state of all resources?
No. Continuous export is built for streaming of events:
- Alerts received before you enabled export aren't exported.
- Recommendations are sent whenever a resource's compliance state changes. For example, when a resource turns from healthy to unhealthy. Therefore, as with alerts, recommendations for resources that haven't changed state since you enabled export won't be exported.
- Secure score per security control or subscription is sent when a security control's score changes by 0.01 or more.
- Regulatory compliance status is sent when the status of the resource's compliance changes.
Why are recommendations sent at different intervals?
Different recommendations have different compliance evaluation intervals, which can range from every few minutes to every few days. So, the amount of time that it takes for recommendations to appear in your exports varies.
How can I get an example query for a recommendation?
To get an example query for a recommendation, open the recommendation in Defender for Cloud, select Open query.
Does continuous export support any business continuity or disaster recovery (BCDR) scenarios?
Continuous export can be helpful in to prepare for BCDR scenarios where the target resource is experiencing an outage or other disaster. However, it's the organization's responsibility to prevent data loss by establishing backups according to the guidelines from Azure Event Hubs, Log Analytics workspace, and Logic App.
Learn more in Azure Event Hubs - Geo-disaster recovery.
Can I programmatically update multiple plans on a single subscription simultaneously?
We don't recommend programmatically updating multiple plans on a single subscription simultaneously (via REST API, ARM templates, scripts, etc.). When using the Microsoft.Security/pricings API, or any other programmatic solution, you should insert a delay of 10-15 seconds between each request.