Commentary

George Hulme
 

Antivirus Firm: Use File Recovery Tools To Defeat Ransomware Attack

While Kaspersky Lab says it's currently not possible to decrypt files encrypted by the most recent variant of the so-called "ransomware" Gpcode virus, file recovery tools just might get your data back.

While Kaspersky Lab says it's currently not possible to decrypt files encrypted by the most recent variant of the so-called "ransomware" Gpcode virus, file recovery tools just might get your data back.Most readers of InformationWeek are probably aware that deleted files aren't really deleted. When you hit the delete key, the space used by the file is marked as writable, and the "deleted" file exists until either overwritten through normal system use, or forensically wiped by special software. Wiping tools overwrite files a certain number of times until file recovery is virtually impossible. (I know: there are theoretical ways to potentially recover files using electronic wave-algorithm voodoo and an electron microscope. But unless you are NASA or the NSA, you don't have these resources, or the skills.)

This means that those infected by Gpcode, which we covered last week, and have their files encrypted and are then asked to pay a ransom for the decryption key, can try to use file recovery software in an attempt to get their data back.


More Security Insights

White Papers

More >>

Reports

More >>

Webcasts

More >>

The most recent update of the Kaspersky Gpcode.ak advisory suggests using a program, PhotoRec, to "recover your original files which were deleted by Gpcode after the virus created an encrypted version of the files."

I've no experience with PhotoRec, and I imagine many file recovery tools could get the job done. The trick is to write as little as possible to the hard-drive where the deleted files reside.

It doesn't appear that Gpcode overwrites the clear-text files before they're scrambled, not even once, after it runs its encryption scheme. While this step would render recovery software near useless, it would also be time consuming, and most users would notice the hit on their system performance during the process. Not a desirable condition for a successful attack.

Instead, the virus writers are relying on users' ignorance that they may actually be able to recover the unencrypted, and deleted versions, of the encrypted files.

If you happen to be one of the relatively few and unfortunate to have been nailed by Gpcode, using recovery software would probably be your best shot at recovering your files. Unless the Gpcode authors have some type of error in their use of the encryption (which happens to be Microsoft Enhanced Cryptographic Provider v1.0 and built into the OS) no one is cracking the RSA 1024-bit key. Not in this decade.

However, something all of us should do regularly also would be the best file-recovery solution available. At his blog, Bruce Schneier makes the great point: regular use of backup software is essential security:

The single most important thing any company or individual can do to improve security is have a good backup strategy. It's been true for decades, and it's still true today.


Related Reading




Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

InformationWeek encourages readers to engage in spirited, healthy debate, including taking us to task. However, InformationWeek moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing/SPAM. InformationWeek further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
T-Shirt Giveaway T-Shirt Giveaway: Each week we're selecting one great comment from our readers. The author of the comment will receive an InformaitonWeek Community t-shirt. So get posting!
Subscribe to RSS

Resource Links