|
|
|
|
|
|
| Author |
Message |
Richard Lyons *nix forums Guru
Joined: 08 Mar 2005
Posts: 312
|
Posted: Wed Jun 14, 2006 12:33 pm Post subject:
Re: Spoofed email address question
|
|
|
On Wed, 14 Jun 2006, Thomas Raef wrote:
| Quote: | My question is, what qmail configuration or patches would prevent this?
What could this company do in the future to prevent this?
|
Search qmail.org for "RCPT TO: verbs".
Rick. |
|
| Back to top |
|
 |
Thomas Raef *nix forums beginner
Joined: 10 Apr 2006
Posts: 21
|
Posted: Wed Jun 14, 2006 12:47 pm Post subject:
RE: Spoofed email address question
|
|
|
I did and I use goodrcptto patch for blocking incoming invalid email
addresses, but how does that prevent the spoofed bounces?
As I understand it, if someone spoofs my email address and goes email
address harvesting, they may send out millions of messages claiming to
be from my email address. As the recipient email servers reject the
message it will bounce back to my email address. My system has my email
address as a valid address so my system would accept the bounce.
Maybe I'm not understanding the process clearly and if this is true,
please enlighten me or send me somewhere for more research. I've tried
investigating this already but haven't found any definitive answers.
Thank you for your insight.
-----Original Message-----
From: Richard Lyons [mailto:frob-qmail@webcentral.com.au]
Sent: Wednesday, June 14, 2006 7:34 AM
To: qmail@list.cr.yp.to
Subject: Re: Spoofed email address question
On Wed, 14 Jun 2006, Thomas Raef wrote:
| Quote: | My question is, what qmail configuration or patches would prevent
this?
What could this company do in the future to prevent this?
|
Search qmail.org for "RCPT TO: verbs".
Rick. |
|
| Back to top |
|
 |
Gerrit Pape *nix forums beginner
Joined: 06 Apr 2005
Posts: 19
|
Posted: Wed Jun 14, 2006 12:53 pm Post subject:
Re: Spoofed email address question
|
|
|
On Wed, Jun 14, 2006 at 07:47:07AM -0500, Thomas Raef wrote:
| Quote: | I did and I use goodrcptto patch for blocking incoming invalid email
addresses, but how does that prevent the spoofed bounces?
As I understand it, if someone spoofs my email address and goes email
address harvesting, they may send out millions of messages claiming to
be from my email address. As the recipient email servers reject the
message it will bounce back to my email address. My system has my email
address as a valid address so my system would accept the bounce.
|
Yes.
| Quote: | Maybe I'm not understanding the process clearly and if this is true,
please enlighten me or send me somewhere for more research. I've tried
investigating this already but haven't found any definitive answers.
|
Maybe it's not that easy to implement company-wide, but I'd suggest to
generally use (non-public) envelope sender addresses, different from the
public mail addresses in From:, in sent mail, and reject such bounces in
the SMTP connection, see
http://marc.theaimsgroup.com/?l=qmail&m=111314493525750&w=2
Regards, Gerrit. |
|
| Back to top |
|
 |
Ken Jones *nix forums beginner
Joined: 02 Feb 2005
Posts: 18
|
Posted: Wed Jun 14, 2006 12:56 pm Post subject:
Re: Spoofed email address question
|
|
|
It is called a Joe Job.
There is no way to prevent it.
http://en.wikipedia.org/wiki/Joe_job
You can use SPF or Domain Keys to help the receivers
verify that it came from a valid sender.
Ken Jones
Thomas Raef wrote:
| Quote: | I did and I use goodrcptto patch for blocking incoming invalid email
addresses, but how does that prevent the spoofed bounces?
As I understand it, if someone spoofs my email address and goes email
address harvesting, they may send out millions of messages claiming to
be from my email address. As the recipient email servers reject the
message it will bounce back to my email address. My system has my email
address as a valid address so my system would accept the bounce.
Maybe I'm not understanding the process clearly and if this is true,
please enlighten me or send me somewhere for more research. I've tried
investigating this already but haven't found any definitive answers.
Thank you for your insight.
-----Original Message-----
From: Richard Lyons [mailto:frob-qmail@webcentral.com.au]
Sent: Wednesday, June 14, 2006 7:34 AM
To: qmail@list.cr.yp.to
Subject: Re: Spoofed email address question
On Wed, 14 Jun 2006, Thomas Raef wrote:
My question is, what qmail configuration or patches would prevent
this?
What could this company do in the future to prevent this?
Search qmail.org for "RCPT TO: verbs".
Rick.
|
|
|
| Back to top |
|
 |
Richard Lyons *nix forums Guru
Joined: 08 Mar 2005
Posts: 312
|
Posted: Wed Jun 14, 2006 1:10 pm Post subject:
RE: Spoofed email address question
|
|
|
On Wed, 14 Jun 2006, Thomas Raef wrote:
| Quote: | Maybe I'm not understanding the process clearly and if this is true,
please enlighten me or send me somewhere for more research. I've tried
investigating this already but haven't found any definitive answers.
|
Sorry, misread the question and thought the problem was the
server sending bounces. As other posters have said, it's not
an easy problem to fix. One thing we do with a reasonable
amount of success is to reject/reprioritize messages with a
null sender that contain a bounce message in which a received
header contains an IP address that is listed in a DNSBL.
Alternatives are to rate limit connections based on recipients
or message content, or to turn spam filtering up to 11 during
the course of the spam run.
Rick. |
|
| Back to top |
|
 |
Thomas Raef *nix forums beginner
Joined: 10 Apr 2006
Posts: 21
|
Posted: Wed Jun 14, 2006 1:19 pm Post subject:
RE: Spoofed email address question
|
|
|
No problem.
I am reading: http://cr.yp.to/proto/verp.txt now and will investigate
even further. I think my options are somewhat limited based on the fact
this is an email gateway in front of an exchange server and therefore
doesn't have a mailbox or maildir for each user.
If it's of any interest I can post my findings/results to this list but
I'm sure most of your already know what to do or accept the way things
are. This seems to be a very informed group.
Thank you all for your help.
-----Original Message-----
From: Richard Lyons [mailto:frob-qmail@webcentral.com.au]
Sent: Wednesday, June 14, 2006 8:10 AM
To: qmail@list.cr.yp.to
Subject: RE: Spoofed email address question
On Wed, 14 Jun 2006, Thomas Raef wrote:
| Quote: | Maybe I'm not understanding the process clearly and if this is true,
please enlighten me or send me somewhere for more research. I've tried
investigating this already but haven't found any definitive answers.
|
Sorry, misread the question and thought the problem was the
server sending bounces. As other posters have said, it's not
an easy problem to fix. One thing we do with a reasonable
amount of success is to reject/reprioritize messages with a
null sender that contain a bounce message in which a received
header contains an IP address that is listed in a DNSBL.
Alternatives are to rate limit connections based on recipients
or message content, or to turn spam filtering up to 11 during
the course of the spam run.
Rick. |
|
| Back to top |
|
 |
U. George *nix forums addict
Joined: 01 Feb 2005
Posts: 51
|
Posted: Wed Jun 14, 2006 1:46 pm Post subject:
Re: Spoofed email address question
|
|
|
I dont bounce any messages with names of accounts that dont exist. I
forward these fake e-mails to spamcop.net as spam. Then the ISP's that
bounce the fake e-mails are blacklisted. This seems to get their
attention that there is an issue - but not always :-{
Some ISP's will claim that the bounce is legit as per an outdated RFC.
The victim that received the bounce, now has one more spam mail to
process. Either case, for both the sender and receiver, the process has
wasted bandwidth, some cpu processing, and in this case used some time
on a qmail list.
So, do u bounce mails with forged headers?
Thomas Raef wrote:
| Quote: |
My question is, what qmail configuration or patches would prevent this?
What could this company do in the future to prevent this? |
|
|
| Back to top |
|
 |
Thomas Raef *nix forums beginner
Joined: 10 Apr 2006
Posts: 21
|
Posted: Wed Jun 14, 2006 1:52 pm Post subject:
RE: Spoofed email address question
|
|
|
Currently, yes I do bounce them. Well let me clarify, I bounce any email
that is not sent to a valid recipient email address. I also bounce bad
reverse DNS messages as well which I guess could be, at times, forged.
To date, I have not had anyone complain that their message to me didn't
go through due to bad reverse DNS.
-----Original Message-----
From: U. George [mailto:gatgul@gatworks.com]
Sent: Wednesday, June 14, 2006 8:46 AM
To: Thomas Raef
Cc: qmail@list.cr.yp.to
Subject: Re: Spoofed email address question
I dont bounce any messages with names of accounts that dont exist. I
forward these fake e-mails to spamcop.net as spam. Then the ISP's that
bounce the fake e-mails are blacklisted. This seems to get their
attention that there is an issue - but not always :-{
Some ISP's will claim that the bounce is legit as per an outdated RFC.
The victim that received the bounce, now has one more spam mail to
process. Either case, for both the sender and receiver, the process has
wasted bandwidth, some cpu processing, and in this case used some time
on a qmail list.
So, do u bounce mails with forged headers?
Thomas Raef wrote:
| Quote: |
My question is, what qmail configuration or patches would prevent
this?
What could this company do in the future to prevent this? |
|
|
| Back to top |
|
 |
Thanos Massias *nix forums addict
Joined: 25 May 2005
Posts: 98
|
Posted: Wed Jun 14, 2006 1:57 pm Post subject:
Re: Spoofed email address question
|
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thomas Raef wrote:
| Quote: | I recently talked with a company that was receiving about 50,000 bounced
messages a day. It appears that someone spoofed one of their email
addresses and was blasting SPAM out with this spoofed address as the
sender and all of the bounces were being returned to their email server
because of the spoofed email address.
My question is, what qmail configuration or patches would prevent this?
What could this company do in the future to prevent this?
|
Have a look at http://spamlinks.net/prevent-research.htm#bounce
Of all the methods described there, the only qmail-applicable
implementation I know of is the following BATV qmail patch:
http://mipassoc.org/pipermail/ietf-clear/2006-May/000480.html
- --
Best regards,
Thanos Massias
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEkBXYSy9m2i8jedwRAsTbAJ9VqsnZ5Y7xIkEyO+ePZOvGoyclvwCfVvKf
xCzjKj139axLeIzn2Iffqu0=
=CVbq
-----END PGP SIGNATURE----- |
|
| Back to top |
|
 |
Charles Cazabon *nix forums Guru
Joined: 08 Jan 2005
Posts: 805
|
Posted: Wed Jun 14, 2006 2:01 pm Post subject:
Re: Spoofed email address question
|
|
|
U. George <gatgul@gatworks.com> wrote:
| Quote: | I dont bounce any messages with names of accounts that dont exist. I
forward these fake e-mails to spamcop.net as spam. Then the ISP's that
bounce the fake e-mails are blacklisted. This seems to get their
attention that there is an issue - but not always :-{
|
And if I try to send you mail, but I fumble-finger it and enter your address
as <gatgut@gatwords.com>, my message will then disappear into the ether.
Since I don't get a bounce, and my logs show your mail server accepting the
message, I'll have every reason to believe you received my message.
Congratulations, you're destroying the internet's mail infrastructure.
| Quote: | Some ISP's will claim that the bounce is legit as per an outdated RFC.
|
Not only is it legitimate, it's *required* to make SMTP usable.
Charles
--
--------------------------------------------------------------------------
Charles Cazabon <qmail@discworld.dyndns.org>
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
My services include qmail consulting. See http://pyropus.ca/ for details.
-------------------------------------------------------------------------- |
|
| Back to top |
|
 |
Charles Cazabon *nix forums Guru
Joined: 08 Jan 2005
Posts: 805
|
Posted: Wed Jun 14, 2006 2:04 pm Post subject:
Re: Spoofed email address question
|
|
|
Charles Cazabon <qmail@discworld.dyndns.org> wrote:
| Quote: |
And if I try to send you mail, but I fumble-finger it and enter your address
as <gatgut@gatwords.com>,
|
Argh, I really did fumble-finger it. That should have been
<gatgut@gatworks.com>.
Charles
--
--------------------------------------------------------------------------
Charles Cazabon <qmail@discworld.dyndns.org>
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
My services include qmail consulting. See http://pyropus.ca/ for details.
-------------------------------------------------------------------------- |
|
| Back to top |
|
 |
U. George *nix forums addict
Joined: 01 Feb 2005
Posts: 51
|
Posted: Wed Jun 14, 2006 2:36 pm Post subject:
Re: Spoofed email address question
|
|
|
For this small site, all bounced mails go to an aliased address.
I then 1 by 1 submit the bounced mails to spamcop. In that manual
process, i can recognise what is, is not spam that has been bounced.
But if i get more than a few, say 18 in a morning, I just process some,
and delete the rest.
If I get 50,000, I will more likely be automagically dropping them all.
Unfortunately, If i dont tell the folks who bounce the spam, they will
just go on, and on, and on.
In my reality, because of DUL lists, I am likely to think that even
properly addressed e-mails are silently dropped by ISP's and users who
knowingly, and unknowingly do so based merely on an IP number.
Anyway I used to bounce the bad headers with spam content. Now I dont. I
just report what I can, and let the ISP's that bounce know that no one
from 'gatworks.com' has sent the mail, via spamcop, presuming that the
ISP is at all interested.
Charles Cazabon wrote:
| Quote: | U. George <gatgul@gatworks.com> wrote:
I dont bounce any messages with names of accounts that dont exist. I
forward these fake e-mails to spamcop.net as spam. Then the ISP's that
bounce the fake e-mails are blacklisted. This seems to get their
attention that there is an issue - but not always :-{
And if I try to send you mail, but I fumble-finger it and enter your address
as <gatgut@gatwords.com>, my message will then disappear into the ether.
Since I don't get a bounce, and my logs show your mail server accepting the
message, I'll have every reason to believe you received my message.
Congratulations, you're destroying the internet's mail infrastructure.
Some ISP's will claim that the bounce is legit as per an outdated RFC.
Not only is it legitimate, it's *required* to make SMTP usable.
Charles |
|
|
| Back to top |
|
 |
U. George *nix forums addict
Joined: 01 Feb 2005
Posts: 51
|
Posted: Wed Jun 14, 2006 2:53 pm Post subject:
Re: Spoofed email address question
|
|
|
I suppose then it becomes a philosophical question to bounce or not to
bounce. I cant tell you what would be the best way to handle bounces,
and neither can an RFC. All anyone can do is show the possible
consequences of your actions, or inactions.
Thomas Raef wrote:
| Quote: | Currently, yes I do bounce them. Well let me clarify, I bounce any email
that is not sent to a valid recipient email address. I also bounce bad
reverse DNS messages as well which I guess could be, at times, forged.
To date, I have not had anyone complain that their message to me didn't
go through due to bad reverse DNS.
-----Original Message-----
From: U. George [mailto:gatgul@gatworks.com]
Sent: Wednesday, June 14, 2006 8:46 AM
To: Thomas Raef
Cc: qmail@list.cr.yp.to
Subject: Re: Spoofed email address question
I dont bounce any messages with names of accounts that dont exist. I
forward these fake e-mails to spamcop.net as spam. Then the ISP's that
bounce the fake e-mails are blacklisted. This seems to get their
attention that there is an issue - but not always :-{
Some ISP's will claim that the bounce is legit as per an outdated RFC.
The victim that received the bounce, now has one more spam mail to
process. Either case, for both the sender and receiver, the process has
wasted bandwidth, some cpu processing, and in this case used some time
on a qmail list.
So, do u bounce mails with forged headers?
Thomas Raef wrote:
My question is, what qmail configuration or patches would prevent
this?
What could this company do in the future to prevent this?
|
|
|
| Back to top |
|
 |
Thomas Raef *nix forums beginner
Joined: 10 Apr 2006
Posts: 21
|
Posted: Wed Jun 14, 2006 3:00 pm Post subject:
RE: Spoofed email address question
|
|
|
I appreciate your insight. You have given me much to think about which
is a good thing.
I always appreciate other views on any topic. To this, I am grateful.
-----Original Message-----
From: U. George [mailto:gatgul@gatworks.com]
Sent: Wednesday, June 14, 2006 9:54 AM
To: qmail@list.cr.yp.to
Subject: Re: Spoofed email address question
I suppose then it becomes a philosophical question to bounce or not to
bounce. I cant tell you what would be the best way to handle bounces,
and neither can an RFC. All anyone can do is show the possible
consequences of your actions, or inactions.
Thomas Raef wrote:
| Quote: | Currently, yes I do bounce them. Well let me clarify, I bounce any
email
that is not sent to a valid recipient email address. I also bounce bad
reverse DNS messages as well which I guess could be, at times, forged.
To date, I have not had anyone complain that their message to me
didn't
go through due to bad reverse DNS.
-----Original Message-----
From: U. George [mailto:gatgul@gatworks.com]
Sent: Wednesday, June 14, 2006 8:46 AM
To: Thomas Raef
Cc: qmail@list.cr.yp.to
Subject: Re: Spoofed email address question
I dont bounce any messages with names of accounts that dont exist. I
forward these fake e-mails to spamcop.net as spam. Then the ISP's that
bounce the fake e-mails are blacklisted. This seems to get their
attention that there is an issue - but not always :-{
Some ISP's will claim that the bounce is legit as per an outdated RFC.
The victim that received the bounce, now has one more spam mail to
process. Either case, for both the sender and receiver, the process
has
wasted bandwidth, some cpu processing, and in this case used some time
on a qmail list.
So, do u bounce mails with forged headers?
Thomas Raef wrote:
My question is, what qmail configuration or patches would prevent
this?
What could this company do in the future to prevent this?
|
|
|
| Back to top |
|
 |
Sami Farin *nix forums addict
Joined: 01 Feb 2005
Posts: 98
|
Posted: Wed Jun 14, 2006 3:34 pm Post subject:
Re: Spoofed email address question
|
|
|
On Wed, Jun 14, 2006 at 16:57:44 +0300, Thanos Massias wrote:
...
ABBS was invented in December 2003.
Patch has been publically available since beginning of 2004.
http://msgs.securepoint.com/cgi-bin/get/qmail0403/161.html
-- |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Fri Jan 09, 2009 9:53 pm | All times are GMT
|
|
Loans and Credit Cards | Mortgages | Sudoku Software | McDonalds | Mobile Phone
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|