Microsoft Defender for IoT
General

How to configure the DMI Decoder

In brief

The article now provides clearer descriptions of SMBIOS requirements, renamed configuration sections, stable anchors, corrected module twin JSON formatting, and reorganized related links.

What Defender admins need to know

Administrators can use the updated headings and corrected JSON example when configuring DMI Decoder.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

DMI Decoder configurations

Populate SMBIOS tables for dmidecode

The dmidecode(8) utility reads System Management BIOS (SMBIOS) tables to extract hardware and firmware information from the device. To support dmidecode(8), SMBIOS tables needsneed to be present and valid. To implement, pleaseimplement SMBIOS support for dmidecode(8), refer to the System Management BIOS specifications.

Alternative configurationsChoose an alternative configuration method

For devices that do not support the DMI decoder, there are two alternative options for retrieving and setting the firmware and hardware fields:

Configure DMI Decoder by using a JSON file

To manually set the values on the device, create a JSON file. The micro agent will read the values from the JSON file and send them to the cloud.

    "FirmwareVersion": "<firmware version>"
```

ModuleConfigure DMI Decoder by using module twin configurationssettings

To manually set the values on the cloud, use the module twin configuration by settingconfiguration. Set the following properties:desired properties in the module twin JSON payload:

    “properties”:{
  “desired”"properties":{
    “SystemInformation_HardwareVendor”"desired": {
      "SystemInformation_HardwareVendor": "<data>",
      “SystemInformation_HardwareModel”"SystemInformation_HardwareModel": "<data>",
      “SystemInformation_FirmwareVendor”"SystemInformation_FirmwareVendor": "<data>",
      “SystemInformation_ FirmwareVersion”"SystemInformation_FirmwareVersion": "<data>",
      “SystemInformation_HardwareSerialNumber”"SystemInformation_HardwareSerialNumber": "<data>"
    }
  }
}

Next stepsRelated content

  • Configure pluggable Authentication Modules (PAM) to audit sign-in events (Preview)