# Defender For Iot

> Guidance for Microsoft Defender for IoT — agentless OT/ICS network detection and response for industrial environments, plus enterprise IoT (EIoT) protection integrated with Defender XDR. Covers OT sensor deployment (physical/virtual, SPAN/TAP), Purdue model alignment, on-premises management console, cloud-managed sensors, EIoT (printers, cameras, VoIP) discovered through MDE, asset inventory, vul…

- **Type:** Skill
- **Install:** `agentstack add skill-vinayaklatthe-microsoft-security-skills-defender-for-iot`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [vinayaklatthe](https://agentstack.voostack.com/s/vinayaklatthe)
- **Installs:** 0
- **Category:** [Cloud & Infrastructure](https://agentstack.voostack.com/c/cloud-infrastructure)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [vinayaklatthe](https://github.com/vinayaklatthe)
- **Source:** https://github.com/vinayaklatthe/microsoft-security-skills/tree/main/skills/defender-for-iot

## Install

```sh
agentstack add skill-vinayaklatthe-microsoft-security-skills-defender-for-iot
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Microsoft Defender for IoT

Defender for IoT delivers **agentless network detection and response** for two distinct
estates that legacy endpoint tools miss:

- **OT / ICS** (operational technology, SCADA, PLCs, industrial networks).
- **Enterprise IoT (EIoT)** — printers, cameras, VoIP phones, smart-building devices on the
  corporate network — discovered and protected via the Microsoft Defender for Endpoint
  sensor and surfaced in Defender XDR.

## When to use
Securing factory, utility, healthcare, or building-automation networks; or extending
visibility to unmanaged "things" on the enterprise LAN that cannot run an endpoint agent.

**Do not use this skill** for IoT Hub / IoT Central data-plane security, Azure Sphere
firmware design, or workstation/server EDR (`defender-for-endpoint`).

## OT vs Enterprise IoT — pick the right path

| Estate | Path | Sensor |
|---|---|---|
| Plant networks, ICS, SCADA, PLCs (Levels 0–3 Purdue) | **Defender for IoT — OT** | Dedicated OT network sensor (physical or virtual VM) attached to SPAN/TAP |
| Corporate LAN unmanaged devices (printers, cameras, VoIP) | **Defender for IoT — EIoT** | Existing MDE sensors on Windows endpoints; no separate appliance |

> **Rule of thumb:** if it speaks Modbus / DNP3 / S7 / EtherNet/IP, you need an **OT sensor**.
> If it's an IP camera on the office VLAN, **EIoT via MDE** is enough.

## Approach

### OT estate

1. **Network mapping by Purdue level first.** Identify Level 0/1 (controllers, sensors),
   Level 2 (SCADA HMI), Level 3 (operations management). Sensors monitor traffic between
   levels and east-west within Level 2/3.

2. **Pick sensor placement.** One sensor per OT site, attached to a SPAN port that mirrors
   the core OT switch. Aggregate multi-site sensors into a **cloud-connected** model
   (preferred for new deployments) or the legacy on-prem management console (for
   air-gapped sites).

3. **Deploy passively.** OT sensors are **fully passive** — no probing, no active scans.
   This is non-negotiable in safety-critical environments. Confirm with plant ops before
   any port turn-up.

4. **Build the asset inventory.** Within 14 days the sensor builds a baseline of devices,
   firmware versions, and protocol relationships. Validate the baseline with the OT team
   before enabling alerting.

5. **Enable alerts.** Categories: malware, network anomalies, protocol violations,
   operational (e.g. unauthorized PLC programming change). Tune to plant context — many
   "anomalies" are legitimate maintenance windows.

6. **Stream to Sentinel.** Use the Defender for IoT data connector. Build OT-specific
   workbooks and playbooks (e.g., auto-ticket on unauthorized PLC reprogram).

7. **Vulnerability program.** Sensor identifies device firmware → matched to known CVEs.
   Do **not** push patches via the same channel as IT — coordinate with OT change windows.

### Enterprise IoT estate

1. **Already have MDE deployed?** EIoT is a license toggle on top of MDE — enable in
   Defender XDR settings. Devices on the LAN segment seen by an MDE-enrolled endpoint get
   discovered.
2. **Review the device inventory** in security.microsoft.com → Assets → Devices, filtered
   to Device type = IoT.
3. **Group and tag** by function (printers, cameras, VoIP, building automation). Apply
   network access policies (NAC / NSG / firewall) per group.
4. **Vulnerability findings + threat alerts** flow into Defender XDR alongside endpoint
   detections.

## Guardrails
- **OT sensors must be passive.** Never enable active probing in production OT — risk of
  PLC reset / safety-system trip.
- **Coordinate with OT operations before any deployment change.** Changes to switches,
  VLANs, or SPAN configuration require an OT change window.
- **Don't ship OT alerts straight to the IT SOC without context.** OT analysts and IT
  analysts triage differently. Either build OT-aware playbooks or route to an OT SOC.
- **EIoT requires MDE on at least one endpoint per network segment** to see the unmanaged
  devices. Coverage gaps = blind spots.
- **Don't push patches to OT devices on IT cadence.** OT change windows are quarterly or
  annual. Use the vuln data to plan, not to auto-remediate.
- **Air-gapped sites cannot use cloud-connected mode.** Stay on the on-prem management
  console; plan for the migration once connectivity is allowed.
- **Defender for IoT ≠ Azure IoT Hub security.** Different product, different scope.

## Common anti-patterns
- **"Active scan to inventory PLCs faster"** — caused a safety-system trip in a real
  refinery. Always passive in OT.
- **"One sensor for the whole multi-site estate over the WAN"** — SPAN traffic isn't
  WAN-friendly. One sensor per site.
- **"Routed OT alerts to the standard IT incident queue"** — IT analysts close them as
  "expected legacy protocol" and miss real attacks.
- **"Skipped EIoT because we already have MDE"** — discovery of unmanaged devices is the
  whole point; turn it on.
- **"Patched OT firmware in the IT monthly window"** — production outage. Plan with OT.
- **"Used Defender for IoT to monitor IoT Hub device telemetry"** — wrong product.

## Example prompts
- `Plan Defender for IoT OT sensor placement for a 5-site manufacturing estate (1 plant
  network per site).`
- `Enable EIoT discovery via MDE in a tenant with 80,000 endpoints.`
- `Stream OT alerts into Sentinel with a workbook for unauthorized PLC programming.`
- `Build a runbook for "Suspicious S7 protocol activity" alert — who triages, what
  changes, when do we escalate.`
- `Compare cloud-connected sensors vs on-prem management console for an air-gapped
  utility.`
- `Tag and group EIoT devices by function and apply NAC quarantine policy.`

## Microsoft Learn
- Overview: https://learn.microsoft.com/azure/defender-for-iot/
- OT deployment guide: https://learn.microsoft.com/azure/defender-for-iot/organizations/best-practices/plan-prepare-deploy
- OT sensor architecture: https://learn.microsoft.com/azure/defender-for-iot/organizations/architecture
- Cloud-connected vs on-prem: https://learn.microsoft.com/azure/defender-for-iot/organizations/architecture-connections
- Enterprise IoT: https://learn.microsoft.com/azure/defender-for-iot/
- Sentinel integration: https://learn.microsoft.com/azure/sentinel/iot-solution
- Alert reference: https://learn.microsoft.com/azure/defender-for-iot/organizations/alert-engine-messages

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [vinayaklatthe](https://github.com/vinayaklatthe)
- **Source:** [vinayaklatthe/microsoft-security-skills](https://github.com/vinayaklatthe/microsoft-security-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-vinayaklatthe-microsoft-security-skills-defender-for-iot
- Seller: https://agentstack.voostack.com/s/vinayaklatthe
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
