by logifail · 3y ago · 0 comments
We find the DKIM headers on the recipient's copy of messages, and they confirm information about the authenticity of the sender, right?
So a malicious actor in league with Alice prepares a laptop which purports to be Bob's (but isn't).... and on it there are DKIM-signed messages "From: Alice <alice@example.com>" and apparently "To: Bob <bob@example.com>", except they didn't actually go anywhere near Bob because they were "RCPT TO: <someone_else>"?
...or is there more to it?
I'd think that if one attacks the sender, one could even do it without the purported senders cooperation could also cause it to happen.
Now, especially because google rotates DKIM keys this would be such a long game attack that in my view, it's very improbable to be such a scenario.
Thinking about forging mail, in the case of senders who control their DKIM signing keys (me, for instance), if you have the sender's cooperation then you have access to their private DKIM key, can't you just sign any message you like?
No need for the messages you're forging and signing to go anywhere near any email clients or mailservers at all.