Don’t reboot: experts find WannaCry fix
20 May 2017
French researchers said on Friday they had found a way for technicians to save Windows files encrypted by WannaCry, the ransomware that threatens to start locking up victims' computers, which first affected the UK's National Health Service and spread globally about a week ago.
WannaCry has infected more than 300,000 computers in 150 nations. It threatens to lock out victims unless they pay a sum of $300 to $600 within one week of infection. India – which uses a large number of older Windows operating systems – has been among the first to appeal for help.
However, it is China and Russia that have the largest number of computers infected. Although the UK was the first to report the attack, it along with Germany and France has seen a relatively small number of systems infected.
A loose-knit team of security researchers scattered across the globe say they collaborated to develop a workaround to unlock the encryption key for files hit by the attack, which several independent security researchers have confirmed, according to Reuters.
The researchers cautioned that their solution only works in certain conditions – specifically, if the computer has not been rebooted since becoming infected and if victims apply the fix beforeWannaCry carries out its threat to lock their files permanently.
Europol said on Twitter that its European Cybercrime Centre had tested the team's new tool and said it was "found to recover data in some circumstances".
The group includes Adrien Guinet, who works as a security expert, Matthieu Suiche, who is an internationally known hacker, and Benjamin Delpy, who helped out by night, in his spare time, outside his day job at the Banque de France.
"We knew we must go fast because, as time passes, there is less chance to recover," Delpy said after a second sleepless night of work this week allowed him to release a workable way to decrypt WannaCry at 6 am Paris time (0400 GMT) on Friday.
Delpy calls his free tool for decrypting infected computers without paying ransom "wanakiwi".
Suiche published a blog with technical details summarising what the group of passing online acquaintances has built and is racing to share with technical staff at organisations infected by WannaCry.
Wanakiwi was quickly tested and shown to work on Windows 7 and older Windows versions XP and 2003, Suiche said, adding that he believed the fix also works with Windows 2008 and Vista, thus covering the entire range of affected PCs.
"(The method) should work with any operating system from XP to Win7," Suiche told Reuters via a direct message on Twitter.
Delpy added that so far, banking, energy and some government intelligence agencies from several European countries and India had contacted him regarding the fix.
Guinet, a security researcher at Paris-based Quarks Lab, published the theoretical technique for decrypting WannaCry files late Wednesday and Thursday, which Delpy, also in Paris, figured out how to turn into a practical tool to salvage files.
Suiche, based in Dubai and one of the world's top independent security researchers, provided advice and testing to ensure the fix worked across all various versions of Windows.
His blog post links to a Delpy's "wanakiwi" decryption tool which is based on Guinet's original concept. His idea involves extracting the keys to WannaCry encryption codes using prime numbers rather than attempting to break the endless string of digits behind the malicious software's full encryption key.
"This is not a perfect solution," Suiche said. "But this is so far the only workable solution to help enterprises to recover their files if they have been infected and have no back-ups" which allow users to restore data without paying black-mailers.
As of Wednesday, half of all internet addresses corrupted globally by WannaCry were located in China and Russia, with 30 and 20 per cent of infections, respectively, according to data supplied by threat intelligence firm Kryptos Logic.
By contrast, the United States accounts for just 7 per cent of WannaCry infections while Britain, France and Germany each represent just 2 per cent of worldwide attacks, Kryptos said.
Only 309 transactions worth around $94,000 appear to have been paid into WannaCryblackmail accounts by Friday 1345 GMT, seven days after the attack began. That is just under one in 1,000 of the estimated victims.
This may reflect a variety of factors, security experts say, including scepticism that attackers will honour their promises or the possibility that organisations have back-up storage plans allowing them to recover their data without paying ransom.