The surprising effectiveness of ChatGPT in uncovering phishing attacks

One in every ninety-nine emails you receive is a phishing attack. Phishing attacks keep evolving in sophistication, getting through even the most formidable defenses. A phishing operation exploiting well-known brands, such as MSN, VMware, McAfee, The Economist, Cornell University, CBS, Marvel, and eBay, serves as a timely illustration. This operation highlights that despite advanced cyber-security defenses, holes will always exist. Furthermore, a report by Menlo Security stated that “there is an increased concern around AI-generated phishing scams. […] bad actors can be using these platforms to bolster their phishing campaigns. Instead of phishing scams with misspellings, poor grammar, and awkward phrasing, platforms like ChatGPT help fix all those mistakes.” Our question is, might AI, like ChatGPT, also help us defend against attacks?
To the trained eye, phishing does not pose a significant threat. Phishing attacks rely on deception, which security experts can invariably uncover. Most deception involves embedding links that do not link to what they say they are but, upon cursory inspection, seem legitimate. A classic ruse is providing a URL to a false banking website. The URL might be bankofamerica.bnking12.com — deceptive. But only some people are security experts. Plus, who has the time to scrutinize every email correspondence?
Can AI be trained as a security expert, helping you sort the dangerous from the safe? Here at mxHERO Labs, we’re researching how AI can be applied in the context of email. Whether for efficient search or easier email usage, we have also seen AI’s utility as an anti-phishing tool. Using our freely available ChatGPT app — Chat for Email, we ask ChatGPT to assess if a particular email is potentially a phishing attack. For example, I recently received the following email in my personal Gmail account. I use this example because a couple of years ago, my aunt fell for this very same ruse, namely, an invoice from “Norton.”

At a glance, it looks legitimate. We can make out that the attachment is from Norton and, unhelpful for many users, the file was pre-scanned by Google. So it must be safe. Right? Let’s ask ChatGPT to examine the email and see if powerful AI can help.

Amazingly, ChatGPT’s advanced model does an excellent job of pointing out various suspicious elements from the email:
1. There is an Odd difference between the email sender and the name in the subject.
2. Suspicious fact that the sender’s email address has nothing to do with Norton.
3. Inclusion of a phone number for content — (This is precisely what hooked my aging aunt. She called the number and got talked into accessing her bank account over a screencast! 🤦)

ChatGPT then clearly advises that the user should not engage in the email. Wow, I wish my aunt could have had this benefit then!
In an even more impressive example, I received the email “EnergyBill.” Unlike my previous post showing how ChatGPT could extract details directly from a legitimate energy bill, here we have a malicious scenario where the attacker requests to “complete my verification” for an energy bill-reducing service.

Again, at a glance, it’s not overly suspicious. It looks like spam, innocuous. Right? Let’s see what ChatGPT thinks about this one:

Again, I’m totally impressed by the quality of the analysis. ChatGPT correctly noted inconsistencies in addressing, knew, and called out common phishing email tactics employed. As an email professional for over 30 years, I wholeheartedly agree with all these. That said, I was confused by item #4 in the list, namely, multiple addresses “used by ‘EnergyBill’”. What multiple addresses? I studied the email source code to find evidence of this assertion. Was this an AI hallucination? What was ChatGPT seeing that I was not? Then I clicked on the sources link:

Wow! There it was, three emails from “EnergyBill”. I had no idea this wasn’t an isolated attack by “EnergyBill”; this was a campaign. ChatGPT looked across my email account and saw the bigger picture, noting the additional incursions, and leveraged this knowledge to identify another red flag.
Hats off to ChatGPT. Smart cookie.
All these phishing emails landed in my Gmail inbox, which is impressive because of how good Gmail is at blocking malicious content. But the bad actors always get through, making even the best services a constant risk for its users. Here, we demonstrate how AI can be your trained eye, helping to keep you safe from malicious online actors.