BlackMatter ransomware

Introduction

Atos Digital Security regularly performs incident response and gathers information on various groups of attackers.

Among them, BlackMatter stands out for its remarkably rapid rise despite its recent inception. This new group of attackers has quickly attracted the attention of the cybersecurity world for its offensive capabilities and its alleged legacy.

This article describes the results of the investigations conducted on this group, its modus operandi and attack campaigns.

Update – 11-03-21

Since this article was written, a new event occurred on November 3, 2021: the BlackMatter group shut down its activities.

According to vx-underground, the group announced that it would stop its operations in a message posted on the backend of its data leak Website on November 1, 2021 [27] [28].

The BlackMatter Website, hosted on a hidden service of the Tor network, is still accessible but the message states that their entire infrastructure would be shut down after 48 hours. It also indicates that affiliates can still communicate with their victims and ask for a decryptor.

The ransomware operators specified that this shut down was due to pressure from the authorities and the unavaibility of several of its members.

The BlackMatter group has indeed attracted the attention of American authorities since its attacks on two agricultural cooperatives considered as critical infrastructures, in a context of increased efforts by Washington to combat ransomware operations [14].

Description of BlackMatter operations

The name BlackMatter first appeared on July 19, 2021, when an eponymous user created an account on the Russian-speaking forums “Exploit” and “XSS.” On July 21, he began promoting his activity through a post on the same forums, stating that he was seeking to gain access to corporate networks in the United States, the United Kingdom, Canada and Australia [1] [2].

In the following days, the group set up an affiliate and partner recruitment campaign as well as a Website to publish its victims’ stolen data [1].

Promotion of BlackMatter on the Exploit forum
Source: Recorded Future [2]

Some researchers quickly raised the possibility that BlackMatter might be the heir to the REvil and/or DarkSide groups of attackers that suspended, temporarily for the former, their Ransomware-as-a-Service (RaaS) activities following the attacks that respectively targeted the outsourcing service provider Kaseya and the oil pipeline operator Colonial Pipelines [3] [4] [5]. These two attacks led to a strong political reaction in the United States [6] [7].

Although its identity is not confirmed, similarities have indeed been identified between BlackMatter and other RaaS:

  • In an interview with Recorded Future, the group claimed that its ransomware incorporates the best features of other ransomware such as Lockbit, REvil and DarkSide [8] ;
  • BlackMatter’s publications Website was designed in the same way as the Darkside, Groove and Atomsilo groups [1] [9] [10] ;
  • The payload and cryptographic encryption routine is said to be similar to that of the DarkSide ransomware [11] [12] [13].

Since its emergence in July 2021, the BlackMatter ransomware has compromised dozens of victims, including large companies, from various sectors, to the point of drawing the attention of U.S. authorities too [14].

The BlackMatter RaaS

Similar to the Avaddon group, already presented in a previous publication, BlackMatter is a RaaS. It refers to a business model in which ransomware developers provide attackers with the whole infrastructure necessary to encrypt a victim’s data. This infrastructure includes the encryption software, the payment management, the data disclosure and the negotiation channel.

Therefore, campaigns conducted by the BlackMatter group under the RaaS model typically involve two threat actors. Initially, an attacker with access to an information system contacts the ransomware group. The BlackMatter developers then examine the request as well as the credibility of the hacker’s entry point. If the request is accepted, the attackers conclude an agreement with the group to allow it to use its infrastructure and the program that encrypts the data [13]. Affiliated attackers can then use the BlackMatter ransomware and pay the developers with a share of the profits generated by the ransoms paid by their victims. According to the U.S. Cybersecurity & Infrastructure Security Agency (CISA), which issued an alert on BlackMatter on October 18, 2021, these ransoms range from tens of thousands of dollars to $15 million in cryptocurrency (Bitcoin and Monero) [14].

BlackMatter also relies on initial access providers, which the group buys between $3,000 and $100,000 depending on the target. In this case, BlackMatter’s operators take care of infecting the compromised network [2] [13]. The group’s motives thus appear to be primarily lucrative, as is the case with most ransomware attacks, which are usually conducted with the opportunistic intent to obtain financial gains.

Victimology

Since its appearance last July, more than 40 companies have been targeted by the BlackMatter RaaS. The latter has claimed victims in America as well as in Asia in various sectors of activity. The United States remains the most targeted country, with 52% of the impacted companies being of American origin [15] [16].

However, unlike the REvil and DarkSide ransomware, BlackMatter does not allow for verification of its victims’ language to interrupt the infection on machines in certain geographiclocalizations [11] [17].

Major intrusions from BlackMatter
Sources: Darkfeed, Twitter, RedPacket Security [15] [16] [18]

On its leaked Website, BlackMatter states that it excludes certain sectors or types of businesses from its attack perimeter, such as hospitals, critical infrastructure (nuclear power facilities, power generators, water treatment facilities), the defense industry, non-profit companies, and the government sector [19]. This is consistent with a more general trend; following the Kaseya and Colonial Pipelines attacks, many RaaS have effectively changed their rules prohibiting their affiliates from targeting critical infrastructures, certainly in fear of attracting unwanted media and political attention once more [20].

BlackMatter rules on their .onion Website
Source: Emsisoft [19]

Nevertheless, the BlackMatter group counts among its victims entities considered as critical infrastructure. On October 18, the U.S. Cybersecurity and Infrastructure Cybersecurity Agency (CISA) effectively alerted on the group’s activities against organizations in the agricultural sector [14]. This was published following attacks in September 2021, when two U.S. agricultural cooperatives fell victim to BlackMatter, including New Cooperative, whose compromise led to a ransom demand of more than $5 million. The latter was not offered the free decryption provided by the criminal group in case of an attack on a business or sector excluded from its scope. On the contrary, they threatened the entity to double the ransom [21].

Modus operandi

As mentioned above, the BlackMatter ransomware is distributed through direct access to its victims’ networks, purchased from its affiliates and partners. These accesses are usually various: compromising remote services such as Remote Desktop Protocols (RDPs), Virtual Private Networks (VPNs) or exploiting vulnerabilities in other products [22] [23] [24].

Once a machine is infected, the ransomware uses the “Salsa20” and “RSA-1024” cryptographic algorithms to encrypt hosts and shared drives as they are being found. After encrypting the files, the program creates a BMP file with a message and sets it as the wallpaper [11] [25].

BlackMatter Wallpaper on an infected machine
Source: Group-IB [11]

By default, files are encrypted only in the first megabyte. This block of data contained in an encrypted key includes the name of the original file and the victim’s ID stored in the “HKLM\SOFTWARE\Microsoft\Cryptography” registry directory. In each processed directory, BlackMatter creates a text file with a ransom note [11]:

BlackMatter ransom note
Source: Group-IB [11]

A portion of the stolen data is then uploaded to the group’s leak Website. Typically, the stolen data includes confidential documents such as contracts, non-disclosure agreements, company financial data, or employee personal data (social security numbers, resumes, etc.). If the victim does not pay within the given time, the data is available for download on their leak publication Website and the ransom amount increases [11].

Payment time elapsed on BlackMatter .onion Website
Source: Group-IB [11]

Major BlackMatter updates

When it first appeared, the BlackMatter group claimed that its ransomware service was capable of encrypting various operating systems such as Windows (Windows Server 2003, Windows 7, etc.) or Linux (Debian, CentOS, etc.) [2].

Since the version 1.2 of BlackMatter analyzed by Group-IB on August 6, 2021, its payload has undergone regular updates designed to make its detection and analysis more difficult. According to McAfee, version 1.6 had already been compiled on July 23, version 1.9 on August 12 and the last known version, 2.0, on August 16. This last version modifies the BlackMatter encryption algorithm, which is now more complex to decrypt [25] [19].

More recently, researchers working at Emsisoft revealed that they discovered a flaw in the BlackMatter ransomware due to a change in its payload. By exploiting it, they managed to create a decryption tool that was sent for free to victims listed on the BlackMatter Website. Nevertheless, at the end of September, BlackMatter became aware of this flaw while monitoring the networks and communications of its victims and consequently, quickly updated its ransomware to fix it [19] [26]. New victims, who have been affected by BlackMatter since the end of September, can therefore no longer use this tool to decrypt their data.

Furthermore, when BlackMatter’s ransom note leaked in September 2021, anyone in its possession could reach and communicate with the cybercriminal group. This caused a number of people to pollute their communication channel with their victims, leading the group to establish a system to verify the identity of victims who contact them to negotiate [26].

Additional verification on the BlackMatter .onion Website
Source: Emsisoft [19]

References

[1] https://www.flashpoint-intel.com/blog/chatter-indicates-blackmatter-as-revil-successor/

[2] https://www.recordedfuture.com/blackmatter-ransomware-successor-darkside-revil/

[3] https://www.bleepingcomputer.com/news/security/kaseya-roughly-1-500-businesses-hit-by-revil-ransomware-attack/

[4] https://therecord.media/darkside-ransomware-gang-says-it-lost-control-of-its-servers-money-a-day-after-biden-threat/

[5] https://www.bleepingcomputer.com/news/security/revil-ransomwares-servers-mysteriously-come-back-online/

[6] https://www.bleepingcomputer.com/news/security/revil-ransomware-gangs-web-sites-mysteriously-shut-down/

[7] https://www.justice.gov/opa/pr/department-justice-seizes-23-million-cryptocurrency-paid-ransomware-extortionists-darkside

[8] https://therecord.media/an-interview-with-blackmatter-a-new-ransomware-group-thats-learning-from-the-mistakes-of-darkside-and-revil/

[9] https://medium.com/s2wlab/grooves-thoughts-on-blackmatter-babuk-and-interruption-in-the-supply-of-cheese-in-the-b5328bc764f2

[10] https://mobile.twitter.com/campuscodi/status/1442523019029614597

[11] https://blog.group-ib.com/blackmatter

[12] https://mobile.twitter.com/fwosar/status/1421504819890634754

[13] https://blog.emsisoft.com/en/39181/on-the-matter-of-blackmatter/

[14] https://us-cert.cisa.gov/sites/default/files/publications/Joint-CISA-FBI-NSA_CSA_AA21-291A_BlackMatter_Ransomware.pdf

[15] https://darkfeed.io/2021/08/11/blackmatter-2/

[16] https://twitter.com/RansomAlert

[17] https://blogs.blackberry.com/en/2021/09/threat-thursday-blackmatter-ransomware-as-a-service

[18] https://www.redpacketsecurity.com/

[18] https://www.hhs.gov/sites/default/files/demystifying-blackmatter.pdf

[19] https://blog.emsisoft.com/en/39181/on-the-matter-of-blackmatter/

[20] https://www.bleepingcomputer.com/news/security/darkside-ransomware-servers-reportedly-seized-operation-shuts-down/

[21] https://www.bleepingcomputer.com/news/security/us-farmer-cooperative-hit-by-59m-blackmatter-ransomware-attack/

[22] http://www.avertium.com/blog/blackmatter-threat-actor-profile

[23] https://www.hhs.gov/sites/default/files/demystifying-blackmatter.pdf

[24] https://blog.emsisoft.com/en/39121/ransomware-profile-blackmatter/

[25] https://www.mcafee.com/blogs/enterprise/mcafee-enterprise-atr/blackmatter-ransomware-analysis-the-dark-side-returns/

Share this article

Follow us on