DOKK / manpages / debian 11 / dislocker / dislocker-fuse.1.en
DISLOCKER-FUSE(1) DISLOCKER-FUSE DISLOCKER-FUSE(1)

Dislocker-fuse - Read/write BitLocker encrypted volumes under Linux, OSX and FreeBSD.

dislocker-fuse [-hqrsv] [-l LOG_FILE] [-O OFFSET] [-V VOLUME DECRYPTMETHOD -F[N]] [-- ARGS...]

Where DECRYPTMETHOD = {-p[RECOVERY_PASSWORD] | -f BEK_FILE | -u[USER_PASSWORD] | -k FVEK_FILE | -K VMK_FILE | -c}

Given a decryption mean, the program is used to read or write BitLocker encrypted volumes. Technically, the program will create a virtual NTFS partition that you can mount as any other NTFS partition.

The virtual partition is linked to the underlying BitLocker volume, so any write to this volume is put on the BitLocker volume as well. However, you can use dd(1) to get rid of this limitation -- if it's a limitation for you. An example is provided in the EXAMPLES section of this man page.

Program's options are described below:

decrypt volume using a clear key which is searched on the volume (default)
decrypt volume using the bek file (present on a USB key)
force use of metadata block number N (1, 2 or 3). Without N, the first block is forced. Without this option, the program will try each block until a valid one is found
print the help and exit
decrypt volume using the FVEK directly. See the FVEK FILE section below to understand what is to be put into this FVEK_FILE
decrypt volume using the VMK directly. See the VMK FILE section below to understand what is to be put into this VMK_FILE
put messages into this file (stdout by default)
BitLocker partition offset, in bytes, in base 10 (default is 0). Protip: in your shell, you probably can pass -O $((0xdeadbeef)) if you have a 16-based number and are too lazy to convert it in another way.
decrypt volume using the recovery password method. If no recovery-password is provided, it will be asked afterward; this has the advantage that the program will validate each block one by one, on the fly, as you type it and not to leak the password on the commandline
do NOT display any information. This option has priority on any previous `-v'. One probably wants to check the return value of the program when using this option
do not allow one to write on the BitLocker volume (read only mode)
do not check the volume's state, assume it's ok to mount it. Do not use this if you don't know what you're doing
decrypt the volume using the user password method. If no user-password is provided, it will be asked afterward; this has the advantage not to leak the password on the commandline
increase verbosity (CRITICAL level by default), see also `-q'
volume to get metadata and encrypted keys from
--
mark the end of program's options and the beginning of FUSE's ones (useful if you want to pass something like -d to FUSE)

ARGS are any arguments you want to pass to FUSE. Note that you need to pass at least the mount-point.

- 2 bytes describing the encryption in use, from 0x8000 to 0x8003 for AES 128 or 256 bits, with or without diffuser.

- 64 bytes (512 bits) which are the FVEK as in the FVEK key protector once decrypted.

The file is therefore 66 bytes long, not more nor less. Note that you may have to deal with endianness.

These are examples you can run directly. First, you may want to copy the BitLocker volume:

% dd if=/dev/sda2 of=encrypted.bitlocker
This will copy the entire volume located into /dev/sda2 to encrypted.bitlocker. You're not forced to do this step, but this will ensure no write whatsoever is performed on the BitLocker volume.

Then dislock it:

% dislocker -V encrypted.bitlocker -f /path/to/usb/file.BEK -- /mnt/ntfs
This will create a file into /mnt/ntfs named dislocker-file.
% mount -o loop /mnt/ntfs/dislocker-file /mnt/clear

--

% umount /mnt/clear && umount /mnt/ntfs/dislocker-file

--

Note that these are examples and, as such, may need to be modified. For instance, you may want to change the decryption method used in them.

This tool is developed by Romain Coltel on behalf of HSC (http://www.hsc.fr/)

Feel free to send bugs report to <dislocker __AT__ hsc __DOT__ fr>

2011-09-07 Linux