install veracrypt [raspberrypi,debian,ubuntu-mate,windows]

keep in mind:
most veracrypt and truecrypt crackers are for the default options Encryption Algorithm:AES, hash Algorithm:SHA-512
so maybe use another option than the default one..

keep in mind it is also possible to hide data in pictures:
https://github.com/cedricbonhomme/Stegano/blob/master/README.rst

raspberrypi2:
based on:
https://bohdan-danishevsky.blogspot.nl/2016/11/raspberry-pi-raspbian-installing.html
install dependencies:
sudo apt-get install libfuse-dev makeself libwxbase3.0-0

cd ~
mkdir veracryptfiles
cd veracryptfiles
#wget -L -O veracrypt-1.19-raspbian-setup.tar.bz2 https://sourceforge.net/projects/veracrypt/files/VeraCrypt%201.19/veracrypt-1.19-raspbian-setup.tar.bz2/download
wget https://launchpad.net/veracrypt/trunk/1.21/+download/veracrypt-1.21-raspbian-setup.tar.bz2
tar -vxjf ./veracrypt-1.21-raspbian-setup.tar.bz2
chmod +x veracrypt-1.21-setup-*
./veracrypt-1.21-setup-console-armv7

raspberrypi1:
based on:
https://veracrypt.codeplex.com/wikipage?title=Contributed%20Resources

install veracrypt:
mkdir veracrypt
cd veracrypt
wget "http://netcologne.dl.sourceforge.net/project/veracrypt/Contributions/ARM%20Linux/veracryp-1.0f-1-setup-raspberrypi_arm.tar.bz2"
tar -xjvf "veracryp-1.0f-1-setup-raspberrypi_arm.tar.bz2"
./veracrypt-1.0f-1-setup-console-raspberrypi_arm
cd
sudo rm -r veracrypt

create a veracrypt file:
veracrypt --text --create

mount your veracrypt file:
mkdir vfolder
veracrypt /home/xxfreddyxx/vdata2 /home/xxfreddyxx/vfolder/

show mounted veracrypt files:
veracrypt -l

dismount all veracrypt files:
veracrypt -d

show all veracrypt commands:
veracrypt --help

debian/ubuntu-mate:
based on:
http://linuxg.net/install-veracrypt-on-linux/

get veracrypt:
mkdir veracrypt
cd veracrypt
#wget https://netcologne.dl.sourceforge.net/project/veracrypt/VeraCrypt%201.19/veracrypt-1.19-setup.tar.bz2
wget https://launchpad.net/veracrypt/trunk/1.21/+download/veracrypt-1.21-setup.tar.bz2
tar -xjvf veracrypt-1.*.bz2
rm veracrypt-1.*.bz2

for 32 bit:
console:
./veracrypt-1.21-setup-console-x86
gui:
./veracrypt-1.21-setup-gui-x86

for 64 bit:
console:
./veracrypt-1.21-setup-console-x64
gui:
./veracrypt-1.21-setup-gui-x64

1 enter enter q yes enter

start it:
/usr/bin/veracrypt (or from startmenu)

create a veracrypt container from terminal:
veracrypt --text --create ~/Dokumente/vc.db --hash sha512 --encryption serpent --filesystem FAT --size 50M --force
Select [1]: only press enter
Enter password: then choose a password and press enter again
Enter PIM: only press enter
Enter keyfile path [none]: only press enter

deinstall veracrypt:
cd veracrypt
sudo veracrypt-uninstall.sh

starter for ubuntu-mate / debian-mate to mount veracrypt:(volume is in ~/Dokumente/vc.db)
cd ~/.local/share/applications
nano mount_veracrypt.desktop

[Desktop Entry]
Name=mount_veracrypt
Comment=mount your veracrypt volume
Exec=veracrypt -k "" /home/xxUserxx/Dokumente/vc.db /media/veracrypt1
Icon=/usr/share/pixmaps/veracrypt.xpm
Terminal=false
Type=Application
Categories=Application;tools;
StartupNotify=true

use the correct username in starter:
cd ~/.local/share/applications
sed -i 's/xxUserxx/'$USER'/' mount_veracrypt.desktop

if you get an error with ubuntu mate:
based on:
http://www.linuxforen.de/forums/showthread.php?279067-Container-mit-Veracrypt-beim-Systemstart-mounten
datei oder verzeichnis nicht gefunden
dmsetup
veracrypt process execute 88

replace the line:
Exec=veracrypt -k "" /home/xxUserxx/Dokumente/vc.db /media/veracrypt1
with:
Exec=veracrypt --mount-options=nokernelcrypto -k "" /home/xxUserxx/Dokumente/vc.db /media/veracrypt1
and then run the lines of code to “use the correct username in starter” again.

starter for ubuntu-mate / debian-mate to unmount veracrypt:
cd ~/.local/share/applications
nano unmount_veracrypt.desktop

[Desktop Entry]
Name=unmount_veracrypt
Comment=unmount your veracrypt volume
Exec=veracrypt -d
Icon=/usr/share/pixmaps/veracrypt.xpm
Terminal=false
Type=Application
Categories=Application;tools;
StartupNotify=true

use the correct username in starter:
cd ~/.local/share/applications
sed -i 's/xxUserxx/'$USER'/' unmount_veracrypt.desktop

ubuntu – to fix the error:
"No such file or directory:"
("Datei oder Verzeichnis nicht gefunden:")
dmsetup
veracrypt process execute 88

install dmsetup:
sudo apt install dmsetup

or based on:
http://murga-linux.com/puppy/viewtopic.php?t=82203&sid=713b1cac8ebe7c49df94432b4c2d81c6
Settings/Preferences/System Integration, check “Do not use kernel cryptographic services”

windows 10:
based on:
https://veracrypt.codeplex.com/wikipage?title=Beginner%27s%20Tutorial
https://veracrypt.codeplex.com/wikipage?title=Command%20Line%20Usage

download and install veracrypt:
https://veracrypt.codeplex.com/releases

-start veracrypt
-click create volume
-create encrypted file container > next
standart veracrypt volume > next
-select file > /path/to/folder/your_file_name > save > next
-encryption options > next
-volume size 1 GB > next
-volume password xxx > next
-volume format (if files smaller 4GB -> fat) > format
> exit

Create a batch-file to start veracrypt:
1. Open text edit
2. Write the command:
"C:\Program Files\VeraCrypt\VeraCrypt" /letter X /auto /explore /beep /volume C:\Users\xxfreddyxx\path\to\folder\your_file_name /quit background
save as veracrypt_start.bat.
3. Double click the file created and the command automatically starts running in command-prompt.

Create a batch-file to stop veracrypt:
1. Open text edit
2. Write the command:
"C:\Program Files\VeraCrypt\VeraCrypt" /beep /dismount X /quit background
save as veracrypt_stop.bat.
3. Double click the file created and the command automatically starts running in command-prompt.

run the batch-files in background:
1. Create a shortcut to the .BAT or .CMD file. To do so, right click on the file, click Send To, Desktop (create shortcut)
2. Right click on the shortcut and choose Properties
3. In the Run: drop down, choose Minimized
4. Click OK
5. Double-click the shortcut to run the batch file in a minimized window state

create a shortcut to a folder in your veracrypt drive:
mount the virtual drive
navigate to the folder and rightclick it and choose “send link to desktop”

Advertisements

3 thoughts on “install veracrypt [raspberrypi,debian,ubuntu-mate,windows]

  1. hello, I have a Raspberry Pi 3 (RPI3) with Jessie Raspbian 8.0. I followed the tutorial “Debian / Ubuntu-mate” to “start it” included with the x64 or GUIx32 but it does not work. I’m veracrypt in the “Applications” menu GUI RPI3 but when I run this veracrypt, the hourglass of my mouse works for 10 seconds and nothing happens. Have you any idea how veracrypt launch the GUI on a RPI3? cordially

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s