By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
Security Parrot - Cyber Security News, Insights and ReviewsSecurity Parrot - Cyber Security News, Insights and Reviews
Notification
Latest News
OpenAI may use Associated Press archive for AI training
July 14, 2023
EU users can hold conversations with Google Bard from training set
July 14, 2023
Aptos, the new default font for Microsoft Office
July 14, 2023
BlackLotus UEFI bootkit sources published on GitHub
July 14, 2023
Hackers from the XDSpy cyber-espionage group attacked Russian organizations on behalf of the Ministry of Emergency Situations
July 14, 2023
Aa
  • News
  • Tutorials
  • Security InsiderComing Soon
  • Expert InsightComing Soon
Reading: A bug in the Clop ransomware for Linux allowed victims to recover data for free
Share
Security Parrot - Cyber Security News, Insights and ReviewsSecurity Parrot - Cyber Security News, Insights and Reviews
Aa
Search
  • News
  • Tutorials
  • Security InsiderComing Soon
  • Expert InsightComing Soon
Follow US
Security Parrot - Cyber Security News, Insights and Reviews > News > A bug in the Clop ransomware for Linux allowed victims to recover data for free
News

A bug in the Clop ransomware for Linux allowed victims to recover data for free

Last updated: 2023/02/09 at 2:01 AM
Security Parrot Editorial Team Published February 9, 2023
Share
SHARE

In December 2022, researchers discovered a version of the Clop ransomware that targets Linux servers. However, there was a vulnerability in the encryption scheme of this variant of the malware, thanks to which the victims could restore their files for free.

Clop for Linux was first spotted by SentinelLabs after attackers used it to attack a university in Colombia, along with the Windows variant. Although the new malware is very similar to the Windows version (because they use the same encryption method and almost identical process logic), it is still in development. In addition, there are still some differences between these Clop variants, mainly related to API call restrictions and features not yet implemented.

Experts say that when launched, the malware executable file (ELF) creates a new process that tries to elevate the rights to a level that allows you to encrypt data.

The files and folders targeted by Clop include the user’s /home directory, which contains all personal files, /root, /opt directories, and Oracle directories (/u01 – /u04) used to store database files or as mount points for Oracle software. The researchers note that this is rather unusual, as Linux ransomware typically does not target specific Oracle database folders and is more focused on encrypting ESXi virtual machines.

In addition, it is noted that the Linux version of Clop does not yet support the hashing algorithm used in the Windows version to exclude certain types of files and folders from the encryption process. Also, the Linux version does not yet have a mechanism for handling files of different sizes in different ways.

In their report, the experts talk in detail about the vulnerability they found in the malware encryption system. For example, the current version of Clop for Linux does not encrypt the RC4 keys used to encrypt files with an RSA-based asymmetric algorithm, as Windows does.

Instead, the Linux malware uses hardcoded encoded RC4 master key to generate encryption keys, and then uses the same key to encrypt them, and stores the keys locally in a separate file. Also, the RC4 key is not verified at all, although on Windows it is always verified before encryption starts.

But the lack of key protection is not the only disadvantage of Clop for Linux. In addition, when the encryption key is written to a file, the malware writes a number of additional data there, including information about the file (its size and encryption time). Researchers say that such data should have been hidden, because it can help cybercriminologists decrypt specific files.

Experts explain that in fact, such a scheme does not protect the keys from free extraction, and the encryption can be “rolled back”, which was eventually done. A special Python script created by the researchers for this purpose has already been published on GitHub.

SentinelLabs said that they have already provided their decryptor to law enforcement agencies, and helped victims of the ransomware recover data for free.

Weekly Updates For Our Loyal Readers!

Security Parrot Editorial Team February 9, 2023
Share this Article
Facebook Twitter Email Copy Link Print

Archives

  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • February 2023
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020

You Might Also Like

News

OpenAI may use Associated Press archive for AI training

July 14, 2023
News

EU users can hold conversations with Google Bard from training set

July 14, 2023
News

Aptos, the new default font for Microsoft Office

July 14, 2023
News

BlackLotus UEFI bootkit sources published on GitHub

July 14, 2023

© 2022 Parrot Media Network. All Rights Reserved.

  • Home
  • Parrot Media Group
  • Privacy Policy
  • Terms and Conditions
Join Us!

Subscribe to our newsletter and never miss our latest news, podcasts etc..

Zero spam, Unsubscribe at any time.

Removed from reading list

Undo
Go to mobile version
Welcome Back!

Sign in to your account

Lost your password?