Sitemap
ColdByte

ColdByte

Student of cyber security. Writing to learn.

PicoCTF: Bitlocker-1

2 min readNov 22, 2025

--

This short write-up outlines the approach used to solve the PicoCTF challenge Bitlocker-1. The objective is to bypass the password protection on a BitLocker-encrypted drive and access its contents.

You can read more about BitLocker here.

Task description

Jacky is not very knowledgable about the best security passwords and used a simple password to encrypt their BitLocker drive. See if you can break through the encryption!

Press enter or click to view image in full size

Extracting and cracking the hash

In this task, we first need to extract the hash from the attached file (bitlocker-1.dd). This can be easily done with the command bitlocker2john -i bitlocker-1.dd > hash.txt. This will store the hash of the password used to protect the BitLocker drive in a file called “hash.txt”.

Press enter or click to view image in full size

Now that the hash has been extracted, we can try to crack it with the “john” tool. This is easily done with the command john hash.txt --wordlist=<path-to-wordlist>. I recommend using rockyou.txt or similar wordlists.

Get ColdByte’s stories in your inbox

Join Medium for free to get updates from this writer.

After a while, you should see the following output:

Press enter or click to view image in full size

Mounting the BitLocker drive

Now that we have cracked the password (jacqueline), we can mount the drive to find the flag! To mount the drive, please run the following commands:

  1. sudo mkdir -p /mnt/bitlocker
  2. sudo dislocker -V bitlocker-1.dd -u”jacqueline” — /mnt/bitlocker
  3. sudo mkdir -p /mnt/mountbitlocker
  4. sudo mount -o loop /mnt/bitlocker/dislocker-file /mnt/mountbitlocker
Press enter or click to view image in full size

To access the drive, simply run cd /mnt/mountbitlocker.

Finding the flag

Here we see the file containing the flag:

The flag is: picoCTF{us3_b3tt3r_p4ssw0rd5_pl5!_3242adb1}

Clean-up

It’s always smart to clean-up after working with potentially malicious files. First, move out of the /mnt/ directory, then run the following commands:

  1. sudo umount /mnt/mountbitlocker
  2. sudo umount /mnt/bitlocker
  3. sudo rmdir /mnt/mountbitlocker
  4. sudo rmdir /mnt/bitlocker

That’s it! Thanks for reading!

--

--

ColdByte

Written by ColdByte

Student of cyber security. Writing to learn.