Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security NTBugtraq
[Top] [All Lists]

Re: Desktop.ini file ignored by Windows Encryption...

Subject: Re: Desktop.ini file ignored by Windows Encryption...
Date: Mon, 8 Nov 2004 19:47:02 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Scott Lockington wrote:
| Hello All,
|
| In working with Windows EFS (i.e. 2000 sp4 and XP sp2) Any file named
| "desktop.ini" is ignored when  encrypting the containing directory with EFS.
| The contents of this file are not verified to be that of a valid desktop.ini
| file, instead it can contain anything. Any file dropped named desktop.ini
| could avoid requiring decryption at a later date. Abuses of such an exclusion
| are left as an exercise for the reader.

Are you creating the desktop.ini before applying encryption to it's parent
directory?

I think you'll find in that case the "Folder Settings" directory and its
contents are not encrypted either. As they're all set as system and hidden
they don't show up unless you (for some reason) have Explorer set to show
protected OS files.

<Example one>

C:\>mkdir test

C:\>cipher /e test

~ Encrypting directories in C:\

test                [OK]

1 directorie(s) within 1 directorie(s) were encrypted


C:\>echo woo > test\file.txt

C:\>echo yay > test\desktop.ini

C:\>cipher test\*

~ Listing C:\test\
~ New files added to this directory will be encrypted.

E desktop.ini
E file.txt

</Example one>


The above example which shows that encryption *is* applied is also true if you create a directory, encrypt it, then apply directory customisations.

<Example two>

C:\>cipher /h test\*

~ Listing C:\test\
~ New files added to this directory will be encrypted.

E desktop.ini
E Folder Settings

</Example two>


Personally my best practise when it comes to EFS is to encrypt a folder before doing anything to it. That way you cannot forget to encrypt one of the files later etc.

Regards,


Adam Piggott. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32)

iD8DBQFBj8027uRVdtPsXDkRAoJ+AJwJHALQyiw4CHa8WnivzuiCUoonJQCfVwod
pGEmM4KdHIY/MdnZwhlKtpw=
=HyPv
-----END PGP SIGNATURE-----

--
Editor's Note: The 43rd Most Powerful Person in Networking says...

Register today to take the TruSecure ICSA exam by 12/31/04  at
<http://www.2test.com> ,  use promo code "CT1204" and you will pay just
$221.25 US Dollars for domestic exam delivery and  $296.25 US Dollars
for international delivery.

Visit <https://ticsa.trusecure.com>  for complete details regarding the
TICSA credential and to take the free sample exam.

--

<Prev in Thread] Current Thread [Next in Thread>