# Beyond DKIM key rotation: understanding email replay attacks

DevFeed: [Beyond DKIM key rotation: understanding email replay attacks](<https://devfeed.tech/articles/beyond-dkim-key-rotation-understanding-email-replay-attacks-113414.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/security/beyond-dkim-key-rotation-understanding-email-replay-attacks/>)

Author: Michael Araba

Published: 2026-11-02T18:06:28Z

Content type: article

Language: en

Sources: [AWS Security Blog](<https://devfeed.tech/sources/aws-security-blog.md>)

Topics: [email](<https://devfeed.tech/topics/email.md>), [Cybersecurity](<https://devfeed.tech/topics/cybersecurity.md>), [Domain Name System (DNS)](<https://devfeed.tech/topics/dns-resolution-process.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [public key](<https://devfeed.tech/topics/public-key.md>), [DNS security](<https://devfeed.tech/topics/dns-security.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [administrator](<https://devfeed.tech/tags/administrator.md>), [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [aggregate](<https://devfeed.tech/tags/aggregate.md>), [amazon-ses](<https://devfeed.tech/tags/amazon-ses.md>), [amazon-simple-email-service-ses](<https://devfeed.tech/tags/amazon-simple-email-service-ses.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [based](<https://devfeed.tech/tags/based.md>), [domain](<https://devfeed.tech/tags/domain.md>), [don-t](<https://devfeed.tech/tags/don-t.md>), [email](<https://devfeed.tech/tags/email.md>), [ip](<https://devfeed.tech/tags/ip.md>), [issue](<https://devfeed.tech/tags/issue.md>), [key](<https://devfeed.tech/tags/key.md>), [mail](<https://devfeed.tech/tags/mail.md>), [message](<https://devfeed.tech/tags/message.md>), [organization](<https://devfeed.tech/tags/organization.md>), [report](<https://devfeed.tech/tags/report.md>), [reporting](<https://devfeed.tech/tags/reporting.md>), [rotation](<https://devfeed.tech/tags/rotation.md>), [security-blog](<https://devfeed.tech/tags/security-blog.md>), [security-identity-compliance](<https://devfeed.tech/tags/security-identity-compliance.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [verification](<https://devfeed.tech/tags/verification.md>)

## AI overview

A valid DKIM signature survives unchanged forwarding, so replayed copies can pass DKIM and DMARC even under p=reject; key rotation alone does not invalidate signatures made with the old key. Confirm replay with a sent message matched to one delivered to unintended recipients, since aggregate reports identify anomalies but cannot prove replay or rule out legitimate relays. Establish DMARC enforcement after inventorying and aligning legitimate senders, then remove the old DNS key once in-flight mail has cleared. BYODKIM lets domain owners remove an old TXT key on demand; Easy DKIM is managed by Amazon SES and offers no immediate deletion of a specific key. The excerpt recommends correlating SES delivery events with DMARC reports, monitoring old-selector DNS lookups, and reporting source IPs with DMARC evidence. It describes receiver-side duplicate-message throttling as a current defense and DKIM2 as an emerging effort.

## Source excerpt

As the email administrator for your organization's domain, you receive a Domain-based Message Authentication, Reporting, and Conformance (DMARC) aggregate report showing email passing DomainKeys Identified Mail (DKIM) verification as though it came from your domain, sent from IP addresses you don't recognize to recipients you didn't contact. To clear the issue, you rotate your DKIM [...]