Para aquellos que no están familiarizados con ella, Veracrypt is the successor to the encryption software Truecrypt. Truecrypt was suddenly abandonded by the creators, and others decided to take up the responsibility by forking the application and creating Veracrypt.
Veracrypt leaves many things untouched from the last working Truecrypt version, however they have added some new features that really bolster the level of security one can make use of. More information about Veracrypt can be found on their website at https://veracrypt.codeplex.com/
Installing Veracrypt is extremely simple, and only requires roughly five minutes of your time. Navigate your browser to the downloads page here and select “VeraCrypt Linux Setup 1.19” which is the latest version at the time of writing this.
Save the file anywhere you wish, such as your Downloads folder, and then pop open your terminal.
Siguiente, we need to extract the setup files
- cd Downloads
- tar -xf veracrypt-1.19-setup.tar.bz2
You should see a bunch of setup files, you’ll want to run the GUI setup for your Architecture.
Then press 1 and hit enter to start the installation, followed by “Q” when the terms and conditions pop up, followed by “Yes” and enter once more. You will then be prompted to enter your root/sudo password, and the installation should only take a brief moment thereafter.
That’s it! But, since that was so easy, why don’t we set ourselves up an encrypted container while we are at it?
Setting up an encrypted file storage container
How I find myself describing to people what a container is, is the computer version of a safe, but a safe that you can design to look like something else. You theoretically could make your safe APPEAR to be an .mp3 file, a .JPG, or a text document if you wanted (granted if you have a container that is 20GB in size, that’s an awefully large jpeg...)
Setting up a container can take as little as five minutes, or absolute hours depending on some of the choices you make throughout this, and the power of the machine you are using. My intel i5-4210U will process cryptographic processes like a ferrari compared to doing the same thing on a Core2Duo, por ejemplo.
Pop open your applications menu and find VeraCrypt, usually under “Accessories”.
Siguiente, we want to click Volumes > Create New Volume.
Desde allí, select that you wish to create a container, and make it standard not hidden on the next screen as well.
At this point it’s time to create the file you wish to use as a container. I tend to make mine usually just gibberish names, like “dmbe7363” or something personally; but ultimately you could name it, “Top secret files I want to hide from the government” if you wanted to as well.
Once that’s finished, it’s time to select the Algorithm we want to use. I personally am on the viewpoint of, “I’d rather it be as secure as possible.” After all, why am I going through all this trouble, just to make my container something that can be broken into...? So, for my own container I chose a cascade suite of cyphers; AES first, Twofish next and then finishing with Serpent. I’m not going to get into a huge explanation about these, but the general point to get across to you is, “AES is what your SSL and TLS certificates typically use, and is the industry standard military grade encryption.
Twofish is even more powerful and complex, albeit a little slower to decode, and Serpent is the grandaddy of slow but beefy encryption.” This suite means that IF an adversary somehow managed to break the AES encryption or find a way past it, they still have Twofish and Serpent in their way, making it extremely unlikely (as long as the rest of this setup is done properly) that anyone will EVER access this file by force.
For my Hash Algorithm, I use SHA-512 or Whirlpool typically. SHA-512 was designed by the NSA and is widely considered one of the more secure algorithms for password hashes while maintaining great speed. Ahora, for the paranoid minded, sí, I did say made by the NSA, however; there is no evidence of any backdoor to SHA-512.
The next couple screens are fairly self explanatory, selecting the size of the container you wish to make, and the filesystem used. Simplemente pon, FAT is fine as a filesystem, unless you plan to put files that are larger than 4GB themselves into the container, then you’ll want to select a different format (Although if you selected that option, VeraCrypt will pick one for you!)
When asked about creating a password it is absolutely crucial that your password is secure. Your password should be 20+ caracteres, with no words or repeated phrases or numbers.
An example of a secure password is: F55h$3m2K5nb2@$kl%392@j3nm6^kAsmxFC^75$
There are various methods for creating and actually remembering passwords like that to be found on the internet. How you create your password is up to you, but remember that the strength of the encryption is absolutely irrelevant if your password is “password123” or something simple!
The next screen is going to ask you to move your mouse as randomly as possible within the window. Simply do so until the green bar is completely filled, and then click “Format”.
Una vez hecho esto, your container will be set up, and will be ready to go...sooner or later.
Once that’s finished, let’s mount the container so we can drop a file into it!
primero, select a slot and then click “Select File” on the main VeraCrypt screen, and then click “Mount”.
Select the file we created, and enter the password.
Una vez hecho esto, your file will be mounted like a drive, in your file manager! Treat it just like a thumb drive, drag and drop or copy and paste anything you want into it! Once you are done with it, make sure you go back into VeraCrypt and dismount the container!
Congratulations! If you followed this guide properly you now have an extremely over-secured and nearly unbreakable as far as we are aware; encrypted container!