Vulnerability

5,000 WordPress Sites Hacked in New WP3.XYZ Malware Attack

Widespread malware campaigns detected by side crawlers exploit vulnerabilities on multiple websites where the intrusion method remains under investigation, with no common entry point identified. 

A malicious script creates unauthorized administrator accounts with the credentials ‘wpx_admin’ and a hardcoded password.

Subsequently, it downloads and activates a malicious WordPress plugin, compromising the website and enabling the exfiltration of sensitive data to a remote server.”

The `createUser` function attempts to create a new user with the username “wpx_admin” and a hardcoded password within a WordPress environment. 

It first retrieves the CSRF token from the user creation page, and then it constructs a POST request with the user credentials and the CSRF token. The function logs the success or failure of the user creation operation.

Investigate Real-World Malicious Links & Phishing Attacks With Threat Intelligence Lookup - Try for Free

It downloads a plugin from a remote server activates it on the compromised website and then exfiltrates sensitive information, including admin credentials and operation logs, by sending them to another server via obfuscated image requests. 

By leveraging JSON to structure, it exfiltrated data and included additional information such as the victim’s website URL, timestamp, and user agent for better identification. 

In case the initial transmission attempt fails, the script implements a backoff retry mechanism to ensure successful exfiltration.

The attacker exploits admin access to upload a malicious plugin. First, the script retrieves the CSRF token from the WordPress plugin upload page. Subsequently, it downloads the malicious plugin file from a remote server. 

According to C/Side, using the acquired CSRF token, the script submits the downloaded malicious plugin file to the WordPress site for installation effectively compromises the website.

The script fetches a plugin from an external source and injects it into the victim’s website via a POST request to the `/wp-admin/update.php?action=upload-plugin` endpoint. To bypass security measures, the script retrieves a security token from the victim’s website using an initial GET request.

It fetches the website’s HTML content using the fetch API with credentials set to ‘include’ to access session cookies and then checks the fetched content for the presence of a string ‘wp3.xyz’ which indicates a malicious plugin installation. 

If found, a success message with a ‘Payload verified’ message is sent using the sendLog function. Otherwise, a failure message with a ‘Payload not found’ message is sent. 

The assumption that the malicious plugin injects a reference to its control server ‘wp3.xyz’ into the content of the website is the foundation upon which this verification technique is supported.

An attack was mitigated by blocking the malicious domain https://wp3[.]xyz on firewalls and auditing WordPress admin accounts for unauthorized users while suspicious plugins were removed and existing ones were validated. 

Gurubaran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Researchers Uncover Hacking Tools and Techniques Shared on Russian-Speaking Cybercrime Forums

Trend Micro, a cybersecurity firm, has released its 50th installment report on the Russian-speaking cybercriminal…

1 hour ago

SideCopy APT Hackers Impersonate Government Officials to Deploy Open-Source XenoRAT Tool

The Pakistan-linked Advanced Persistent Threat (APT) group known as SideCopy has significantly expanded its targeting…

2 hours ago

Russian APT Hackers Use Device Code Phishing Technique to Bypass MFA

Russian state-backed advanced persistent threat (APT) group Storm-2372 has exploited device code phishing to bypass…

3 hours ago

Threat Actors Exploit Messaging Services as Lucrative Cybercrime Platforms

Threat actors are exploiting weaknesses in SMS verification systems to generate massive, fraudulent message traffic,…

3 hours ago

Scattered Spider Launches Sophisticated Attacks to Steal Login Credentials and MFA Tokens

The cyber threat landscape has witnessed remarkable adaptation from the notorious hacker collective known as…

3 hours ago

North Korean Hackers Use Social Engineering and Python Scripts to Execute Stealthy Commands

North Korean threat actors have demonstrated their adept use of social engineering techniques combined with…

3 hours ago