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.1002 Devices that Defender for Endpoint can onboard are onboarded.

Severity: MediumGraph

Devices that Microsoft Defender for Endpoint device discovery reports as Can be onboarded should be onboarded.

Device discovery uses onboarded devices to find other devices on the network. A device that can be onboarded runs a supported operating system but has no Defender sensor, so it gets no endpoint protection, no detection and no vulnerability assessment. Unmanaged devices are a common first foothold for attackers.

Remediation action

  1. In the Microsoft Defender portal, go to Assets > Devices and filter Onboarding status to Can be onboarded.
  2. Onboard the devices that belong to your organisation, with Intune, Group Policy, Configuration Manager or a local script.
  3. For devices you do not manage, such as guest or personal devices, decide whether to block them from the network or exclude them in the device inventory.

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