Ensure that the attribute 'shared_credentials' in Defender for IoT is not set to false

HIGH

Description

Using shared authentication credentials expose IoT Hub to device impersonation by malicious actors.

Remediation

In Azure Console -

  1. Go to Azure IoT Hub.
  2. Choose an IoT Hub to edit.
  3. In the Defender for IoT, Choose Settings.
  4. Click on the Recommendation Configuration and choose the Shared Credentials recommendation.
  5. Click Enable.

In Terraform -

  1. In the azurerm_iot_security_solution resource, set recommendations_enabled.shared_credentials to true.

References:
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/iot_security_solution#shared_credentials

Policy Details

Rule Reference ID: AC_AZURE_0101
CSP: Azure
Remediation Available: Yes
Resource Category: Management
Resource Type: IoT Hub

Frameworks