Skip to main content
Mallory
← Back to News
phishing-campaign-intelligencecredential-access-methoddefense-evasion-methodinitial-access-method

Phishing Emails Use HTML Attachments to Hide Credential Theft Pages

Social Engineering & Fraud · 1 source · Updated 4mo ago · First seen Aug 14, 2026

Phishing Emails Use HTML Attachments to Hide Credential Theft Pages

Cybercriminals are increasingly using HTML attachments in phishing emails to evade detection and steal credentials, embedding malicious logic directly in attached files instead of placing suspicious links in the message body. The attachments commonly use JavaScript to redirect victims to fraudulent login pages or to display a complete phishing page locally inside the browser, making the email appear less obviously malicious to both users and some security controls.

Researchers found that attackers also obfuscate these attachments to hinder static analysis, including hiding phishing URLs, concealing entire scripts, and using deprecated JavaScript functions such as unescape() to decode and render phishing content at runtime. Kaspersky reported detecting nearly 2 million emails carrying malicious HTML attachments in the first four months of 2022, including 851,328 blocked in March alone, underscoring how effective and persistent the technique remains for credential-harvesting campaigns.

Why it matters

Impact assessment

HTML-attachment phishing affects any organization with email-exposed users, especially enterprises relying on webmail, browser-based SSO, banking portals, and cloud identity providers. The primary impact is credential theft leading to account takeover, follow-on business email compromise, fraud, and reputational damage rather than direct malware execution.

This is a widespread and persistent exposure, not a narrowly targeted issue. Kaspersky reported nearly 2 million malicious HTML-attachment emails detected in the first four months of 2022, including 851,328 in March alone, indicating active use in the wild at scale.

Supporting details

  • Affected populations: email users, help desks, finance staff, executives, and users of cloud login portals.
  • Affected industries: broad cross-sector exposure; financial services branding was specifically abused in an HSBC-themed example.
  • Severity: moderate to high depending on downstream access tied to stolen credentials, especially where MFA is weak or absent.
  • Scope: mass phishing campaigns with broad delivery volume.
  • Exploitation in the wild: yes; the story describes active credential-harvesting campaigns and large-scale detections.

Structured facts extracted

  • Entity names: Kaspersky, HSBC Bank.
  • Threat type: phishing, credential theft, account takeover precursor.
  • Delivery method: phishing emails with HTML attachments.
  • Scale data:
    • Nearly 2 million malicious HTML-attachment emails detected in the first four months of 2022.
    • 851,328 blocked in March 2022.
    • 299,859 detected in January 2022.
Is your org in this campaign?Get the infrastructure and lures behind it.
Hunt this campaign
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events
  1. Reported May 13, 20216y ago

    Kaspersky blocks 851,328 phishing HTML emails in March 2022

    Kaspersky detected and blocked 851,328 emails with phishing HTML attachments in March 2022. This was highlighted as a peak month within the early-2022 activity described in the article.

    Overview of phishing HTML attachments in e-mail | Securelist
  2. Reported May 13, 20216y ago

    Kaspersky detects 299,859 phishing HTML attachments in January 2022

    The article states that January 2022 was the calmest month in the period, with 299,859 emails containing phishing HTML attachments detected by Kaspersky antispam solutions.

    Overview of phishing HTML attachments in e-mail | Securelist
  3. Reported May 13, 20216y ago

    Kaspersky records nearly 2 million malicious HTML phishing emails in early 2022

    Kaspersky security solutions detected nearly 2 million emails containing malicious HTML attachments in the first four months of 2022. The article cites this as evidence that HTML attachments remained a widely used phishing technique.

    Overview of phishing HTML attachments in e-mail | Securelist
Do you run this?Get the infrastructure, lures, and IOCs behind this campaign, ready to push into your email and identity stack.
Hunt This Campaign
Source coverage

Sources

1 reference tracked. Mallory keeps watching after this page renders.

Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.