Thursday, May 8, 2025
Homecyber securityThreat Actors Exploit PHP-CGI RCE Vulnerability to Attack Windows Machines

Threat Actors Exploit PHP-CGI RCE Vulnerability to Attack Windows Machines

Published on

SIEM as a Service

Follow Us on Google News

A recent cybersecurity threat has emerged where unknown attackers are exploiting a critical remote code execution (RCE) vulnerability in PHP-CGI on Windows systems.

This vulnerability, identified as CVE-2024-4577, allows attackers to execute arbitrary PHP code on servers using Apache with a vulnerable PHP-CGI setup.

The attackers are primarily targeting organizations in Japan across various sectors, including technology, telecommunications, entertainment, education, and e-commerce.

- Advertisement - Google News

Exploitation and Post-Exploitation Activities

The attackers gain initial access by leveraging a publicly available Python exploit script that checks for the CVE-2024-4577 vulnerability.

Once exploited, they execute a PowerShell command embedded in PHP code, which downloads and runs a PowerShell injector script from a command and control (C2) server.

Windows Machines
Blue-Lotus tool control panel. 

According to Cisco Talos Report, This script injects and executes Cobalt Strike reverse HTTP shellcode, enabling remote access to the victim machine.

The attackers then use plugins from the Cobalt Strike “TaoWu” kit for post-exploitation activities, including reconnaissance, privilege escalation, and persistence.

They employ tools like JuicyPotato, RottenPotato, and SweetPotato for privilege escalation, and modify registry keys and create scheduled tasks to maintain persistence.

The attackers also engage in network reconnaissance using tools like “fscan.exe” and “Seatbelt.exe” to map potential targets for lateral movement.

They attempt to abuse Group Policy Objects (GPOs) to execute malicious scripts across the network.

Additionally, they use Mimikatz to dump and exfiltrate passwords and NTLM hashes from memory.

To evade detection, they clear Windows event logs using “wevtutil.exe.”

Misuse of Legitimate Tools and Frameworks

The attackers have been observed misusing legitimate tools and frameworks hosted on an Alibaba cloud container registry.

They use a pre-configured installer script to deploy a suite of adversarial tools, including Vulfocus, Asset Reconnaissance Lighthouse (ARL), Viper C2, Starkiller, BeEF, and Blue-Lotus.

Windows Machines
Viper C2 control panel. 

These tools are typically used for offensive security testing but are being repurposed for malicious activities.

The attackers’ tactics show similarities with those used by known hacker groups, though attribution remains uncertain.

The ongoing exploitation of public-facing applications for initial access highlights the importance of patching vulnerabilities and implementing robust security measures.

Organizations should prioritize securing their PHP-CGI implementations and monitoring for suspicious activity to mitigate these threats.

Collect Threat Intelligence on the Latest Malware and Phishing Attacks with ANY.RUN TI Lookup -> Try for free

Aman Mishra
Aman Mishra
Aman Mishra is a Security and privacy Reporter covering various data breach, cyber crime, malware, & vulnerability.

Latest articles

Critical Vulnerability in Ubiquiti UniFi Protect Camera Allows Remote Code Execution by Attackers

Critical security vulnerabilities in Ubiquiti’s UniFi Protect surveillance ecosystem-one rated the maximum severity score...

IXON VPN Client Vulnerability Allows Privilege Escalation for Attackers

A critical security vulnerability in IXON’s widely used VPN client has exposed Windows, Linux,...

Cisco IOS Software SISF Vulnerability Could Enable Attackers to Launch DoS Attacks

Cisco has released security updates addressing a critical vulnerability in the Switch Integrated Security...

Seamless AI Communication: Microsoft Azure Adopts Google’s A2A Protocol

Microsoft has announced its support for the Agent2Agent (A2A) protocol, an open standard developed...

Resilience at Scale

Why Application Security is Non-Negotiable

The resilience of your digital infrastructure directly impacts your ability to scale. And yet, application security remains a critical weak link for most organizations.

Application Security is no longer just a defensive play—it’s the cornerstone of cyber resilience and sustainable growth. In this webinar, Karthik Krishnamoorthy (CTO of Indusface) and Phani Deepak Akella (VP of Marketing – Indusface), will share how AI-powered application security can help organizations build resilience by

Discussion points


Protecting at internet scale using AI and behavioral-based DDoS & bot mitigation.
Autonomously discovering external assets and remediating vulnerabilities within 72 hours, enabling secure, confident scaling.
Ensuring 100% application availability through platforms architected for failure resilience.
Eliminating silos with real-time correlation between attack surface and active threats for rapid, accurate mitigation

More like this

Critical Vulnerability in Ubiquiti UniFi Protect Camera Allows Remote Code Execution by Attackers

Critical security vulnerabilities in Ubiquiti’s UniFi Protect surveillance ecosystem-one rated the maximum severity score...

IXON VPN Client Vulnerability Allows Privilege Escalation for Attackers

A critical security vulnerability in IXON’s widely used VPN client has exposed Windows, Linux,...

Cisco IOS Software SISF Vulnerability Could Enable Attackers to Launch DoS Attacks

Cisco has released security updates addressing a critical vulnerability in the Switch Integrated Security...