RL Blog

Topics

All Blog PostsAppSec & Supply Chain SecurityDev & DevSecOpsProducts & TechnologySecurity OperationsThreat Research

Follow us

XX / TwitterLinkedInLinkedInFacebookFacebookInstagramInstagramYouTubeYouTubeblueskyBluesky

Subscribe

Get the best of RL Blog delivered to your in-box weekly. Stay up to date on key trends, analysis and best practices across threat intelligence and software supply chain security.

ReversingLabs: The More Powerful, Cost-Effective Alternative to VirusTotalSee Why
Skip to main content
Contact UsSupportLoginBlogCommunity
reversinglabsReversingLabs: Home
Solutions
Secure Software OnboardingSecure Build & ReleaseProtect Virtual MachinesIntegrate Safe Open SourceGo Beyond the SBOM
Increase Email Threat ResilienceDetect Malware in File Shares & StorageAdvanced Malware Analysis SuiteICAP Enabled Solutions
Scalable File AnalysisHigh-Fidelity Threat IntelligenceCurated Ransomware FeedAutomate Malware Analysis Workflows
Products & Technology
Spectra Assure®Software Supply Chain SecuritySpectra DetectHigh-Speed, High-Volume, Large File AnalysisSpectra AnalyzeIn-Depth Malware Analysis & Hunting for the SOCSpectra IntelligenceAuthoritative Reputation Data & Intelligence
Spectra CoreIntegrations
Industry
Energy & UtilitiesFinanceHealthcareHigh TechPublic Sector
Partners
Become a PartnerValue-Added PartnersTechnology PartnersMarketplacesOEM Partners
Alliances
Resources
BlogContent LibraryCybersecurity GlossaryConversingLabs PodcastEvents & WebinarsLearning with ReversingLabsWeekly Insights Newsletter
Customer StoriesDemo VideosDocumentationOpenSource YARA Rules
Company
About UsLeadershipCareersSeries B Investment
EventsRL at RSAC
Press ReleasesIn the News
Pricing
Software Supply Chain SecurityMalware Analysis and Threat Hunting
Request a demo
Menu
Threat ResearchMarch 24, 2023

From the Labs: YARA Rule for Detecting NB65

ReversingLabs YARA detection rule for NB65 can help you find this ransomware in your environment.

smiling woman with glasses
Carolynn van Arsdale, Writer, ReversingLabs.Carolynn van Arsdale
FacebookFacebookXX / TwitterLinkedInLinkedInblueskyBlueskyEmail Us
detecting nb65 over black and white static background

Since the start of Russia’s war on Ukraine, there have been several instances of cyber attacks related to the conflict. There have been direct attacks on Ukrainian entities, such as malware wiper attacks, as well as popular ransomware gangs siding with the Russian government, such as Conti. One group however, about two months into the Russo-Ukrainian war, joined the cyber front, but targeted Russia specifically.

This group, known as NB65, launched a successful campaign discovered in April 2022 that attacked Russian entities by stealing their data and leaking it online. In addition to the successful breaches and public leaking, NB65 made it known that their targeting was a result of Russia’s physical aggression towards Ukraine. The group is active on Twitter, and used the hashtag “#FckPutin” when announcing one of its successful breaches.

While this group is unique in its motivation for targeting Russian entities, the significance of NB65 lies in their source code. The group’s ransomware source code is not original, because it was copied and modified from the leaked source code of another ransomware group: Conti. As we highlighted in our From The Labs: YARA Rule for Detecting Conti, this ransomware group, which was a powerful force in recent years, publicly sided with the Russian government’s actions towards Ukraine. And as retaliation, a member of Conti leaked the group’s internal messages and source code, giving NB65 the opportunity to use the code to its advantage.

In this From the Labs YARA Rules series, we break down some of the threats behind our YARA detection rules that can help your organization detect threats within your environment. Here's what you need to know about NB65, and our open source YARA rule for detecting it.

Understanding the modified source code

Researchers were able to analyze a sample of NB65’s modified Conti source code after it was uploaded to VirusTotal. BleepingComputer analyzed the sample, and was able to see strong similarities between both the original and modified code. When the modified code was run through VirusTotal, the sample was flagged as Conti. Also, Intezer Analyze determined that 66% of NB65’s code was the same as Conti’s ransomware sample.

The code samples are not exactly the same, however. NB65 modified the code just enough to give it the group’s stamp. When BleepingComputer ran the NB65 code, it found that all of the encrypted files had an extension of “.NB65.” Once NB65 encrypts a system, the code will also launch a ransomware note named “R3ADM3.txt.” The message blames their attack on Russian President Vladimir Putin for invading Ukraine: “We’re watching very closely. Your President should not have committed war crimes. If you’re searching for someone to blame for your current situation look no further than Vladimir Putin.”

What’s also significant and unique about NB65 is that their members have spoken to the news media about the group’s activities. For example, one representative of the group told BleepingComputer that they based their encryptor on the first Conti source code leak, but modified it for each victim they targeted, so that existing decryptors wouldn’t work.

Their goal: Hurt Russia’s stability

In a continued conversation NB65 had with BleepingComputer, they revealed their true feelings towards Russia and their motivations for attacking these entities:

From the very beginning we made it clear. We're supporting Ukraine. We will honor our word. When Russia ceases all hostilities in Ukraine and ends this ridiculous war NB65 will stop attacking Russian internet facing assets and companies. Until then, f*ck em.

The group’s statements make it obvious that it is a hacktivist organization, most definitely motivated by Russia’s war on Ukraine. Their actions have also spoken equally as loud as their words.

In the group’s April 2022 campaign, NB65 had successfully breached the following Russian organizations: Tensor, a document management operator, the Russian space agency, as well as VGTRK, the state-owned Russian television broadcaster. Then, in May 2022, it was discovered that NB65 had also successfully breached Qiwi, a Russian payment processing platform, which resulted in the group leaking 7 million payment cards’ data.

The group’s track record of attacks shows that they aren’t afraid to target both state-run and civilian-run organizations. In NB65’s communication with BleepingComputer, they shared that their goal is to target companies that have an “impact on Russia’s ability to operate normally,” meaning that their ultimate motivation is to destabilize the country as much as possible.

NB65 did make it known on their Twitter account that they would not be targeting any organizations outside of Russia, and that any ransomware payments made to them by their victims would be donated to Ukraine.

Detecting Lorenz

While NB65 has made it known that their goal is to hurt Russian organizations specifically, it is important that companies globally protect themselves from any kind of ransomware threat. ReversingLabs’ NB65 YARA rule is designed to detect the group’s modified ransomware within your environment with high fidelity and almost no false-positives.

Download the NB65 YARA Rule here:

Win32.Ransomware.NB65.yara

To learn more about the prerequisites for using ReversingLabs’ YARA rules, consult our Github page. To learn more about how our threat analysts write these YARA rules, check out this blog post from ReversingLabs threat analyst Laura Dabelić.

Open Source YARA Rules from ReversingLabs

ReversingLabs analysts work constantly to respond to new threats and provide customers with information and tools to defend their systems from attacks. Written by our threat analysts, our high-quality, open source YARA rules help threat hunters, incident responders, security analysts, and other defenders detect malicious behavior in their environment.

Keep learning

  • Get up to speed on the state of software security with RL's Software Supply Chain Security Report 2026. Plus: See the the webinar to discussing the findings.
  • Learn why binary analysis is a must-have in the Gartner® CISO Playbook for Commercial Software Supply Chain Security.
  • Take action on securing AI/ML with our report: AI Is the Supply Chain. Plus: See RL's research on nullifAI and watch how RL discovered the novel threat.
  • Get the report: Go Beyond the SBOM. Plus: See the CycloneDX xBOM webinar.

Explore RL's Spectra suite: Spectra Assure for software supply chain security, Spectra Detect for scalable file analysis, Spectra Analyze for malware analysis and threat hunting, and Spectra Intelligence for reputation data and intelligence.

Tags:Threat Research

More Blog Posts

Graphalgo supply chain campaign respawned.

Graphalgo fake recruiter campaign returns

An attack targeting crypto developers has been respawned — with an LLC and new techniques.

Learn More about Graphalgo fake recruiter campaign returns
Graphalgo fake recruiter campaign returns
TeamPCP supply chain attack

The TeamPCP supply chain attack evolves

The malicious campaign started with Trivy and Checkmarx and has shifted to LiteLLM — and now telnix. Here's how.

Learn More about The TeamPCP supply chain attack evolves
The TeamPCP supply chain attack evolves
Malicious npm packages use fake install logs to load RAT

Fake install logs in npm packages load RAT

The final-stage malware in the Ghost campaign is a RAT designed to steal crypto wallets and sensitive data.

Learn More about Fake install logs in npm packages load RAT
Fake install logs in npm packages load RAT
Inside the NuGet hack toolset

Inside the NuGet hackers' toolset

RL discovered two packages containing scripts that complete a typosquatting toolchain. Here's how it worked.

Learn More about Inside the NuGet hackers' toolset
Inside the NuGet hackers' toolset

Spectra Assure Free Trial

Get your 14-day free trial of Spectra Assure for Software Supply Chain Security

Get Free TrialMore about Spectra Assure Free Trial
Blog
Events
About Us
Webinars
In the News
Careers
Demo Videos
Cybersecurity Glossary
Contact Us
reversinglabsReversingLabs: Home
Privacy PolicyCookiesImpressum
All rights reserved ReversingLabs © 2026
XX / TwitterLinkedInLinkedInFacebookFacebookInstagramInstagramYouTubeYouTubeblueskyBlueskyRSSRSS
Back to Top