Aman Mishra
2025-03-07 11:35:00
gbhackers.com
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.
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.


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.


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
Keep your files stored safely and securely with the SanDisk 2TB Extreme Portable SSD. With over 69,505 ratings and an impressive 4.6 out of 5 stars, this product has been purchased over 8K+ times in the past month. At only $129.99, this Amazon’s Choice product is a must-have for secure file storage.
Help keep private content private with the included password protection featuring 256-bit AES hardware encryption. Order now for just $129.99 on Amazon!
Help Power Techcratic’s Future – Scan To Support
If Techcratic’s content and insights have helped you, consider giving back by supporting the platform with crypto. Every contribution makes a difference, whether it’s for high-quality content, server maintenance, or future updates. Techcratic is constantly evolving, and your support helps drive that progress.
As a solo operator who wears all the hats, creating content, managing the tech, and running the site, your support allows me to stay focused on delivering valuable resources. Your support keeps everything running smoothly and enables me to continue creating the content you love. I’m deeply grateful for your support, it truly means the world to me! Thank you!
BITCOIN bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge Scan the QR code with your crypto wallet app |
DOGECOIN D64GwvvYQxFXYyan3oQCrmWfidf6T3JpBA Scan the QR code with your crypto wallet app |
ETHEREUM 0xe9BC980DF3d985730dA827996B43E4A62CCBAA7a Scan the QR code with your crypto wallet app |
Please read the Privacy and Security Disclaimer on how Techcratic handles your support.
Disclaimer: As an Amazon Associate, Techcratic may earn from qualifying purchases.