{
  "hunt": {
    "meta": {
      "tlp": "clear",
      "hunt": {
        "handoff": "keep-as-periodic-hunt",
        "trigger": "intel-report",
        "methodology": "model-assisted",
        "applicability": "campaign-specific",
        "justification": "End-of-life IoT devices represent a permanent and unpatchable attack surface. A negative result over the enrolled estate confirms that known smart hardware is not currently showing signs of exploit-driven behavioral or operational failure."
      },
      "name": "Exposed IoT Posture and Operational Impact",
      "type": "investigation",
      "labels": [
        "hunt",
        "attack.t1190",
        "attack.t1566",
        "execution",
        "impact",
        "initial access",
        "lateral movement",
        "azure"
      ],
      "series": {
        "slug": "my-iot-devices-are-no-longer-supported-is-my-smart-home-safe",
        "index": 1,
        "title": "My IoT devices are no longer supported \u2013 is my smart home safe?",
        "total": 2
      },
      "related": [
        {
          "hunt": "botnet-conscription-and-c2",
          "reason": "This hunt focuses on the initial compromise and operational impact; conscription into a botnet requires separate analysis of outbound traffic patterns.",
          "relation": "out-of-scope-alternative"
        }
      ],
      "targets": {
        "azure": {
          "name": "azure",
          "category": "siem",
          "huntbase": {
            "product": "azure"
          }
        },
        "hunter": {
          "name": "Hunt agent",
          "agent": true
        },
        "analyst": {
          "name": "Tier-2 analyst",
          "role": "analyst"
        },
        "endpoint": {
          "name": "Endpoint telemetry (hb_ surfaces)",
          "category": "endpoint",
          "telemetry": [
            "endpoint"
          ]
        }
      },
      "analysis": "A single rule can fire on a specific IoT vulnerability (CVE), but this hunt correlates internal behavioral snapshots (rare processes) with external exposure findings (Shodan) and cloud control-plane health (Azure IoT Hub) to find compromise across disparate surfaces.",
      "coverage": [
        {
          "stage": "initial-access-eol-exploitation",
          "steps": [
            "identify-iot-inventory",
            "rare-iot-processes",
            "exposed-management-interfaces"
          ],
          "status": "covered"
        },
        {
          "stage": "operational-impact",
          "steps": [
            "iot-hub-health"
          ],
          "status": "covered"
        },
        {
          "stage": "botnet-conscription-and-c2",
          "reason": "Belongs to another part of the 'My IoT devices are no longer supported \u2013 is my smart home safe?' series.",
          "status": "out_of_scope"
        },
        {
          "stage": "dns-redirection-and-phishing",
          "reason": "Belongs to another part of the 'My IoT devices are no longer supported \u2013 is my smart home safe?' series.",
          "status": "out_of_scope"
        },
        {
          "stage": "lateral-movement-from-iot",
          "reason": "Belongs to another part of the 'My IoT devices are no longer supported \u2013 is my smart home safe?' series.",
          "status": "out_of_scope"
        }
      ],
      "scenario": {
        "stages": [
          {
            "name": "Exploitation of EoL IoT Devices",
            "slug": "initial-access-eol-exploitation",
            "tactic": "initial-access",
            "techniques": [
              "T1190"
            ],
            "observables": [
              "exposed management ports on DVRs and webcams",
              "unpatched firmware on refrigerator controllers",
              "no-name Android TV boxes with insecure services",
              "pre-installed malware on smart devices"
            ]
          },
          {
            "name": "Botnet Conscription and C2 Communication",
            "slug": "botnet-conscription-and-c2",
            "tactic": "execution",
            "techniques": [
              "T1190"
            ],
            "observables": [
              "Mozi botnet communication",
              "BADBOX 2.0 botnet traffic",
              "outbound connections to known botnet controllers",
              "unusual process launches on Android TV boxes"
            ]
          },
          {
            "name": "Traffic Redirection to Phishing Sites",
            "slug": "dns-redirection-and-phishing",
            "tactic": "initial-access",
            "techniques": [
              "T1566"
            ],
            "observables": [
              "router DNS settings redirection",
              "HTTP traffic to malicious phishing domains",
              "hijacked router management traffic"
            ]
          },
          {
            "name": "Lateral Pivoting from IoT Devices",
            "slug": "lateral-movement-from-iot",
            "tactic": "lateral-movement",
            "techniques": [
              "T1190"
            ],
            "observables": [
              "internal network scanning from IoT device IP addresses",
              "unauthorized connections to computer management ports from smart TVs",
              "accessing internal assets via hijacked routers"
            ]
          },
          {
            "name": "Operational Impact on Smart Devices",
            "slug": "operational-impact",
            "tactic": "impact",
            "techniques": [
              "T1190"
            ],
            "observables": [
              "unauthorized temperature adjustments in smart controllers",
              "remote operation of smart door locks",
              "accessing unauthorized smart camera feeds"
            ]
          }
        ],
        "summary": "Attackers target unpatched vulnerabilities in End-of-Life (EoL) IoT devices, such as routers, cameras, and smart controllers, to gain initial network access. Once compromised, these devices are used to pivot into internal networks, redirect users to phishing sites, or are conscripted into large-scale botnets like Mozi and BADBOX 2.0."
      },
      "severity": "medium",
      "rationale": "Start with devices identifying as cameras, dvr, or routers. Focus on segments hosting facility-management or building security systems.",
      "guardrails": {
        "claims": "no_unsupported",
        "evidence": "citation_required",
        "telemetry": "untrusted",
        "missing_data": "not_benign"
      },
      "hypothesis": "An adversary has exploited unpatched vulnerabilities in end-of-life IoT devices, evidenced by rare process execution on identified smart hardware, unauthorized external exposure of management ports, and failing states in the IoT control plane.",
      "parameters": {
        "scope_hosts": {
          "from": {
            "ref": "hunt-config",
            "kind": "manual",
            "observed": "2026-11-19"
          },
          "type": "list[host]",
          "default": [],
          "description": "Optional list of hostnames to focus the internal process hunt."
        },
        "iot_keywords": {
          "from": {
            "ref": "hunt-config",
            "kind": "manual",
            "observed": "2026-11-19"
          },
          "type": "list[string]",
          "default": [
            "camera",
            "dvr",
            "nvr",
            "gateway",
            "smart",
            "iot",
            "controller"
          ],
          "description": "Keywords used to identify potential IoT devices in inventory or hardware vendor lists."
        },
        "lookback_days": {
          "from": {
            "ref": "hunt-config",
            "kind": "manual",
            "observed": "2026-11-19"
          },
          "type": "number",
          "default": "14",
          "description": "Days of history to examine for process activity and exposure findings."
        }
      },
      "provenance": {
        "authors": [
          {
            "org": "huntbase.io",
            "name": "Huntbase hunt generation"
          }
        ],
        "generated": {
          "by": "huntbase-hunt-generation",
          "from": "https://www.welivesecurity.com/en/internet-of-things/iot-devices-no-longer-supported-smart-home-safe/",
          "gates": [
            "dry-run",
            "lint"
          ],
          "model": "hb_google/gemini-3-flash-preview"
        }
      },
      "references": [
        {
          "url": "https://www.welivesecurity.com/en/internet-of-things/iot-devices-no-longer-supported-smart-home-safe/",
          "name": "ESET Research \u2014 My IoT devices are no longer supported \u2013 is my smart home safe?"
        }
      ],
      "blind_spots": [
        {
          "id": "no-endpoint-telemetry",
          "risk": "Devices without an agent contribute no process rows; the hunt is limited to the enrolled estate and external scans.",
          "owner": "Infrastructure Team",
          "stage": "initial-access-eol-exploitation",
          "question": "whether unmanaged or third-party IoT devices are present but not reporting to internal inventories",
          "requires": "an endpoint agent on IoT hardware",
          "remediation": "Deploy passive network monitoring to identify devices by MAC address and OUI."
        },
        {
          "id": "iot-hub-audit-gap",
          "risk": "A hub failure indicates a problem but not the specific actor intent; without command-level logs, the operational impact cannot be fully attributed.",
          "owner": "Cloud Security",
          "stage": "operational-impact",
          "question": "whether specific malicious commands (e.g. temperature changes) were sent via the hub",
          "requires": "Azure IoT Hub diagnostic logs",
          "remediation": "Enable and ingest Azure IoT Hub 'CloudToDevice' and 'DeviceTelemetry' logs."
        }
      ]
    },
    "name": "Exposed IoT Posture and Operational Impact",
    "description": "This hunt identifies end-of-life or unmanaged IoT devices and correlates their presence with behavioural and operational anomalies. We scope the estate using device inventory to identify hardware typical of IoT systems using keyword matching on vendors and hostnames. We then fan out to check independent signals: rare binaries executing on these hosts, internet-exposed management interfaces for matching IoT products, and non-active operational states in Azure IoT Hub. An agent weighs these results to detect compromised devices that may be impacting physical operations or acting as a network beachhead."
  },
  "nodes": [
    {
      "id": "hypothesis",
      "type": "hypothesis",
      "label": "Hypothesis",
      "config": {
        "tags": [],
        "series": {
          "slug": "my-iot-devices-are-no-longer-supported-is-my-smart-home-safe",
          "index": 1,
          "title": "My IoT devices are no longer supported \u2013 is my smart home safe?",
          "total": 2
        },
        "coverage": [
          {
            "stage": "initial-access-eol-exploitation",
            "steps": [
              "identify-iot-inventory",
              "rare-iot-processes",
              "exposed-management-interfaces"
            ],
            "status": "covered"
          },
          {
            "stage": "operational-impact",
            "steps": [
              "iot-hub-health"
            ],
            "status": "covered"
          },
          {
            "stage": "botnet-conscription-and-c2",
            "reason": "Belongs to another part of the 'My IoT devices are no longer supported \u2013 is my smart home safe?' series.",
            "status": "out_of_scope"
          },
          {
            "stage": "dns-redirection-and-phishing",
            "reason": "Belongs to another part of the 'My IoT devices are no longer supported \u2013 is my smart home safe?' series.",
            "status": "out_of_scope"
          },
          {
            "stage": "lateral-movement-from-iot",
            "reason": "Belongs to another part of the 'My IoT devices are no longer supported \u2013 is my smart home safe?' series.",
            "status": "out_of_scope"
          }
        ],
        "rationale": "An adversary has exploited unpatched vulnerabilities in end-of-life IoT devices, evidenced by rare process execution on identified smart hardware, unauthorized external exposure of management ports, and failing states in the IoT control plane.",
        "blind_spots": [
          {
            "id": "no-endpoint-telemetry",
            "risk": "Devices without an agent contribute no process rows; the hunt is limited to the enrolled estate and external scans.",
            "owner": "Infrastructure Team",
            "stage": "initial-access-eol-exploitation",
            "question": "whether unmanaged or third-party IoT devices are present but not reporting to internal inventories",
            "requires": "an endpoint agent on IoT hardware",
            "remediation": "Deploy passive network monitoring to identify devices by MAC address and OUI."
          },
          {
            "id": "iot-hub-audit-gap",
            "risk": "A hub failure indicates a problem but not the specific actor intent; without command-level logs, the operational impact cannot be fully attributed.",
            "owner": "Cloud Security",
            "stage": "operational-impact",
            "question": "whether specific malicious commands (e.g. temperature changes) were sent via the hub",
            "requires": "Azure IoT Hub diagnostic logs",
            "remediation": "Enable and ingest Azure IoT Hub 'CloudToDevice' and 'DeviceTelemetry' logs."
          }
        ],
        "scoping_notes": "Start with devices identifying as cameras, dvr, or routers. Focus on segments hosting facility-management or building security systems.",
        "beyond_detection": "A single rule can fire on a specific IoT vulnerability (CVE), but this hunt correlates internal behavioral snapshots (rare processes) with external exposure findings (Shodan) and cloud control-plane health (Azure IoT Hub) to find compromise across disparate surfaces."
      }
    },
    {
      "id": "identify-iot-inventory",
      "type": "query",
      "label": "Identify potential IoT inventory",
      "config": {
        "dsl": "sqlite",
        "role": "scoping",
        "source": "endpoint",
        "content": "SELECT hostname, hardware_vendor, hardware_model, os_name, first_seen FROM hb_devices WHERE time >= datetime('now', '-{{lookback_days}} days') AND ('{{scope_hosts}}' = '' OR instr(',' || '{{scope_hosts}}' || ',', ',' || hostname || ',') > 0) AND (instr(',' || '{{iot_keywords}}' || ',', ',' || LOWER(hostname) || ',') > 0 OR instr(',' || '{{iot_keywords}}' || ',', ',' || LOWER(hardware_vendor) || ',') > 0)",
        "surface": "hb_devices",
        "description": "Find hosts whose hardware vendor or hostname matches known IoT profiles to scope the behavioral hunt.",
        "expected_signal": "A list of hosts with IoT-related hardware or naming conventions. Silence indicates no managed IoT devices matching these keywords were found."
      },
      "parents": [
        {
          "id": "hypothesis"
        }
      ],
      "primitive_config": {
        "dsl": "sqlite",
        "role": "scoping",
        "label": "Identify potential IoT inventory",
        "reads": [
          "hostname",
          "hardware_vendor",
          "hardware_model",
          "os_name",
          "first_seen",
          "time"
        ],
        "source": "hb_devices",
        "target": "endpoint",
        "content": "SELECT hostname, hardware_vendor, hardware_model, os_name, first_seen FROM hb_devices WHERE time >= datetime('now', '-{{lookback_days}} days') AND ('{{scope_hosts}}' = '' OR instr(',' || '{{scope_hosts}}' || ',', ',' || hostname || ',') > 0) AND (instr(',' || '{{iot_keywords}}' || ',', ',' || LOWER(hostname) || ',') > 0 OR instr(',' || '{{iot_keywords}}' || ',', ',' || LOWER(hardware_vendor) || ',') > 0)",
        "silence": "not_evidence_of_absence",
        "expected": "A list of hosts with IoT-related hardware or naming conventions. Silence indicates no managed IoT devices matching these keywords were found.",
        "verified": "dry-run",
        "verified_at": "2026-11-21"
      }
    },
    {
      "id": "rare-iot-processes",
      "type": "query",
      "label": "Rare processes on IoT hosts",
      "config": {
        "dsl": "sqlite",
        "role": "baseline",
        "source": "endpoint",
        "content": "SELECT LOWER(process_path) AS path, COUNT(DISTINCT device_hostname) AS hosts, COUNT(*) AS runs, MIN(time) AS first_seen FROM hb_process_activity WHERE ('{{scope_hosts}}' = '' OR instr(',' || '{{scope_hosts}}' || ',', ',' || device_hostname || ',') > 0) AND time >= datetime('now', '-{{lookback_days}} days') GROUP BY LOWER(process_path) HAVING hosts <= 3 ORDER BY hosts, runs",
        "surface": "hb_process_activity",
        "description": "Identify anomalous binaries or unique process paths on the scoped IoT devices that may indicate malware or exploitation.",
        "expected_signal": "Binaries seen on only a few IoT hosts. Silence suggests no unusual process execution occurred on the enrolled estate during the window."
      },
      "parents": [
        {
          "id": "identify-iot-inventory"
        }
      ],
      "primitive_config": {
        "dsl": "sqlite",
        "role": "baseline",
        "label": "Rare processes on IoT hosts",
        "reads": [
          "device_hostname",
          "process_path",
          "time"
        ],
        "source": "hb_process_activity",
        "target": "endpoint",
        "content": "SELECT LOWER(process_path) AS path, COUNT(DISTINCT device_hostname) AS hosts, COUNT(*) AS runs, MIN(time) AS first_seen FROM hb_process_activity WHERE ('{{scope_hosts}}' = '' OR instr(',' || '{{scope_hosts}}' || ',', ',' || device_hostname || ',') > 0) AND time >= datetime('now', '-{{lookback_days}} days') GROUP BY LOWER(process_path) HAVING hosts <= 3 ORDER BY hosts, runs",
        "silence": "not_evidence_of_absence",
        "baseline": {
          "window": "{{lookback_days}}d",
          "compare": "first_seen"
        },
        "expected": "Binaries seen on only a few IoT hosts. Silence suggests no unusual process execution occurred on the enrolled estate during the window.",
        "verified": "dry-run",
        "prevalence": {
          "by": "device_hostname",
          "key": [
            "process_path"
          ],
          "rare_below": 3
        },
        "verified_at": "2026-11-21"
      }
    },
    {
      "id": "exposed-management-interfaces",
      "type": "query",
      "label": "Exposed IoT management interfaces",
      "config": {
        "dsl": "sqlite",
        "role": "enrichment",
        "source": "endpoint",
        "content": "SELECT domain_or_ip, port, product, version, discovered_at FROM hb_exposed_assets WHERE (LOWER(product) LIKE '%camera%' OR LOWER(product) LIKE '%dvr%' OR LOWER(product) LIKE '%router%' OR LOWER(product) LIKE '%gateway%') AND discovered_at >= datetime('now', '-{{lookback_days}} days')",
        "surface": "hb_exposed_assets",
        "description": "Identify internet-exposed ports for IoT products that match the identified internal hardware profiles.",
        "expected_signal": "External scan results showing management ports (80, 443, 554, 8000) open on your IP space for identified IoT products."
      },
      "parents": [
        {
          "id": "identify-iot-inventory"
        }
      ],
      "primitive_config": {
        "dsl": "sqlite",
        "role": "enrichment",
        "label": "Exposed IoT management interfaces",
        "reads": [
          "domain_or_ip",
          "port",
          "product",
          "version",
          "discovered_at"
        ],
        "source": "hb_exposed_assets",
        "target": "endpoint",
        "content": "SELECT domain_or_ip, port, product, version, discovered_at FROM hb_exposed_assets WHERE (LOWER(product) LIKE '%camera%' OR LOWER(product) LIKE '%dvr%' OR LOWER(product) LIKE '%router%' OR LOWER(product) LIKE '%gateway%') AND discovered_at >= datetime('now', '-{{lookback_days}} days')",
        "silence": "not_evidence_of_absence",
        "expected": "External scan results showing management ports (80, 443, 554, 8000) open on your IP space for identified IoT products.",
        "verified": "dry-run",
        "verified_at": "2026-11-21"
      }
    },
    {
      "id": "iot-hub-health",
      "type": "query",
      "label": "IoT Hub operational health",
      "config": {
        "dsl": "sqlite",
        "role": "triage",
        "source": "azure",
        "content": "SELECT name, state, provisioning_state, resource_group FROM azure_iothub WHERE state != 'Active' OR provisioning_state = 'Failed'",
        "product": "azure",
        "surface": "azure_iothub",
        "extension": "azure",
        "description": "Check the Azure IoT Hub control plane for failed provisioning or inactive states that indicate operational impact.",
        "expected_signal": "Hubs in a failed or inactive state. This may indicate a control-plane takeover or device-level failure following an exploit."
      },
      "parents": [
        {
          "id": "identify-iot-inventory"
        }
      ],
      "primitive_config": {
        "dsl": "sqlite",
        "role": "triage",
        "label": "IoT Hub operational health",
        "reads": [
          "name",
          "state",
          "provisioning_state",
          "resource_group"
        ],
        "source": "azure_iothub",
        "target": "azure",
        "content": "SELECT name, state, provisioning_state, resource_group FROM azure_iothub WHERE state != 'Active' OR provisioning_state = 'Failed'",
        "silence": "not_evidence_of_absence",
        "expected": "Hubs in a failed or inactive state. This may indicate a control-plane takeover or device-level failure following an exploit.",
        "verified": "dry-run",
        "verified_at": "2026-11-21",
        "target_extension": "azure"
      }
    },
    {
      "id": "triage-iot-risk",
      "type": "analytic",
      "label": "Triage IoT risk and compromise",
      "config": {
        "cite": "required",
        "tools": [
          "azure",
          "endpoint"
        ],
        "context": [
          "identify-iot-inventory",
          "rare-iot-processes",
          "exposed-management-interfaces",
          "iot-hub-health"
        ],
        "objective": "Determine if any IoT devices have been compromised or targeted by external actors based on rare binaries and public exposure.",
        "description": "Weigh the internal process anomalies against external exposure and control plane failures to determine if an IoT device has been compromised.",
        "max_iterations": 6,
        "expected_signal": "A verdict of malicious | suspicious | benign per host or hub, citing specific binaries or exposed ports.",
        "success_criteria": "A final verdict for each identified host or hub, citing evidence from the query results."
      },
      "parents": [
        {
          "id": "rare-iot-processes",
          "kind": "merge"
        },
        {
          "id": "exposed-management-interfaces",
          "kind": "merge"
        },
        {
          "id": "iot-hub-health",
          "kind": "merge"
        }
      ]
    },
    {
      "id": "route-on-verdict",
      "type": "checkpoint",
      "label": "Route on IoT verdict",
      "config": {
        "fuzzy": true,
        "judge": "hunter",
        "question": "the triage-iot-risk verdict is malicious for at least one host or hub",
        "condition": "the triage-iot-risk verdict is malicious for at least one host or hub",
        "blind_spot": "no-endpoint-telemetry",
        "confidence": "high",
        "description": "Direct the workflow based on the presence of malicious activity.",
        "checkpoint_type": "mandatory"
      },
      "parents": [
        {
          "id": "triage-iot-risk"
        }
      ]
    },
    {
      "id": "isolate-iot-device",
      "type": "action",
      "label": "Isolate IoT device",
      "config": {
        "target": "endpoint",
        "description": "Prevent lateral movement or further operational impact by isolating the compromised device.",
        "instructions": "Isolate the compromised IoT device at the network level and revoke its Azure IoT Hub credentials.",
        "action_approval": "required"
      },
      "parents": [
        {
          "id": "route-on-verdict",
          "branch": "on_supports"
        }
      ]
    },
    {
      "id": "firmware-review",
      "type": "task",
      "label": "Firmware and EoL status review",
      "config": {
        "assignee": "analyst",
        "description": "Verify if the identified devices are officially end-of-life and plan for replacement.",
        "instructions": "For each host identified in scoping, check the manufacturer website for the current firmware version and EoL date. Document devices that no longer receive security updates."
      },
      "parents": [
        {
          "id": "route-on-verdict",
          "branch": "default"
        },
        {
          "id": "route-on-verdict",
          "branch": "on_unavailable"
        },
        {
          "id": "route-on-verdict",
          "branch": "on_refutes"
        },
        {
          "id": "isolate-iot-device"
        }
      ]
    },
    {
      "id": "impact-analysis",
      "type": "task",
      "label": "Operational impact analysis",
      "config": {
        "assignee": "analyst",
        "description": "Assess whether device failures have impacted physical operations.",
        "instructions": "Review facility logs (temperature, physical access) for the same period as any identified IoT hub failures to confirm operational impact."
      },
      "parents": [
        {
          "id": "firmware-review"
        }
      ]
    }
  ]
}