Maybe good for hiding activity when you're already below the radar. If you're a person of interest for a large enough state then they can and will use all manner of dirty tactics to nail you and simply encrypting is not enough. You will have to flee like Snowden did. And once they bring in legislation that says a govt agent can ask for your decryption keys under reasonable doubt then everyone is in soup since encrypted data is easy enough to detect as such. One may have to shift to steganography of increasing sophistication. Basically this fight has to be clinched politically. While technology can help it can't ensure absolute privacy/security against an all-powerful state. The key question is if a state should be all-powerful at all in the first place...
> everyone is in soup since encrypted data is easy enough to detect...
This is only half-true. Any secure encryption is going to result in ciphertext that is indistinguishable from random data. In cases where the ciphertext is designated by a header or file format, then it's trivial to know that something is encrypted. Then there are cases where we can try to forensically determine that there's encrypted data via the existence of an encryption tool (e.g. VeraCrypt). If you wipe a disk with random data, for example, then it would be relatively difficult to determine whether or not the disk is encrypted (implying that there are no headers on it). In fact, one method of wiping disks is to generate a random encryption key and encrypt a stream from /dev/zero to fill the disk (https://wiki.archlinux.org/index.php/Dm-crypt/Drive_preparat...). This tool is making use of a VeraCrypt hidden volume which is a rather really interesting application of plausible deniability in cryptography. Essentially, this let's you have two volumes where both are encrypted, but each has a different key. In this setup, you'd put some files on one of the volumes to make it appear that it's your "used" volume. On the other "hidden" volume, you'd place the real files you want to keep safe. In a case where the government is demanding that you release your encryption keys, you would give up the keys to the "fake" volume. Unless you divulge the keys to the "real" volume, the attackers wouldn't necessarily know that it exists. Unless there's evidence of you using one (maybe chat logs or google searches asking for help on using it, for example), there's no reason for anyone to suspect you use it. The VeraCrypt documentation explains the technical details (https://www.veracrypt.fr/en/Hidden%20Volume.html) well enough.
> This is only half-true. Any secure encryption is going to result in ciphertext that is indistinguishable from random data.
A new SSD with very little data in the filesystem isn't going to have many, many sectors filled with random bytes. They're going to be blank instead. A used drive will have free sectors (not used by the filesystem) containing unencrypted contents of old files that have since been deleted or something. This is also not random data. Chunks of movies, pictures, applications and music will be identifiable, easily.
> Any secure encryption is going to result in ciphertext that is indistinguishable from random data.
While that's technically true it feels a bit like a moot point because if you have random data that cannot be attributed to any other application (such as large volumes of randomness) then it's a reasonable conclusion that you've just detected an encrypted volume. > In a case where the government is demanding that you release your encryption keys, you would give up the keys to the "fake" volume. Unless you divulge the keys to the "real" volume, the attackers wouldn't necessarily know that it exists. Unless they inspect the storage properties (either physically or how it registers itself on the host) and see that it's a 1TB drive with only a 500GB mountable volume. Again, it wouldn't be a forgone conclusion that the individual has other hidden volumes but it would be suspicious enough to warrant further investigation / interrogation. As always though, it really depends on the risk level you're trying to protect yourself against.
I would also assume the ‘dummy’ operating system wouldn’t have much activity. Since the user would be using the hidden OS. So that coupled with the unaccounted for space would raise more flags.
I forget where I hear it or if it was my own idea (the shame, I know, I know!) but... cant you have an unknown number of username/password pairs that decrypt/unpack the same chunk of data into different things? Say you have the same OS 51 times, as clean installs the data shouldn't have to be all that much larger than 1. You install some games on one, some office apps on the next, put some downloaded movies on the 3rd. You could give them "all" 50 passwords and they could never find OS nr 51.
It's not possible to encrypt 51GB of real-world data in 1GB space for the same reason that compression algorithms can't achieve 51x compression ratios. Given that, such a scheme presents some challenges if you want to maintain plausibility. Either,
1. Each filesystem lives within an allocated area and knows not to overwrite its neighbors' data. 2. Some filesystems (the real ones) are privileged and know their actual allocated area. Others (the decoys) think they own areas of the storage volume that contain hidden data and therefore have the potential to overwrite the hidden filesystems if they are written to. In the case of (1), you need to be able to explain why your computer has unallocated areas filled with pseudorandom data. That is never going to pass the plausibility test, imo. In the case of (2), a lot of effort needs to be put into making the decoys look normal while not letting them overwrite the hidden data. There are a number of strategies you could use here that would work, but it will never be as convenient or simple as dual-booting and the more convenient you try to make it, the less innocent a hard drive will appear under close inspection.
I think the original commenter was going for an encrypted copy-on-write setup, not some magical compressed fs. Just a base image (eg 50GB) with various encrypted delta images (1GB each) that are assigned to each user.
Nice idea, now wondering how / if I could have an alternate password that would load a decoy environment while hiding all the private stuff of my main account...
Does such a thing already exists for an Ubuntu setup ?
Safest way is to hack the SSD/HDD firmware, make it report its size half. Depending on some condition, make it use the selected half. (ex: some byte in first sector, some ATA command)
Any entity big enough to seize your laptop for analysis is also going to be able to look up the specification for any particular part in your laptop, and eventually this portion of the cat and mouse game will end.
That's definitely not true, the article mentioned people traveling between countries - TSA/border patrol/airport police aren't going to send your laptop over to the NSA/KGB to have it cracked by an expert. That being said, actually encrypting the data is way more secure than fucking with HD self-reporting.
That's predicated on an all knowing adversary with unlimited time and budget. In other words it is a largely fictional problem.
Most of the people we're talking about just run off the shelf forensics software and have minimum actual expertise (the government doesn't pay well enough for legitimate experts doing it by hand). But then again, very few people are crazy enough to modify computer hardware to protect their information. So both sides of this coin might be largely fictional.
I heard of a story of an SD card purchased from china that did not have the disk space specified. In fact, the card would continue to over write the contents without reporting full.
I wonder if it isn't easier to buy a laptop with two drives. Install a regular OS on the first, hide the second in the BIOS and nobody will notice.
The people doing the cloning / data theft would have to know about your particular model. Obviously, you encrypt the second drive, that in itself contains a hidden partition in case they do discover it.
The project here is quite neat. But I wonder if your idea would also work and ask myself how competent the forensic teams of airport security really are. Or even if they are, they certainly don't have a lot of time per device.
IT specialists are expensive and it would be shame if we waste that on something benign as airport security which was mainly established by paranoia and the wish to save face. An what exactly are they targeting? Are they looking for howToBlowUpAnAirplane.txt? Just some industrial espionage? Just some display of authority? I don't really get what would prompt these measures. Was there ever anything they found on a device someone took on a plane?
If you're only trying to slip by a cursory inspection, mount the second drive in your computer but don't attach any cables to it. Could be trickier depending on how drives are mounted in your laptop.
Comments (141) 18 threads
It's possible Tor and Tails is dangerous software to use in certain states. But if they can safely use it, it's here for them.
This is only half-true. Any secure encryption is going to result in ciphertext that is indistinguishable from random data.
In cases where the ciphertext is designated by a header or file format, then it's trivial to know that something is encrypted. Then there are cases where we can try to forensically determine that there's encrypted data via the existence of an encryption tool (e.g. VeraCrypt).
If you wipe a disk with random data, for example, then it would be relatively difficult to determine whether or not the disk is encrypted (implying that there are no headers on it). In fact, one method of wiping disks is to generate a random encryption key and encrypt a stream from /dev/zero to fill the disk (https://wiki.archlinux.org/index.php/Dm-crypt/Drive_preparat...).
This tool is making use of a VeraCrypt hidden volume which is a rather really interesting application of plausible deniability in cryptography. Essentially, this let's you have two volumes where both are encrypted, but each has a different key. In this setup, you'd put some files on one of the volumes to make it appear that it's your "used" volume. On the other "hidden" volume, you'd place the real files you want to keep safe.
In a case where the government is demanding that you release your encryption keys, you would give up the keys to the "fake" volume. Unless you divulge the keys to the "real" volume, the attackers wouldn't necessarily know that it exists.
Unless there's evidence of you using one (maybe chat logs or google searches asking for help on using it, for example), there's no reason for anyone to suspect you use it.
The VeraCrypt documentation explains the technical details (https://www.veracrypt.fr/en/Hidden%20Volume.html) well enough.
A new SSD with very little data in the filesystem isn't going to have many, many sectors filled with random bytes. They're going to be blank instead.
A used drive will have free sectors (not used by the filesystem) containing unencrypted contents of old files that have since been deleted or something. This is also not random data. Chunks of movies, pictures, applications and music will be identifiable, easily.
Continue this thread — 10 replies
While that's technically true it feels a bit like a moot point because if you have random data that cannot be attributed to any other application (such as large volumes of randomness) then it's a reasonable conclusion that you've just detected an encrypted volume.
> In a case where the government is demanding that you release your encryption keys, you would give up the keys to the "fake" volume. Unless you divulge the keys to the "real" volume, the attackers wouldn't necessarily know that it exists.
Unless they inspect the storage properties (either physically or how it registers itself on the host) and see that it's a 1TB drive with only a 500GB mountable volume. Again, it wouldn't be a forgone conclusion that the individual has other hidden volumes but it would be suspicious enough to warrant further investigation / interrogation.
As always though, it really depends on the risk level you're trying to protect yourself against.
I am not sure what you mean here - properly encrypted data is indistinguishable from random data ...
1. Each filesystem lives within an allocated area and knows not to overwrite its neighbors' data.
2. Some filesystems (the real ones) are privileged and know their actual allocated area. Others (the decoys) think they own areas of the storage volume that contain hidden data and therefore have the potential to overwrite the hidden filesystems if they are written to.
In the case of (1), you need to be able to explain why your computer has unallocated areas filled with pseudorandom data. That is never going to pass the plausibility test, imo.
In the case of (2), a lot of effort needs to be put into making the decoys look normal while not letting them overwrite the hidden data. There are a number of strategies you could use here that would work, but it will never be as convenient or simple as dual-booting and the more convenient you try to make it, the less innocent a hard drive will appear under close inspection.
Does such a thing already exists for an Ubuntu setup ?
Most of the people we're talking about just run off the shelf forensics software and have minimum actual expertise (the government doesn't pay well enough for legitimate experts doing it by hand).
But then again, very few people are crazy enough to modify computer hardware to protect their information. So both sides of this coin might be largely fictional.
Continue this thread — 3 replies
The people doing the cloning / data theft would have to know about your particular model. Obviously, you encrypt the second drive, that in itself contains a hidden partition in case they do discover it.
IT specialists are expensive and it would be shame if we waste that on something benign as airport security which was mainly established by paranoia and the wish to save face.
An what exactly are they targeting? Are they looking for howToBlowUpAnAirplane.txt? Just some industrial espionage? Just some display of authority? I don't really get what would prompt these measures.
Was there ever anything they found on a device someone took on a plane?
journalists, I heard
Continue this thread — 1 reply
All comments shown.
Couldn't load more comments. Check your connection and try again.