🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to defeat "man in the middle" attack

#18642
From: pgp651
Date: Tue, 15 May 2001 11:21
114 lines
5715 bytes
-----BEGIN PGP SIGNED MESSAGE-----

in <Xns90A19D4F9B67C2E284CEEC009E394A9D7@The.Looney.Bin> Guy GuysAlias@operamail.com wrote:
> pgp651 wrote in news:20010514195708.3059.qmail@nym.alias.net:
> 
> > I need to defeat "man in the middle" possible attack when I will 
> > make my attempt to exchange PGP public keys with other party. 
> > 
> > The standard methods for keys finger data such as :
> > ====================================================
> > can not be implemented.
> > 
> > I know that party e-mail address only.
> > Any help with better suggestions that will definitely void this
> > attack ? 
> 
> Review this method:

OK, We have:
ME, YOU, MIM = Man In Middle

MIM created 2 new keys:
M-YOU = MIM key for YOU
M-ME = MIM key for ME

> 1.  You send me an email containing the text of your public key --
>  not an attachment, the "public key block" is copied directly into the
>  email.

MIM received ME email with ME key inside email [ ME did not encrypt it 
to YOU key, because ME at this time don't have YOU key ]

MIM is replacing all text of this email with M-ME key and is sending to YOU

YOU received MIM email that has M-ME key inside.

>  2.  I encrypt, to that public key which appears to be yours --
>  which may be actually the key of a "man in the middle" -- my public
>  key, and paste one half of the resulting "PGP encrypted message" text
>  into an email, then encrypt the email to "your" key, and send it to
>  you.

MIM received your email which has M-ME encrypted first half [ of M-ME encrypted 
YOU key ]

MIM is decrypting email [ outer encryption to M-ME ]

MIM is replacing your email text [ the part that MIM could not decrypt, 
because it is only 1/2 PGP encrypted YOU key to M-ME key ] with 1/2 part ME 
encrypted M-YOU key >> simple substitution 1/2 YOU to 1/2 M-YOU.

MIM sends all to ME.
 
>  3.  The "man in the middle" can decrypt the email (since he's
>  substituted his key for yours), but he cannot decrypt that half of
>  the encrypted public key message.  He either exposes himself by not
>  forwarding the half as is

Not really, not at all, see my explanation.

> , or he takes a chance and attempts to
>  replicate the process to deceive you -- which gets exposed later, or
>  he forwards the half as it is.
>  
>  4.  You verify to me that you have received the first half.  I
>  then send the second half the same way.

When ME know what to expect from YOU in YOU first email [ YOU first 1/2 
part of key ], then we are assuming that ME <> YOU communication occurred 
in the past & we must assume that MIM know that to, this is MIM job. 
Therefore, MIM will send to ME, first half of M-YOU key encrypted to ME key.

When YOU will go to second round and YOU will send second part of TOU key, 
MIM will send second half part of M-YOU key to ME. As the result, MIM will 
provide 2 parts of M-YOU key to ME.

The more correct assumption on MIM part, when NO other rules are present, 
example parties don't know what to expect, is: 

When MIM doesn't know what IT IS [ example can't decrypt it ] >> MIM will 
delete that part. Therefore MIM will always be in full control between 
MT <> YOU communication. With this assumption, when YOU is sending first 1/2 
part of YOU key, MIM will propagate to ME nothing, just empty encrypted to 
ME email. MIM will wait what is ME response to this email. MIM will "force" 
YOU & ME to send plain text inside encrypted email OR no communication at all.

According to my explanation, when I will play MIM role, I will defeat your 
attempted method. 

Did I make any mistake in my reasoning ?

To recap all:
When parties don't know what to expect, MIM will delete ALL what MIM can't read.
When parties know what to expect, MIM does to, MIM will follow expectations.

This is very complicated issue. Any other suggestions ?

~~~
This PGP signature only certifies the sender and date of the message.
It implies no approval from the administrators of nym.alias.net.
Date: Tue May 15 11:21:05 2001 GMT
From: pgp651@nym.alias.net

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQEVAwUBOwERIk5NDhYLYPHNAQE53gf9Gj4In21uA9REUmpLned4mpnp8QdU+mrr
VcgZXbOI7by/Oe/EU95z4ntpQgsY3A69IcIo9Nqo5JOOXnW03plArD1lTImcGOck
lO92GjrV0FaKoZRdZdr1xezh8Ha1HrmUXviYzl70P/BJiYW5RdQ20sQrbogHhiH2
7HVGCdKaEVyfeDSCF+pnf+k+hYCLXWjHvoLodo36KdqZeGeLoPMbxsQCp/0c0ieD
A4g7gmFcAmLSls77rs3HpTT2a61PuuVCcohXgO9gnzp8hHeVTA6fAOCxmXXX9pCD
O4rddQl5fXdoYRHAjE3avIApbtbXBUhbCYrZ/T1mO49ONmbIJGm+eQ==
=3FoS
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <20010515112108.31463.qmail@nym.alias.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.mbox.zip!archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newscore.univie.ac.at!193.154.160.102.MISMATCH!newsfeed.Austria.EU.net!newsfeed.kpnqwest.at!anon.lcs.mit.edu!nym.alias.net!mail2news-x4!mail2news-x3!mail2news-x2!mail2news
References: <Xns90A19D4F9B67C2E284CEEC009E394A9D7@The.Looney.Bin>

Show Full Headers
Complete Article Headers
Message-ID: <20010515112108.31463.qmail@nym.alias.net>
Subject: Re: How to defeat "man in the middle" attack
Date: Tue, 15 May 2001 11:21:08 +0000
From: pgp651 <Use-Author-Address-Header@[127.1]>
References: <Xns90A19D4F9B67C2E284CEEC009E394A9D7@The.Looney.Bin>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.mbox.zip!archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newscore.univie.ac.at!193.154.160.102.MISMATCH!newsfeed.Austria.EU.net!newsfeed.kpnqwest.at!anon.lcs.mit.edu!nym.alias.net!mail2news-x4!mail2news-x3!mail2news-x2!mail2news
Author-Address: pgp651 <AT> nym <DOT> alias <DOT> net
Newsgroups: alt.privacy.anon-server,alt.privacy,alt.security.pgp,alt.security.scramdisk
Mail-To-News-Contact: postmaster@nym.alias.net
Organization: mail2news@nym.alias.net
Lines: 114