Saturday, April 5, 2025
Homecyber securityPhishing with Cloudflare Workers: Transparent Phishing and HTML Smuggling

Phishing with Cloudflare Workers: Transparent Phishing and HTML Smuggling

Published on

SIEM as a Service

Follow Us on Google News

Phishing campaigns are abusing Cloudflare workers in two ways, where one injects malicious content hidden by HTML smuggling, similar to Azorult malware. 

The other uses Cloudflare Workers as a transparent proxy to steal login credentials for services like Microsoft, Gmail, and Yahoo Mail, which target users in Asia, North America, and Southern Europe, particularly in the tech, finance, and banking sectors. 

The rise in domains and applications hosting the attacks suggests continuous efforts by attackers to evade detection and takedowns, which highlights the common practice of abusing free cloud services for phishing, and the effectiveness of targeting popular cloud platforms. 

Attackers are abusing Cloudflare Workers, a free serverless platform for deploying applications, to host phishing sites, which allows them to create malicious applications with custom domains under the workers.dev subdomain and distribute them freely. 

 All-in-One Cybersecurity Platform for MSPs to provide full breach protection with a single tool, Watch a Full Demo

Unique user traffic per quarter
Unique user traffic per quarter

While the overall traffic volume seems to have stabilized, the number of distinct malicious applications hosted on Cloudflare Workers continuously grows, indicating a concerning trend of attackers adopting this technique. 

Attackers are using HTML smuggling with Cloudflare Workers to bypass network defenses and deliver phishing pages.

Malicious code is hidden within a seemingly harmless webpage as a base64-encoded blob, further obfuscated through multiple encodings. 

embedding the actual phishing page as a blob inside a benign web page
embedding the actual phishing page as a blob inside a benign web page

The createObjectURL() method makes the hidden phishing page accessible within the endpoint, and the click is simulated on the blob URL to display the phishing page in the victim’s browser.  

 createObjectURL() method to create a blob URL
 createObjectURL() method to create a blob URL

They use transparent phishing, a new technique that bypasses traditional phishing limitations and works as the attacker creates a server (often hosted on Cloudflare Workers) that acts as a middleman between the victim and the legitimate login page. 

The victim sees the real login page but unknowingly submits their credentials (including multi-factor codes) to the attacker’s server, which then forwards them to the real service.  

 transparent phishing page showing the exact content of the legitimate login page
 transparent phishing page showing the exact content of the legitimate login page

Researchers at Netskope analyzed these attacks and found they’re built on modified open-source MITM toolkits and leverage Cloudflare Workers’ “Hello World” template to intercept victim requests. 

The attacker’s application acts as a transparent proxy, first forwarding the victim’s request to the legitimate site and capturing the response. 

It then replaces the legitimate site’s domain with its own before displaying the response to the victim, which deceives the victim into entering their credentials on the attacker’s application. 

Upon login, the attacker’s application steals the tokens and cookies from the legitimate site’s response and gains visibility into the victim’s subsequent activity. 

Get special offers from ANY.RUN Sandbox. Until May 31, get 6 months of free service or extra licenses. Sign up for free.

Gurubaran
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.

Latest articles

Ivanti Fully Patched Connect Secure RCE Vulnerability That Actively Exploited in the Wild

Ivanti has issued an urgent security advisory for CVE-2025-22457, a critical vulnerability impacting Ivanti...

Beware! Weaponized Job Recruitment Emails Spreading BeaverTail and Tropidoor Malware

A concerning malware campaign was disclosed by the AhnLab Security Intelligence Center (ASEC), revealing...

EncryptHub Ransomware Uncovered Through ChatGPT Use and OPSEC Failures

EncryptHub, a rapidly evolving cybercriminal entity, has come under intense scrutiny following revelations of...

PoisonSeed Targets CRM and Bulk Email Providers in New Supply Chain Phishing Attack

A sophisticated phishing campaign, dubbed "PoisonSeed," has been identified targeting customer relationship management (CRM)...

Supply Chain Attack Prevention

Free Webinar - Supply Chain Attack Prevention

Recent attacks like Polyfill[.]io show how compromised third-party components become backdoors for hackers. PCI DSS 4.0’s Requirement 6.4.3 mandates stricter browser script controls, while Requirement 12.8 focuses on securing third-party providers.

Join Vivekanand Gopalan (VP of Products – Indusface) and Phani Deepak Akella (VP of Marketing – Indusface) as they break down these compliance requirements and share strategies to protect your applications from supply chain attacks.

Discussion points

Meeting PCI DSS 4.0 mandates.
Blocking malicious components and unauthorized JavaScript execution.
PIdentifying attack surfaces from third-party dependencies.
Preventing man-in-the-browser attacks with proactive monitoring.

More like this

Ivanti Fully Patched Connect Secure RCE Vulnerability That Actively Exploited in the Wild

Ivanti has issued an urgent security advisory for CVE-2025-22457, a critical vulnerability impacting Ivanti...

Beware! Weaponized Job Recruitment Emails Spreading BeaverTail and Tropidoor Malware

A concerning malware campaign was disclosed by the AhnLab Security Intelligence Center (ASEC), revealing...

EncryptHub Ransomware Uncovered Through ChatGPT Use and OPSEC Failures

EncryptHub, a rapidly evolving cybercriminal entity, has come under intense scrutiny following revelations of...