Security Experts:

Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

Researchers Go Inside BlackEnergy Malware

Researchers at Kaspersky Lab released information outlining the inner workings of the BlackEnergy malware at the center of cyber-espionage attacks.

Researchers at Kaspersky Lab released information outlining the inner workings of the BlackEnergy malware at the center of cyber-espionage attacks.

BlackEnergy was first identified several years ago. Initially, BlackEnergy’s custom plugins were used for launching distributed denial-of-service attacks (DDoS). As time went on however, Kaspersky Lab researchers noted, BlackEnergy2 was seen downloading custom spam and banking information-stealer plugins. Eventually, the malware was adopted by the Sandworm team, which has been linked to cyber-espionage.

“The BlackEnergy malware is crimeware turned APT tool and is used in significant geopolitical operations lightly documented over the past year,” Kaspersky Lab researchers blogged Kurt Baumgartner and Maria Garnaeva. “An even more interesting part of the BlackEnergy story is the relatively unknown custom plugin capabilities to attack ARM and MIPS platforms, scripts for Cisco network devices, destructive plugins, a certificate stealer and more.”

In their report, the researchers outlined the timeline of the appearance of the various plugins.

“Before evidence of BlackEnergy2 use in targeted attacks was uncovered, we tracked strange activity on one of the BlackEnergy CnC (command-and-control) servers in 2013,” the researchers explained. “This strangeness was related to values listed in newer BlackEnergy configuration files.”

“The config file provides download instructions for the loader,” they continued. “It also instructs the loader to pass certain commands to the plugins. In this particular case in 2013, the config file included an unknown plugin set, aside from the usual ‘ddos’ plugin listing.”

This new module is believed to have been among the first for this group because all of the module versions were listed as “version 1”, including the DDoS plugin, they noted. The ‘ps’ plugin is a password stealer, while the ‘vsnet’ plugin is used to spread and launch a payload – currently the BlackEnergy2 dropper itself – in the local network via PsExec, as well as gaining primary information on the user’s computer and network. Another plugin is the ‘weap_hwi’ plugin, a DDoS tool compiled to run on ARM systems.

“Over time we were able to collect several plugins as well as the main module for ARM and MIPS architectures,” the researchers added. “All of these ARM/MIPS object files were compiled from the same source and later pushed out in one config: “weap_msl”, “weap_mps”, “nm_hwi”, “nm_mps”, “weap_hwi”, and “nm_msl”. It’s interesting that the BE2 developers upgraded the ddos plugin to version 2, along with the nm_hwi, nm_mps, and nm_msl plugins. They simultaneously released version 5 of the weap_msl, weap_mps, and weap_hmi plugins.”

After the disclosure of an unusual CnC server that pushed Linux and the new Windows plugins, the researchers looked closer at new BlackEnergy2 samples and associated CnCs. During an extended period, the researchers collected Windows plugins from different command-and-control servers, without ever observing Linux plugins being downloaded. The researchers believe the Sandworm protects their servers by keeping their non-Windows hacker tools and plugins in separate servers or server folders.  

Some of the known Windows plugins include: ‘fs’, which searches for given file types; ‘rd’, remote desktop; and ‘dstr’, which destroys the hard disk by overwriting it with random data.

There is also evidence that the attackers are compromising routers as well.

“We are pretty sure that our list of BE2 tools is not complete,” the researchers wrote.

So far, BlackEnergy2 has been linked to attacks against organizations in a number of countries, including the Ukraine, Russia and Poland.  

Written By

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join this webinar to learn best practices that organizations can use to improve both their resilience to new threats and their response times to incidents.

Register

Join this live webinar as we explore the potential security threats that can arise when third parties are granted access to a sensitive data or systems.

Register

Expert Insights

Related Content

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Cybercrime

No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Malware & Threats

Threat actors are increasingly abusing Microsoft OneNote documents to deliver malware in both targeted and spray-and-pray campaigns.

Malware & Threats

Microsoft plans to improve the protection of Office users by blocking XLL add-ins from the internet.

Malware & Threats

A vulnerability affecting IBM’s Aspera Faspex file transfer solution, tracked as CVE-2022-47986, has been exploited in attacks.

Cybercrime

More than 3,800 servers around the world have been compromised in recent ESXiArgs ransomware attacks, which also include an improved process.

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.