Skip to content
AI / LLM Write-up Intermediate

Bypassing Ml Based Phishing And Spam Detection Using Evasion

The author found that a machine-learning phishing and spam detector could be evaded by making small changes to messages, such as altering time-sensitive wording or message length. This allowed phishing emails and spam messages to be classified as safe or not spam.

Harish SG Follow

Published on infosecwriteups.com

I am Harish SG, a security researcher who studies Masters in Cybersecurity at UT Dallas and AI security intern at Cisco,previously hunted on the Microsoft Bug Bounty Program and Google VRP

Harish SG, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the training dataset was biased, so the model learned superficial features like message length or time-sensitive wording instead of genuine phishing indicators.

Impact

An attacker could craft phishing emails or spam that bypass the ML detector and reach users as safe messages.

What the attacker needed

Ability to send email or messages

The fix

The model should be trained on a more generalised, unbiased dataset and combined with additional validators rather than relied on alone.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A machine-learning model learns from examples to decide if a message is phishing or spam. The author changed messages slightly so the model no longer recognised them as bad, showing the model relied on superficial clues rather than real content.

What is AI / LLM?

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.

More by Harish SG

View all

10 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

AI and LLM vulnerabilities

The lesson behind this report.

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.