Password protected files

Byron In Exile said:
I would never use any sort of encryption that came from Microsoft for anything.
As far as I know EFS is fairly secure, and it is very easy to use since it is builtin. The problems with it I already mentioned - just don't trust anything to it that you want to be able to recover should the OS be corrupted, even if you have backups of the files, and from what I can tell the files don't seem portable from the computer they are encrypted on. In short EFS is secure but how it was implemented from a user's persective makes it bad for many use cases.
 
The Heretic said:
As far as I know EFS is fairly secure, and it is very easy to use since it is builtin. The problems with it I already mentioned - just don't trust anything to it that you want to be able to recover should the OS be corrupted, even if you have backups of the files, and from what I can tell the files don't seem portable from the computer they are encrypted on. In short EFS is secure but how it was implemented from a user's persective makes it bad for many use cases.
It may be, but there's more to security than strength of the encryption algorithm. That wouldn't be a reason I wouldn't use Microsoft.

You've just outlined one reason: poor design. MS is highly resistant to producing anything that isn't dependent on their OS, which is a security liability in itself. And their implementation, as you've described it, shows an unacceptable level of disregard for the value of a user's data. Encrypting the data and being unable to recover it isn't data security — that's data insecurity.

Another reason is that theirs is proprietary code. Backdoors can exist, and MS has shown almost an addiction to putting undocumented hooks in their code. I wouldn't be surprised if there wasn't some shortcut to enable law enforcement agencies access to encrypted data (with a proper warrant, of course). If you want to trust MS on that possibility, go for it. (I'll pass.)

A third reason is, of course, quality. Other companies, particularly those that specialize in security, have a much higher stake in the quality of their product, since one big goof-up can irreparably damage their reputation and put them out of business. Not so with Microsoft — they'll just issue an advisory, start a new "Secure Computing Initiative," promise to do better, and move on. It's too easy to make errors that can compromise even the most secure algorithm, and MS has a bad track record with regard to bullet-proofing their products.

All that being said, EFS might still be a viable option if cost and ease of use are major factors and the data is expendable. But if the data is sensitive enough that you want strong encryption, then it probably wouldn't be worth the risk of being compromised or losing the data altogether.
 
Byron In Exile said:
All that being said, EFS might still be a viable option if cost and ease of use are major factors and the data is expendable. But if the data is sensitive enough that you want strong encryption, then it probably wouldn't be worth the risk of being compromised or losing the data altogether.
All that you said is true to one deegree or another. My use of EFS was just to hide my porn from relatives should something happen to me and they inherited my computer.

Not being much of a computer admin I could hide the folders and encrypt them and their contents, but beyond hiding the content EFS and folder hiding was a very lame solution for what I wanted to do: the folders were still visible to anybody with a brain, the filenames are still visible (and many porn filenames are very suggestive).

I've also noticed that even when I hid the folders, if I navigated to them regularly Windows Explorer would show them (albeit with a different representation), even though they were still "hidden".
 
The Heretic said:
As far as I know EFS is fairly secure, and it is very easy to use since it is builtin. The problems with it I already mentioned - just don't trust anything to it that you want to be able to recover should the OS be corrupted, even if you have backups of the files, and from what I can tell the files don't seem portable from the computer they are encrypted on. In short EFS is secure but how it was implemented from a user's persective makes it bad for many use cases.


You're right about EFS being secure. As far as backing up, you need to export the key, then you can reimpliment it even after a reinstall of the OS.

http://support.microsoft.com/default.aspx?scid=kb;EN-US;308993

http://support.microsoft.com/default.aspx?scid=kb;EN-US;223316

Excerpt:
Because there is no way to recover data that has been encrypted with a corrupted or missing certificate, it is critical that you back up the certificates and store them in a secure location. You can also specify a recovery agent. This agent can restore the data. The recovery agent's certificate serves a different purpose than the user's certificate.
 
Oh, one more link you will really enjoy about how secure EFS is ...


http://www.serverwatch.com/tutorials/article.php/1471131


EFS uses public-key cryptography in order to secure files. This means that both a public key and private key exist for the purpose of encryption and decryption. However, what the public key encrypts is not the files themselves. Instead, every file is encrypted with a unique key, called a FEK (file encryption key), and this FEK is stored in the header of the encrypted file, in a field called the Data Decryption Field (DDF). The FEK isn't just left there all open and exposed, however. It is encrypted with the user's public key. When the user wants to open the file, their private key is used to decrypt the FEK, and then the FEK is used to decrypt the file. The beauty of this arrangement is that even if a hacker were able to decrypt the FEK, they still only get into a single file, since every file has a unique FEK.

Pretty secure if you ask me.
 
ShamelessFlirt said:
Pretty secure if you ask me.
Well, as BIE pointed out, it is only half secure because there are usability problems; the algorithm is secure enough, but there are recovery problems. Key recovery should be easier. I admit I am lazy in not exporting the key, but most people don't expect the OS to be corrupted by an update to that OS.
 
woody54 said:
Hey Draco, Hows it hangin'. Life is great which is why I need a file like this:p

I have ME at home and XP at work. Maybe I will check out this Magic Folders, it could do the trick.

Thanks guys.


So, Woody, you got that lucky huh?
:D
 
The Heretic said:
Well, as BIE pointed out, it is only half secure because there are usability problems; the algorithm is secure enough, but there are recovery problems. Key recovery should be easier. I admit I am lazy in not exporting the key, but most people don't expect the OS to be corrupted by an update to that OS.


What could be easier than exporting the key? Sounds like you've just had some bad experiences. As much as I loathe M$, it's hard to discount a built in solution that works so seamlessly.

This article answers most questions about EFS ...
http://www.microsoft.com/technet/tr...prodtechnol/winxppro/reskit/prnb_efs_awzg.asp

Like you point out, the last line mentions that you should have a disaster recovery plan.


This article goes a little more in depth about the key ...
http://www.winntmag.com/Articles/Index.cfm?ArticleID=5387&Key=Internals


This I think explains all you need to do to insure the ability to restore encrypted data short of a physical error

http://www.microsoft.com/technet/tr...l=/technet/columns/security/5min/5min-401.asp

http://www.microsoft.com/technet/tr...ddocs/entserver/sag_backchecklist_restore.asp

****

To move or make a backup copy of your encryption certificate, here's what you do:

Log in as administrator.

Go to the Control Panel and launch Administrative Tools.

Launch Local Security Settings.

Expand Public Key Policies and look in the Encrypted Data Recovery Agents folder.

That folder should contain a certificate, issued to and by Administrator.

Right-click on it and select All Tasks | Export.

Click Next to begin the Export Wizard.

Choose to export the private key—you'll be asked for a password later to protect the certificate when you do this.

Select Include All Certificates If Possible and Enable Strong Protection.

Do not select Delete The Private Key If Export Is Successful unless you really want to do that. Chances are you won't.

Select and confirm a password.

Choose a filename.

Click Finish to export the certificate file.

Once you've done this, get that encryption certificate file off of your system! Put it somewhere safe. If an attacker gets his or her hands on this file, all of your encryption on that computer will be worthless.

Now, assuming you've reinstalled Windows and you want to reaccess your encrypted files, all you need to do is provide the file produced here, double-click on it, and then reboot—just to be safe. Keep in mind that if you do this on a machine that already has encrypted files on it, you won't be able to access them, since the encryption on those files was generated by a different certificate from the one you are importing. Here are a couple of Microsoft links that can help with moving and restoring EFS files:

http://www.microsoft.com/windows200...ofessional/help/encrypt_recovery_overview.htm

http://www.microsoft.com/windows200...nal/help/encrypt_to_restore_diff_computer.htm
 
BTW, since you're running NTFS, why not set the security so that the directory isn't even visable to anyone but you?

If you have XP home, you'll need to use a utility program "xcacls" or "svcacls". I think the Winternals site has one too. I'm in a rush of I'd dig further for you.

PM me for details
 
I know you guys can be a bit slow sometimes, but I have already given the perfect file security answer...............;)

Magic folders

It works, and is virtually unbreakable...............

It keeps me "normal" for family visits

:D
 
ozraven said:
I know you guys can be a bit slow sometimes, but I have already given the perfect file security answer...............;)

Magic folders

It works, and is virtually unbreakable...............

It keeps me "normal" for family visits

:D


Great solution if you're willing to pay.


Have you guys seen this site ...

http://www.hiding-porn.com/

The name says it all ...lol
 
Back
Top