Tuesday, November 12, 2024
HomeCyber Security NewsBabuk Locker Emerges as New Enterprise Ransomware of 2021

Babuk Locker Emerges as New Enterprise Ransomware of 2021

Published on

Malware protection

The year begins brightly and so is the new malware that got added into the world of Cyber Security.

Yes, Babuk Ransomware, happens to be the first Ransomware of 2021 which targets corporate victims in human-operated attacks.

What us Babuk Ransomware?

Babuk Ransomware is a standard ransomware but uses the new techniques such as multi-threading encryption and abusing the Windows Restart Manager.

- Advertisement - SIEM as a Service

Own implementation of SHA256 hashing, ChaCha8 encryption, and Elliptic-curve Diffie–Hellman (ECDH) key generation and exchange algorithm are used as encrypting schemes.

Also, Babuk can work with or without command line paramters. If no parameter is given, it is restricted to only encrypt the local machines.

Babuk’s website:

alt text

Babuk’s encryption operation

Babuk uses RtlGenRandom to generate 4 random buffers where two are used as ChaCha8 keys, and the other two are used as ChaCha8 nonces.

alt text

Then, it will encrypt the second ChaCha8 key using the first key and nonce. After which, the first key is encrypted using the encrypted second key and nonce. This encrypted first key is treated as the Elliptic-curve Diffie–Hellman (ECDH) private key for the local machine.

Then, Babuk generates a local ECDH public key from the private key using the code from the Github ECDH library. Then, it generates a shared secret using the local private key and the author’s hard-coded public key.

This shared secret goes through a SHA256 hashing algorithm to generate 2 ChaCha8 keys, which are used to encrypt files later.

In order to be able to decrypt files, Babuk stores the local public key in the file ecdh_pub_k.bin in the APPDATA folder. Because of ECDH’s mechanism, the ransomware author can generate the shared secret using his own private key and the victim’s public key to decrypt files.

Babuk’s ransomware working

Soon after activation, the ransomware will first kills Windows services and processes known to keep files open and prevent encryption. The terminated programs include database servers, mail servers, backup software, mail clients, and web browsers.

Then Babuk Locker will use a hardcoded extension and append it to each encrypted file, as shown below.

Babuk Locker encrypted files

A ransom note named How To Restore Your Files.txt will be created in each folder. This ransom note contains basic information on what happened during the attack and a link to a Tor site where the victim can negotiate with the ransomware operators.

Babuk Locker ransom note

As part of the negotiation process, the ransomware operators ask their victims if they have cyber insurance and are working with  a ransomware recovery company.

Babuk Locker Tor chat with a victim

The ransomware operators will also ask victims for the %AppData%\ecdh_pub_k.bin file, which contains the victims’ public ECDH key that allows the threat actors to perform test decryption of victim’s files or provide a decryptor.

It is time for every Organization to be cautious and secure as the Ransomware attacks are growing with new techniques and the risk of the amount to be paid is unimaginable.

You can also read the complete ransomware mitigation checklist

You can follow us on Linkedin, Twitter, Facebook for daily Cybersecurity, and hacking news updates.

Gurubaran
Gurubaran
Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Latest articles

10 Best DNS Management Tools – 2025

Best DNS Management Tools play a crucial role in efficiently managing domain names and...

Sweet Security Announces Availability of its Cloud Native Detection & Response Platform on the AWS Marketplace

Customers can now easily integrate Sweet’s runtime detection and response platform into their AWS...

Researchers Detailed Credential Abuse Cycle

Cybercriminals exploit leaked credentials, obtained through various means, to compromise systems and data, enabling...

New Android Malware SpyAgent Taking Screenshots Of User’s Devices

SpyAgent, a newly discovered Android malware, leverages OCR technology to extract cryptocurrency recovery phrases...

Free Webinar

Protect Websites & APIs from Malware Attack

Malware targeting customer-facing websites and API applications poses significant risks, including compliance violations, defacements, and even blacklisting.

Join us for an insightful webinar featuring Vivek Gopalan, VP of Products at Indusface, as he shares effective strategies for safeguarding websites and APIs against malware.

Discussion points

Scan DOM, internal links, and JavaScript libraries for hidden malware.
Detect website defacements in real time.
Protect your brand by monitoring for potential blacklisting.
Prevent malware from infiltrating your server and cloud infrastructure.

More like this

Researchers Detailed Credential Abuse Cycle

Cybercriminals exploit leaked credentials, obtained through various means, to compromise systems and data, enabling...

New Android Malware SpyAgent Taking Screenshots Of User’s Devices

SpyAgent, a newly discovered Android malware, leverages OCR technology to extract cryptocurrency recovery phrases...

Tor Network Suffers IP Spoofing Attack Via Non-Exit Relays

In late October 2024, a coordinated IP spoofing attack targeted the Tor network, prompting...