Wilders Security Forums  

Go Back   Wilders Security Forums > Privacy Related Topics > privacy problems
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old October 22nd, 2012, 07:30 PM
onshen onshen is offline
Infrequent Poster
 
Join Date: Oct 2012
Posts: 2
Default Truecrypt containers revealing file properties in MFT after deletion

Using Windows 7 Home Premium

I have found that when i delete a Truecrypt container with data inside, its previously encrypted contents become listed in the Master File Table and can be browsed and partly recovered by using the Recuva piece of software. File names, file sizes, file locations, its all there. I just tested it twice by creating new containers and they spilled the content into the MFT both times, which i could view with Recuva. The data was definitely not listed in the MFT beforehand when viewing it with the Recuva tool.

So what is supposed to be sensitive data can therefore be accessed? Am I missing something because this would appear to be a massive security hole in Truecrypt. Apologies if this is a well known feature but i am new to these matters and have never heard anyone speak of this particular issue.

Many people put their faith in truecrypt but in my experience all an adversary would need to do is delete the TC container then run Recuva to see what was being hidden. To see a list of the file extensions, names and sizes may well be enough in some situations even if no items can be recovered intact. I know i can use software to wipe files that are marked for deletion in the MFT to prevent recovery but that measure becomes irrelevant if the adversary has access to the system or makes a duplicate of the TC container to take away, delete and examine.

How do i stop the contents of a TC container becoming entered in the MFT upon its deletion. Is this how TC is supposed to behave?

Thanks in advance
  #2  
Old October 23rd, 2012, 05:47 PM
dantz dantz is offline
Frequent Poster
 
Join Date: Jan 2007
Posts: 579
Default Re: Truecrypt containers revealing file properties in MFT after deletion

There are two MFT's in your scenario. Your NTFS-formatted partition has an MFT. If you create a file-hosted container inside a specific partition then that partition's MFT stores data about the name, size, location etc. of the newly created file, but it does NOT store any of the encrypted volume's contents such as encrypted folder and filenames. (Or at least, it's not supposed to and I've never heard of it happening except in the case of data leakage, and in that case the data is stored outside the TrueCrypt volume, e.g. temp files, paging file etc).

The TrueCrypt volume also contains an MFT (assuming it was formatted NTFS), although this is only accessible while the volume is mounted.

I don't see how TC could be leaving any of this sort of information behind in the partition's MFT. What is your exact procedure? Are you merely deleting the contents of the mounted volume and then exploring the volume's data remnants using Recuva or similar? Or are you actually dismounting the volume, deleting the container file and then exploring the partition's MFT? Also, are you rebooting at any time? If you would explain your procedure clearly and it makes sense then I'll be happy to attempt to duplicate your results.

Also, do you have "Previous versions" enabled for the files within the TrueCrypt volume? This feature is supported by either System Restore or Windows Backup, depending on how you've set things up. I've never tried it on a TrueCrypt volume before, so I'm not sure if it's possible, but if that's what you've done then I'll give it a shot.
  #3  
Old October 24th, 2012, 12:18 AM
imseca imseca is offline
Infrequent Poster
 
Join Date: Oct 2012
Posts: 2
Default Re: Truecrypt containers revealing file properties in MFT after deletion

I'm interested to this topic. It seems that many programmers are recently challenge to break Truecrypt. But honestly, if the file is critically for me I don't just delete it without using file shredder.
  #4  
Old November 1st, 2012, 06:10 AM
Enigm Enigm is offline
Regular Poster
 
Join Date: Dec 2008
Posts: 63
Default Re: Truecrypt containers revealing file properties in MFT after deletion

RTFM !!

Quote:
Journaling File Systems

When a file-hosted TrueCrypt container is stored in a journaling file system (such as NTFS), a copy of the TrueCrypt container (or of its fragment) may remain in the free space on the host volume. This may have various security implications. For example, if you change the volume password/keyfile(s) and an adversary finds the old copy or fragment (the old header) of the TrueCrypt volume, he might use it to mount the volume using an old compromised password (and/or using compromised keyfiles that were necessary to mount the volume before the volume header was re-encrypted). Some journaling file systems also internally record file access times and other potentially sensitive information. If you need plausible deniability, you must not store file-hosted TrueCrypt containers in journaling file systems. To prevent possible security issues related to journaling file systems, do one the following:

Use a partition/device-hosted TrueCrypt volume instead of file-hosted.
Store the container in a non-journaling file system (for example, FAT32).

http://www.truecrypt.org/docs/?s=jou...g-file-systems

I simply can not comprehend why people don't read the manual
for software like TC !
  #5  
Old November 1st, 2012, 12:06 PM
onshen onshen is offline
Infrequent Poster
 
Join Date: Oct 2012
Posts: 2
Default Re: Truecrypt containers revealing file properties in MFT after deletion

Thanks all and Enigm. Confess I'm not an IT person, when i set up my computer i had never heard the phrase journaling file system. When trying to digest the raft of technical info on the TC webpage, i obvously passed through this passage without understanding what its implications were and how they related to me.

I undertand the frustration of thinking people don't read the manual but in my defence i did spend hours reading their website. Problem is, when you've never heard of paging files or trim operations, digesting it all becomes more difficult and its easy to miss something. In my view, it wouldnt do any harm if they made a handful of such fundamental points more salient on their site.

Thanks again.
  #6  
Old November 1st, 2012, 02:43 PM
TheWindBringeth TheWindBringeth is offline
Frequent Poster
 
Join Date: Feb 2012
Posts: 816
Default Re: Truecrypt containers revealing file properties in MFT after deletion

I don't think the issue described in that snippet from the TC manual is consistent with what Onshen originally described. I think Onshen needed to respond to dantz.
 

Wilders Security Forums > Privacy Related Topics > privacy problems « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 08:36 PM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums