YellowKey Bitlocker Bypass - backdoor

  • DNS Benchmark v2 Release 5 with Consultant License
    Guest:
    If you own any earlier release of our DNS Benchmark you may immediately download its release #5 replacement. Running an earlier release will detect the new release and help you upgrade.

    Although this release is cosmetic, appearance matters and affects ease of use. The biggest change, as seen in the image above, is that the DNS Benchmark now has a traditional Windows application menu to more fully expose its many features. This release is also "Consultant License Aware" and GRC will now issue a Consultant version when owners have previously purchased four "Personal Use" licenses. If you have previously purchased four DNSB licenses, or if you wish to upgrade your "Personal Use" license to Consultant, GRC's purchase process will direct you through that process.
    /Steve.
  • Be sure to checkout “Tips & Tricks”
    Dear Guest Visitor → Once you register and log-in please checkout the “Tips & Tricks” page for some very handy tips!

    /Steve.
  • BootAble – FreeDOS boot testing freeware

    To obtain direct, low-level access to a system's mass storage drives, SpinRite runs under a GRC-customized version of FreeDOS which has been modified to add compatibility with all file systems. In order to run SpinRite it must first be possible to boot FreeDOS.

    GRC's “BootAble” freeware allows anyone to easily create BIOS-bootable media in order to workout and confirm the details of getting a machine to boot FreeDOS through a BIOS. Once the means of doing that has been determined, the media created by SpinRite can be booted and run in the same way.

    The participants here, who have taken the time to share their knowledge and experience, their successes and some frustrations with booting their computers into FreeDOS, have created a valuable knowledgebase which will benefit everyone who follows.

    You may click on the image to the right to obtain your own copy of BootAble. Then use the knowledge and experience documented here to boot your computer(s) into FreeDOS. And please do not hesitate to ask questions – nowhere else can better answers be found.

    (You may permanently close this reminder with the 'X' in the upper right.)

I run a small MSP and recently ran into a situation that really highlights how strange and problematic Microsoft’s current BitLocker/YellowKey situation is for real‑world businesses.

This was for a potential new client, not an existing one—a very small business with no domain, no Entra/AD, and no centralized management. All their machines were essentially standalone devices with no tenant or account structure to tie them back to or manage.

They had a departing employee who had signed into their company‑owned Windows 11 laptop using their personal Microsoft account. That automatically enabled BitLocker and tied the recovery key to the employee’s personal account, not to the organization. When the employee left, they refused to provide the password or recovery key, effectively locking the company out of its own data. At the time, I had to tell them there was nothing I could do through normal, supported channels.

After the incident, I heard about the YellowKey BitLocker bypass PoC. I reached back out to see if they still had the laptop, and they did. With their authorization, I pulled the code from GitHub, built a Windows 11 install/recovery USB per the instructions, and tested it against that machine. Booting with that setup dropped me to a command prompt with full access to the C: drive. From there, I was able to copy off a set of critical files so they could recover some of their data.

In this particular case, YellowKey actually helped the small business: without it, their data was effectively held hostage by a former employee’s personal Microsoft account, despite the company owning the hardware and having every right to the work product.

Since I already had that level of access, I decided to see if I could restore full, interactive use of the system. I used the classic cmd.exe ↔ utilman.exe swap at the logon screen (via the command prompt I already had), removed the boot media, and rebooted. Clicking the accessibility icon on the Windows logon screen then opened a command prompt with full admin rights in the live OS. From there I:

  • Reactivated the built‑in Administrator account
  • Reset its password to blank
  • Rebooted and logged in as Administrator with no password
Once I had a working local admin session, I used ForensiT Profile Wizard to migrate the former user’s profile onto a new account (in this case, I mapped it onto the Administrator profile). After another reboot and login as Administrator, I effectively had that user’s local profile, data, and configuration available inside the Administrator account.

There were, however, clear limits: anything that had only ever lived in the user’s OneDrive cloud and was not fully synced locally was still inaccessible. For example, I could see image thumbnails that had been cached locally, but not the full‑resolution photos because those were only in the user’s personal Microsoft/OneDrive account.

For context, I’ve been a longtime user of SpinRite and Steve’s DNS Benchmark, so I’m very comfortable with low‑level disk recovery and diagnostics. This experience was a different kind of eye‑opener: not about failing hardware, but about how identity‑tied encryption on unmanaged corporate hardware can both lock out legitimate owners and, at the same time, be undermined by something like YellowKey.

One thing this also made me think about: all the Windows 11 laptops that have been lost or stolen over the last few years and are still running vulnerable builds are now essentially wide open. Those devices are never going to get patched, and as long as someone has a current Windows 11 install USB and a working copy of YellowKey, there’s very little to stop them from getting into the data on those machines. For those offline, non‑updating devices, no future Microsoft patch can retroactively protect them once they’re out in the wild.

And from a compliance and legal perspective, that means a lot of “we’re safe because the drive is BitLocker‑encrypted” incidents need to be revisited. If a Windows 11 laptop with regulated or sensitive data (PII, PHI, financials, etc.) is lost or stolen and known to be vulnerable to YellowKey, organizations may no longer be able to treat it as securely encrypted media. In many jurisdictions and under many data‑protection regimes, that pushes those events much closer to being reportable breaches of PII, not “no‑risk” losses.

I’m curious how others here are handling:

  • Policies to forbid or technically block personal Microsoft accounts on corporate devices
  • Standard procedures for escrow of BitLocker recovery keys in small, non‑domain environments
  • Whether anyone is treating YellowKey (and similar bypasses) as an IR‑only tool of last resort, or leaning on it in edge cases like this where policy and reality collide
 
Last edited:
Policies to forbid or technically block personal Microsoft accounts on corporate devices
I use Windows 10 Pro and use the gpedit.msc to manage the group policies on my machines to disable annoyances from MS. One option in there is to completely disable MS accounts.

With an elevated account:
Open the editor: Press Win + R, type gpedit.msc and hit Enter.
Navigate to: Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options.
Locate the policy: Scroll down and double-click on Accounts: Block Microsoft accounts.
Set the policy: Select Users can't add or log on with Microsoft accounts from the drop-down menu, click OK, and restart your PC.
 
I run a small MSP and recently ran into a situation that really highlights how strange and problematic Microsoft’s current BitLocker/YellowKey situation is for real‑world businesses.

This was for a potential new client, not an existing one—a very small business with no domain, no Entra/AD, and no centralized management. All their machines were essentially standalone devices with no tenant or account structure to tie them back to or manage.

They had a departing employee who had signed into their company‑owned Windows 11 laptop using their personal Microsoft account. That automatically enabled BitLocker and tied the recovery key to the employee’s personal account, not to the organization. When the employee left, they refused to provide the password or recovery key, effectively locking the company out of its own data. At the time, I had to tell them there was nothing I could do through normal, supported channels.

After the incident, I heard about the YellowKey BitLocker bypass PoC. I reached back out to see if they still had the laptop, and they did. With their authorization, I pulled the code from GitHub, built a Windows 11 install/recovery USB per the instructions, and tested it against that machine. Booting with that setup dropped me to a command prompt with full access to the C: drive. From there, I was able to copy off a set of critical files so they could recover some of their data.

In this particular case, YellowKey actually helped the small business: without it, their data was effectively held hostage by a former employee’s personal Microsoft account, despite the company owning the hardware and having every right to the work product.

Since I already had that level of access, I decided to see if I could restore full, interactive use of the system. I used the classic cmd.exe ↔ utilman.exe swap at the logon screen (via the command prompt I already had), removed the boot media, and rebooted. Clicking the accessibility icon on the Windows logon screen then opened a command prompt with full admin rights in the live OS. From there I:

  • Reactivated the built‑in Administrator account
  • Reset its password to blank
  • Rebooted and logged in as Administrator with no password
Once I had a working local admin session, I used ForensiT Profile Wizard to migrate the former user’s profile onto a new account (in this case, I mapped it onto the Administrator profile). After another reboot and login as Administrator, I effectively had that user’s local profile, data, and configuration available inside the Administrator account.

There were, however, clear limits: anything that had only ever lived in the user’s OneDrive cloud and was not fully synced locally was still inaccessible. For example, I could see image thumbnails that had been cached locally, but not the full‑resolution photos because those were only in the user’s personal Microsoft/OneDrive account.

For context, I’ve been a longtime user of SpinRite and Steve’s DNS Benchmark, so I’m very comfortable with low‑level disk recovery and diagnostics. This experience was a different kind of eye‑opener: not about failing hardware, but about how identity‑tied encryption on unmanaged corporate hardware can both lock out legitimate owners and, at the same time, be undermined by something like YellowKey.

One thing this also made me think about: all the Windows 11 laptops that have been lost or stolen over the last few years and are still running vulnerable builds are now essentially wide open. Those devices are never going to get patched, and as long as someone has a current Windows 11 install USB and a working copy of YellowKey, there’s very little to stop them from getting into the data on those machines. For those offline, non‑updating devices, no future Microsoft patch can retroactively protect them once they’re out in the wild.

And from a compliance and legal perspective, that means a lot of “we’re safe because the drive is BitLocker‑encrypted” incidents need to be revisited. If a Windows 11 laptop with regulated or sensitive data (PII, PHI, financials, etc.) is lost or stolen and known to be vulnerable to YellowKey, organizations may no longer be able to treat it as securely encrypted media. In many jurisdictions and under many data‑protection regimes, that pushes those events much closer to being reportable breaches of PII, not “no‑risk” losses.

I’m curious how others here are handling:

  • Policies to forbid or technically block personal Microsoft accounts on corporate devices
  • Standard procedures for escrow of BitLocker recovery keys in small, non‑domain environments
  • Whether anyone is treating YellowKey (and similar bypasses) as an IR‑only tool of last resort, or leaning on it in edge cases like this where policy and reality collide
No matter what the employees grievance, they should never be in a position to sabotage or extort their employer.

The relationship and obligations of each party, the employee-employer relationship, should be clearly laid out in legal documents. There should have been legal and IT safeguards in place to prevent the employees actions.

These recent proof-of-concepts such as YellowKey clearly show why you shouldn’t use BitLocker. Not only is there allegations of a backdoor in M$ Windows going back decades and Bitlocker, but companies such as Elcomsoft, who I test for, can break in to it and other encrypted containers/volumes such as VeraCrypt, TrueCrypt, BestCrypt and many others with ease.

Another reason to dump BitLocker is that is uses 4x the resources active than inactive.

The financial implications and the financial reparations against the employee should be a prophylactic spelt out in legally binding documents.
 
Last edited:
can break in to it and other encrypted containers/volumes such as VeraCrypt, TrueCrypt, BestCrypt and many others with ease.
This is a potentially misleading comment. I presume the implication is that if you have a weak password, you will have a vulnerability. I strongly doubt that any modern implementation of crypto with a strong password is vulnerable to straightforward cracking. (Bugs aside, of course.)
 
I'm guessing you meant employer for the last word... but the reverse is also true.
This is a potentially misleading comment. I presume the implication is that if you have a weak password, you will have a vulnerability. I strongly doubt that any modern implementation of crypto with a strong password is vulnerable to straightforward cracking. (Bugs aside, of course.)
@PHolder I wasn't referring to crypto, therefore I wasn’t being misleading. I was referring to software that creates an encrypted container/volume such as BitLocker, VeraCrypt, TrueCrypt, BestCrypt and others.​

I don't think crypto was mentioned once in this thread.
 
I don't think crypto was mentioned once in this thread.
Um, and what exactly do you think BitLocker, VeraCrypt, and TrueCrypt use to do their work? They use well established cryptographic primitives which are considered secure if a proper strength password is used to derive the protective keys. (It's complicated, because usually they generate a fully random key and then provide your access to it by encrypting it with a password of your own determination. If you choose a poor password, you will have poor security even though the base [random] key is generated a VERY secure encoding of the drive.)
 
  • Like
Reactions: CSPea