Black Basta Ransomware Gang Infiltrates Networks Using Penetration Testing Tools

The distribution of QAKBOT malware is resurrected once again by operators of the Black Basta ransomware group on September 8, 2022, after a short leisure break.

While the latest distribution mechanism and campaign were identified by cybersecurity researchers at Trend Micro and the attackers using Penetration Testing tools to infiltrate the targeted networks.

In this latest campaign, the threat actors are distributing the QAKBOT malware with the help of the following malicious payloads:-

  • SmokeLoader
  • Emotet
  • Malicious spam (BB and Obama20x IDs)
  • Brute Ratel C4 framework

As a second-stage payload, the attackers deployed the Qakbot malware in their recent attacks by exploiting the Brute Ratel C4 framework payload. During the attack, Cobalt Strike was also used to move laterally as part of the attack.

Technical Analysis

A malicious email ignites the whole campaign and this email contains a malicious URL that redirects the victims to a download page. Here, an archive file containing documents and files will be downloaded.

There are two things that you will find in the archive:-

  • An LNK file in the form of an ISO file
  • Two hidden subdirectories

There is a geographical distribution of C&C servers among compromised hosts, which makes the infrastructure difficult to detect. There are 28 countries where all these hosts are found within ISP broadband networks.

Each C&C server is used once by the operators of the QAKBOT malware, as they don’t use a server repeatedly, instead, they always keep changing them for more complexity. It has even been found that some of them have been saved in more than one QAKBOT configuration.

QAKBOT launches a reconnaissance operation on the network and then it drops the Brute Ratel DLL within 6 minutes of its introduction. 

The following things are identified during the subsequent reconnaissance process in the environment:- 

  • Privileged users
  • Active Directory
  • Group policies
  • Domains
  • Computers
  • Users

In order to prepare the data for exfiltration, the files are then packaged into a ZIP file, and it takes only a few seconds to accomplish this data extraction process.

QAKBOT C&C Server Countries

Here, we have compiled a list of the countries in which the C&C servers for the QAKBOT are located:-

  • Afghanistan
  • Algeria
  • Argentina
  • Austria
  • Brazil
  • Bulgaria
  • Canada
  • Chile
  • Colombia
  • Egypt
  • India
  • Indonesia
  • Japan
  • Mexico
  • Mongolia
  • Morocco
  • Netherlands
  • Qatar
  • Russia
  • South Africa
  • Taiwan
  • Thailand
  • Turkey
  • United Arab Emirates
  • United Kingdom
  • United States
  • Vietnam
  • Yemen

Apart from this, it has been detected that attackers are also using the HTML Smuggling method to deliver a password-protected ZIP file. Malicious code can be injected into HTML attachments or web pages through this technique.

Recommendations

Here below we have mentioned all the recommendations provided:-

  • Always verify the email sender.
  • Do not open or download any suspicious attachments received from an unknown sender.
  • Do not click or open any suspicious links.
  • Always verify the authenticity of embedded links by hovering over them.
  • Prior to taking any action, it is recommended that you verify if the email actually comes from the company that claims to have sent it.

Also Read: Download Secure Web Filtering – Free E-book

Balaji

BALAJI is an Ex-Security Researcher (Threat Research Labs) at Comodo Cybersecurity. Editor-in-Chief & Co-Founder - Cyber Security News & GBHackers On Security.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago