MediumScript packFree

Kage Security Lab: Device Security

Checks the real security state of devices on every platform: Intune compliance, check-in, encryption and jailbreak or root, plus Defender for Endpoint sensor health, onboarding, antivirus configuration and tamper protection.

By pir8g33k · Version 0.2.1 · Published 3 Dec 2026

← All tests

MP.KSL.1001 Onboarded devices have an active Defender for Endpoint EDR sensor.

Severity: HighGraph

Every device onboarded to Microsoft Defender for Endpoint should have an active EDR sensor that has reported in the last seven days.

An onboarded device whose sensor is inactive, has impaired communications or sends no data looks protected in the inventory but sends no telemetry, so nothing that happens on it is detected or can be investigated. Sensors stop reporting when the Defender for Endpoint service (Sense) is stopped or broken, when the device cannot reach the Defender cloud through a proxy or firewall, or when a device was retired without being offboarded.

Remediation action

  1. In the Microsoft Defender portal, go to Assets > Devices and filter Sensor health state to Inactive, Impaired communications or No sensor data.
  2. For each device that is still in use, check that the Sense service is running and that the device can reach the Defender for Endpoint service URLs. Run the client analyzer on it if it still does not report.
  3. Offboard devices that are no longer in use, or tag and exclude them, so they stop appearing.

Related links

%TestResult%

Install
Install-MtPack pir8g33k/maester-pack-kagesecuritylab

Assumes Maester is installed. New to Maester? Get started.

Next: connect and run
Connect
Connect-Maester
Run
Invoke-Maester -Pack KSL