A Peculiar Blog



« How To Add Links To WordPress Posts Jobs More Scarce Than Ever »

I recently wrote about a Ransomware attack called GPcode that encrypts files on the victim’s computer and then offers to sell them a decryption key to get them back.

According to Kaspersky Labs, When GPcode does it’s thing, it first creates a copy of the file it’s going to encrypt. Once that encryption is done, it deletes the original file. Here’s where the fix comes in. When a file is deleted, it isn’t really erased or destroyed unless and until something writes over that same spot on the disk where it was stored. This means that if you get to it soon enough, it’s possible to recover the original file that GPcode deleted.

There’s a free utility called PhotoRec that was originally developed to recover graphics files. It’s since been expanded and now can be used to recover a wide variety of files. It’s available as part of the latest version of the TestDisk package

If you suspect that you’ve been attacked by GPcode, Don’t reboot the computer, absolutely never pay the ransom by “buying” the attaker’s “decryptor” utility. Instead, get the PhotoRec utility and use it to recover the deleted original files.

This fix isn’t guaranteed, and it won’t always work, but it’s certainly worth trying.

Technorati Tags: Hackers, recover deleted files, GPcode, ransomware, Security, photorec, Kaspersky Labs, recover files

Bookmark To:
  • del.icio.us
  • Technorati
  • Digg
  • Reddit
  • StumbleUpon
  • Bumpzee

2 Comments

  1. Shane (1 comments.) on 07.07.2008 at 08:46 (Reply)

    Interesting. I suppose you could also use this:

    http://www.recuva.com/

    OR if you want to get really deep supposedly there is also a way to recover the keys from memory, but I have no idea where to start with that. Any clues?

    Shanes last blog post..Edit Any Webpage Directly From Your Browser

    1. admin on 08.07.2008 at 00:40 (Reply)

      That sounds like a useful utility, I’ll have to check it out sometime.

      As for recovering keys from memory, yes, that’s possible. The trick is in knowing what to look for and where in memory to look for it. Oh, lets not forget the fact that using the computer has memory being overwritten. Might be easier if you could find a util that would save a snapshot of the system memory as well as the swap file. Still, you need to know what to look for.

Sorry, the comment form is closed at this time.


Comments protected by Lucia's Linky Love.
Proudly powered by WordPress. Theme developed with WordPress Theme Generator.
Copyright © A Peculiar Blog. All rights reserved.

 

Join the Blue Ribbon Online Free Speech Campaign
Join the Blue Ribbon Online Free Speech Campaign!

 


who's linking to A Peculiar Blog