LabRat: A Stealthy and Evasive Financially Motivated Operation Exploiting CVE-2021-22205

In the ever-evolving landscape of cyber threats, a newly discovered financially motivated operation known as LabRat has emerged. It leverages a combination of signature-based tools and stealthy cross-platform malware to remain undetected. This article delves into the intricate workings of LabRat, highlighting its exploitation of CVE-2021-22205, its obfuscation tactics using Cloudflare’s TryCloudflare service, and the discovery of a private GitLab repository housing undetected binaries.

Exploiting CVE-2021-22205

LabRat operators capitalized on CVE-2021-22205, a critical-severity vulnerability impacting GitLab. By exploiting this vulnerability, the attackers deployed a script for persistence and lateral movement, enabling them to establish a firm foothold in the targeted systems. This critical weakness served as a gateway for their further malicious activities.

Obfuscation with Cloudflare’s TryCloudflare

To disguise their infrastructure and hinder detection efforts, the LabRat attackers employed an array of subdomains created through Cloudflare’s TryCloudflare service. By utilizing this service, they obscured their malicious activities and made it challenging for defenders to accurately pinpoint their locations. The obfuscation tactics employed by LabRat added an extra layer of complexity to the already elusive nature of this operation.

Utilizing a Private GitLab Repository

In a cunning move, the LabRat attackers directly linked to a private GitLab repository that hosted various undetected binaries, some of which eluded antivirus services at the time. By leveraging this repository, the threat actors ensured the persistent availability and effectiveness of their malware, further complicating its detection and containment.

In addition to employing TryCloudflare, LabRat exhibited adaptability by using a compromised Solr server as an alternate mechanism. This variation demonstrated the attackers’ proficiency in exploiting different vulnerabilities and their flexibility in matching their tactics to the available opportunities. The use of a compromised Solr server added another layer of complexity to the overall attack methodology.

LabRat operators demonstrated their technical prowess by utilizing the open-source tool GSocket, granting them persistent access to infected systems. This allowed them to maintain control over compromised machines, enabling them to manipulate and exploit them for financial gain. The use of GSocket showcased the attackers’ in-depth knowledge of various tools and techniques used in the arsenal of modern cybercriminals.

Discovery of ProxyLite.ru and XMRig Binaries

During the investigation into LabRat’s activities, files related to the Russian proxyware service ProxyLite.ru and XMRig binaries for mining were discovered in the repositories used by the attackers. These findings shed light on the motive behind the operation and hinted at the potential involvement of the attackers in cryptocurrency mining schemes. The inclusion of mining binaries pointed towards monetary gain as a significant driving force behind LabRat’s activities.

Previous Use of a Rootkit for Full Control

LabRat’s previous attacks revealed the utilization of a kernel-based rootkit, used to conceal the cryptomining process while granting the attackers full control over infected systems. By leveraging a rootkit, the threat actors not only advanced their evasion capabilities but also gained extensive control over compromised systems, allowing them to further their malicious objectives unhindered. This sophisticated technique solidified LabRat’s status as a formidable adversary in the cybersecurity landscape.

Challenges in Defense and Detection

The stealthy and evasive techniques employed by LabRat make defending against and detecting their activities significantly more challenging. The utilization of signature-based tools combined with cross-platform malware makes it difficult for traditional security measures to identify and combat such threats effectively. This emphasizes the need for comprehensive and robust defense mechanisms that can adapt to the ever-evolving tactics employed by malicious actors.

The Impact of Undetected Compromises

The longer the compromise goes undetected, the more money the attacker makes, and the greater the cost for the victim. LabRat’s financially motivated operations underscore the immediate and long-term consequences faced by organizations that fall victim to such attacks. Beyond financial losses, compromised systems can suffer reputational damage, legal consequences, and a loss of customer trust. The impact of undetected compromises highlights the urgent need for proactive cybersecurity measures and rapid incident response capabilities.

LabRat’s sophisticated and financially motivated operation poses substantial challenges for defenders and detection mechanisms. By exploiting vulnerabilities like CVE-2021-22205, leveraging obfuscation techniques, and persistently accessing infected systems, the attackers leave little room for error. To effectively combat adversaries like LabRat, organizations must deploy robust cybersecurity measures, stay updated on emerging threats, employ advanced defense mechanisms, and develop resilient incident response capabilities. Only through a proactive and comprehensive approach can organizations hope to fortify their defenses against such stealthy and evasive threats, minimizing the risk of compromise and subsequent financial and reputational damage.

Explore more

What Is the Transparency Gap in Business Central?

With a rich background in applying cutting-edge technologies like artificial intelligence and blockchain to real-world business challenges, Dominic Jainy has become a leading voice on modernizing financial systems. His work focuses on bridging the gap between the powerful capabilities of today’s ERPs and the practical, often messy, realities of the corporate accounting cycle. In our conversation, we explored the often-underestimated

AI Turns Customer Service Into a Growth Engine

With her extensive background in CRM and customer data platforms, Aisha Amaira has a unique vantage point on the technological shifts redefining business. As a MarTech expert, she has spent her career at the intersection of marketing and technology, focusing on how innovation can be harnessed to unlock profound customer insights and transform core functions. Today, she shares her perspective

Can Embedded AI Bridge the CX Outcomes Gap?

As a leading expert in marketing technology, Aisha Amaira has spent her career at the intersection of CRM, customer data platforms, and the technologies that turn customer insights into tangible business outcomes. Today, we sit down with her to demystify the aplication of AI in customer experience, exploring the real-world gap between widespread experimentation and achieving a satisfying return. She’ll

Why CX Is the Ultimate Growth Strategy for 2026

In a marketplace where product innovation is quickly replicated and consumer attention is fractured across countless digital platforms, the most enduring competitive advantage is no longer what a company sells, but how it makes a customer feel. The business landscape has reached a critical inflection point where customer experience (CX) has decisively transitioned from a supporting function into the primary

How B2B Video Wins With Both Humans and AI

The days of creating B2B content solely for a human audience are definitively over, replaced by a complex digital ecosystem where AI gatekeepers now stand between brands and their buyers. This fundamental change in how business professionals discover and evaluate solutions means that a video’s success is no longer measured by views and engagement alone. It must also be discoverable,