What happened in 2016

In the summer of 2016, approximately 20,000 emails from the Democratic National Committee were published by WikiLeaks. The emails were allegedly obtained by Russian intelligence services through a spear-phishing campaign that compromised the Google accounts of several DNC staffers.

The breach raised an immediate question that would become central to the disinformation landscape of the following years: how do you know which emails are real, and which have been fabricated or modified before publication?

The answer lay hidden in the email headers — specifically, in the DKIM signatures.

DKIM signatures as forensic evidence

Every email sent through Google's servers (including Gmail and Google Workspace) is signed with a DKIM signature. This signature is generated using a private key held by Google and can be verified by anyone using the corresponding public key published in DNS.

The critical property of DKIM is that it signs specific header fields and the email body. If any signed content is modified after the signature is applied — even a single character — the signature verification fails.

Security researchers examining the leaked DNC emails found that many of them had intact, verifiable DKIM signatures. This meant:

  • The emails were genuinely sent through Google's mail infrastructure
  • The content of those specific emails had not been altered after Google applied the DKIM signature
  • The metadata (sender, recipient, date) was authentic for those particular messages
🔬

The DKIM verification process. A verifier fetches the public key from DNS at the selector specified in the email header (e.g., google._domainkey.dnc.org), then uses it to verify the signature in the DKIM-Signature header. A valid result confirms authenticity; a failed or missing result is inconclusive.

The double-edged sword

Here is where the story becomes complicated: DKIM authentication was designed to protect recipients from phishing — to prove that an email claiming to be from Google was genuinely sent by Google. It was never designed to be a public authentication mechanism for leaked correspondence.

By publishing emails with intact DKIM signatures, the leakers inadvertently provided a cryptographic proof of authenticity that could be independently verified by anyone with technical knowledge. This had two opposing effects:

  • It made it harder to fabricate emails. Any email that was fabricated by the leakers would fail DKIM verification — assuming the DNC's DNS zone still held the public key. This provided a check against wholesale disinformation within the leak itself.
  • It made it impossible to credibly deny real emails. Emails that were embarrassing but genuinely sent could not be dismissed as fabrications, because the DKIM signature confirmed their authenticity.

What email headers reveal about you

The DNC incident highlighted how much information lives inside email headers — information that most senders never think about:

  • Sending IP address — The originating server's IP is preserved in Received: headers, often revealing the sender's geographic location and ISP
  • Mail client and version — The X-Mailer or User-Agent header reveals what software sent the email
  • Timestamps at each hop — Every mail server that handled the message adds a Received: header with a timestamp, revealing the chain of custody
  • Authentication results — The Authentication-Results header shows whether SPF, DKIM, and DMARC passed or failed at the receiving server
👁️

Emails contain far more than their visible content. Anyone who receives your email has access to all of this metadata. If those emails are later leaked or forwarded, that metadata travels with them.

Lessons for domain owners

The DNC breach is usually discussed in terms of the initial compromise — the phishing attack that obtained credentials. But the DKIM angle offers a different set of lessons:

  1. DKIM key rotation matters. If the DNC had rotated DKIM keys after the breach, emails signed with the old key would have had verifiable signatures but no way to confirm the current domain owner was responsible for those keys. Regular key rotation is security hygiene.
  2. Email is not private communications. Any email can be forwarded, printed, subpoenaed, or leaked. DKIM signatures make it easier to verify authenticity after the fact. Design your communication practices accordingly.
  3. Phishing prevention starts with the attacker not getting in. Proper DMARC on the DNC's own domain would have prevented outsiders from spoofing the DNC — but it would not have prevented the original credential theft that gave attackers access to the actual accounts. Authentication protects against impersonation, not account compromise.

Analyze your email headers

Our Header Analyzer decodes every field in an email header — revealing authentication results, routing, and metadata.

Open Header Analyzer →