Skip to content

ray-bun/bitlookup

Repository files navigation

BitLookup

If your C drive is bitlocked, then the solution below may help you recover faster if you have lots of machines to recover. Help your users recover faster from the CloudStrike Blue Screen of Death .

You'll need to extract the BitLocker keys from Active Directory / InTune and then populate the keys.csv file.

Demo at: https://bitlookup.net/

Powershell script to extract Bitlocker keys

https://www.reddit.com/r/sysadmin/s/JTETMJNDA6

How to run it locally

git clone https://github.com/ray-bun/bitlookup

Rename: sample.env to .env and update CSV_FILEPATH file path

npm install
npm run dev

Sample CSV (keys.csv)

machine_serial,key_1,key_2
111111,556039-021384-640156-357302-043318-622193-214049-084172,084172-556039-622193-640156-357302-021384-214049-043318
222222,622193-640156-084172-556039-357302-043318-021384-214049,622193-084172-021384-214049-556039-640156-357302-043318
333333,640156-084172-622193-043318-556039-214049-021384-357302,622193-214049-084172-556039-640156-043318-357302-021384
444444,084172-556039-622193-043318-640156-214049-357302-021384,084172-640156-214049-622193-021384-043318-556039-357302
666666,214049-084172-043318-622193-640156-021384-556039-357302,084172-043318-622193-214049-556039-021384-640156-357302

API endpoint

https://bitlookup.net/search/111111
http://localhost/search/111111

Bootable USB

To create a bootable USB, you can use Hiren's BootCD:

https://www.hirensbootcd.org/usb-booting/

PowerShell script

This script will retrieve the user machine serial and then obtain the BitLocker key from the API endpoint. Please remember to update the domain in the script. Boot with the bootable USB, run the below PowerShell script:

https://gist.github.com/ray-bun/b6fdf1e77282862665b597dc3f1765dc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published