TL;DR version:
Over twenty years ago, Verizon did something very ill-advised: they
implemented SMTP callbacks. A number of us (including the late
Bruce Gingery, who -- unsurprisingly for anyone who knew him -- was
very insightful on this issue) analyzed this in detail and came
to two conclusions:
1. It has no anti-abuse value.
2. It's abusive.
It's starting to look to me like this discarded-with-damn-good-reason idea
may have come back from the dead, but I'm not sure about that. If so,
we need to kill it again and put a stake through its heart this time.
Long version:
There is a badly-mistaken belief among some people that verifying the
validity/existence of an email address has some anti-abuse/spam/phish value.
But it doesn't. It never has. It's one of those cargo cult things
that some people believe because some other people believe it, not because
it has any basis in reality. And as someone who has been studying
spam as long as or -- more likely -- far longer than any of you,
I can say that with considerable confidence.
There is a correct belief that allowing attackers/abusers to enumerate
the set of valid addresses on any given mail server/in any given domain
is a bad idea. This is, unfortunately, why we were all compelled to
disable EXPN and VRFY decades ago. One of the consequences of this is
that anyone trying to find out if [email protected] is a valid address
is that they have to open up an SMTP connection to one of example.com's MX's
and attempt to deliver a message to it. (And then, presumably, close
the connection once they've acquired an answer.) In other words,
they have to fake an actual delivery and then abandon it.
What Verizon did was to set up a mechanism such that an inbound
message to any of their mail servers from [email protected] caused
them to open up an *outbound* connection (from somewhere else in their
infrastructure) to one of the MX's for example.com and then do exactly
what I described in the last paragraph.
This is a very bad, no good, awful idea in the general sense because it
means that they handed a remote control to everyone on the Internet: any
attacker could cause them to open an arbitrary number of SMTP connections
*of the attacker's choice* to an arbitrary number of destinations *of
the attacker's choice* at an arbitrary rate *of the attacker's choice*.
(If it's not obvious why this is true, consider: an attacker who controls
example.com can point its MX records ANYWHERE. Also consider that an
attacker may have a very large number of domains and/or a very large bot
network at its disposal. Think about how that enables them to leverage
any operation like Verizon's that has a lot of server horsepower and a
lot of bandwidth in order to massively amplify an attack.)
This is a very bad, no good, awful idea in the specific sense because
it allows attackers to use any mail system which does this to bypass
security mechanisms.
(Why/how? Because the outbound connection does not come from the
originating system: it comes from the system doing the SMTP callback.
Thus if the victim has firewalled/null-routed/blocked the originating
system, this bypasses that.)
IANAL, this is not legal advice, etc., but depending on the legal
jurisdiction involved, I would not want to be running a system that
enables attackers to get around example.com's defenses. And legalities
aside, it's still very bad manners and it's not something you should
facilitate, doubly so because you have no way of knowing which victim it
might be, triply so because that victim might turn out to be a government
agency or a large corporation -- either of which may become...annoyed.
This is a very bad, no good, awful idea in the global sense because it
fails one of the key tests of any tactic that we deploy: what if everyone
did it? (I trust that a few minutes' thought invested in this question
will suffice to verify that.)
There's more: back in the day, we discussed how this can be used
to conduct DDoS attacks, why attempting to rate-limit it (a proposed
band-aid) doesn't work, why caching (another proposed band-aid) doesn't
work, why other dubious band-aids don't work, how more sophisticated
attacks can be constructed using this, etc. I can probably find the
archives of this discussion, although it may take a while: they're not
at my fingertips because I thought we'd never see this idiotic nonsense
again and thus I wouldn't need them.
Oops. My bad.
The bottom line is that this is a wrong, failed, stupid, abusive thing
to do and nobody should be doing it. Ever. Thankfully, Verizon stopped
doing it after a few years. (But they never never bothered to apologize
for all the damage they did. Of course not.)
I'm now seeing indications that some systems may be doing this or
something quite similar to it, because, once again, I'm seeing inbound
connections originating from mail systems shortly after my systems
initiate outbound connections to those operations.
So now, finally, I get to my questions: (1) is there some piece of code
in some contemporary MTA release that implements this? Or perhaps an
extension or a milter or something similar? (2) is anyone else seeing
this? and -- partly seriously, partly sardonically, partly exasperatedly
(3) what the heck is it going to take to finally kill this idea dead,
dead, dead?
---rsk
_______________________________________________
mailop mailing list
[email protected]
https://list.mailop.org/listinfo/mailop