Article View: alt.privacy.anon-server
Article #18640Re: How to defeat "man in the middle" attack
From: Benjamin T. Moore, Jr.
Date: Tue, 15 May 2001 09:46
Date: Tue, 15 May 2001 09:46
122 lines
7558 bytes
7558 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 GuysAlias@operamail.com (Guy) wrote in news:Xns90A19D4F9B67C2E284CEEC009E394A9D7@The.Looney.Bin: > 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: > > 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. > > 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. > > 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. > > 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. > > 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. All of this seems so obtuse... why not just use the public key servers??? For your *scheme* to work, it requires that you have some form of communication that you *believe* to be secure enough to set up your methodology. If you can communicate to the degree necessary to set this up, you can certainly say, "grab my key from the key servers." Whomever would attempt to tamper with your key, would also have to be able to duplicate the trusted signers of your keys. Conversely, you could set up a good solid "nym" account and do most of your net communications through it... then you'd be secure. If he/she did the same, they'd be equally secure. The thing about being on the "NET," nobody really knows who anyone is... unless you've actually met them in person. We are known more by our posts and our expressed philosophies than anything else. This also gets back to why it's a good idea to PGP sign your messages. I've been posting off and on to this group and others for years now. Using the same PGP key. This key is also on the public key servers. It has also been signed by persons other than myself. All you'd have to do is check the signature on any one of numerous posts I've made against the key on the public servers. I also frequently check my own signatures to make sure they're not being munged by the posting process. It would be very difficult for someone to use "the man in the middle" attack against me. They'd have to either have control of my news server - and I've changed it several times - or direct access to my secret key ring. Possible, but since it's stored on an encrypted scramdisk container, I'd venture, highly unlikely. It sounds to me as though, what we really have here is a situation where two people who *rarely* use PGP need for some reason to communicate in a secure way. The problem is, they are either afraid of attracting attention by suddenly sending encrypted e-mails, or they're afraid they're already being monitored and even creating and distributing a key could be intercepted. Well, the thing about the public key servers is... you may always check your key by re downloading it and seeing if it's been altered. If not from your home site, go to a public place like a library or internet cafe and do it. There is also steganography. I can send you my key buried in a jpg. It can be a picture of my vacation or If I want to make things really difficult, I can post it in an adult oriented binary news group with a high volume of posts. If you know which news group, you could download all the pics from me or my pseudonym and get the key or any other secret encrypted message from hidden in the jpgs. Just my .02 - -- Benjamin T. Moore, Jr. - <btmoore@iname.com> ICQ UIN - 8159114 *The Price of Freedom is Self-Reliance! The Cost is Education!* *Home Page: http://ind.cioe.com/~btmoore *Page me on the WWW at: http://wwp.mirabilis.com/8159114 Use your Web Browser to get my PGP Public Keys from: http://ind.cioe.com/~btmoore/_private/MyKeysDSSRSA.txt -----BEGIN PGP SIGNATURE----- Version: 6.5.8ckt http://www.ipgpp.com/ iQA/AwUBOwD62nDnKKP6IdMiEQL5KgCgnJX4VPNUYzfxe+Qrv4VbkfhKfowAn3JH QC9iQq7uILDtncxrOM+NCWqs =QxJm -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<Xns90A23091A7DB1btmooreinamecom@24.2.1.74>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!sjc1.nntp.concentric.net!newsfeed.concentric.net!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.il.home.com.POSTED!not-for-mailReferences:
<20010514195708.3059.qmail@nym.alias.net> <Xns90A19D4F9B67C2E284CEEC009E394A9D7@The.Looney.Bin>Show Full Headers
Complete Article Headers
Message-ID: <Xns90A23091A7DB1btmooreinamecom@24.2.1.74>
Subject: Re: How to defeat "man in the middle" attack
Date: Tue, 15 May 2001 09:46:36 GMT
From: btmoore@REMOVETHISiname.com (Benjamin T. Moore, Jr.)
References: <20010514195708.3059.qmail@nym.alias.net> <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!sjc1.nntp.concentric.net!newsfeed.concentric.net!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.il.home.com.POSTED!not-for-mail
Newsgroups: alt.privacy.anon-server,alt.privacy,alt.security.pgp,alt.security.scramdisk
Organization: BlackTech
Followup-To: alt.privacy.anon-server,alt.privacy
User-Agent: Xnews/4.05.11
X-Face: 0e~@|YvV3r!t!DvoKd(#Wuy1qDt`AX4b#91ZBgY8/+EG9!u-E`h>r0]9{6$f0*XS&-[Cq6e|r?}'xO::,jjA?#wM]dNSd.LR'1q{j9<XW9NN<CsId+[}}.`C*KpPR[us\v]2n$E#J=Sg1d>QIX_3g7C'-!*3Fmyqo?97>ZiN07,K632iUi==;p6
Lines: 122
NNTP-Posting-Host: 65.7.236.21
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.il.home.com 989919996 65.7.236.21 (Tue, 15 May 2001 02:46:36 PDT)
NNTP-Posting-Date: Tue, 15 May 2001 02:46:36 PDT