An email lands in your inbox from a familiar company. The sender’s address looks correct. The message passed through Google’s infrastructure. Your spam filter waves it through like a sleepy security guard recognizing a delivery uniform.
There is just one problem: the sender is a cybercriminal.
That unsettling scenario became a real concern in April 2022, when security researchers documented a surge in phishing emails abusing Google’s SMTP relay service. The technique allowed attackers to impersonate Gmail and Google Workspace senders under certain conditions, particularly when the spoofed organization had not configured a strict DMARC enforcement policy.
The headline sounds as though hackers discovered a magical “pretend to be anyone” button inside Gmail. The technical reality is more nuanced. Attackers were not necessarily breaking into the victim’s Google account, reading private messages, or obtaining the account password. Instead, they manipulated the email delivery and authentication process so a fraudulent message appeared to come from a trusted address.
That distinction matters, but it does not make the attack harmless. A convincing sender address can turn an obvious scam into a believable request for a password, payment, document, or urgent favor.
What Does It Mean to Spoof a Gmail Address?
Email spoofing is the practice of forging sender information so a message appears to come from someone other than its real source. Think of it as writing your neighbor’s return address on an envelope. The postal carrier delivers the letter, but your neighbor never wrote it.
In an email, several addresses and identities may exist behind the scenes. These include the visible “From” address, the envelope sender, the return path, the reply-to address, and the domain that cryptographically signed the message. Most people see only the display name and visible sender address.
Attackers take advantage of this gap between what users see and what mail systems process.
Spoofing Is Not the Same as Account Hacking
If criminals compromise a Gmail account, they may be able to read messages, access contacts, reset passwords for connected services, and send email from the real mailbox. Spoofing is different. The attacker imitates the address without necessarily accessing the mailbox.
A spoofed message may still be extremely convincing. It can display the correct company name, logo, writing style, signature, and email address. However, replies may go to another address, links may open fraudulent websites, and the message headers may reveal an unrelated sending source.
How the Google SMTP Relay Attack Worked
SMTP stands for Simple Mail Transfer Protocol. It is one of the basic systems used to send email across the internet. Google offers an SMTP relay service that allows organizations to route outgoing messages through Google’s servers.
This service has legitimate uses. A company might use it to send alerts from office equipment, billing notifications from internal software, support-ticket updates, or high-volume business communications. Rather than operating a separate public mail server, the organization can relay approved messages through Google.
Unfortunately, trusted infrastructure is valuable to attackers for the same reason it is valuable to legitimate businesses: other systems are more likely to accept it.
Step 1: The Attacker Used a Relay Configuration
Researchers found that threat actors were routing malicious messages through Google’s SMTP relay service. Because the messages came from Google-controlled mail servers, security products could initially view the connection as more trustworthy than traffic from an unknown or newly created server.
This did not automatically make every message legitimate. It did, however, give the fraudulent email a respectable-looking delivery route. In cybersecurity, arriving in a limousine does not prove you own the building, but it may persuade someone to open the door.
Step 2: The Visible Sender Was Forged
The attacker configured the email so its visible “From” field displayed the address of a trusted brand or organization. To the recipient, the message could appear to come from a company already known to them.
One reported example imitated a message from Trello while originating from an unrelated domain. The sender address created the first layer of trust, while Google’s relay infrastructure supplied another.
Step 3: Weak DMARC Enforcement Left the Door Open
The technique was most effective against domains that did not publish an enforcing DMARC policy. A domain might have no DMARC record, or its record might use a monitoring-only policy such as p=none.
With p=none, receiving servers collect reports about authentication failures but are not instructed to quarantine or reject the messages. That setting is useful during the early stages of a DMARC rollout, but it should not always be the final destination.
A stricter p=reject policy tells receiving mail servers to refuse messages that fail the required authentication and alignment checks. A p=quarantine policy usually directs suspicious messages toward spam or another restricted location.
Step 4: Security Filters Saw Conflicting Signals
The fraudulent messages contained a combination of reassuring and suspicious signals. The visible sender looked familiar. The relay belonged to Google. Some authentication checks could appear acceptable because the spoofed domain authorized Google’s servers to send mail on its behalf.
At the same time, other message details could reveal a discrepancy between the apparent sender and the real source. Basic filters or poorly configured gateways did not always treat that discrepancy as grounds for rejection.
Security researchers reported seeing roughly 30,000 messages associated with the technique during the first two weeks of April 2022. The scale demonstrated that this was not merely a laboratory curiosity.
Why Email Authentication Can Be Confusing
Email security relies heavily on three standards: SPF, DKIM, and DMARC. Their names sound like forgotten government agencies, but together they help receiving systems determine whether a message is authorized.
SPF: Who Is Allowed to Send?
Sender Policy Framework, or SPF, lets a domain publish a list of servers permitted to send email for that domain. When a message arrives, the receiving server can compare the sending system with the domain’s SPF record.
SPF has limitations. It primarily evaluates the envelope sender, which may differ from the address displayed in the visible “From” field. Forwarding can also complicate SPF validation because the message may arrive from a server that was not included in the original domain’s record.
DKIM: Was the Message Properly Signed?
DomainKeys Identified Mail, or DKIM, adds a cryptographic signature to an email. The sending system uses a private key to sign selected parts of the message, while receiving servers retrieve the corresponding public key from DNS.
A valid DKIM signature helps show that the signed content was not altered after signing and that the signing domain controlled the relevant private key. However, a valid signature does not automatically mean the visible sender is honest. A criminal can legitimately sign an email with a domain the criminal controls.
DMARC: Do the Identities Match?
Domain-based Message Authentication, Reporting and Conformance, better known as DMARC, connects authentication results with the address users actually see. For a message to pass DMARC, the visible “From” domain must align with a domain validated by SPF or DKIM.
DMARC also lets domain owners tell receiving systems what to do when authentication fails. Available policies include monitoring the message, quarantining it, or rejecting it.
This alignment requirement is crucial. Without it, a message could be authenticated somewhere in the delivery process while still presenting a misleading identity to the recipient.
Why a Correct Sender Address Is No Longer Enough
For years, security advice told people to inspect the sender’s email address. That advice remains useful, especially for catching lookalike domains such as paypa1.example or misspelled company names.
However, an apparently correct address is not proof of legitimacy. Sender information can be forged, accounts can be compromised, authorized platforms can be abused, and legitimate services can be manipulated into delivering malicious content.
Modern phishing attacks often use several trust signals simultaneously:
- A recognizable display name and sender address
- A familiar company logo and email template
- Language copied from genuine notifications
- A message sent through a respected cloud provider
- A link hosted on a platform users normally trust
- An urgent request designed to prevent careful review
Each detail makes the email feel more authentic. Together, they can make a fraudulent message look more polished than some real corporate emails, which is admittedly not the highest hurdle in human history.
How to Identify a Spoofed Gmail Message
Expand the Sender Information
Click or tap the sender name to reveal the full address and available security details. Look for unexpected “mailed by” or “signed by” domains. A mismatch does not always prove fraud, because businesses often use third-party email providers, but it deserves attention.
Inspect the Destination Before Clicking
On a computer, hover over a link to preview its destination. On a mobile device, press and hold the link without opening it. Check the actual registered domain, not merely familiar words placed somewhere in a long address.
For example, a URL containing the word “google” is not necessarily controlled by Google. The important part is the real domain immediately before the path begins.
Use a Separate Route to Verify the Request
Do not use the email’s link, phone number, or reply address when verifying a sensitive request. Open the company’s official app, type its known website address into your browser, or call a number from a previous statement or trusted directory.
A message claiming that your account will explode into digital confetti unless you act in seven minutes can wait while you verify it.
Watch for Behavioral Warning Signs
Suspicious emails frequently create urgency, secrecy, fear, or excitement. Common stories include unexpected invoices, password expirations, legal notices, shared documents, payroll changes, gift-card requests, refunds, prizes, and unusual login alerts.
Even a technically authentic-looking message should be treated cautiously if the requested action is unusual.
View the Original Message
Gmail users can open the message menu and select “Show original” to inspect authentication results and complete headers. Useful fields may include SPF, DKIM, DMARC, return path, reply-to, received servers, and message identifiers.
Headers are not exactly beach reading, but they can reveal that a message claiming to come from one company actually traveled through an unrelated domain.
What Gmail and Google Workspace Users Should Do
Use multifactor authentication or a passkey on your Google account. These protections cannot prevent every phishing attempt, but they can reduce the damage caused by a stolen password. Passkeys are especially valuable because they are designed to resist credential phishing.
Never enter your Google password after following an unexpected link in an email. Open Google’s account or security pages independently instead. If an email claims to describe Google Account activity, review recent security events directly from your account.
Report suspicious messages using Gmail’s “Report phishing” option. Reporting helps remove the message from your inbox and provides information that may improve detection of similar campaigns.
If you already submitted credentials, immediately change your password, review active sessions, remove unfamiliar devices, inspect recovery options, examine forwarding rules and filters, and revoke suspicious third-party access.
How Organizations Can Reduce Gmail Address Spoofing
Deploy SPF, DKIM, and DMARC Together
SPF and DKIM provide authentication signals, while DMARC checks alignment and defines enforcement. Organizations should inventory every legitimate sending service before moving to a strict policy so real marketing, billing, support, and notification systems are not accidentally blocked.
A practical DMARC rollout often begins with reporting, progresses to partial quarantine, and eventually reaches full quarantine or rejection after authorized senders have been validated.
Restrict SMTP Relay Access
Google Workspace administrators should avoid allowing arbitrary sender addresses unless there is a specific, carefully controlled requirement. Relay access should be limited to registered users, approved domains, authenticated connections, or narrowly defined IP ranges.
Organizations should also monitor relay activity, sending volume, unexpected source addresses, and unusual message patterns. A relay should behave like a guarded loading dock, not an unattended table with a sign reading “Please use responsibly.”
Do Not Blindly Allowlist Major Cloud Providers
Messages sent through Google, Microsoft, Amazon, or another respected platform are not automatically safe. Attackers regularly abuse legitimate cloud services because those services already possess strong reputations and established infrastructure.
Email defenses should evaluate sender alignment, message content, link behavior, domain age, conversation context, and user behavior rather than trusting a message solely because it came through a familiar network.
Establish Verification Procedures
Businesses should require independent confirmation for payment changes, payroll updates, sensitive data requests, gift-card purchases, and account recovery actions. A quick call using a known number can stop an attack that bypasses millions of dollars’ worth of technology.
Employees should be encouraged to report suspicious messages without embarrassment. Punishing someone for asking whether an email is real trains the entire organization to remain silent during the next attack.
Practical Experience: What Gmail Spoofing Looks Like in the Real World
The most useful lesson from Gmail spoofing incidents is that victims rarely fall for a message because of one perfect technical trick. They fall for a sequence of believable details arriving at the right moment.
Consider a finance employee who regularly receives cloud-service invoices. On a busy afternoon, an email arrives from what appears to be a familiar vendor. The sender address looks correct, the logo is sharp, and the message references a believable billing problem. The employee sees no obvious spelling errors and assumes the company’s security tools would have blocked anything dangerous.
The link opens a polished login page. The employee enters a password, receives an error, and tries again. The fake page has now collected the credentials twice, which reassures the attacker that the password was not merely mistyped.
Another common scenario begins with an executive impersonation message. The email claims the executive is in a meeting and needs a confidential payment handled immediately. The attacker may have studied public schedules, social media posts, company announcements, or previous data breaches to make the timing believable.
The sender address creates confidence, but urgency does the real work. The employee is not given time to think, consult a colleague, or follow normal approval procedures. The message transforms helpfulness into a vulnerability.
Incident responders repeatedly see the same turning point: someone noticed an odd detail but continued because the address looked legitimate. Perhaps the wording felt slightly unusual. Maybe the link opened a different domain. Perhaps the request bypassed a normal process. The recipient’s instincts raised a small alarm, but the sender identity appeared to silence it.
This is why effective phishing awareness should not be reduced to “check the email address.” Employees need permission to question the entire situation. Does the request make sense? Is this how the sender normally communicates? Why is a routine task suddenly urgent? Why is a supplier asking for a new bank account? Why does a legal notice demand a password?
A strong response procedure is simple. Stop interacting with the message. Preserve it for investigation. Contact the apparent sender through a separate channel. Report it to the security team or email provider. If credentials were entered, reset them from a trusted device and terminate active sessions immediately.
Organizations that recover well usually have rehearsed these steps before an incident. Their employees know whom to contact, security teams can search for matching messages, finance departments can pause questionable transactions, and administrators can review authentication logs quickly.
The broader conclusion is uncomfortable but useful: email appearance is evidence, not proof. A correct address, a valid signature, or a trusted delivery platform can contribute to trust, but none should override context and independent verification. The safest inbox habit is not permanent suspicion. It is a brief, disciplined pause before taking an irreversible action.
Note: The widely reported attack described activity observed in April 2022 involving abuse of Google’s SMTP relay service and weak DMARC enforcement. It did not mean hackers could universally enter, control, or read every Gmail account. Google subsequently described protections against the technique, while current defensive guidance continues to emphasize restricted relay access and properly aligned SPF, DKIM, and DMARC authentication.