Malicious Cyber Campaign Targeting Japan: Exploiting PHP Vulnerabilities and Cobalt Strike Tools

Listen to this Post

A recent and ongoing malicious cyber campaign targeting organizations in Japan has raised concerns among cybersecurity experts. The threat actors, whose origins remain unknown, have been exploiting a critical vulnerability in PHP to gain unauthorized access to victim machines, primarily focusing on key industries such as technology, telecommunications, entertainment, education, and e-commerce. The attackers leverage advanced tools and techniques to maintain persistence, conduct reconnaissance, escalate privileges, and ultimately steal sensitive data. This article explores the details of the campaign, the methods used by the attackers, and the implications for future cyber threats.

Overview of the Attack

Since January 2025, a group of cybercriminals has been launching a series of attacks, primarily targeting organizations in Japan. The attackers exploit a vulnerability known as CVE-2024-4577, a remote code execution (RCE) flaw in the PHP-CGI implementation of PHP on Windows. This flaw allows them to gain initial access to the compromised systems.

Once they have access, the attackers use the publicly available Cobalt Strike kit—specifically the TaoWu plugin—to carry out post-exploitation activities, including:

– Reconnaissance of the victim’s network

– Privilege escalation

  • Lateral movement to infect additional machines within the network

The attackers also take steps to maintain persistence, erase event logs, and exfiltrate critical data, such as passwords and NTLM hashes. Additionally, an investigation revealed that the threat actors left certain adversarial tools exposed on the internet, allowing deeper insight into their tactics and capabilities.

What Undercode Says:

This ongoing attack campaign highlights several critical issues in the current cybersecurity landscape, especially in relation to the evolving use of exploit kits and adversarial frameworks. Let’s break down the significance of the attack’s various elements.

CVE-2024-4577: A Key Exploited Vulnerability

The attack hinges on CVE-2024-4577, an RCE vulnerability in the PHP-CGI implementation of PHP on Windows. While vulnerabilities in PHP are not new, this particular flaw allows attackers to run arbitrary code on targeted systems. What makes it especially concerning is that it specifically affects PHP installations on Windows servers. Organizations relying on PHP for web applications should ensure they are up to date with security patches and that their PHP configurations are hardened to minimize the attack surface.

In this case, the attackers gained initial access to victim systems through this vulnerability. Once inside, they began executing various scripts to set up further payloads and establish a foothold in the compromised network.

Cobalt Strike and TaoWu: Advanced Post-Exploitation Tools

Once access was gained, the attackers deployed Cobalt Strike, a well-known penetration testing tool. Cobalt Strike is increasingly being used by adversaries due to its powerful post-exploitation capabilities. The TaoWu plugin, in particular, enables the attackers to perform actions such as running PowerShell scripts and maintaining persistent access to the compromised system. This marks a concerning trend in the rise of cybercrime groups utilizing legitimate security tools for malicious purposes.

By using Cobalt Strike, the attackers can:

– Conduct reconnaissance on victim networks

– Perform privilege escalation to gain SYSTEM-level access

  • Move laterally within the network to target additional systems
  • Maintain persistence through various tactics like Windows Registry modifications and scheduled tasks

The use of such tools shows a level of sophistication and indicates that the attackers are well-equipped to conduct long-term campaigns and remain undetected by traditional defenses.

Data Theft and Exfiltration

The ultimate goal of the campaign appears to be data theft. Once the attackers established their presence on victim machines, they used Mimikatz to dump passwords and NTLM hashes from memory. These credentials can then be used to facilitate further attacks or to gain access to sensitive systems. This is particularly concerning for organizations as it could lead to the compromise of high-level accounts, administrative rights, and other critical assets.

Tools and Frameworks Exposed

Interestingly, the attackers inadvertently left directory listings of their command-and-control (C2) servers exposed on the internet. This exposed several adversarial tools and frameworks hosted on Alibaba cloud servers. These tools provide an insight into the attacker’s broader toolkit:

  • Browser Exploitation Framework (BeEF): This framework allows attackers to execute commands in the browser context, potentially capturing sensitive data or compromising users visiting malicious sites.
  • Viper C2: A modular framework used for remote command execution and generating Meterpreter reverse shell payloads.
  • Blue-Lotus: A JavaScript webshell framework for conducting XSS attacks and gaining unauthorized control over web applications.

This accidental exposure provides a valuable glimpse into the attackers’ methodologies, signaling that their activities extend beyond simple credential harvesting. Their use of multiple advanced frameworks suggests they could be preparing for more sophisticated, large-scale attacks in the future.

Implications for Cybersecurity

The persistent nature of this attack, along with the advanced tools being used, highlights the need for organizations to remain vigilant and implement robust cybersecurity measures. While the attackers are currently focusing on specific sectors in Japan, the techniques they are using can easily be replicated or adapted to target other regions or industries.

Organizations should prioritize:

  1. Regular patching of software vulnerabilities, especially those related to web servers and applications.
  2. Network segmentation to prevent lateral movement in case of an initial compromise.
  3. Use of endpoint detection and response (EDR) solutions to monitor for suspicious activities and indicators of compromise (IOCs).
  4. Implementing least privilege access controls to minimize the damage if attackers manage to escalate their privileges.

This case also underscores the growing trend of cybercriminals exploiting legitimate security tools and publicly available exploit kits to carry out sophisticated attacks. As these tools become more accessible, defending against such threats will require constant adaptation and advanced threat detection capabilities.

Fact Checker Results

  • CVE-2024-4577 is a valid vulnerability that has been acknowledged by multiple cybersecurity vendors. The attack method involving PowerShell and Mimikatz is consistent with common post-exploitation techniques.
  • Cobalt Strike and TaoWu are legitimate tools often used in both penetration testing and malicious campaigns.
  • The exposure of C2 servers on Alibaba cloud is a significant oversight by the attackers, revealing tools like BeEF, Viper C2, and Blue-Lotus.

References:

Reported By: https://thehackernews.com/2025/03/php-cgi-rce-flaw-exploited-in-attacks.html
Extra Source Hub:
https://www.instagram.com
Wikipedia: https://www.wikipedia.org
Undercode AI

Image Source:

OpenAI: https://craiyon.com
Undercode AI DI v2

Join Our Cyber World:

Whatsapp
TelegramFeatured Image