PC Review


Reply
Thread Tools Rate Thread

Decrypting files if certs and keys were not backed up?

 
 
Bill Fuller
Guest
Posts: n/a
 
      24th Nov 2007
I have a laptop with a failed video card. This card was specific to the
laptop and no longer available, so I am unable to log on. However, the hard
drive is fine, including system files, etc.



Unfortunately, I have some encrypted files in my documents folder that I
forgot were encrypted and I am unable to decrypt them without logging on. I
did not back up the certs and keys prior to the video failure.



Is there any way to get the security stuff I need off the drive and decrypt
these files? (I tried, for example, copying the Windows files to one of the
boot partitions in a dual boot VM machine where one of the boot partitions
was loaded with a generic copy of Windows XP, hoping to be able to log on
there. however, startup failed (driver incompatibility, no doubt).


 
Reply With Quote
 
 
 
 
Patrick Keenan
Guest
Posts: n/a
 
      24th Nov 2007
"Bill Fuller" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a laptop with a failed video card. This card was specific to the
>laptop and no longer available, so I am unable to log on. However, the hard
>drive is fine, including system files, etc.
>
>
>
> Unfortunately, I have some encrypted files in my documents folder that I
> forgot were encrypted and I am unable to decrypt them without logging on.
> I did not back up the certs and keys prior to the video failure.
>
>
>
> Is there any way to get the security stuff I need off the drive and
> decrypt these files?


The short answer is no, unless you log on.

> (I tried, for example, copying the Windows files to one of the boot
> partitions in a dual boot VM machine where one of the boot partitions was
> loaded with a generic copy of Windows XP, hoping to be able to log on
> there. however, startup failed (driver incompatibility, no doubt).


You must not attempt to re-install windows or make any changes to the OS.
This will almost certainly prevent you from ever regaining access.

I would suggest that you step back, try to find someone somewhere with the
same system, install your drive there, and decrypt the files. That's
about your only chance for recovery.

HTH
-pk


 
Reply With Quote
 
Bill Fuller
Guest
Posts: n/a
 
      24th Nov 2007
"Patrick Keenan" <(E-Mail Removed)> wrote in message
news:e%(E-Mail Removed)...
> "Bill Fuller" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>I have a laptop with a failed video card. This card was specific to the
>>laptop and no longer available, so I am unable to log on. However, the
>>hard drive is fine, including system files, etc.
>>
>>
>>
>> Unfortunately, I have some encrypted files in my documents folder that I
>> forgot were encrypted and I am unable to decrypt them without logging on.
>> I did not back up the certs and keys prior to the video failure.
>>
>>
>>
>> Is there any way to get the security stuff I need off the drive and
>> decrypt these files?

>
> The short answer is no, unless you log on.
>
>> (I tried, for example, copying the Windows files to one of the boot
>> partitions in a dual boot VM machine where one of the boot partitions was
>> loaded with a generic copy of Windows XP, hoping to be able to log on
>> there. however, startup failed (driver incompatibility, no doubt).

>
> You must not attempt to re-install windows or make any changes to the OS.
> This will almost certainly prevent you from ever regaining access.
>
> I would suggest that you step back, try to find someone somewhere with the
> same system, install your drive there, and decrypt the files. That's
> about your only chance for recovery.


Bummer. It is a five year old Toshiba laptop and I have looked everywhere
for one... or the card. No luck, so far. Sure would be nice if I could copy
security files and use my original password.


 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      24th Nov 2007

"Bill Fuller" <(E-Mail Removed)> wrote in message
news:uoPe%(E-Mail Removed)...
> "Patrick Keenan" <(E-Mail Removed)> wrote in message
> news:e%(E-Mail Removed)...
>> "Bill Fuller" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>>I have a laptop with a failed video card. This card was specific to the
>>>laptop and no longer available, so I am unable to log on. However, the
>>>hard drive is fine, including system files, etc.
>>>
>>>
>>>
>>> Unfortunately, I have some encrypted files in my documents folder that I
>>> forgot were encrypted and I am unable to decrypt them without logging
>>> on. I did not back up the certs and keys prior to the video failure.
>>>
>>>
>>>
>>> Is there any way to get the security stuff I need off the drive and
>>> decrypt these files?

>>
>> The short answer is no, unless you log on.
>>
>>> (I tried, for example, copying the Windows files to one of the boot
>>> partitions in a dual boot VM machine where one of the boot partitions
>>> was loaded with a generic copy of Windows XP, hoping to be able to log
>>> on there. however, startup failed (driver incompatibility, no doubt).

>>
>> You must not attempt to re-install windows or make any changes to the OS.
>> This will almost certainly prevent you from ever regaining access.
>>
>> I would suggest that you step back, try to find someone somewhere with
>> the same system, install your drive there, and decrypt the files.
>> That's about your only chance for recovery.

>
> Bummer. It is a five year old Toshiba laptop and I have looked everywhere
> for one... or the card. No luck, so far. Sure would be nice if I could
> copy security files and use my original password.
>


Copying the files is no great problem but unless you have the
certificates, you won't be able to decrypt the files on a different
machine.


 
Reply With Quote
 
jorgen
Guest
Posts: n/a
 
      25th Nov 2007
Bill Fuller wrote:
> I have a laptop with a failed video card. This card was specific to the
> laptop and no longer available, so I am unable to log on. However, the hard
> drive is fine, including system files, etc.
>
> Unfortunately, I have some encrypted files in my documents folder that I
> forgot were encrypted and I am unable to decrypt them without logging on. I
> did not back up the certs and keys prior to the video failure.
>
> Is there any way to get the security stuff I need off the drive and decrypt
> these files? (I tried, for example, copying the Windows files to one of the
> boot partitions in a dual boot VM machine where one of the boot partitions
> was loaded with a generic copy of Windows XP, hoping to be able to log on
> there. however, startup failed (driver incompatibility, no doubt).
>


There are tools available that will do all the hard work of such a
recovery process. Elcomsoft has made some tools for this.
 
Reply With Quote
 
VanguardLH
Guest
Posts: n/a
 
      25th Nov 2007
"Bill Fuller" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a laptop with a failed video card. This card was specific to
>the laptop and no longer available, so I am unable to log on.
>However, the hard drive is fine, including system files, etc.
>
> Unfortunately, I have some encrypted files in my documents folder
> that I forgot were encrypted and I am unable to decrypt them without
> logging on. I did not back up the certs and keys prior to the video
> failure.
>
> Is there any way to get the security stuff I need off the drive and
> decrypt these files? (I tried, for example, copying the Windows
> files to one of the boot partitions in a dual boot VM machine where
> one of the boot partitions was loaded with a generic copy of Windows
> XP, hoping to be able to log on there. however, startup failed
> (driver incompatibility, no doubt).



You had a failed laptop. We're supposed to guess what you have now?
If it is the same hardware, just move over the hard drive to your new
system. If the hardware is different, you could still try moving over
the hard drive and do a Repair (inplace) install of Windows to get it
to recognize the new hardware provided either Windows or you have all
the drivers for the new hardware. Then you boot using your old hard
drive, export the EFS certificate, and retrieve the contents of your
EFS-protocted files (and put encrypt them with something like
Truecrypt that doesn't rely on any external certs).

 
Reply With Quote
 
VanguardLH
Guest
Posts: n/a
 
      25th Nov 2007
"VanguardLH" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "Bill Fuller" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>I have a laptop with a failed video card. This card was specific to
>>the laptop and no longer available, so I am unable to log on.
>>However, the hard drive is fine, including system files, etc.
>>
>> Unfortunately, I have some encrypted files in my documents folder
>> that I forgot were encrypted and I am unable to decrypt them
>> without logging on. I did not back up the certs and keys prior to
>> the video failure.
>>
>> Is there any way to get the security stuff I need off the drive and
>> decrypt these files? (I tried, for example, copying the Windows
>> files to one of the boot partitions in a dual boot VM machine where
>> one of the boot partitions was loaded with a generic copy of
>> Windows XP, hoping to be able to log on there. however, startup
>> failed (driver incompatibility, no doubt).

>
>
> You had a failed laptop. We're supposed to guess what you have now?
> If it is the same hardware, just move over the hard drive to your
> new system. If the hardware is different, you could still try
> moving over the hard drive and do a Repair (inplace) install of
> Windows to get it to recognize the new hardware provided either
> Windows or you have all the drivers for the new hardware. Then you
> boot using your old hard drive, export the EFS certificate, and
> retrieve the contents of your EFS-protocted files (and put encrypt
> them with something like Truecrypt that doesn't rely on any external
> certs).
>



By the way, before trying to change the old hard drive by doing a
Repair install on it, add it as a slave drive and save an image of the
drive or partitions.

 
Reply With Quote
 
Bill Fuller
Guest
Posts: n/a
 
      25th Nov 2007

"Pegasus (MVP)" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>
> Copying the files is no great problem but unless you have the
> certificates, you won't be able to decrypt the files on a different
> machine.
>


There does seem to be a brute force way of doing this from the intact hard
drive described here:

http://www.beginningtoseethelight.org/efsrecovery/

However, it appears to be out of date. For example, locating the folder
"c:\documents and settings\foo\application data\microsoft\crypto\" for
private keys does not exist on my machine. I did find "c:\documents and
settings\foo\application data\microsoft\credentials\", which appears to be
the same. Also, all references to folders and files under "hklm\sam\sam\"
were noneexistant. This folder is empty.


 
Reply With Quote
 
Bill Fuller
Guest
Posts: n/a
 
      25th Nov 2007
"Bill Fuller" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "Pegasus (MVP)" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>>
>> Copying the files is no great problem but unless you have the
>> certificates, you won't be able to decrypt the files on a different
>> machine.
>>

>
> There does seem to be a brute force way of doing this from the intact hard
> drive described here:
>
> http://www.beginningtoseethelight.org/efsrecovery/
>
> However, it appears to be out of date. For example, locating the folder
> "c:\documents and settings\foo\application data\microsoft\crypto\" for
> private keys does not exist on my machine. I did find "c:\documents and
> settings\foo\application data\microsoft\credentials\", which appears to be
> the same. Also, all references to folders and files under "hklm\sam\sam\"
> were noneexistant. This folder is empty.
>

Correction to above, I did find the missing files on the non-bootable drive.

What is salient about the link above is the following quote:

if you have following folders and their contents from the orginal install of
2k or xp - you can recover you efs data. knowledge of your password is also
required for this amount of data.

c:\documents and settings\foo\application data\microsoft\crypto\
- private keys

c:\documents and settings\foo\application data\microsoft\protect\
- locks your current password to your private keys

c:\documents and settings\foo\application data\microsoft\systemcertificates\
- public keys (not essential to be the orginal as another valid key can be
madeup)

this data maybe on an unbootable system, a backup, roaming profile or
currently on the system, either in the file system or in the free space.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
decrypting a file after windows vista is formatted & all the keys Vicky-Aryan Windows Vista Security 1 6th Dec 2007 10:35 PM
Encrypting/Decrypting XML Documents with Asymmetric Keys dfa_geko Microsoft ASP .NET 3 6th Apr 2007 02:31 PM
decrypting files yorkshire man Windows XP New Users 1 8th Feb 2005 12:15 AM
I Need Help In Decrypting Files Malek Ma'ani Windows XP Security 5 11th Jun 2004 04:49 PM
recovery agent keys/certs mgm Windows XP Security 5 16th Jan 2004 11:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:47 AM.