fleet/cmd
Dante Catalfamo bd3e775e67
Windows MDM Fix Manual Detection (#17721)
#15565 

Replace the use of the isFederated registry key with a keys that check
for AAD (Azure Active Directory, now Entra ID)

Federated enrollment (`isFederated`) seems to be when windows uses a
Discovery MDM endpoint to get its policy and management endpoint
configuration. This is always the case when a client is enrolled with
fleet, so installations always show up as automatic.

It's being replaced by a different key, `AADResourceID`, which appears
to identify the resource that controls the automated deployment. In my
tests it only appears to be populated when the computer is enrolled
through automated deployments. This key appears on both Windows 10 and
11.

There is a similar key, `AADTenantID`, which appears to identify the
client (tenant) to the Azure cloud. I haven't seen this ID in our
systems, so it is likely exclusively used in Azure. Both this key and
`AADResourceID` seem to always be set at the same time, so we only
check for the `AADResourceID`.

I've also added documentation on the registry keys I've analyzed for future reference.
2024-03-21 15:09:05 -04:00
..
cpe Updating CPE generator to use new NVD API. (#15018) 2023-11-20 16:10:00 -06:00
cve Use NVD API 2.0 to download CVE information (#15102) 2023-11-21 12:30:07 -06:00
fleet feat: script content cleanup and column removal (#17374) 2024-03-13 15:53:08 -04:00
fleetctl Fixing unreleased spec bug in team host status webhook feature. (#17502) 2024-03-08 15:09:33 -06:00
macoffice Feature 9386: Parse the Mac Office release notes for vulnerability processing (#9993) 2023-02-24 14:18:25 -04:00
msrc Switching from FixedBuild to FixedBuilds (part 3 of 3). (#16478) 2024-01-30 15:00:22 -06:00
osquery-perf Windows MDM Fix Manual Detection (#17721) 2024-03-21 15:09:05 -04:00