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 PC World newsletter!

Error: Please check your email address.

Tags securityransomwarebitcoin blockchain

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

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

Crucial Ballistix Elite 32GB Kit (4 x 8GB) DDR4-3000 UDIMM

Learn more >

Gadgets & Things

Lexar® Professional 1000x microSDHC™/microSDXC™ UHS-II cards

Learn more >

Family Friendly

Lexar® JumpDrive® S57 USB 3.0 flash drive 

Learn more >

Stocking Stuffer

Plox Star Wars Death Star Levitating Bluetooth Speaker

Learn more >

Christmas Gift Guide

Click for more ›

Most Popular Reviews

Latest News Articles

Resources

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?