Lucene search

K
thnThe Hacker NewsTHN:6ADFF5374136F7E42598C393BE635BA6
HistorySep 12, 2024 - 12:56 p.m.

Exposed Selenium Grid Servers Targeted for Crypto Mining and Proxyjacking

2024-09-1212:56:00
The Hacker News
thehackernews.com
3
selenium grid
crypto mining
proxyjacking
exploitation
default configuration
threat actors
authentication
python script
gsocket
reverse shell
bash script
iproyal pawn
earnfm
proxyware solution
elf binary
pwnkit
xmrig cryptocurrency miner

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

AI Score

7

Confidence

Low

Crypto Mining and Proxyjacking

Internet-exposed Selenium Grid instances are being targeted by bad actors for illicit cryptocurrency mining and proxyjacking campaigns.

“Selenium Grid is a server that facilitates running test cases in parallel across different browsers and versions,” Cado Security researchers Tara Gould and Nate Bill said in an analysis published today.

“However, Selenium Grid’s default configuration lacks authentication, making it vulnerable to exploitation by threat actors.”

Cybersecurity

The abuse of publicly-accessible Selenium Grid instances for deploying crypto miners was previously highlighted by cloud security firm Wiz in late July 2024 as part of an activity cluster dubbed SeleniumGreed.

Cado, which observed two different campaigns against its honeypot server, said the threat actors are exploiting the lack of authentication protections to carry out a diverse set of malicious actions.

The first of them leverages the “goog:chromeOptions” dictionary to inject a Base64-encoded Python script that, in turn, retrieves a script named “y,” which is the open-source GSocket reverse shell.

Crypto Mining and Proxyjacking

The reverse shell subsequently serves as a medium for introducing the next-stage payload, a bash script named “pl” that retrieves IPRoyal Pawn and EarnFM from a remote server via curl and wget commands.

“IPRoyal Pawns is a residential proxy service that allows users to sell their internet bandwidth in exchange for money,” Cado said.

“The user’s internet connection is shared with the IPRoyal network with the service using the bandwidth as a residential proxy, making it available for various purposes, including for malicious purposes.”

EarnFM is also a proxyware solution that’s advertised as a “ground-breaking” way to “generate passive income online by simply sharing your internet connection.”

Cybersecurity

The second attack, like the proxyjacking campaign, follows the same route to deliver a bash script via a Python script that checks if it’s running on a 64-bit machine and then proceeds to drop a Golang-based ELF binary.

The ELF file subsequently attempts to escalate to root by leveraging the PwnKit flaw (CVE-2021-4043) and drops an XMRig cryptocurrency miner called perfcc.

“As many organizations rely on Selenium Grid for web browser testing, this campaign further highlights how misconfigured instances can be abused by threat actors,” the researchers said. “Users should ensure authentication is configured, as it is not enabled by default.”

Found this article interesting? Follow us on Twitter and LinkedIn to read more exclusive content we post.

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

AI Score

7

Confidence

Low