Cyber Security News

Hackers Abuse HTML Smuggling Technique To Deliver Sophisticated Phishing Page

Phishing attackers employed an HTML smuggling technique to deliver a malicious payload, as the attack chain started with a phishing email mimicking an American Express notification, leading to a series of redirects. 

The final redirect pointed to a Cloudflare R2 public bucket hosting an HTML file, which loaded an external JavaScript code that contained a Base64-encoded string that, when decoded, revealed the actual phishing page, demonstrating the effectiveness of HTML smuggling in obfuscating malicious content.

Phishing mail impersonating American Express.

The JavaScript code first waits for the page to load before executing its functionality and then decodes a Base64-encoded HTML string into plain text, which is likely a malicious phishing page that is designed to trick users into revealing sensitive information. 

The code’s purpose is to create a hidden iframe within the web page and load the decoded phishing content into it, effectively disguising the malicious activity from the user.

The openFileURL function creates a downloadable or viewable file from decoded HTML content, which first constructs a blob object using the decoded data and the specified content type and then generates a URL referencing this blob. 

Finally, it redirects the browser to this URL, causing the content to be loaded and displayed. To prevent memory leaks, the function revokes the blob URL after a short delay.

the attack chain.

Blob URLs are temporary web addresses pointing to binary data stored in the browser. Cybercriminals exploit this feature to create malicious files locally, bypassing traditional security measures. 

These files can be used to deliver harmful payloads directly to users, making attacks harder to detect and trace.

By generating files on the client side, attackers can embed them into seemingly normal web pages or exploit browser vulnerabilities, posing a significant security risk.

The phishing pages demonstrate a sophisticated HTML smuggling technique where malicious code is concealed within seemingly legitimate HTML elements.

The pages mimic reputable services like DocuSign and Microsoft, aiming to deceive users into entering sensitive information. 

A generated HTML phishing page mimicking Microsoft.

By exploiting HTML’s flexibility, the attackers successfully disguise the malicious code within the HTML structure, making it difficult to detect by traditional security measures, which underscores the importance of vigilant security practices and the need for advanced threat detection mechanisms to combat evolving phishing attacks.

HTML smuggling is a growing concern in phishing attacks due to its ability to bypass traditional security measures, which involves hiding malicious content within seemingly harmless HTML files, often using obfuscation techniques like blob URLs to reference hidden data. 

According to Trustwave, as phishing attacks become more sophisticated, it is expected to see increased use of HTML smuggling, making it essential for organizations to adopt advanced security solutions capable of detecting and mitigating such threats.

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

Nearest Neighbor Attacks: Russian APT Hack The Target By Exploiting Nearby Wi-Fi Networks

Recent research has revealed that a Russian advanced persistent threat (APT) group, tracked as "GruesomeLarch"…

1 day ago

240+ Domains Used By PhaaS Platform ONNX Seized by Microsoft

Microsoft's Digital Crimes Unit (DCU) has disrupted a significant phishing-as-a-service (PhaaS) operation run by Egypt-based…

2 days ago

Russian TAG-110 Hacked 60+ Users With HTML Loaded & Python Backdoor

The Russian threat group TAG-110, linked to BlueDelta (APT28), is actively targeting organizations in Central…

2 days ago

Earth Kasha Upgraded Their Arsenal With New Tactics To Attack Organizations

Earth Kasha, a threat actor linked to APT10, has expanded its targeting scope to India,…

2 days ago

Raspberry Robin Employs TOR Network For C2 Servers Communication

Raspberry Robin, a stealthy malware discovered in 2021, leverages advanced obfuscation techniques to evade detection…

2 days ago

145,000 ICS Systems, Thousands of HMIs Exposed to Cyber Attacks

Critical infrastructure, the lifeblood of modern society, is under increasing threat as a new report…

2 days ago