This bag of tricks may help stop a Locky ransomware infection

The system modifications may work -- for a while

A malware researcher has found a few tricks to stop one of the latest types of ransomware, called Locky, from infecting a computer without using any security programs.

Ransomware is malware that encrypts a computer's files. Users are shown instructions for how to pay a fee to get the decryption key. The costs can range from a few hundreds dollars to thousands, payable to cybercriminals in bitcoin.

Locky is a relative newcomer to the ransomware scene, which computer security researchers first saw over the last few months. It is primarily distributed through spam messages that try to trick people into opening attachments, such as fake invoices.

But researchers have frequently found coding problems or weaknesses in ransomware programs. Locky is no exception.

Sylvain Sarméjeanne, a malware reverse engineer with French computer security company CERT-Lexsi, wrote on Tuesday that he found several ways to "vaccinate" a computer against Locky.

Sarméjeanne terms a vaccine as "any minor system modification which aims at blocking, without any user interaction, part or all of the harmful effects related to the execution of a malicious program."

Locky has some weak points, some by design. For example, it won't execute on a computer that has its language settings set to Russian, which probably gives an approximate region of where its authors are located.

That's not a practical tweak for most people, but Sarméjeanne found other changes that might work.

Locky tries to create registry key called "HKCU\Software\Locky," Sarméjeanne wrote. If that key is created prior to an infection, Locky will stop running. He also found a second way to alter registry values that causes Locky to quit.

A third trick involves manipulating a value that causes Locky to not encrypt files and only rename the files or the file extensions.

His fourth vaccine tricks Locky into using a supplied public key for which the operator of the computer has the private key, allowing files to be decrypted.

To be sure, tricks like these will only last for a while. Ransomware authors quickly improve their code, particularly after security researches publish weaknesses.

In 2014, Jose Vildoza of Argentina discovered a problem with ransomware called CryptoDefense. He found that the private key needed to decrypt files was stored on victims' computers.

Even though the private key was still encrypted, Vildoza collaborated with the security company Emsisoft to build a tool to recover it. CryptoDefense's authors quickly fixed the error.

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection

Tags securityhackingmalware

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Jeremy Kirk

IDG News Service
Show Comments

Cool Tech

Breitling Superocean Heritage Chronographe 44

Learn more >

SanDisk MicroSDXC™ for Nintendo® Switch™

Learn more >

Toys for Boys

Family Friendly

Panasonic 4K UHD Blu-Ray Player and Full HD Recorder with Netflix - UBT1GL-K

Learn more >

Stocking Stuffer

Razer DeathAdder Expert Ergonomic Gaming Mouse

Learn more >

Christmas Gift Guide

Click for more ›

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?