Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Risk

6/16/2008
11:14 PM
George V. Hulme
George V. Hulme
Commentary
50%
50%

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.

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.
 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Oldest First  |  Newest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 8/3/2020
Pen Testers Who Got Arrested Doing Their Jobs Tell All
Kelly Jackson Higgins, Executive Editor at Dark Reading,  8/5/2020
Browsers to Enforce Shorter Certificate Life Spans: What Businesses Should Know
Kelly Sheridan, Staff Editor, Dark Reading,  7/30/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Special Report: Computing's New Normal, a Dark Reading Perspective
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
The Changing Face of Threat Intelligence
The Changing Face of Threat Intelligence
This special report takes a look at how enterprises are using threat intelligence, as well as emerging best practices for integrating threat intel into security operations and incident response. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-17366
PUBLISHED: 2020-08-05
An issue was discovered in NLnet Labs Routinator 0.1.0 through 0.7.1. It allows remote attackers to bypass intended access restrictions or to cause a denial of service on dependent routing systems by strategically withholding RPKI Route Origin Authorisation ".roa" files or X509 Certificate...
CVE-2020-9036
PUBLISHED: 2020-08-05
Jeedom through 4.0.38 allows XSS.
CVE-2020-15127
PUBLISHED: 2020-08-05
In Contour ( Ingress controller for Kubernetes) before version 1.7.0, a bad actor can shut down all instances of Envoy, essentially killing the entire ingress data plane. GET requests to /shutdown on port 8090 of the Envoy pod initiate Envoy's shutdown procedure. The shutdown procedure includes flip...
CVE-2020-15132
PUBLISHED: 2020-08-05
In Sulu before versions 1.6.35, 2.0.10, and 2.1.1, when the "Forget password" feature on the login screen is used, Sulu asks the user for a username or email address. If the given string is not found, a response with a `400` error code is returned, along with a error message saying that th...
CVE-2020-7298
PUBLISHED: 2020-08-05
Unexpected behavior violation in McAfee Total Protection (MTP) prior to 16.0.R26 allows local users to turn off real time scanning via a specially crafted object making a specific function call.