🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: A new dataformat for anonymous communications

#47642
From: Thomas J. Boschloo
Date: Fri, 17 Jan 2003 18:09
234 lines
14028 bytes
Sam Simpson wrote:
> 
> On Fri, 17 Jan 2003 16:16:20 +0000, Thomas J. Boschloo wrote:

> > I am a bit disappointed by the lack of replies to my new protocol. Seems
> 
> Protocols are cheap dear chap.  Produce code (server code, client code
> etc) and I'm sure you'd get feedback.

You're my hero Sam ;-) Thanks for taking the time to reply, I hoped
someone with your knowledge would. You could help me on the ECC issue I
have. It isn't fast (unpattented) and it cannot sign (yet), right?

> > I am on my own here (again). I have a response to all attacks on my
> > protocol I can think of, but I fear I got no takers this time (maybe
> > people fear my argumental skills IOW flaming habits).
> 
> You haven't outlined:
> 
>   1) What price problems you're trying to solve.

I try to solve the same problems the mixminion protocol tries to solve.
PGP solves problem of protecting the the content of your communications
from prying eyes. My protocol tries to solve (in addition to that) the
problem of 'having-terrorists-links on the internet' to use the current
time spirit. Some people you want to talk to, but in private without
getting exiled to Something-Something-Bay near Cuba.

>   2) How your solution resolves these problems.

It uses techniques that have proven themselves over the years, like
symmetric encryption, digital signing, public key encryption and Chaum
mix chains. It just uses them in a totally different and new way that is
even hard to understand for myself (I believe I might have been inspired
by the Great Lord himself if such a being exists, because the properties
of my protocol do not cease to surprise me and help me learn more about
the problem I am trying to address). I can give you some examples once I
have succeeded to transfer the information that has been brewing in my
own head for as long as I have been subscribed to APA-S.

I think I have a good understanding of the problems involved with
remailers Type I and II. Mixminion goes beyond my head, which is why I
am afraid to use it (no peers to find errors in the protocol).

>   3) Why each part of your solution exists.

Pff, I have to repaste my own draft dataformat again, please wait..


The internal data format:

[Public signing and encryption key (fixed size)] /* this data entry
solves the problem solved by Encrypt-Key in Mixmaster and the difficult
protocol in Mixminion in a more elegant way, it is the mainstay of my
protocol, everything else it derived from it, A possibility I had
lingering in my mind for many years was using pure RSA since you can add
and substract layers of encryption in any order you want to (without
error-correction checking possibilities though) */
[Hashcash token (fixed size, variable collision)] /* this data entry
doesn't do anything more than is described in Adam's pdf on hashcash. I
will probalby collide it on the remailer key encrypted to */
[length of message + rfc 822 headers (fixed size, starts at zero)] /*
obvious, it is important to know where the message stops to calculate
the hash used in the signature alone, notice the lack of compression,
which solves a lot of programming issues like memory reservation which
might lead to security issues or denial of service possibilities for
attackers */
[rfc 822 headers + message (unknown size)] /* this differs from both
Mixmaster and Mixminion I think, in that it doesn't care about the
protocol used to transfer e-mail. If new headers are added to the RFC
822 standard (like Content-Type or other Mime headers), the protocol
will basically still work. It is just the client software that needs to
be updated to actually use them. The server code can stay the same :-)
Notice the absense of the Post directive that is in Mixmaster, it is
only used by very few remailers (Dingo and Frog use them I think) */
[hash of all the above + signature with public key above (fixed size)]
/* data integrity and proof that the 'routing' data in the RFC headers
belong to the public key above. The remailer server stores this public
key together with the Reply-To: or From: headers together with a limited
set of other headers (clients are free to defiate from this, these
headers should be considered SHOULD and not MUST) */
[garbage (unknown size)] /* I am not sure about this, it is just for the
eventual programmer to be sure he expects the unexpected and not make
assumptions about what is inside a remailer package */

And this is the external data format:

[IV (fixed size, used to identify public signing key first, random later
when computers get fast enough to process lots of public signing keys)]
[encrypted data to public key of remailer node (unknown size)]
[garbage (unknown size)] /* all this stuff just has the simple property
of looking random to people not owning the secret key to the message
encrypted to. I do not know enough about crypto to be sure what other
data to include, there should probably be a fixed size random symetric
key encrypted to after the IV, but before the encrypted data, decryption
stops when the garbage in the internal format is reached or the format
above is unresolvable */

New thoughts I had over the last few weeks after posting this first
initial draft is that I must use delimiters if I don't want to lose data
to attackers posting random data through the (new) remailer system. I
have left behind the property of both Mixmaster and Mixminion of fixed
size messages and fragmentation because that solves a lot of problems
for and (and the computers it will run on, fragmentation is hell for
memory allocation I have discovered during an IP implementation
assignment at the VU). I want to fix the data at preset bounderdies
though. I have two reasons for this:
1) I can start to try and decrypt a message at the start of each
boundery, making decryption a hell of a lot faster that normally
allowed!!
2) (also very practicle to the programmer) If I fix it right I can
compress e-mail messages more than Base-64 by using more than 64
different characters (I am not sure if I can use upper-ascii, though,
that would be lovely!). Base-64 also has the problem with PGP of needing
to know at which byte/bit the data actually stops, the garbage in the
internal format also solves this by the way, but that is just how I
code. I take every precaution I can think of to avoid misfortune to the
user :-)

>   4) Any potential flaws.

I don't think there are any I didn't think of already. It is not a
complete protocol yet though, this is only the framework on which I hope
to extend. I still need a way to get remailer keys to the user. I need a
way to get (SMTP/POP server) stats to the user, these will be signed
(both probably)! There is just so much to think of that I just want to
address the bare protocol at first and see if there are any unsolvable
problems with it. A very big problem (which isn't really a flaw), is
that this protocol will put a lot of stress on the remailer servers
computational resources. It will use loads of harddisk space for all the
public keys that get dropped on it (if ECC can be used for signing, 512
bits * 10000 messages a day * at least five to ten days to keep each
key, which I figure is quite a lot + the RFC headers that go with the
ECC keys, which could be set extremely large by an attacker + this needs
to be accessed very frequently with regular removal of random keys, but
mostly addition of it which requires cleanup processes + the secret keys
of the remailer itself, which should be different for each message,
which means each public encryption key will only be used once which
allows the IV == hashof(secretkey) use for the first decade or so; all
in all, a challence to any rightminded programmer! (the client software
will be even harder to code because all of the special properties this
protocol seems to have, which I didn't design to be there!)

Also on the hashcash, a big problem is deciding which keys to clean up
from the database when the server runs out of harddisk space (which it
will in a few weeks). One possible solution I am working on is to use
the public key from the remailer as a token also (which hashcash
requirements inside it), but this also brings up the _potential flaw_ of
a MITM attack. An other solution which should be used simultaneously, is
simple economic rules of supply and demand on determining the cost of
useing the remailer. This has the potention problem that users go
querying many remailers at the same time for keys, in order to find the
cheapest route to their destinination. In addition to this ageing should
probably be used, stipping a bit of hashcash from each routing token in
the remailers database each period of time (which can be set by the
remailer operator depending on load statistics).

> > One interesting quesion would have been about key distribution and
> > trust. How am I going to build a key trust system or secure handshake to
> > avoid man-in-the-middle attacks?
> 
> What MITM attacks?

In order for the WOT of PGP to work e.g., both sides need to verify each
other keys in order to communicate without allowing a MITM attack as I
see it (I sometimes confuse myself, as you can figure from all the
above, that stuff is all in my precious little skull right now, together
with lots of alternative approaches, I guess I am quite brilliant in
this as I never ever suspected during my growing up that a single mind
could hold so much info. I quess the anti-psychotics have trained my
brain up to a very scary level of being able to deal with information,
never mind).

Because the user can't trust the remailer he uses (at least not all of
them), using a root authority or web-of-trust has no point. That is the
first point of failure.

Because the remailer can't verify the identity of the user (because the
user desires the stay anonymous at all costs and a database of anonymous
users is, well to put it mildly, bad to have and to be in). So in
summery, both conditions to avoid a MITM attack are not present, and
this seems unsolvable to me by current day technology and even theory
(Quantum Computers anyone??).

> > It is my impression that the key-trust system is a problem I cannot
> > solve, and which my protocol actually makes worse (but it is honest that
> > way).
> 
> without knowing the 4 things above we have no way of guessing.

Well, I don't want to pin the protocol down too much as it is now. I
know you like to program in Delphi, so you can appreciate the way in
which I am designing this protocol step by step, bottom up (from the
data, not from the user interface down like Microsoft tends to do with
it's software).

I realize that this kind of design is not possible in a commercial
environment or even a scientific setting (because the two are very alike
these days, as you may know from personal experience). But that makes me
happy to have a psychiatrist nagging me with stupid pills every few
weeks and wasting lots of my time trying to get out of this predicament.

Basically, society pays for my services by supporting me with a roof
above my head and food and water to keep my body from failing. And I
think that is a very beautiful thing that most people do not realize is
possible in an economic system where you get paid by the hour (and page
published, but I try not to be too pessimistic about this) for
scientific research.

> Regards,
> 
> Sam Simpson
> http://www.samsimpson.com/

Good to see you are well. I am having a speech about PGP and computer
security in two weeks in Den Helder, wanna come ;-))

Regards to you and thanks for wasting your time on my protocol,
Thomas

(Oh, do you have all the remailer exit points filtered in your e-mail
client already? You should expect a lot of flood messages as of this
post I am afraid :-( Schizophrenic you know, me ;-))

P.S. There is one more flaw that I think cannot be solved. Abuse and DOS
attacks by our governments on remailer servers. Even the hashcash system
won't protect against a severed IP connection and I don't intent to do
anything about it to solve it :-( That is just the way the internet is
and there is nothing anyone can do about this I fear :-(( Whoever
controls the bandwidth, controls the content on the internet.
-- 
An interview: Yes, I do understand politics. If you disagree with
president Bush, you will become the ashes of evil.
T.J. Boschloo <home.hccnet.nl/t.j.boschloo>
Technical Details
Message-ID: <3E2846D5.8E7AD28B@hccnet.nl.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.security.pgp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.online.be!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!news.hccnet.nl!not-for-mail
References: <3E1FE3BC.9420A9AD@hccnet.nl.invalid> <rbtv1vc09s35106j9st2nd2nhmji28a7sk@4ax.com> <avpbuh$3hh$1@ncc1701.cistron.net> <3E282C54.C534921C@hccnet.nl.invalid> <pan.2003.01.17.16.49.47.723415.4086@samsimpson.com>

Show Full Headers
Complete Article Headers
Message-ID: <3E2846D5.8E7AD28B@hccnet.nl.invalid>
Subject: Re: A new dataformat for anonymous communications
Date: Fri, 17 Jan 2003 19:09:25 +0100
From: "Thomas J. Boschloo" <nospamplease@hccnet.nl.invalid>
References: <3E1FE3BC.9420A9AD@hccnet.nl.invalid> <rbtv1vc09s35106j9st2nd2nhmji28a7sk@4ax.com> <avpbuh$3hh$1@ncc1701.cistron.net> <3E282C54.C534921C@hccnet.nl.invalid> <pan.2003.01.17.16.49.47.723415.4086@samsimpson.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.security.pgp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.online.be!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!news.hccnet.nl!not-for-mail
Newsgroups: alt.privacy.anon-server,alt.security.pgp,alt.fan.cult-dead-cow
Organization: Hobby Computer Club News Network
Lines: 235
NNTP-Posting-Host: uds20-36.dial.hccnet.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.hccnet.nl 1042827194 1387 62.251.36.20 (17 Jan 2003 18:13:14 GMT)
X-Complaints-To: abuse@hccnet.nl
NNTP-Posting-Date: Fri, 17 Jan 2003 18:13:14 +0000 (UTC)
Cancel-Lock: sha1:btzMui1JLSKPK4T6Ogsr/VolPK8=
X-Mailer: Mozilla 4.8 [en] (Win98; U)
X-Accept-Language: en,nl,de
X-NFilter: 1.2.1-b1