Article View: alt.privacy.anon-server
Article #262108Re: Attn: Richard, QSA Decryption Problem
From: Rooster
Date: Fri, 05 Apr 2013 19:20
Date: Fri, 05 Apr 2013 19:20
172 lines
9242 bytes
9242 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Neverwhere wrote: [snip] >>> Just a follow-up. After clicking on the OK button to get rid > of >>> the error message and the clicking on a different downloaded >>> message within QSA, and then re-clicking on the original >>> message, the original message is decrypted. So this appears to >>> be a new "feature". Hardly. It sounds more like you have accidentally found a way (a sequence of steps) that can create an unintended consequence in the program as a result of the inadequate logic in the coding, which makes you more vulnerable. > Richard I have been using AAM for several months without any > problems with the Encrypt-Key field filled in as password,password. > This allowed my esub messages to be automatically decrypted without > me typing in a password. When I remove the data from this field or > just have one password entered in the Encrypt-Key field I get this > error message from AAM. > > !Warning! Possible Blending Attack > > Your nym identities may be in danger. Let me explain a blending > attack. You have more than 1 nym. Lets say, you have NymA and NymB. > Someone believes both NymA and NymB belong to you. Their tactic for > exposing this is: > > They address the message to NymA but they encrypt the message to > NymB. If you unknowingly decrypt the message and reply as NymA, the > attacker knows both nyms belong to you. If this is truely a > blending attack, your only safe reply to the sender is, "your > message wouldn't decrypt." This type of attack would not be possible unless you used these keys on the same keyring at the same time during the decryption process. A technique for decrypting messages while avoiding this situation and, therefore, avoiding this vulnerability was described thoroughly (with meticulous detail) in a message posted here in this group a few weeks ago: Message-ID: <5129888F.4080703@thechickencoop.net> Subject: How to decrypt your messages in "a.a.m." with Thunderbird Date: Sat, 23 Feb 2013 21:27:11 -0600 From: Rooster <rooster@thechickencoop.net> Although that message described merely one way of using Thunderbird, more specifically Enigmail, in conjunction with his technique for decrypting messages, the technique in general can also be used in essentially the same way without Thunderbird and one would still prevent the vulnerability posed in this attack. I shall clarify this procedure now. It should help to do so by starting with a paraphrased explanation of the procedure described in the original message by Rooster. Let's assume that you have one keyring file with all your keys in it, including keys for nyms and other private messaging. If you export the nym keys separating them from the others and move the exported keys separately into a folder called "x:\ThunderbirdPortable\data\gpg", which we can assume is on a portable device, but this kind of device is only a preference, not a necessity, and you have a portable instance of Thunderbird, with Enigmail installed, then you would be able easily to configure Enigmail to import any of these keys individually by making reference to them in its advanced configuration dialogue as he painstakingly explained: "Now for the really important part of Enigmail's configuration, go to the Advanced tab. Make sure the box is unchecked labeled "Add Enigmail comment in ..."; UNCHECK the box that says, "Use gpg-agent for passphrases". Then, in the edit box at the lower section of that tab, put this: - --homedir f:\ThunderbirdPortable\Data\gpg --no-emit-version At this point you should save your settings, exit TBird and restart it. Then use the main menu to go to OpenPGP > Key Management, and in its window use File > Import Keys from File. Browse to the folder 'F:\ThunderbirdPortable\Data\gpg' and select the key you copied there earlier and import it." At this point he went on to describe how having only one key on the keyring at a time would allow him to identify easily "only those messages that belong to this one key" since only a single key would be on the keyring at any one time. After having used this one key to search the whole group of messages for any belonging to it, he could easily delete this key from the keyring within Enigmail and import the next key in question. Since removing the keys from the keyring does not delete them from the folder itself, the process of moving the keys would only have to be done once, making it an efficient and very secure procedure in this respect, eliminating the possibility of a "blending attack", among other benefits. These sorts of attack are minimized, if not entirely prevented, when best practices are utilized. You should hold these nym keys in a working data folder like this, separately from your master keyring file, and you should encrypt (7-zip, truecrypt, etc.) this data folder at all times when not directly in use. A generalized approach making use of this same technique of separation of keys can be done, as I stated earlier. For example, once you have separated the nym keys from your master keyring using gpg itself (or some front-end to it) and put them in a folder called, say, data1. You can then import a single key to the keyring using GnuPG directly by identifying this folder 'data1' as the "--homedir" in a command line interface with "gpg.exe. Making use of these commands will facilitate your process: gpg.exe --export-secret-keys keyID >x:\<path>\data\nym1.gpg gpg.exe --homedir x:\<path>\data gpg.exe --import x:\<path>\data\nym1.gpg gpg.exe --list-keys gpg.exe --delete-key name In summary, therefore, the above procedures would allow you to export the nym keys to another folder, possibly on a removable drive, to designate temporarily and make use of that other folder as the gpg homedir, to import the keys individually to the keyring for the purpose of nym message decryption, and to remove the keys from th keyring without deleting them from the homedir, where you will now store them encrypted between sessions. Finally, you should keep in mind that it may be necessary to reassign your original gpg homedir if you expect to reuse it immediately; otherwise, it will automatically be redesignated when you reboot your OS normally. Making your process easier is not always a good principle to guide your methodology. Easier is not always better, certainly not when it leads you to vulnerabilities. There is a slogan used by the tor aficionados that goes like this: "Want Tor to really work? You need to change some of your habits." By the same token, if you want nym decryption to work (safely) for you instead of making you less secure, you need to change some of your habits. > As I said this program was working just fine for several months, > then all of a sudden I start getting these error messages and > strange program behaviour. As your computing conditions change and your activity changes, your programs also may need to be changed accordingly. Maintenance, most especially in relation to security, has to be an ongoing, evolving process. You snooze and you loose. Don't get left behind. rooster@thechickencoop.net -----BEGIN PGP SIGNATURE----- iQGcBAEBCgAGBQJRXyQVAAoJEOWcBAJ+953TTscL/jQ8veHfYlhvIvLaVzs8U4cX DH8wDHRSsSLJViSIquvXzBliq/OjoUpQbEqj57CWyVfo3mpaCtD5WjUu4n5PRiW6 tHirtbCoRFFgNs9cPMo24kgrJYhV2WosQz1T6jI7tdwIjvTRdJXgtqS0KhyFwajR 4AgOEHbNtlgPnpaejGEAGeTMz+Ax/yE7oxVCdYxA1qhilnhG4ye8bSSW1sJHfR4m PEI0ZoPhaQEJwd999JS0DdQi3RWiIf2i9OBQKEXl/2o1MyCeDx8XgiJ+MjdUemyS tDjnubTL+ez0AY+xHIZ+PvkUw/t+zOzgd9+JT0xt/OvL9cX/x7KX8tkXwVtysdMT 6JtRYrZwD5hXTWPUsU5FEAV3rCax+aAbJmLduMXcRjwfuttbTdcMzNzy190zHj53 h+4x1jUKL2tUKzxHC4ZMC+KRZwDJwZLRJlr0KX3PZ7VUYpbb61gTzIeZ/me7s/gj nh8CgMfDyiPYvXymf4JcZPjzgUAvWXuKVLDVs056rw== =sZxp -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<kjn87f$p9f$1@news.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin.stu.neva.ru!news.mixmin.net!.POSTED!not-for-mailReferences:
<20130403014755.EE45EEAA86@snorky.mixmin.net> <20130403062849.CF53AEAB5E@snorky.mixmin.net> <E1UNTAA-0002hY-S3@quicksilvermail.net> <20130404040024.2B26AEAB6F@snorky.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <kjn87f$p9f$1@news.mixmin.net> Subject: Re: Attn: Richard, QSA Decryption Problem Date: Fri, 05 Apr 2013 14:20:57 -0500 From: Rooster <rooster@thechickencoop.net> References: <20130403014755.EE45EEAA86@snorky.mixmin.net> <20130403062849.CF53AEAB5E@snorky.mixmin.net> <E1UNTAA-0002hY-S3@quicksilvermail.net> <20130404040024.2B26AEAB6F@snorky.mixmin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin.stu.neva.ru!news.mixmin.net!.POSTED!not-for-mail Newsgroups: alt.privacy.anon-server Organization: Kingdom Animalia Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Injection-Date: Fri, 5 Apr 2013 19:21:21 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="9kzYv9tSWNvy7tMAgXjOpTzyvSI"; logging-data="25903"; mail-complaints-to="abuse@mixmin.net" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; In-Reply-To: <20130404040024.2B26AEAB6F@snorky.mixmin.net> Lines: 171 X-Original-Bytes: 9003