🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #234459

Re: Hidden SMTPD (testing(

#234459
From: Christian Danner
Date: Fri, 07 Aug 2009 18:26
116 lines
5638 bytes
Hi Zax!

Zax wrote:

>Hidden Services like this certainly have uses but there are some
>potential issues:
>
>A hidden smtpd service unless carefully configured is likely to be an
>open relay.  Maybe that's not a major issue as few spammers bother with
>Tor but I personally wouldn't chose to knowingly run one.
>
>When a client connects to the Hidden Service, does it cease to be
>hidden?  In other words, does it announce itself with a real hostname?
>E.g.
>$ telnet c7axk3ah2w42wsg4.onion:25
>220 smtp.gabrix.ath.cx ESMTP Postfix (Noauth Remailer SMPTD SSL)
>
>When a recipient gets an email from the Hidden Service, does it contain
>the real hostname in the Received headers?

A hidden SMTP relay can always be located when it sends messages the
ordinary way to the recipient. Isn't it irrelevant to fix the ingoing
side as long as the outbound connections aren't restricted to reliable
counterparts?

But isn't the main advantage to be found on the client side? You don't
have to depend on the exit node allowing communication on specific
ports like 25. And even without SSL/TLS being involved no unencrypted
data leak, which would happen with an external exit node involved.

Nevertheless, I see relevant risks on the senders' part. They may
wrongly feel secure without using a mail client that addresses the
problem of sending compromising information, as there's no generic Tor
filter that works like Privoxy and covers SMTP traffic. By way of
illustration here's the protocol of a message transmission to the
gabrix hidden server with OM taking care of not leaking any data that
reveal your identity:

| Stat Disconnected.
| Sent 07.08.2009 18:09:18: ?? ?   ? c7axk3ah2w42wsg4.onion
| Recv 07.08.2009 18:09:22:  Z
| Stat Connected.
| Recv 07.08.2009 18:09:23: 220 smtp.gabrix.ath.cx ESMTP Postfix (Noauth Remailer SMPTD SSL)<EOL>
| Sent 07.08.2009 18:09:23: EHLO heaven.orbit<EOL>

HELO / EHLO with real domain name?

| Recv 07.08.2009 18:09:28: 250-smtp.gabrix.ath.cx<EOL>
|                           250-PIPELINING<EOL>
|                           250-SIZE 10240000<EOL>
|                           250-ETRN<EOL>
|                           250-STARTTLS<EOL>
|                           250-ENHANCEDSTATUSCODES<EOL>
|                           250-8BITMIME<EOL>
|                           250 DSN<EOL>
| Sent 07.08.2009 18:09:28: STARTTLS<EOL>

AFAIK unproblematic, as only a server certificate is involved.

| Recv 07.08.2009 18:09:32: 220 2.0.0 Ready to start TLS<EOL>
| Sent 07.08.2009 18:09:40: EHLO heaven.orbit<EOL>

HELO / EHLO with real domain name?

| Recv 07.08.2009 18:09:43: 250-smtp.gabrix.ath.cx<EOL>
|                           250-PIPELINING<EOL>
|                           250-SIZE 10240000<EOL>
|                           250-ETRN<EOL>
|                           250-ENHANCEDSTATUSCODES<EOL>
|                           250-8BITMIME<EOL>
|                           250 DSN<EOL>
| Sent 07.08.2009 18:09:43: RSET<EOL>
| Recv 07.08.2009 18:09:47: 250 2.0.0 Ok<EOL>
| Sent 07.08.2009 18:09:47: MAIL FROM: <gabriel_at_heaven.orbit><EOL>

Envelope From with real sender address?

| Recv 07.08.2009 18:09:51: 250 2.1.0 Ok<EOL>
| Sent 07.08.2009 18:09:51: RCPT TO:<om_at_nym.mixmin.net><EOL>
| Recv 07.08.2009 18:09:54: 250 2.1.5 Ok<EOL>
| Sent 07.08.2009 18:09:54: DATA<EOL>
| Recv 07.08.2009 18:09:57: 354 End data with <CR><LF>.<CR><LF><EOL>
| Sent 07.08.2009 18:09:57: From: Gabriel <gabriel_at_heaven.orbit><EOL>

Let's hope at least the header From is neutral.

|                           To: OmniMix <om_at_nym.mixmin.net><EOL>
|                           Subject: SMTP Test<EOL>
|                           Date: Fri, 07 Aug 2009 18:09:15 +0200<EOL>
|                           Message-ID: <sbko751picnu5di0so4h4ik39h06c7obtd@domain.is.invalid><EOL>

MID containing (encoded) IP address or other compromising data?

|                           MIME-Version: 1.0<EOL>
|                           Content-Type: text/plain; charset=us-ascii<EOL>
|                           Content-Transfer-Encoding: quoted-printable<EOL>
|                           X-Hashcash: 1:24:090804:om_at_nym.mixmin.net::zGFNqhY04zbtCiWs:00000000000000000000000000000000000000000000EPv4<EOL>
| Sent 07.08.2009 18:09:57: <EOL>
| Sent 07.08.2009 18:09:57: Hi,<EOL>
| Sent 07.08.2009 18:09:57: <EOL>
| Sent 07.08.2009 18:09:57: let's investigate the headers!<EOL>
| Sent 07.08.2009 18:09:57: .<EOL>
| Recv 07.08.2009 18:10:01: 250 2.0.0 Ok: queued as 9CD1813A132<EOL>
| Sent 07.08.2009 18:10:01: QUIT<EOL>
| Recv 07.08.2009 18:10:04: 221 2.0.0 Bye<EOL>
| Stat Disconnected.

Kind regards

Christian
-- 
OmniMix ... protect your privacy
https://www.danner-net.de/om.htm
 

Technical Details
Message-ID: <IMU1MWA640033.101412037@reece.net.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news2.arglkargh.de!news.bananasplit.info!mail2news.mixmin.net
References: <20090804154031.5BC211A79C9@www.ecn.org> <slrnh7ohdf.8of.admin@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <IMU1MWA640033.101412037@reece.net.au>
Subject: Re: Hidden SMTPD (testing(
Date: Fri, 07 Aug 2009 18:26:02 +0000
From: Christian Danner <---@---.--->
References: <20090804154031.5BC211A79C9@www.ecn.org> <slrnh7ohdf.8of.admin@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news2.arglkargh.de!news.bananasplit.info!mail2news.mixmin.net
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Remailer-Contact: abuse@reece.net.au
Newsgroups: alt.privacy.anon-server
X-Abuse-Contact: abuse@mixmin.net
Lines: 117