Article View: alt.privacy.anon-server
Article #18634Re: How to defeat "man in the middle" attack
From: Bernie Simmons
Date: Tue, 15 May 2001 02:06
Date: Tue, 15 May 2001 02:06
66 lines
4947 bytes
4947 bytes
"Dave Howe" <Spam.Blocker@bigfoot.com> wrote in message news:2hk0gt0jto63mboq7dc1bhv1ulldkf620u@4ax.com... > In our last episode (<alt.security.pgp>[Mon, 14 May 2001 15:27:51 > -0500]), GuysAlias@operamail.com (Guy) said : > >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. > <man in middle substitutes his key> > > 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. > > <man in middle suspects this is what you are doing - and sends only > the *header* of a public key encrypted block to the correspondent - no > body text at all, just PK(recipient, known non-random session key)> > > > > 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, 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. > <mitm now has complete message - and can decode/ recognise you have > sent your public key; he encrypts HIS public key with the known > session key, and forwards to the recipient; just for amusement, he > sends the same one to both of you ;)> > > > 5. On receipt, you put the two halves together and decrypt the > > message, which results in a "PGP Public Key Block" that you then > > import to your keyring. The "man in the middle" may do the same > > thing, but then you send me your public key the same way I've sent > > you mine, encrypted and one half at a time -- and he cannot decrypt > > the messages that you send encrypted to what is certainly my public > > key, cannot determine what's in them, and cannot substitute his own > > key -- which would expose him because he has no way of knowing > > whether the "PGP Encrypted Message" block is a key or an > > authentication message of some other kind. > I am sure you can imagine how this bit goes. > > > 6. When I have both halves of your public key, sent in this > > manner, I import it into my keyring. If there is no "new key" on my > > keyring, then I have verified that the key you FIRST sent is actually > > your key and there is no "man in the middle" -- otherwise, I know > > that the key you FIRST sent was a substitution by the "man in the > > middle" and we have exposed him, and I have your actual public key > > and you have mine. > > 7. This still does not tell me who you are, and it does not tell > > you who I am, but it does result in keys that each of us can trust. > no, there is no secure method that does not involve either a trusted > channel or a number of semi-secure channels (or a public arena) > > you might want to consider something simpler, like using Hushmail or > alt.security.keydist ;) > --== DaveHowe ( is at) Bigfoot dot com ==-- Or even Hilgraves Hypersend the same folks that make Hyperterminal limited usage is free. It's is designed to send any size file anywhere securely. I've downloaded it and taken a look at it but have never had need to use it so I uninstalled it. Bernie
Technical Details
Message-ID:
<na0M6.361$CI6.3298@newsfeed.intelenet.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!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!sdd.hp.com!usc.edu!news.service.uci.edu!newsfeed.intelenet.net!news.quik.com!not-for-mailReferences:
<20010514195708.3059.qmail@nym.alias.net> <Xns90A19D4F9B67C2E284CEEC009E394A9D7@The.Looney.Bin> <2hk0gt0jto63mboq7dc1bhv1ulldkf620u@4ax.com>Show Full Headers
Complete Article Headers
Message-ID: <na0M6.361$CI6.3298@newsfeed.intelenet.net> Subject: Re: How to defeat "man in the middle" attack Date: Tue, 15 May 2001 02:06:12 GMT From: "Bernie Simmons" <simmons@wf.quik.com> References: <20010514195708.3059.qmail@nym.alias.net> <Xns90A19D4F9B67C2E284CEEC009E394A9D7@The.Looney.Bin> <2hk0gt0jto63mboq7dc1bhv1ulldkf620u@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!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!sdd.hp.com!usc.edu!news.service.uci.edu!newsfeed.intelenet.net!news.quik.com!not-for-mail Newsgroups: alt.privacy.anon-server,alt.privacy,alt.security.pgp,alt.security.scramdisk Lines: 68 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 216.176.16.192 X-Complaints-To: abuse@quik.com X-Trace: newsfeed.intelenet.net 989892371 216.176.16.192 (Mon, 14 May 2001 19:06:11 PDT) NNTP-Posting-Date: Mon, 14 May 2001 19:06:11 PDT Organization: Quik Internet -- http://www.quik.com/