Discussion:
Hide the postfix version
(too old to reply)
Thomas Lecomte
2005-01-30 13:49:10 UTC
Permalink
Hi,
I'm trying do hide the postfix version when connecting.
Actually, I got this:
220 imaga.zapto.org ESMTP Postfix

How can I hide "Postfix"?
Thanks,
Thomas Lecomte <***@gmail.com>
Ralf Hildebrandt
2005-01-30 13:51:27 UTC
Permalink
Post by Thomas Lecomte
Hi,
I'm trying do hide the postfix version when connecting.
220 imaga.zapto.org ESMTP Postfix
smtpd_banner = $myhostname ESMTP $mail_name
--
Ralf Hildebrandt (***@charite.de) ***@charite.de
http://www.arschkrebs.de/postfix/ Tel. +49 (0)30-450 570-155
"Any sufficiently advanced bug is indistinguishable from a feature."
-Rich Kulawiec
Magnus Bäck
2005-01-30 15:52:45 UTC
Permalink
On Sunday, January 30, 2005 at 14:54 CET,
Post by Thomas Lecomte
I'm trying do hide the postfix version when connecting.
220 imaga.zapto.org ESMTP Postfix
=20
How can I hide "Postfix"?
What would be the point of that? Anyone with a clue would be able to
identify your MTA as Postfix anyway.

--=20
Magnus B=E4ck
***@dsek.lth.se
Victor Duchovni
2005-01-30 16:24:58 UTC
Permalink
You're right. A "nmap -sV -p 25 -v <server" show "Postfix smtpd".
Is there any way to avoid this?
Whatever for?
To convince nmap you are not Postfix, you could run Sendmail :-)

Exercise: What software is running on this machine (guilty domain suppressed)?

< 220 ?????????.??.com ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2657.72) ready
< 221 Error: I can break rules, too. Goodbye.
--
Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:***@postfix.org?body=unsubscribe%20postfix-users>
d***@gmail.com
2005-01-30 16:37:30 UTC
Permalink
Post by Victor Duchovni
You're right. A "nmap -sV -p 25 -v <server" show "Postfix smtpd".
Is there any way to avoid this?
Whatever for?
To convince nmap you are not Postfix, you could run Sendmail :-)
Exercise: What software is running on this machine (guilty domain suppressed)?
< 220 ?????????.??.com ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2657.72) ready
< 221 Error: I can break rules, too. Goodbye.
Lol :-)
Ok, it isn't very imporant.
Anyway postfix don't reveal his version.
Thanks to all,
Thomas
Ralf Hildebrandt
2005-01-30 17:16:46 UTC
Permalink
Post by Victor Duchovni
You're right. A "nmap -sV -p 25 -v <server" show "Postfix smtpd".
Is there any way to avoid this?
Whatever for?
To convince nmap you are not Postfix, you could run Sendmail :-)
Exercise: What software is running on this machine (guilty domain suppressed)?
< 220 ?????????.??.com ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2657.72) ready
< 221 Error: I can break rules, too. Goodbye.
Hmm, Postfix?
--
Ralf Hildebrandt (***@charite.de) ***@charite.de
http://www.arschkrebs.de/postfix/ Tel. +49 (0)30-450 570-155
The more I C, the less I see.
Robin Lynn Frank
2005-01-30 17:36:04 UTC
Permalink
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig132E9D14D378C9AF41404299
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Post by Magnus Bäck
On Sunday, January 30, 2005 at 14:54 CET,
=20
=20
Post by Thomas Lecomte
I'm trying do hide the postfix version when connecting.
220 imaga.zapto.org ESMTP Postfix
How can I hide "Postfix"?
=20
=20
What would be the point of that? Anyone with a clue would be able to
identify your MTA as Postfix anyway.
=20
True, but wouldn't it be just as simple to say,"Change smtpd_banner =3D=20
$myhostname ESMTP $mail_name to smtpd_banner =3D $myhostname ESMTP"?

If he wants to do something that harms no one, let him.

--=20
Robin Lynn Frank - Director of Operations - Paradigm-Omega, LLC
Website: http://www.paradigm-omega.com/
RSS: http://paradigm-omega.blogspot.com/atom.xml
Spamtraps: http://www.paradigm-omega.net/cgi-bin/custmail.cgi
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
And on the eighth day, we bulldozed it.


--------------enig132E9D14D378C9AF41404299
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Sed quis custodiet ipsos custodes?
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB/Rrko0pgX8xyW4YRA4d9AJ96O/W/c7GnqHLrJzymkzwlqlpFxQCaA+o3
WCOGboqPVytTCB5g/c2N3X4=
=1l+X
-----END PGP SIGNATURE-----

--------------enig132E9D14D378C9AF41404299--
Planet X Mail
2005-01-30 17:46:20 UTC
Permalink
The point is changing the BANNNER is to keep ( automated PORT SCANNERS from
QUICKLY IDing a machine, running a SMTP server, as being postfix of a specific
version. )

Other than that all the person has to do is send an email to the mail server
get a bounce back message, read the headers ofthe bounce, and get the fact if
its qmail postfix or whatever.

But the banner change WILL give you at least SOME 'obscurity' to the automated
PORT scanners out there...

peace,
matt
www.pxmb.com
Post by Robin Lynn Frank
Post by Magnus Bäck
On Sunday, January 30, 2005 at 14:54 CET,
Post by Thomas Lecomte
I'm trying do hide the postfix version when connecting.
220 imaga.zapto.org ESMTP Postfix
How can I hide "Postfix"?
What would be the point of that? Anyone with a clue would be able to
identify your MTA as Postfix anyway.
True, but wouldn't it be just as simple to say,"Change smtpd_banner =
$myhostname ESMTP $mail_name to smtpd_banner = $myhostname ESMTP"?
If he wants to do something that harms no one, let him.
--
Robin Lynn Frank - Director of Operations - Paradigm-Omega, LLC
Website: http://www.paradigm-omega.com/
RSS: http://paradigm-omega.blogspot.com/atom.xml
Spamtraps: http://www.paradigm-omega.net/cgi-bin/custmail.cgi
=====================================================================
And on the eighth day, we bulldozed it.
ATTACHMENT part 2 application/pgp-signature name=signature.asc
Robin Lynn Frank
2005-01-30 18:06:23 UTC
Permalink
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig1A453365B16778E0048CB37D
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Post by Ralf Hildebrandt
Post by Victor Duchovni
You're right. A "nmap -sV -p 25 -v <server" show "Postfix smtpd".
Is there any way to avoid this?
Whatever for?
To convince nmap you are not Postfix, you could run Sendmail :-)
Exercise: What software is running on this machine (guilty domain suppressed)?
< 220 ?????????.??.com ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2657.72) ready
< 221 Error: I can break rules, too. Goodbye.
Hmm, Postfix?
I'm a bit amused because our local web server's error returns:
Not Found

The requested URL /dufus.html was not found on this server.
Microsoft-IIS/5.0 Server at omega.paradigm-omega.net Port 80

We then sit back and watch some bozo try to exploit a MS server. ;-)

--
Robin Lynn Frank - Director of Operations - Paradigm-Omega, LLC
Website: http://www.paradigm-omega.com/
RSS: http://paradigm-omega.blogspot.com/atom.xml
Spamtraps: http://www.paradigm-omega.net/cgi-bin/custmail.cgi
=====================================================================
Reality TV is an oxymoron.

--------------enig1A453365B16778E0048CB37D
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Sed quis custodiet ipsos custodes?
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB/SIAo0pgX8xyW4YRA7oqAJ9zm/ZoZoSgsWPapOtQ75VeDdetjQCeI4/B
ht3ByAYeTPcBypScUgenSnE=
=K4cT
-----END PGP SIGNATURE-----

--------------enig1A453365B16778E0048CB37D--
Wietse Venema
2005-01-30 18:19:55 UTC
Permalink
Post by Planet X Mail
The point is changing the BANNNER is to keep ( automated PORT SCANNERS from
QUICKLY IDing a machine, running a SMTP server, as being postfix of a specific
version. )
Postfix as distributed does not announce its version numbers in
banners or in returned mail.

Wietse
Devdas Bhagat
2005-01-30 18:21:07 UTC
Permalink
Post by Planet X Mail
The point is changing the BANNNER is to keep ( automated PORT SCANNERS from
QUICKLY IDing a machine, running a SMTP server, as being postfix of a specific
version. )
Those kiddies who want to exploit a server based on the version string
will normally just throw everything at it in the hope that something
works.
If you have an attacker who is going to actually recon, then the
version/application name hiding isn't going to help.

If you are worried about being exploited, run better software. One of
the reasons I run Postfix :).
Post by Planet X Mail
Other than that all the person has to do is send an email to the mail server
get a bounce back message, read the headers ofthe bounce, and get the fact if
its qmail postfix or whatever.
But the banner change WILL give you at least SOME 'obscurity' to the automated
PORT scanners out there...
Which really doesn't help :)

Devdas Bhagat
Robin Lynn Frank
2005-01-30 18:23:48 UTC
Permalink
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigA557D5B60F1E4728F98ACDEA
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Post by Wietse Venema
Post by Planet X Mail
The point is changing the BANNNER is to keep ( automated PORT SCANNERS from
QUICKLY IDing a machine, running a SMTP server, as being postfix of a specific
version. )
Postfix as distributed does not announce its version numbers in
banners or in returned mail.
Wietse
I suspect the OP is using the package from his OS. IIRC, the Mandrake
RPM even advertises the OS/version.

--
Robin Lynn Frank - Director of Operations - Paradigm-Omega, LLC
Website: http://www.paradigm-omega.com/
RSS: http://paradigm-omega.blogspot.com/atom.xml
Spamtraps: http://www.paradigm-omega.net/cgi-bin/custmail.cgi
=====================================================================
A 'full' life in my experience is usually full only of other people's
demands.

--------------enigA557D5B60F1E4728F98ACDEA
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Sed quis custodiet ipsos custodes?
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB/SYXo0pgX8xyW4YRA0JsAJ9d3zAm2YjZ9gO7DEyaDNdcYY3ZCwCgioRz
L8DEzoIFOmual0dQNh3Txvo=
=8RJQ
-----END PGP SIGNATURE-----

--------------enigA557D5B60F1E4728F98ACDEA--
Planet X Mail
2005-01-30 18:35:10 UTC
Permalink
Nope!

But I change my banner anyway.. any little bit helps..

-matt
Post by Planet X Mail
Post by Planet X Mail
The point is changing the BANNNER is to keep ( automated PORT SCANNERS from
QUICKLY IDing a machine, running a SMTP server, as being postfix of a
specific
Post by Planet X Mail
version. )
Those kiddies who want to exploit a server based on the version string
will normally just throw everything at it in the hope that something
works.
If you have an attacker who is going to actually recon, then the
version/application name hiding isn't going to help.
If you are worried about being exploited, run better software. One of
the reasons I run Postfix :).
Post by Planet X Mail
Other than that all the person has to do is send an email to the mail
server
Post by Planet X Mail
get a bounce back message, read the headers ofthe bounce, and get the fact
if
Post by Planet X Mail
its qmail postfix or whatever.
But the banner change WILL give you at least SOME 'obscurity' to the
automated
Post by Planet X Mail
PORT scanners out there...
Which really doesn't help :)
Devdas Bhagat
Magnus Bäck
2005-01-30 20:05:41 UTC
Permalink
On Sunday, January 30, 2005 at 18:35 CET,
Post by Robin Lynn Frank
Post by Magnus Bäck
What would be the point of that? Anyone with a clue would be able to
identify your MTA as Postfix anyway.
True, but wouldn't it be just as simple to say,"Change smtpd_banner =3D
$myhostname ESMTP $mail_name to smtpd_banner =3D $myhostname ESMTP"?
If he wants to do something that harms no one, let him.
Ralf had already tipped the OP about smtpd_banner, so I thought I could
just rant a little bit.

--=20
Magnus B=E4ck
***@dsek.lth.se
Planet X Mail
2005-01-30 20:59:41 UTC
Permalink
FSF remember that. FREE to do as you please.

;)

-matt
www.pxmb.com
Post by Magnus Bäck
On Sunday, January 30, 2005 at 18:35 CET,
Post by Robin Lynn Frank
Post by Magnus Bäck
What would be the point of that? Anyone with a clue would be able to
identify your MTA as Postfix anyway.
True, but wouldn't it be just as simple to say,"Change smtpd_banner =
$myhostname ESMTP $mail_name to smtpd_banner = $myhostname ESMTP"?
If he wants to do something that harms no one, let him.
Ralf had already tipped the OP about smtpd_banner, so I thought I could
just rant a little bit.
--
Magnus Bäck
Robin Lynn Frank
2005-01-30 22:16:54 UTC
Permalink
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig344092E5A70AC5AB977928ED
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Post by Magnus Bäck
On Sunday, January 30, 2005 at 18:35 CET,
=20
=20
Post by Robin Lynn Frank
Post by Magnus Bäck
What would be the point of that? Anyone with a clue would be able to
identify your MTA as Postfix anyway.
True, but wouldn't it be just as simple to say,"Change smtpd_banner =3D=
$myhostname ESMTP $mail_name to smtpd_banner =3D $myhostname ESMTP"?
If he wants to do something that harms no one, let him.
=20
=20
Ralf had already tipped the OP about smtpd_banner, so I thought I could=
just rant a little bit.
=20
Ralf's message actually arrived here after yours. Probably routed via=20
Mars. (I resisted the temptation to use a different planetary=20
reference.) Anyway, in light of that, rants asre okay. ;-)


--=20
Robin Lynn Frank - Director of Operations - Paradigm-Omega, LLC
Website: http://www.paradigm-omega.com/
RSS: http://paradigm-omega.blogspot.com/atom.xml
Spamtraps: http://www.paradigm-omega.net/cgi-bin/custmail.cgi
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
The difference between Bush's and Kerry's web sites?
Kerry's web site didn't sell my email address to others.


--------------enig344092E5A70AC5AB977928ED
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Sed quis custodiet ipsos custodes?
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB/Vyyo0pgX8xyW4YRAzs4AKC0h+1BEU0Fey8Y3S2cW5ljMqM9QgCfXM9u
JF+uPoQhlW2PIBMdQOZ3ggk=
=p5kp
-----END PGP SIGNATURE-----

--------------enig344092E5A70AC5AB977928ED--
Victor Duchovni
2005-01-31 14:47:19 UTC
Permalink
Post by Ralf Hildebrandt
Post by Victor Duchovni
Exercise: What software is running on this machine (guilty domain suppressed)?
220 ?????????.??.com ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2657.72) ready
221 Error: I can break rules, too. Goodbye.
Hmm, Postfix?
Yes. The rationale of the admins who have configured Postfix to look
like Microsoft Exchange is unknown to me...
--
Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:***@postfix.org?body=unsubscribe%20postfix-users>
Victor Duchovni
2005-01-31 16:13:17 UTC
Permalink
While it also seems pointless to me as well, it does raise an
interesting question. Aside from announcing hostname and ESMTP, what is
the purpose of having anything else in the banner configurable?
This helps the postmaster of a remote site to diagnose delivery
problems. It still does, look at the aol.com banner. There *may*
also be some minor legal benefit to a no-tresspass sign. I have:

smtpd_banner = $myhostname ESMTP $mail_name. NO UCE

(yes it should be NO UBE, but I am too lazy to change it, lets not
go there).
--
Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:***@postfix.org?body=unsubscribe%20postfix-users>
Loading...