Ransomware authors use the bitcoin blockchain to deliver encryption keys

The CTB-Locker ransomware uses a metadata field in bitcoin transactions to store decryption keys

Ransomware authors are using the bitcoin blockchain, which serves as the cryptocurrency's public transaction ledger, to deliver decryption keys to victims.

The technique, which removes the burden of maintaining a reliable website-based infrastructure for cybercriminals, was observed in a recent version of the CTB-Locker ransomware that targets Web servers.

CTB-Locker has targeted Windows computers for a long time, but a PHP-based variant capable of infecting websites first appeared in February, marking an interesting evolution of this ransomware threat.

The decryption routine in the original PHP-based CTB-Locker version involved a script called access.php that served as a gateway to the attackers' back-end server. This gateway script was hosted on multiple hacked websites and was necessary to obtain the decryption key after victims made a payment.

The approach was not reliable, according to researchers from Web security firm Sucuri, because those hacked websites could be cleaned by their owners. Constantly updating the list of gateways used by the malware was probably a hassle for the criminals.

Because of that, CTB-Locker's creators came up with a new approach: using the bitcoin blockchain itself to deliver the decryption keys. This new behavior was observed by Sucuri's researchers in a CTB-Locker version released in March.

The technique relies on a field called OP_RETURN that was introduced in the Bitcoin protocol in 2014 to allow transactions to hold arbitrary bits of text, or metadata.

The new CTB-Locker variant generates a unique bitcoin wallet address for every infection. Once the victim pays the ransom by sending the required amount of bitcoins to that address, the attackers generate a new bogus transaction from that same wallet to which they append the encryption key in the OP_RETURN field.

The transaction is not validated in the bitcoin system, but it does get recorded in the blockchain and can be viewed through websites like blockexplorer.com and blockchain.info.

The CTB-Locker script uses the blockexlorer.com API to check the transaction history for the wallet corresponding to the infection and extracts the decryption key from the bogus transaction once the payment has been made.

"So, instead of using unreliable gates on third-party hacked sites, the March version of the CTB-Locker reads the keys directly from public and much more reliable blockchain information services," the Sucuri researchers said in a blog post. "That’s the beauty of Bitcoin transactions -- everything is public and transparent, and at the same time it’s possible to keep things anonymous and not traceable to real IPs."

There are many applications that can benefit from distributed, tamper-proof systems like the blockchain, which is why the technology is being adopted by banks and other industries. Security researchers also demonstrated last year that the bitcoin blockchain can be abused by malware authors to store malicious code or commands, and the idea seems to be catching on.

Join the newsletter!

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

Tags securityransomwarebitcoin blockchain

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

Lucian Constantin

IDG News Service
Show Comments

Cool Tech

SanDisk MicroSDXC™ for Nintendo® Switch™

Learn more >

Breitling Superocean Heritage Chronographe 44

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?