Dislocker - Recover your encrypted data with Bitlocker
I - Presentation
Aorimn, the developer of Dislocker has designed this software to allow reading or writing from Linux (or Mac OSX) on Windows BitLocker volumes.
It is a user-space file system ( FUSE ) driver that allows (to a user without special privilege) access to a file system without modifying kernel sources.
So with Ubuntu we go through Dislocker access files encrypted with Bitlocker. Do not have Ubuntu? No problem ! We will use in this tutorial, a Live USB key to use Ubuntu without installing it. It is also very convenient to have access to all the tools that GNU / Linux offers.
II - Create a USB live key (non-persistent) of Ubuntu 16.04
- If you already have Ubuntu or another Debian-based distribution, you can create a Ubuntu 16.04 Live USB key with Gnome Disk Utility (known simply as "Disk").
- On Windows, to create a USB Live Key from Ubuntu 16.04, use the excellent " Rufus " or " UNetbootin "
For more information, see: ubuntu-en documentation on creating Live USB
II - Booting the PC via the USB Live Key
Once your Ubuntu Live-USB is in your pocket, turn off your PC, connect the USB key and reboot your machine.
From the first display (small encircled character):
- Type any key on your keyboard;
- Select "French";
- Then "Try Ubuntu without installing it";
- Connect the network via WIFI or LAN.
III - Enable Universe Deposits (important)
Indeed on Ubuntu access to this repository is not set by default for live sessions.
- Go to "System Settings"> "Software & Updates";
- Check "Free and open source software maintained by the community (universe)";
- "Close" then "Refresh".
IV - Download and extract Dislocker
- Download Dislocker on GitHub or directly via this link: https://github.com/Aorimn/dislocker/archive/master.zip
- Then you will have to extract Dislocker in the directory / home / ubuntu / dislocker (create the directory "dislocker").
V - Create Folders to Access Bitlocker Partitions
Namely two folders: /media/bitlocker and /media/mount .
To do this, open a terminal with the keyboard shortcut [ CTRL Alt T ] and issue this command:
sudo mkdir /media/bitlocker /media/mount
VI - Install the libfuse-dev package
sudo apt-get install libfuse-dev
VII - Change directory to install Dislocker
dislocker cd
VIII - Install Aptitude and other necessary packages
sudo apt install aptitude
sudo aptitude install gcc cmake make libfuse-dev libmbedtls-dev ruby-dev
IX - Install Dislocker
cmake
make
sudo make install
X - Identify the Bitlocker partition
sudo fdisk -l
XI - Launch Dislocker
- With the password: If that does not work, try using your Bitlocker recovery key instead.
- sudo dislocker -r -V /dev/sdaX -uPASSWORD -- /media/bitlocker
- Change " sdaX " by the partition you just identified and " PASSWORD " by your Bitlocker password.
- With the recovery key:
- sudo dislocker -r -V /dev/sdaX –p000000-000000-000000-000000-000000-000000-000000-000000 -- /media/bitlocker
- Change " sdaX " to the partition you just identified and " 000000-000000-000000-000000-000000-000000-000000 " to your Bitlocker recovery key.
XII - Mounting the Bitlocker Partition
sudo -i
cd /media/bitlocker
mount -r -o loop dislocker-file /media/mount
Then close the terminal cleanly, with the command:
exit
XIII - Recover your data
You can then connect an external drive or other USB key, then via Nautilus (the file manager of Ubuntu), access your files and copy them to save!