HP pulls update that broke Microsoft Entra ID auth on some AI PCs

by CybrGPT
0 comment

HP has pulled an HP OneAgent software update for Windows 11 that mistakenly deleted Microsoft certificates required for some organizations to log in to Microsoft Entra ID, disconnecting them from their company’s cloud environments.

The bug was discovered by Patch My PC’s Rudy Ooms, who traced it to a silent, background update deployed by HP to its AI PC devices.

According to Ooms, systems that installed the HP OneAgent version 1.2.50.9581 automatically executed a cleanup package named SP161710. The package included an install.cmd script that was designed to remove any remnants of HP’s 1E Performance Assist software.

One of the subroutines in this script would search for and delete any certificate containing the “1E” substring in its subject, issuer, or friendly name. However, a script like this is risky as it could lead to false positives and delete certificates it was not designed to target.

Subroutine removes all certificates whose properties contain
Subroutine removes all certificates whose properties contain “1E”
Source: BleepingComputer

When a device joins Microsoft Entra ID (Azure AD) or Intune, Microsoft issues a “MS-Organization-Access” certificate specific to an organization’s tenant. This certificate is stored in the Windows certificate store and is now required to properly authenticate against Entra ID.

For a subset of users, Ooms said their “MS-Organization-Access” certificate had a thumbprint containing the “1E” substring, which caused HP’s cleanup script to delete the certificate.

MS-Organization-Access with a Subject containing
MS-Organization-Access with a Subject containing “1E”
Source: Patch My Pc

Once the certificates were removed, devices immediately disconnect from Entra ID and could no longer log in with their credentials.

“The whole Entra/Azure AD Join was gone!,” explains Ooms. “With it, the devices had silently fallen out of the cloud. The whole trust between Windows and Entra ID disappeared.”

Ooms confirmed from the logs that the OneAgent’s update instructions came directly from HP’s AWS IoT infrastructure. 

Limited impact

Ooms says that because each organization receives a unique certificate, there is only a 9.3% chance that certificates contain the “1E” chain in the Subject field. As the cleanup script was only pushed out to HP AI PCs, the impact is likely even smaller.

Furthermore, while the faulty script’s most visible effect was on Microsoft Entra ID authentication, it may also have removed other legitimate certificates used by different platforms.

In a statement to BleepingComputer, HP confirmed that it had pulled the problematic update and stated that it is assisting impacted customers.

“HP is aware of a potential issue affecting some HP AI PCs related to a recent over the air update,” HP told BleepingComputer. “The update is no longer available and will not affect more AI PCs. We’re investigating the issue and working closely with impacted customers on mitigation.”

Ooms says that those devices that are impacted by the faulty script now require a manual recovery process to be able to rejoin the domain, and shared the following steps for those with local access to the device:

  1. Sign in with the local admin (LAPS) account.
  2. Run a cleanup script created by Ooms that removes all Intune enrollment data, which will be recreated in the following steps.
  3. Rejoin the device to Entra ID.

Ooms’ article also describes an additional method for remotely fixing a device using Microsoft Defender’s Live Response feature.

Picus Blue Report 2025

46% of environments had passwords cracked, nearly doubling from 25% last year.

Get the Picus Blue Report 2025 now for a comprehensive look at more findings on prevention, detection, and data exfiltration trends.

Source link

You may also like

Leave a Comment

Stay informed with the latest in cybersecurity news. Explore updates on malware, ransomware, data breaches, and online threats. Your trusted source for digital safety and cyber defense insights.

BuyBitcoinFiveMinute

Subscribe my Newsletter for new blog posts, tips & new photos. Let’s stay updated!

© 2025 cybrgpt.com – All rights reserved.