🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#18643
From: Ralph Hilton
Date: Tue, 15 May 2001 12:29
51 lines
2931 bytes
pgp651 <Use-Author-Supplied-Address-Header@[127.1]> wrote on 14 May 2001
19:57:08 -0000 in msg <20010514195708.3059.qmail@nym.alias.net>, :

>-----BEGIN PGP SIGNED MESSAGE-----
>
>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 :
>====================================================
>
>x call on the phone to read / ask
>x fax in / out
>x post secure snail mail
>
>can not be implemented.
>
>I know that party e-mail address only.
>Any help with better suggestions that will definitely void this attack ?
>
>This real scenario is / could be very complicated on both ends, which 
>means that "man in the middle" is / could be "2 men at both ends in the 
>middle".

The only workable method I know of is to create a key using a DH key
exchange methodology.

Basically you choose a very large prime number and a small prime as a root.

You pick a random large number and put the root to the power of that number
modulus the large prime.

You send the prime, the root and the result to your friend. He picks a
similar random number and sends you back his result.

If you put his result to the power of your random number and he puts your
result to the power of his random number then you'll both have a number
which can be used as a key to conventionally encrypt your other keys.

Given a large enough prime then it should be secure.

I don't know of an available implementation but I could send demo code in
Pascal which works for smaller numbers. It would need rewriting with large
integer math implemented.


--
Ralph Hilton
http://www.fzint.org/rhilton
Freezone International: http://www.fzint.org
C-Meter: http://www.inquisitive-instruments.co.uk/
Technical Details
Message-ID: <q472gtspvp9dknsg00hiju7vcqdnvd4bsv@4ax.com>
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!193.174.75.178!news-fra1.dfn.de!newsfeed01.univie.ac.at!newsfeed01.highway.telekom.at!newsspool01.highway.telekom.at!newsreader02.highway.telekom.at!not-for-mail
References: <20010514195708.3059.qmail@nym.alias.net>

Show Full Headers
Complete Article Headers
Message-ID: <q472gtspvp9dknsg00hiju7vcqdnvd4bsv@4ax.com>
Subject: Re: How to defeat "man in the middle" attack
Date: Tue, 15 May 2001 14:29:18 +0200
From: Ralph Hilton <aon.912202928@aon.at>
References: <20010514195708.3059.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!193.174.75.178!news-fra1.dfn.de!newsfeed01.univie.ac.at!newsfeed01.highway.telekom.at!newsspool01.highway.telekom.at!newsreader02.highway.telekom.at!not-for-mail
Newsgroups: alt.privacy.anon-server,alt.privacy,alt.security.pgp
Reply-To: aon.912202928@aon.at
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 51
NNTP-Posting-Host: M214P017.dipool.highway.telekom.at
X-Trace: 989929758 SSP1NO63 16566 62.46.16.177