|
|
|
|
|
by rphillips
160 days ago
|
|
If using GSuite then head to the Gmail admin panel and create a compliance rule with 2 regex expressions. 1. Add expressions to: If ALL of the following match the message. 2. Expression 1:
Type: Advanced content match
Location: Full headers
Match type: Matches regex
(?im)^from:\sSendGrid(?:\s+\w+)\s*<[^>\r\n]+>+$ 3. Expression 2:
Type: Advanced content match
Location: Sender header
Match type: Not matches regex
(?i)^[A-Za-z0-9._%+-]+@(sendgrid\.com|twilio\.com)$ Set the rule to reject or quarantine. Users will not see the messages unless the attackers change the From header. |
|
It's better to focus on more systematic solutions. There exist a lot of them, SPF, DKIM, Recipient mail filtering (Your mail provider).
The screenshotted emails don't even do anything tricky like spoofing the sender address, it looks like "Sent from no-reply@theraoffice.com". If it spoofed the domain it would have been caught by SPF/DKIM.
Most of the time the user doesn't need to do much, you can just be weary of sender domains, and report the email as phishing and help blacklist that specific IP address/domain. Similar to how in medicine sometimes the physician tells you to drink water and rest, no medicine needed, just let the immune system do its thing.