CVE-2024-3400: PAN-OS Command Injection Vulnerability in GlobalProtect Gateway. Learn More

CVE-2024-3400: PAN-OS Command Injection Vulnerability in GlobalProtect Gateway. Learn More

Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Offensive Security
Solutions to maximize your security ROI
Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
SpiderLabs Blog

Once Again Cutwail Spam Campaign Ends Up In Phoenix Exploit Kit

In the past few months, a certain cybercrime group operates a large stable malware infrastructure, which started with a massive Wordpress-based compromise and keep harming since then by similar Web attacks. A few days ago we noticed another spike driven by Cutwail botnet.


A massive spam email was sent to (notice the poor English in the email), manipulating the user into clicking the malicious URL. The URL leads the user to a malicious HTML page hosted on a compromised Web site with the following HTML file:


The obfuscated code above extracted to the following code:


Eventually, the hidden IFRAME leads to the Phoenix Exploit Kit, which we analyzed in the previous attack driven by this cybercrime group. The reason why these spam emails don't refer the user directly to the Exploit Kit is the high frequency the domain is changed to avoid URL filtering, while the compromised Web site doesn't change. Moreover they specifically don't inject the malicious IFRAME into the homepage of that compromised site, so the site owner won't suspect that his account is being abused.

This specific attack can be easily identified by the following file names:


Besides the malicious HTML page, each compromised accounts contains the following files:

"title.php" – A standard PHP shell that can be downloaded from

"edw.php" – A short script from the cybercriminals that helps the core server update the HTML page easily by uploading a new obfuscated JavaScript. Its code leads to a new domain. Following part of the PHP source code of this file:


Web site owners, ensure your hosting account doesn't contain a file with the name "edw.php".

All Trustwave M86 Secure Web Gateway customers are protected against this attack by default. The access to the exploit page is blocked.

Latest SpiderLabs Blogs

EDR – The Multi-Tool of Security Defenses

This is Part 8 in my ongoing project to cover 30 cybersecurity topics in 30 weekly blog posts. The full series can be found here.

Read More

The Invisible Battleground: Essentials of EASM

Know your enemy – inside and out. External Attack Surface Management tools are an effective way to understand externally facing threats and help plan cyber defenses accordingly. Let’s discuss what...

Read More

Fake Dialog Boxes to Make Malware More Convincing

Let’s explore how SpiderLabs created and incorporated user prompts, specifically Windows dialog boxes into its malware loader to make it more convincing to phishing targets during a Red Team...

Read More