G Suite admins have the ability to make G Suite go harder on phishing attacks in an organization by ticking some checkboxes here and there, but there doesn't seem to be an ability to check incoming phishing emails and set specific rules for them based on content.
The issue is that phishers are targeting my client's organization by getting some random Gmail or AOL address and setting their "From:" name as the CEO's, or main administrator's name, or other high-ranking people in the business. I've set G Suite's rules to be as hard on phishing as possible, but these emails keep coming through the filters using the same predictable tactics.
Each time one of these emails gets through, we add the email to a block list for the organization, but the attackers just open a new account and try again.
What would take care of would be if I could set up rules that say something along the lines of:
If ( email.from_name == "Jim Smith" && email.address !== [email protected] ) {
email.reject
}
In non-pseudo-code, if the email header says that they are a name in the organization, but the email is coming from outside the organization, reject it.
I followed this article's steps to prevent this, though it doesn't seem to be working.
According to the article, this can be done by going through the following steps:
- Go to admin.google.com
- Go to Apps > G Suite > Gmail > Advanced
- Scroll to Content Compliance and add a new rule
- Check "Inbound" for "Email messages to affect"
- Under "Add expressions that describe...", select "If ALL of the following match the message"
- Add expression rule "Advanced Content Match", Location = "Sender Header", Match Type = "Not contains text", content = "[email protected]"
- Add expression rule "Advanced Content Match", Location = "Sender Header", Match Type = "Contains text", content = "Jim Smith"
- Click "Save"
- For "If the above expressions match...", select "Reject Message"
- Under "Show Options", select all options for "Account types to affect", being "Users", "Groups", and "Unrecognized / Catch-all"
- Hit "Save" in the bottom-right
That's what I put for this organization, though these emails are still getting through, so I'm either doing something wrong in this implementation or this doesn't work for some reason.
I'm almost surprised this anti-impersonation measure isn't a default, but I guess they don't want to screen too many false positives where people try to contact an organization and they happen to have the same name as the CEO. In this case though, the CEO doesn't have a very common name and way too many of these phishing attacks are happening, so it would definitely be worth implementing this if possible.