From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96390004717219.tru64-unix-managers.marc@archive.invalid> From: "Irene A. Shilikhina" Date: Tue, 18 Jul 2000 04:32:49 +0000 To: tru64-unix-managers Subject: [SUMMARY]: Another sort of smtp attack? (from all over the world) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96390004717219 Hello managers, yesterday I wrote about a flood of messages adderessed to nonexistent=20 user (this same) on our server, with empty reverse address and different relay in every message. [This caused a problem on the server because these transactions occupied almost all the connections limited in the sendmail configuration file]. Besides, I was puzzled because these relays were all over the world. Thanks to Fredrik Palm , Richard Westlake , and Paolo Lucente , who replied. Fredrik and Richard helped to restore the picture entirely. On their supposition, which seems to be persuasive, someone sent a=20 very large volume of SPAM with faked from/return address like the mail=20 originated on our system, with address list probably containing a lot=20 of addresses which were no longer valued. And what I was seeing was=20 the bounces from all these bad addresses. Besides, Fredrik pointed out that empty FROM address (from=3D<>) is, according to RFC821, the supported way to send error messages/bounces. And he is right: it turns out that RFC821 says [how useful may be=20 reading rfcs IN TIME... :) ] that specifying a null reverse-path in the=20 MAIL command of a notification message is one way to prevent loops in=20 error reporting: MAIL FROM:<> [And I should thank Jonathan B. Postel, the author of RFC821, because without this precaution, I only may imagine all the mess which would be=20 caused by such a misuse :) ] My original posting and those by Richard and Fredrik are below my signature. Irene P.S. In my original e-mail, under command "TO:", I meant command RCPT,=20 which implied "TO:". ************************************************************************* * * * Irene A. Shilikhina e-mail: irene@alpha.iae.nsk.su * * System administrator, * * Institute of Automation & Electrometry, * * Siberian Branch of Russian Academy of Sciences, * * Novosibirsk, Russia * * http://www.iae.nsk.su/~irene * ************************************************************************* * * * The road to hell is paved with good intentions. * * * ************************************************************************* On Mon, 17 Jul 2000, Irene A. Shilikhina wrote: >=20 > Hello managers, >=20 > this morning I found a huge number of entries in mail.log which have=20 > abnormal appearance: without any smtp command ("TO" can be expected), > only delivery address - nonexistent user (explicitly falsified) on our > server, and, what is worst, all of them have DIFFERENT RELAY ADDRESS - > FROM ALL OVER THE WORLD, to the same recipient. Since the existent rules= =20 > are not violated, there is no any "ruleset=3Dcheck_mail". (Although I don= 't > know why smtp does not complain about absence of any command, but this > does not matter). >=20 > Is there someone who has encountered the same, and what might your advice= =20 > be ? We are running sendmail 8.9.3. on Tru64 4.0D. >=20 > An extract from the mail.log: >=20 > Jul 16 22:01:40 alpha sendmail[7373]: WAA07373:=20 > ... User unknown > Jul 16 22:01:41 alpha sendmail[7373]: WAA07373: from=3D<>, size=3D7275,= =20 > class=3D0, pri=3D0, nrcpts=3D0, proto=3DESMTP, > relay=3Dfaulkner.netnet.net [206.40.99.110]=20 >=20 > etc. etc. etc... >=20 > Thanks, > Irene -------------------------------------->%----------------------------------- From=20r.westlake@mail.cryst.bbk.ac.ukTue Jul 18 09:22:25 2000 Date: Mon, 17 Jul 2000 12:08:43 +0100 From: Richard Westlake To: "Irene A. Shilikhina" Subject: Re: Another sort of smtp attack? (from all over the world) Irene Hi We had a similar problem a year or two ago. Don't know about the TO address but large numbers of connections from all over the internet. I would guess that someone has send a very large volume of SPAM (Not from= =20 your system) with faked from/return address which make it look like the mai= l=20 originated on your system. The address list they are using probably contains a lot of addresses, which are no longer valued. They may also be trying to brute force the address list for people like AOL by generating all possible Ids, need a lot of network bandwidth but if you use open relays then someone else pays. What you are seeing it the bounces from all these bad addresses. When this happened to us it took over a day to clear and the load nearly crashed our mail server. Hope it is not so bad for you. If this is the case then you should start to get angry emails complaining about the SPAM from people who don't or won't look at the full headers. :-( Good luck and all the best Richard Westlake Crystallography Dept. , Birkbeck College, Malet Street, London WC1E 7HX Tel: 020-7631-6859 ---------------------------------------------------------------------- Truth endures but spelling changes -- Anon. ---------------------------------------------------------------------- ------------------------------------>%-------------------------------- From=20frpa01@handelsbanken.seTue Jul 18 10:40:26 2000 Date: Mon, 17 Jul 2000 08:23:55 +0200 From: Fredrik Palm To: "Irene A. Shilikhina" Subject: Re: Another sort of smtp attack? (from all over the world) Hi, Well, I'm not sure about this but.... Empty from addresses (from=3D<>) is t= he,=20 according to RCF821, supported way to send error messages/bounces.=20 Could it be so that, for some reason, your users are sending emails to non- existent addresses out there with their own from:addresses set wrong.=20 This would mean that the email goes out to where ever, an error message=20 is generated and sent back to an illegal address (at your site) resulting i= n=20 the syslog entry below ? Just a thought, \\Fredrik ---------------------------------------------------------- Fredrik Palm Email: frpa01@handelsbanken.se Svenska Handelsbanken Phone: +46-8-7011789 CDCK-I Fax: +46-8-7011624 106 70 Stockholm Sweden