Amazon IoT Device Defender is a fully managed service for auditing and monitoring devices connected to Amazon IoT. It assesses the cloud configuration of your IoT device fleet, provides ongoing monitoring of device activities via rule-based and ML-based Detect capabilities, triggers an alarm when an audit violation or behavior anomaly is identified, and enables you to address issues quickly with built-in mitigation actions.

Audit

Amazon IoT Device Defender audits your device-related resources (such as X.509 certificates, IoT policies, and Client IDs) against Amazon IoT security best practices (for example, the principle of least privilege or unique identity per device). Amazon IoT Device Defender reports configurations that are out of compliance with security best practices, such as multiple devices using the same identity, or overly permissive policies that can allow one device to read and update data for many other devices.

Rules Detect

Amazon IoT Device Defender detects unusual device behaviors that may be indicative of a compromise by continuously monitoring high-value security metrics from the device and Amazon IoT Core (for example, the number of listening TCP ports on your devices or authorization failure counts). You can specify normal device behavior for a group of devices by setting up behaviors (rules) for these metrics. Amazon IoT Device Defender monitors and evaluates each datapoint reported for these metrics against user-defined behavior (rules) and alerts you if an anomaly is detected.

ML Detect

AWS IoT Device Defender monitors and identifies anomalous datapoints for six cloud-side metrics (e.g., authorization failure counts, message sent counts) and seven device-side metrics (e.g., packets out, listening TCP port counts) with machine learning (ML) models and triggers an alarm if an anomaly is detected. AWS IoT Device Defender removes the need to define accurate behaviors of your devices and automatically sets them with ML models using your device data from a trailing 14-day period. It then retrains the models each day (as long as it has sufficient amount of data to retrain on) to refresh the expected device behaviors based on the latest trailing 14 days. ML Detect makes getting started with monitoring easy.

Mitigation actions

Amazon IoT Device Defender enables you to use built-in mitigation actions to perform steps on Audit and Detect alarms such as adding things to a thing group, replacing default policy version and updating device certificate.

Alerting

Amazon IoT Device Defender publishes alarms to the Amazon IoT console, Amazon IoT Device Defender API, Amazon CloudWatch, and Amazon SNS if you configured SNS topics to receive Device Defender alarms.