Showing posts with label cryptography. Show all posts
Showing posts with label cryptography. Show all posts

Sunday, April 21, 2013

Feel like a secret agent with TrueCrypt's awesome drive encryption!!

A pretty funny title but that's what I felt after using TrueCrypt. FYI It's a drive encryption software i.e it can mount a "Virtual Disk Drive" containing the files that you wanna secure which is protected by a password and a mind-boggling list of encryption algorithms. It can even encrypt a whole system drive and protect it (Even the drive where your OS is installed). It's easy to use, and it's free!

Here's a quick walkthrough (Stepwise):

1. Creating a volume:

Open the TrueCrypt interface and click on "Create Volume".

2. Configuring the volume:

The program will now ask whether you want to create a file container or encrypt a drive. We'll create a container for now. So select "Create an encrypted file container".


Now it will ask "Which type of volume do you want?". There are two types of volume i.e Standard and Hidden. A hidden volume is a "Volume within a volume" but it better suits the real secret agents as very less people will try to extort the password out of us. So we'll go with a standard volume. Next part is selection on an encryption method or algorithm. It's got a list of different algorithms you can select any one that you like (it doesn't really matter if you're not a secret agent :P all the algorithms are strong enough ). Next it will prompt you to select a place to store the container, select any directory that you want and after that it will ask the "size" of the directory. Go for a larger size if you want to store bigger files, it's basically like the hard-disk-memory of a drive. 


After that, it will prompt you to choose a password. Choose a strong password to increase the cryptographic strength of your container so that it becomes difficult for stray hackers to break in.
The next part is the fun part. It'll tell you to move your mouse randomly as it creates a "random pool" to strengthen the encryption (It's really fun!). After moving/shaking your mouse for sometime click on "format" the container will be created! you're done!


3. Mounting and dismounting:

Now that you're done creating the container, click finish and go back to the main TrueCrypt screen. Select any drive letter from the list and then click "select file" and navigate to the path where you stored it and select the file (It will be a very non-suspicious looking file which cannot be opened normally). Then click on "Mount". Enter your password and Hurray! when you open "My Computer" you will see an extra drive partition denoted by the letter you selected in the previous step. This is your private container where you can put your files. Put all the necessary files in it and when you're done close My Computer and click on "Dismount". The drive will be invisible again! and please note that you can keep the container file anywhere you like (e.g  a pen-drive or any other folder). And if you wanna modify any data inside your volume you can  Mount it again> modify the data (edit documents, add/remove files etc.)> dismount . Your setting will be saved! And if you're nomadic ( :P ) and keep moving, you can even install TrueCrypt on your pen-drive and take the container file with you so that you can access it on the go! It's simply the best and most handy solution to almost all encryption needs and it's completely safe!






Saturday, December 29, 2012

The smallest guide to encryption!! Encryption for starters.


 http://static.ddmcdn.com/gif/encryption-1.jpg

Most people mistake this word as "Only meant for hackers and programmers" but its only the name that is complicated. In fact, understanding how it works is quite simple!

Simplified definition: Encryption can be defined as the process of conversion of some information in such a way that it can be understood/decoded/rendered only by the people who are authorized to do it.

So if you want to send some data to your friend and you don't want anyone to be able to access it even if they confiscate/eavesdrop the piece of data, you should probably encrypt it. The unreadable copy of data can also be called a ciphertext. So how does this actually work??
There are millions of algorithms (ways) in which you can encrypt/decrypt data. It is used extensively by governments, military etc. to exchange information. But deep inside, it's a sophisticated procedure. A single slip-up in any part of the encryption can be used as an opening or attacking point for hackers. Hackers have several ways of undoing the encryption so there are always new algorithms and cracking methods coming up.
In most cases there is a password to decrypt the data which is known only by the ones who are authorized.

Here are a few ways (not all) in which a hacker can undo the encryption or gain access to the unencrypted data:

1. By infecting the file with a trojan horse or a virus before it is even encrypted:
 This sounds crazy!! Some hackers first send a hidden virus or a trojan horse to the victim's system. The victim never knows that his system is infected. The virus is of such a kind that it sends the encryption/decryption passwords to the hacker or he gets a better idea on how it can be broken. Genius!!

2. Brute force attacks:
This attack sounds simple but its not so. The idea is to keep guessing the password in every possible way until you find the correct one. This process might take hours, days or even years with little chance of completion. The resources and the time required to correctly figure out the password grows "exponentially" with it's length and difficulty. That is why we are asked to keep long and difficult passwords which contain numbers and symbols while registering on some websites!

3.Cold boot attack:
This attack is possible if the attacker has physical access to the victim's computer. The hacker "cold-boots" the victim's computer in the middle of encryption process without completely shutting it down (e.g the reset button). So in any lightweight OS when system is restarted suddenly, the details of running processes are dumped to a file whose location is already known to the attacker. This method requires a deep understanding of a computer's internal processes and is not always successful.

There are several other methods such as keylogging, cryptanalysis by rainbow tables and countless more.

So coming back on talking about encryption, there are various software and hardware which encrypt data in a chosen format and some also help in cracking it!! Here are some of them:

Encryption/Decryption software: TrueCrypt, Symantec Endpoint Encryption, BitLocker Drive Encryption, BestCrypt

Cryptanalysis (cracking) software: Aircrack-ng, Ophcrack, Cain and Abel

Hope this article was helpful.