Wednesday, February 8, 2023
  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Glossary
  • Community Forum
  • Web Hosting Directory
  • Login
  • Register
Cloud7 News
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Network/Internet
    • Windows
    • Software
    • Hardware
    • Blockchain
    • Policy/Legislation
    • How-Tos
    • Troubleshooting
No Result
View All Result
Cloud7 News
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Network/Internet
    • Windows
    • Software
    • Hardware
    • Blockchain
    • Policy/Legislation
    • How-Tos
    • Troubleshooting
No Result
View All Result
Cloud7 News
No Result
View All Result

Home > Cybersecurity > Ransomware accidentally becomes a wiper

Ransomware accidentally becomes a wiper

An open-source ransomware toolkit, named Cryptonite, is now encrypting files but there is no option to restore them.


Erdem Yasar Erdem Yasar
December 8, 2022
3 min read
Ransomware accidentally becomes a wiper
  • Fortinet’s FortiGuard Labs team discovered that a variant of an open-source ransomware toolkit turned into a wiper accidentally.
  • Cryptonite is an open-source ransomware toolkit that was available for free on GitHub until recently.
  • The demonstration showed that when the program ends, the actual encryption key vanishes and not even the operator will have access to it.

On November 23, Fortinet‘s FortiGuard Labs published a post covering the Cryptonite ransomware, which is coded in Python. The open-source ransomware toolkit was available for free on GitHub, provided by a user CYBERDEVILZ until recently. The repository and its forks have been removed, for obvious reasons. It was using the Fernet module of the cryptography package and .cryptn8 extension.

From ransomware to wiper

Recently, FortiGuard Labs analyzed a new sample of the malware and published another report about it. According to the new report, published on December 5, a new sample of Cryptonite never offers a decryption tool, and thus acts as a wiper. We have already seen wipers act as ransomware in the past, but in this situation, it is a little different. 

Cryptonite only implements barebone features for ransomware. It allows the operator to configure an exclusion list, server URL, email address, and bitcoin wallet, but still, it is very simple. It also lacks some important ransomware features, such as:

  • Windows Shadow Copy removal
  • File unlocking for a more thorough impact
  • Anti-analysis
  • Defensive evasion (AMSI bypass, disabling event logging, etc.)

When analyzed, the team saw that the sample can encrypt files, as expected, but it doesn’t display the window allowing the victim to start the decryption process with the decryption key. At first, the team thought that it might be intentional and continued with static analysis. 

The team created a diff between the decompiled code and the malware template from GitHub, which showed that five lines were removed while the program enumerates the filesystem. In the dynamic analysis, the team discovered that the ransomware fails when it tries to use the tkinter library in the warningScreen() function. At this point in this ransomware, the encryption process has already finished. The warningScreen() should show the ransom note and allow the victim to start the decryption. The team said,

« We can now see that the ransomware was not intentionally turned into a wiper. Instead, the lack of quality assurance led to a sample that did not work correctly. The problem with this flaw is that due to the design simplicity of the ransomware if the program crashes, or is even closed, there is no way to recover the encrypted files.

First, there is no way to run the program in a ‘decryption-only’ mode. Every time it is executed, it re-encrypts everything with a different key before offering the decryption to the victim.

Second, a key is generated to instantiate a Fernet instance for cryptography. This key is the real cryptographic key. However, it is never used again in the code and is not sent to the operator.

Another random number is generated. In the constructor of the Cryptonite class, the dkrpt value is used to populate the decryptPlease variable. Later, this key is sent to the operator. This is the key provided to the victim if a ransom payment is made. To check whether the victim has the correct key, the submitted value is compared to the decryptPlease. For the actual decryption, the Fernet instance that has already stored the initial generated key is used. »

Thus, the actual encryption key vanishes, when the program ends and even the operator can’t access it. In the case reviewed in this analysis, when the program crashes due to an exception, there is no way to recover the encrypted data.

See more Cybersecurity News


Tags: Fortinet
Erdem Yasar

Erdem Yasar

Erdem Yasar is a news editor at Cloud7 News. Erdem started his career by writing video game reviews in 2007 for PC World magazine while he was studying computer engineering. In the following years, he focused on software development with various programming languages. After his graduation, he continued to work as an editor for several major tech-related websites and magazines. During the 2010s, Erdem Yasar shifted his focus to cloud computing, hosting, and data centers as they were becoming more popular topics in the tech industry. Erdem Yasar also worked with various industry-leading tech companies as a content creator by writing blog posts and other articles. Prior to his role at Cloud7 News, Erdem was the managing editor of T3 Magazine.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

I agree to the Terms & Conditions and Privacy Policy.

Next Post
The city of Antwerp's digital services were disrupted by a cyberattack

Antwerp's digital services were disrupted by a cyberattack

Related News

CISA publishes VMware ESXi ransomware recovery tool

CISA publishes VMware ESXi ransomware recovery tool

February 8, 2023 3:45 pm
New local privilege escalation vulnerability strikes X.Org server

New local privilege escalation vulnerability strikes X.Org server

February 7, 2023 9:45 pm
Red Hat brings new security capabilities to Red Hat OpenShift

Red Hat brings new security capabilities to Red Hat OpenShift

February 7, 2023 8:55 pm
Cisco fixes command injection vulnerability

Cisco fixes command injection vulnerability

February 6, 2023 5:00 pm
Get free daily newsletters from Cloud7 News Get the Cloud7 Newsletter
Select list(s):

Check your inbox or spam folder to confirm your subscription.

By subscribing, you agree to our
Copyright Policy and Privacy Policy

Get the free newsletter

Subscribe to receive the latest IT business updates straight to your inbox.

Select list(s):

Check your inbox or spam folder to confirm your subscription.

Editor's Choice

What’s new in Linux kernel 6.2 rc6?

10 Best Web Hosting Services of 2023

Ubuntu 22.04 LTS is available for download. What is new?

CERN and Fermilab recommend AlmaLinux

7 best hosting control panels of 2023

How to update Linux Kernel without rebooting?

7 best Linux mail servers of 2023

7 best cPanel alternatives for 2023

7 best Linux web browsers for 2023

7 best CentOS alternatives

7 best Linux server distros of 2023

Interview with Igor Seletskiy on AlmaLinux

How to create a VM on VMware Workstation

Recent News

  • CISA publishes VMware ESXi ransomware recovery tool
  • WordPress 6.2 Beta is ready for testing
  • New local privilege escalation vulnerability strikes X.Org server
  • Red Hat brings new security capabilities to Red Hat OpenShift
  • With BuddyPress 12.0, BP Rewrites will support backward compatibility

Cloud7 News
Cloud7 is a news source that publishes the latest news, reviews, comparisons, opinions, and exclusive interviews to help tech users of high-experience levels in the IT industry.

EXPLORE

  • Web Hosting
  • Cloud Computing
  • Data Center
  • Cybersecurity
  • Linux
  • Network/Internet
  • Software
  • Hardware
  • How-Tos
  • Troubleshooting

RESOURCES

  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Glossary
  • Community Forum
  • Web Hosting Directory

Get the Cloud7 Newsletter

Get FREE daily newsletters from Cloud7 delivering the latest news and reviews.

  • About
  • Privacy & Policy
  • Copyright Policy
  • Contact

© 2023, Cloud7 News. All rights reserved.

No Result
View All Result
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Network/Internet
    • Windows
    • Software
    • Hardware
    • Blockchain
    • Policy/Legislation
    • How-Tos
    • Troubleshooting
  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Glossary
  • Community Forum
  • Web Hosting Directory

© 2023, Cloud7 News. All rights reserved.

Welcome Back!

Sign In with Facebook
Sign In with Google
Sign In with Linked In
OR

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Sign Up with Facebook
Sign Up with Google
Sign Up with Linked In
OR

Fill the forms below to register

*By registering into our website, you agree to the Terms & Conditions and Privacy Policy.
All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.