From alserkli at inbox.ru Sun Feb 1 09:45:24 2009 From: alserkli at inbox.ru (Alexander Klimov) Date: Sun, 1 Feb 2009 16:45:24 +0200 (IST) Subject: full-disk subversion standards released In-Reply-To: References: Message-ID: On Sat, 31 Jan 2009, Peter Gutmann wrote: > Even with the best intentions in the world, the only thing you > can really usefully do with a TPM is DRM. If there were a direct link from TPM to display and speakers and all the content rendering were done by TPM itself, then TPM would be useful for DRM. An attempt to render content "securely" on CPU is based on a theory that content owner can trust general purpose OS after "secure boot". Experience shows that this theory is wishful thinking. Apparently, the only existing application of TPM is BitLocker: it allows to boot OS from an encrypted disk without entering any password. A careful analysis shows that TPM is a separate chip that can be powered down without reseting the CPU and thus one can load "non-trusted OS", reset TPM, starts "secure boot", and get encryption keys. Even when (if) TPM will be the same chip as CPU, I suspect a man-in-the-middle attack on CPU-to-RAM communication will allow to take over the "trusted OS". On the other hand, once we forget about all attestation and secure boot applications, TPM is still a smartcard soldered to your computer, so probably it can allow all the smartcard use-cases (except, of course, the uses-case that require storing the smartcard separately from the computer :-). -- Regards, ASK --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jennifer at bayuk.com Sun Feb 1 10:54:05 2009 From: jennifer at bayuk.com (Jennifer Bayuk) Date: Sun, 1 Feb 2009 10:54:05 -0500 Subject: UCE - a simpler approach using just digital signing? In-Reply-To: <20090131113548.GA31730@twin.sascha.silbe.org> References: <200901252240.n0PMejwU002817@new.toad.com> <1b587cab0901291832kd132e29uc7a58c4abbc5e7d@mail.gmail.com> <1233352043.28107.143.camel@localhost> <20090131113548.GA31730@twin.sascha.silbe.org> Message-ID: On Saturday, January 31, 2009 6:36 AM, Sascha Silbe wrote: > Another scheme (that could be combined with the above one to solve only the > CC party problem) would be accepting only PGP mail and use a manually updated > whitelist / web of trust of PGP keys. Unfortunately, PGP still isn't widespread > enough to reject non-PGP mails and the ones not using it are often far more > susceptible to address harvesting malware, limiting the usefulness of such a filter. On Saturday, January 31, 2009 2:56 PM, John Levin wrote: > This has the same fundamental problem as Zoemail and any other white list system. > It's really easy to implement a white list. Unless your name is Paypal, the amount > of mail forging your address is vanishingly small, and the utterly insecure From: line > address works just fine for practical purposes. I use that to manage my 12 year old > daughter's mail. On Saturday, January 30, 2009 6:17 PM, John Levin wrote: > This is the wrong place to go into detail about its limitations, although it should be > self-evident that if it were effective, sometime in the past 13 years we'd have started > using it. Though John's January 30th note was about Zoemail, I am reacting to the words "PGP still isn't widespread" in Sascha's post about PGP. I also was once under the assumption that I should always have PGP installed. I was able to verify signatures, and I thought that one day, most people would gravitate to PGP in some form. However, losing a fight with PGP Support over whether the enterprise plug-ins I was requesting for a corporation would reduce the security level of their product (long story about trying to integrate it with single sign on), and also spending many hours over three months trying to install the commercial version on Vista, only to have the PGP engineers tell me that I would have to uninstall all my other Outlook plug-ins for them to continue working on the problem (e.g. card scanner), I realize that it will never be the solution of choice for either commercial enterprise or home office given its current support model. I have not used it since July and have not missed it a bit. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From agc at netbsd.org Sun Feb 1 13:42:20 2009 From: agc at netbsd.org (Alistair Crooks) Date: Sun, 1 Feb 2009 18:42:20 +0000 Subject: UCE - a simpler approach using just digital signing? In-Reply-To: <20090131195550.30363.qmail@simone.iecc.com> Message-ID: <20090201184220.GB4576@NetBSD.org> [Sorry for ummm spamming John, my third attempt to send mail to the whole list, caused by vanity email domains not playing well with fascist majordomo settings - agc] On Sat, Jan 31, 2009 at 07:55:50PM -0000, John Levine wrote: > The ASRG is still eager to hear from people who want to do just about > anything related to spam other than hash over known-ineffective old > ideas. See http://wiki.asrg.sp.am. One idea I have not seen mentioned here (and which I have not yet encountered in RL, but only weird people send me email these days) is for the sending MTA to use pgp to encrypt mail using the recipient's public key, available on one of the key servers near you. Leaving out everyone's discomfort with their least favourite privacy software, the sending MTA would then have significant work to do in order to convince the receiving MTA to accept the mail. Mailing list managers would have to do non-trivial amounts of work when exploding to various list members, admittedly; but we now have a use for all the computing horsepower that is coming down the line. But all in all, the onus would be back on sending MTA to do non-trivial work to convey stuff to my email address. Regards, Alistair --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ben at links.org Sun Feb 1 14:38:51 2009 From: ben at links.org (Ben Laurie) Date: Sun, 01 Feb 2009 19:38:51 +0000 Subject: full-disk subversion standards released In-Reply-To: References: Message-ID: <4985FA4B.5080902@links.org> Peter Gutmann wrote: > John Gilmore writes: > >> The theory that we should build "good and useful" tools capable of monopoly >> and totalitarianism, but use social mechanisms to prevent them from being >> used for that purpose, strikes me as naive. > > There's another problem with this theory and that's the practical > implementation issue. I've read through... well, at least skimmed through the > elephantine bulk of the TCG specs, and also read related papers and > publications and talked to people who've worked with the technology, to see > how I could use it as a crypto plugin for my software (which already supports > some pretty diverse stuff, smart cards, HSMs, the VIA Padlock engine, ARM > security cores, Fortezza cards (I even have my own USG-allocated Fortezza ID > :-), and in general pretty much anything out there that does crypto in any > way, shape, or form). However after detailed study of the TCG specs and > discussions with users I found that the only thing you can really do with > this, or at least the bits likely to be implemented and supported and not full > of bugs and incompatibilities, is DRM. Apart from the obvious fact that if the TPM is good for DRM then it is also good for protecting servers and the data on them, Mark Ryan presented a plausible use case that is not DRM: http://www.cs.bham.ac.uk/~mdr/research/projects/08-tpmFunc/. I wrote it up briefly here: http://www.links.org/?p=530. As for John's original point, isn't the world full of such tools (guns, TV cameras, telephone networks, jet engines, blah blah)? --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From johnl at iecc.com Sun Feb 1 15:23:19 2009 From: johnl at iecc.com (John Levine) Date: 1 Feb 2009 20:23:19 -0000 Subject: UCE - a simpler approach using just digital signing? In-Reply-To: <20090201184220.GB4576@NetBSD.org> Message-ID: <20090201202319.43389.qmail@simone.iecc.com> >One idea I have not seen mentioned here (and which I have not yet >encountered in RL, but only weird people send me email these days) is >for the sending MTA to use pgp to encrypt mail using the recipient's >public key, available on one of the key servers near you. I don't understand what problem this is intended to solve. Bad guys can look up PGP keys just like good guys, so all this would accomplish would be to fill your inbox with signed spam. Perhaps it would be useful to make a section of the ASRG wiki in which we describe the difference between the spam problem and the other problems that people confuse with the spam problem, such as the introduction problem and (more familiar to cryptographers) the authentication problem, the interception problem, the non-repudiation problem, and doubtless others that I can't think of just now. R's, John --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jthorn at astro.indiana.edu Sun Feb 1 22:53:38 2009 From: jthorn at astro.indiana.edu (Jonathan Thornburg) Date: Sun, 1 Feb 2009 22:53:38 -0500 (EST) Subject: full-disk subversion standards released In-Reply-To: <68ED3B033A8440F59C7C0BC6A2DEB776@FortyTwo> References: <200901292122.n0TLMbwU026364@new.toad.com> <68ED3B033A8440F59C7C0BC6A2DEB776@FortyTwo> Message-ID: I wrote: | Indeed, the classic question is "I've just bought this new computer | which claims to have full-disk encryption. Is there any practical | way I can assure myself that there are (likely) no backdoors in/around | the encryption?" | | For open-source software encryption (be it swap-space, file-system, | and/or full-disk), the answer is "yes": I can assess the developers' | reputations, I can read the source code, and/or I can take note of | what other people say who've read the source code. On Fri, 30 Jan 2009, Brian Gladman asked: > But, unless you are doing it with a pencil and paper, your encryption is still > being done in hardware even if you write it yourself. > > For example, why would you trust an Intel processor given that Intel is one of > the founding members of the TCG and is a major player in its activities? It's instructive to the distinction between "data in motion" encryption (for example, a network-encryption-box (NEB) and "data at rest" encryption (for example, a cryptographic filesystem): A network-encryption box: computer#1 <----> NEB#1 <----> ((network)) <----> NEB#2 <----> computer#2 plaintext ciphertext ciphertext plaintext As described by Henry Spencer in http://www.sandelman.ottawa.on.ca/linux-ipsec/html/1999/09/msg00240.html it's perfectly practical for (say) the NSA to arrange for a backdoor in each NEB which occasionally leaks the keystream into the network, in a way that's very unlikely to be caught in testing, but would make it easy for an eavesdropper on the network to recover the plaintext. A cryptographic filesystem: I could imagine the NSA having arranged to plant some sort of microcode backdoor in the Pentium III processor in my laptop. (The hardest part would probably be persuading all the Intel employees involved that it wouldn't be a PR disaster for Intel if the news leaked out.) In the context of my original message, the backdoor would have to recognize the binary code sequence of the OpenBSD AES routines when invoked by the encrypting-filesystem vnode layer, and somehow compromise the security (maybe arrange to leak keystream bits into free disk sectors??). That's a tricky technical job, but I could imagine it being done, and if it's all in processor microcode, I could even imagine it having stayed a secret. But that's not good enough: What about Matt Blaze's Cryptographic File System? What about all the people using the various Linux encrypting file systems? The backdoor(s) need to cover them, too. And the MacOS ones (if there's not a software backdoor there). And all the other open-source-crypto systems. And the backdoors have to do this without compromising interoperability -- I have CFS directory trees which I created on an old Sparc that I now use on my laptop. But I think the hardest part of all is that the backdoor has to still still recognize the various crypto binary-code-sequences even when the relevant software is recompiled with a newer compiler using a different global optimizer, even though that newer compiler might not even have existed when the backdoor was inserted. It's this variety of different software encryption schemes -- and compilers to turn them into binary code (which is what the NSA/Intel backdoor ultimately has to key on) that, I think, makes it so much harder for a hardware backdoor to work (i.e. to subvert software encryption) in this context. -- -- "Jonathan Thornburg [remove -animal to reply]" Dept of Astronomy, Indiana University, Bloomington, Indiana, USA "Washing one's hands of the conflict between the powerful and the powerless means to side with the powerful, not to be neutral." -- quote by Freire / poster by Oxfam --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From krstic at solarsail.hcs.harvard.edu Sun Feb 1 23:53:40 2009 From: krstic at solarsail.hcs.harvard.edu (=?UTF-8?Q?Ivan_Krsti=C4=87?=) Date: Sun, 1 Feb 2009 23:53:40 -0500 Subject: Obama's secure PDA In-Reply-To: References: <3CA8BF10-C7A2-415D-BFAA-09418B04101B@solarsail.hcs.harvard.edu> Message-ID: <21A8F3FB-C721-47C0-AF71-169573CEA096@solarsail.hcs.harvard.edu> On Jan 29, 2009, at 11:17 PM, Ivan Krsti? wrote: > I'd find mobile e-mail just as useful if it went through a proxy > that stripped out _everything_ that's not plaintext. I open > attachments on my phone about once in a blue moon, and wouldn't miss > the ability if it were gone. As a postscript, it appears this type of proxy is exactly what's been set up: "To minimize the risk, the government technology gurus have made it impossible to forward e-mail messages from the president or to send him attachments, people informed about the precautions say." -- -- Ivan Krsti? | http://radian.org --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From pgut001 at cs.auckland.ac.nz Mon Feb 2 02:29:20 2009 From: pgut001 at cs.auckland.ac.nz (Peter Gutmann) Date: Mon, 02 Feb 2009 20:29:20 +1300 Subject: full-disk subversion standards released In-Reply-To: <4985FA4B.5080902@links.org> Message-ID: Ben Laurie writes: >Apart from the obvious fact that if the TPM is good for DRM then it is also >good for protecting servers and the data on them, In which way, and for what sorts of "protection"? And I mean that as a serious inquiry, not just a "Did you spill my pint?" question. At the moment the sole significant use of TPMs is Bitlocker, which uses it as little more than a PIN-protected USB memory key and even then functions just as well without it. To take a really simple usage case, how would you: - Generate a public/private key pair and use it to sign email (PGP, S/MIME, take your pick)? - As above, but send the public portion of the key to someone and use the private portion to decrypt incoming email? (for extra points, prove that it's workable by implementing it using an actual TPM to send and receive email with it, which given the hit-and-miss functionality and implementation quality of TPMs is more or less a required second step). I've implemented PGP email using a Fortezza card (which is surely the very last thing it was ever intended for), but not using a TPM... >Mark Ryan presented a plausible use case that is not DRM: >http://www.cs.bham.ac.uk/~mdr/research/projects/08-tpmFunc/. This use is like the joke about the dancing bear, the amazing thing isn't the quality of the "dancing" but the fact that the bear can "dance" at all :-). It's an impressive piece of lateral thinking, but I can't see people rushing out to buy TPM-enabled PCs for this. Peter. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From crawdad at fnal.gov Mon Feb 2 11:45:46 2009 From: crawdad at fnal.gov (Matt Crawford) Date: Mon, 02 Feb 2009 10:45:46 -0600 Subject: XKCD shows the real world of cryptography to the masses Message-ID: Perry, I couldn't possibly be the first to pass along today's XKCD, could I? http://xkcd.com/538/ --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From brg at gladman.plus.com Mon Feb 2 17:07:51 2009 From: brg at gladman.plus.com (Brian Gladman) Date: Mon, 2 Feb 2009 22:07:51 -0000 Subject: full-disk subversion standards released In-Reply-To: References: <200901292122.n0TLMbwU026364@new.toad.com> <68ED3B033A8440F59C7C0BC6A2DEB776@FortyTwo> Message-ID: <5FDEA6FEFE58475EA5F59309BF4C55E4@FortyTwo> ----- Original Message ----- From: "Jonathan Thornburg" To: "Brian Gladman" Cc: "John Gilmore" ; "Peter Gutmann" ; ; Sent: Monday, February 02, 2009 3:53 AM Subject: Re: full-disk subversion standards released [snip] > It's this variety of different software encryption schemes -- and > compilers to turn them into binary code (which is what the NSA/Intel > backdoor ultimately has to key on) that, I think, makes it so much > harder for a hardware backdoor to work (i.e. to subvert software > encryption) in this context. I well understand the difficulties of mounting attacks but the fact remains that if someone else is able to take over _control_ of your machine you won't obtain any security irrespective of whether your interest is in network or storage encryption. And _if_ Intel were to be interested in being able to take over your machine whenever it wished to do so -- which I don't believe it is -- subverting its processor designs to make this possible will be many, many orders of magnitude more effective than subverting the design of a TPM that 99.999...% of machines won't have. I am personally happy to trust Intel and I am also happy to trust the design of the TPM I happen to use. And it is completey useless for DRM provided only that Intel and the TPM supplier have not been subverted. I simply don't believe that TPM's will ever achieve (or could ever have achieved) the widespread adoption that effective DRM demands and I don't personally believe that such applications ever played much part in the design. But _provided_ the hardware suppplier can be trusted, hardware based security is able to achieve a much higher level of assurance than pure software ever can. TPMs are hence useful in custom security applications and I am personally much more confident in my security using my TPM based solution than if I would be if I were relying on a pure software approach. I am _not_ advocating TPM technology since I doubt its general utility for widespread adoption but I reject the idea that TPMs are part of an evil plot to infect the world with DRM. Brian Gladman --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From leichter at lrw.com Mon Feb 2 17:27:33 2009 From: leichter at lrw.com (Jerry Leichter) Date: Mon, 2 Feb 2009 17:27:33 -0500 Subject: full-disk subversion standards released In-Reply-To: References: Message-ID: <5B0BC825-5AD8-4C23-93F3-9D33AE6C83E5@lrw.com> On Feb 2, 2009, at 2:29 AM, Peter Gutmann wrote: >> Mark Ryan presented a plausible use case that is not DRM: >> http://www.cs.bham.ac.uk/~mdr/research/projects/08-tpmFunc/. > > This use is like the joke about the dancing bear, the amazing thing > isn't the > quality of the "dancing" but the fact that the bear can "dance" at > all :-). > It's an impressive piece of lateral thinking.... I don't see that. The problem being solved is exactly a DRM problem: A gives B some data but wants to retain control the circumstances in which B can use that data. The algorithm proposed implements three fundamental controls: (a) B can only access the data through a particular program that A trusts; (b) B can "return" the data, along with a proof that he never actually accessed it; (c) A can then revoke B's access to the data (although the algorithm bundles this with (b)). (a) and (c) are exactly the kind of thing DRM implementations do all the time - and exactly the kind of thing that's been widely discussed for TPM. (b) is novel. DRM has to do with retaining access to data that has been provided to an untrusted party. The entertainment industry considers its customers untrusted, so TPM in its primary use cases is about controlling what those customers - i.e., all consumers of computers! - can do. In Ryan's use case, the untrusted parties are the government security services. One can construct other untrusted parties as well. In a cloud-computing world, wouldn't it be nice to know that your data, all though it's "out there", being operated on by all kinds of programs "out there", is still under your control? The problem isn't with "DRM" in the large sense - it's that once you enable "DRM" in the large sense, "DRM" in the small sense (as the entertainment industry already sees it, and as many others will once the capability is there) seems to be unavoidable. It's a matter of tradeoffs. (Notice that the same people who say this tradeoff isn't worth it will also say that the tradeoffs of broadly available crypto - yes, it protects privacy, but that includes the privacy of criminals. I don't think there's any broad principle that is being applied here - it's a case by case analysis of the good and bad effects of particular technologies. The DRM debate in particular is inherently tainted by the actions and attitudes of the entertainment industry.) -- Jerry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From smb at cs.columbia.edu Tue Feb 3 16:54:48 2009 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Tue, 3 Feb 2009 16:54:48 -0500 Subject: Property RIghts in Keys Message-ID: <20090203165448.26774d49@cs.columbia.edu> I was reading a CPS from GeoTrust -- 91 pages of legalese! -- and came across the following statement: Without limiting the generality of the foregoing, GeoTrust's root public keys and the root Certificates containing them, including all self-signed certificates, are the property of GeoTrust. GeoTrust licenses software and hardware manufacturers to reproduce such root Certificates to place copies in trustworthy hardware devices or software. Under what legal theory might a certificate -- or a key! -- be considered "property"? There wouldn't seem to be enough creativity in a certificate, let alone a key, to qualify for copyright protection. I won't even comment on the rest of the CPS, not even such gems as "Subscribers warrant that ... their private key is protected and that no unauthorized person has ever had access to the Subscriber's private key." And just how can I tell that? --Steve Bellovin, http://www.cs.columbia.edu/~smb --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From leichter at lrw.com Wed Feb 4 00:01:18 2009 From: leichter at lrw.com (Jerry Leichter) Date: Wed, 4 Feb 2009 00:01:18 -0500 Subject: "Nato's cyber defence warriors " Message-ID: <27FF7308-A416-4242-BC9D-EC36CEC31DDF@lrw.com> Interesting article from the BBC on the "state of play" in cyber attack and defense. Not much depth - I'm sure you weren't expecting it, given the source - but worth looking at. http://news.bbc.co.uk/2/hi/europe/7851292.stm -- Jerry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From dan at geer.org Mon Feb 9 11:36:06 2009 From: dan at geer.org (dan at geer.org) Date: Mon, 09 Feb 2009 11:36:06 -0500 Subject: anyone know "Morris Code"? Message-ID: <20090209163606.77D7F3432F@absinthe.tinho.net> Does anyone know what the "Morris Code" is inside Peachinc's "mobile ticketing" appliance/kiosk is? Reference URL (video advert) at http://www.peachinc.com/moviePage.htm UK patent, but for the reading mechanism only, at http://www.ipo.gov.uk/p-find-publication-getPDF.pdf?PatentNo=GB2446424&DocType=A&JournalNumber=6221 As always, the phrase "proprietary coding readable only by us" caught my ear. --dan --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From docbook.xml at gmail.com Tue Feb 10 00:25:35 2009 From: docbook.xml at gmail.com (Ali, Saqib) Date: Mon, 9 Feb 2009 21:25:35 -0800 Subject: UK must balance surveillance and data collection with privacy Message-ID: Britain's House of Lords Constitution Committee released a report Friday saying that the country's use of widespread video surveillance and personal data collection pose a threat to citizens' privacy and freedom. The committee said that while such surveillance and data collection could serve legitimate law-enforcement purposes, those interests should be balanced against privacy concerns, including Article 8 of the European Convention on Human Rights. The committee also issued specific recommendations that DNA data on individuals be consolidated to the National DNA Database, and that closed-circuit television surveillance only be used under strict oversight and where it has been shown to be effective. More info: http://jurist.law.pitt.edu/paperchase/2009/02/uk-must-balance-surveillance-and-data.php http://www.publications.parliament.uk/pa/ld200809/ldselect/ldconst/18/18.pdf saqib http://www.capital-punishment.net --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ben at links.org Wed Feb 11 11:20:22 2009 From: ben at links.org (Ben Laurie) Date: Wed, 11 Feb 2009 16:20:22 +0000 Subject: full-disk subversion standards released In-Reply-To: References: Message-ID: <4992FAC6.6080004@links.org> Peter Gutmann wrote: > Ben Laurie writes: > >> Apart from the obvious fact that if the TPM is good for DRM then it is also >> good for protecting servers and the data on them, > > In which way, and for what sorts of "protection"? And I mean that as a > serious inquiry, not just a "Did you spill my pint?" question. If I have data on my server that I would like to stay on my server and not get leaked to some third party, then this is exactly the same situation as DRMed content on an end user's machine, is it not? > At the moment > the sole significant use of TPMs is Bitlocker, which uses it as little more > than a PIN-protected USB memory key and even then functions just as well > without it. To take a really simple usage case, how would you: > > - Generate a public/private key pair and use it to sign email (PGP, S/MIME, > take your pick)? > - As above, but send the public portion of the key to someone and use the > private portion to decrypt incoming email? > > (for extra points, prove that it's workable by implementing it using an actual > TPM to send and receive email with it, which given the hit-and-miss > functionality and implementation quality of TPMs is more or less a required > second step). I've implemented PGP email using a Fortezza card (which is > surely the very last thing it was ever intended for), but not using a TPM... Note that I am not claiming expertise in the use of TPMs. I am making the claim that _if_ they are good for DRM, _then_ they are also good for protecting data on servers. >> Mark Ryan presented a plausible use case that is not DRM: >> http://www.cs.bham.ac.uk/~mdr/research/projects/08-tpmFunc/. > > This use is like the joke about the dancing bear, the amazing thing isn't the > quality of the "dancing" but the fact that the bear can "dance" at all :-). > It's an impressive piece of lateral thinking, but I can't see people rushing > out to buy TPM-enabled PCs for this. I agree that it is more cute than practical. -- http://www.apache-ssl.org/ben.html http://www.links.org/ "There is no limit to what a man can do or how far he can go if he doesn't mind who gets the credit." - Robert Woodruff --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From Nicolas.Williams at sun.com Thu Feb 12 10:54:29 2009 From: Nicolas.Williams at sun.com (Nicolas Williams) Date: Thu, 12 Feb 2009 09:54:29 -0600 Subject: Property RIghts in Keys In-Reply-To: <20090203165448.26774d49@cs.columbia.edu> References: <20090203165448.26774d49@cs.columbia.edu> Message-ID: <20090212155429.GQ9992@Sun.COM> On Tue, Feb 03, 2009 at 04:54:48PM -0500, Steven M. Bellovin wrote: > Under what legal theory might a certificate -- or a key! -- be > considered "property"? There wouldn't seem to be enough creativity in > a certificate, let alone a key, to qualify for copyright protection. Private and secret keys had better be property. Public keys are... well, *public*, and CA public keys really, really had better be public, so I'm as perplexed as you. Most likely this is just a case of lawyers gone wild. Too bad a TV show or DVD product based on that idea wouldn't be successful. > I won't even comment on the rest of the CPS, not even such gems as > "Subscribers warrant that ... their private key is protected and that > no unauthorized person has ever had access to the Subscriber's private > key." And just how can I tell that? Really, really wild lawyers. (Or maybe not so wild, in the U.S., depending on what happens in the Lori Drew case.) Nico -- --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From alserkli at inbox.ru Thu Feb 12 11:15:43 2009 From: alserkli at inbox.ru (Alexander Klimov) Date: Thu, 12 Feb 2009 18:15:43 +0200 (IST) Subject: full-disk subversion standards released In-Reply-To: <4992FAC6.6080004@links.org> References: <4992FAC6.6080004@links.org> Message-ID: On Wed, 11 Feb 2009, Ben Laurie wrote: > If I have data on my server that I would like to stay on my server > and not get leaked to some third party, then this is exactly the > same situation as DRMed content on an end user's machine, is it not? The treat model is completely different: for DRM the attacker is the user who supposedly has complete access to computer, while for server the attacker is someone who has only (limited) network connection to your server. -- Regards, ASK --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From sbg at acw.com Thu Feb 12 11:40:52 2009 From: sbg at acw.com (sbg at acw.com) Date: Thu, 12 Feb 2009 09:40:52 -0700 (MST) Subject: Property RIghts in Keys In-Reply-To: <20090203165448.26774d49@cs.columbia.edu> References: <20090203165448.26774d49@cs.columbia.edu> Message-ID: <4739.70.116.23.89.1234456852.squirrel@www.acw.com> It seems to me that a cryptographic key is property in the same sense that the formula for Coca Cola is property. A cryptographic key is intellectual property. This intellectual property is typically protected as a trade secret. Intellectual property need not be brought into being by a creative act. http://en.wikipedia.org/wiki/Intellectual_property A key has value that includes the value of the resources expended in its care and feeding. Monetary losses including the value of the key and the value of the assets that the key protects may be suffered if they fall into unauthorized hands. Liability accrues unauthorized possession of a key both to the possessor and to the entity charged with ensuring that unauthorized possession did not occur. In summary, it seems to me that the assertion that one owns a key has commonly understood meaning and thus some nature of property rights do attach to a cryptographic key. Cheers, Scott --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From perry at piermont.com Thu Feb 12 12:24:28 2009 From: perry at piermont.com (Perry E. Metzger) Date: Thu, 12 Feb 2009 12:24:28 -0500 Subject: Property RIghts in Keys In-Reply-To: <4739.70.116.23.89.1234456852.squirrel@www.acw.com> (sbg@acw.com's message of "Thu\, 12 Feb 2009 09\:40\:52 -0700 \(MST\)") References: <20090203165448.26774d49@cs.columbia.edu> <4739.70.116.23.89.1234456852.squirrel@www.acw.com> Message-ID: <87k57vtvoz.fsf@snark.cb.piermont.com> sbg at acw.com writes: > It seems to me that a cryptographic key is property in the same sense that > the formula for Coca Cola is property. We're discussing certificates, not secret keys. In theory, a secret key might be a trade secret. However, a cert seems almost certainly *not* to be IP. 1) It can't be a trade secret, it is published. 2) It can't be patented. 3) It can't be copyrighted, it contains no creativity. > Intellectual property need not be brought into being by a creative act. > http://en.wikipedia.org/wiki/Intellectual_property Again, that only holds in limited circumstances that probably don't include certificates. In particular, trade secret protection here seems impossible. Perry -- Perry E. Metzger perry at piermont.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From nbohm at ernest.net Thu Feb 12 12:46:43 2009 From: nbohm at ernest.net (Nicholas Bohm) Date: Thu, 12 Feb 2009 17:46:43 +0000 Subject: Property RIghts in Keys In-Reply-To: <20090203165448.26774d49@cs.columbia.edu> References: <20090203165448.26774d49@cs.columbia.edu> Message-ID: <49946083.2000003@ernest.net> Steven M. Bellovin wrote: > I was reading a CPS from GeoTrust -- 91 pages of legalese! -- and came > across the following statement: > > Without limiting the generality of the foregoing, GeoTrust's > root public keys and the root Certificates containing them, > including all self-signed certificates, are the property of > GeoTrust. GeoTrust licenses software and hardware > manufacturers to reproduce such root Certificates to place > copies in trustworthy hardware devices or software. > > Under what legal theory might a certificate -- or a key! -- be > considered "property"? There wouldn't seem to be enough creativity in > a certificate, let alone a key, to qualify for copyright protection. A private key is obviously meant to be kept secret, and commercial secrets are commonly protected as trade secrets (US terminology) or as benefiting from the law about confidentiality (UK terminology). The right to have the secret kept is capable of being seen as a form of intangible property (though whether it is useful to call it "intellectual" seems to be contentious to some). Forms of certificate seem to be fairly standard, and not many CAs would have much chance of proving that they originated and owned the form they use. Creativity requirements vary quite widely between legal systems. The UK requirement is not high: "originality" requires primarily that the work originated from the author, not that it required artistic input. A cryptographic key should certainly satisfy that requirement. Copyright seems to be what GeoTrust has in mind in licensing reproduction of the certificates. > I won't even comment on the rest of the CPS, not even such gems as > "Subscribers warrant that ... their private key is protected and that > no unauthorized person has ever had access to the Subscriber's private > key." And just how can I tell that? A nice example of how lawyers can effectively undermine their CA clients' claims to be adding value. Nicholas Bohm -- Salkyns, Great Canfield, Takeley, Bishop's Stortford CM22 6SX, UK Phone 01279 870285 (+44 1279 870285) Mobile 07715 419728 (+44 7715 419728) PGP public key ID: 0x899DD7FF. Fingerprint: 5248 1320 B42E 84FC 1E8B A9E6 0912 AE66 899D D7FF --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From sbg at acw.com Thu Feb 12 12:49:37 2009 From: sbg at acw.com (sbg at acw.com) Date: Thu, 12 Feb 2009 10:49:37 -0700 (MST) Subject: Property RIghts in Keys In-Reply-To: <87k57vtvoz.fsf@snark.cb.piermont.com> References: <20090203165448.26774d49@cs.columbia.edu> <4739.70.116.23.89.1234456852.squirrel@www.acw.com> <87k57vtvoz.fsf@snark.cb.piermont.com> Message-ID: <1484.70.116.23.89.1234460977.squirrel@www.acw.com> >> However, a cert seems almost certainly *not* to be IP. If anybody can alter, revoke or reissue a certificate then I agree it is common property to which attaches no meaningful notion of property rights. If on the other hand only certain people can alter, revoke or reissue a certificate then it seems to me they have some sort of property rights in the certificate and from their point of view the certificate is their property and not everybody's property. Whether it is intellectual property or some other form of property or even some new form of property is I also agree debatable. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From perry at piermont.com Thu Feb 12 12:58:14 2009 From: perry at piermont.com (Perry E. Metzger) Date: Thu, 12 Feb 2009 12:58:14 -0500 Subject: Property RIghts in Keys In-Reply-To: <1484.70.116.23.89.1234460977.squirrel@www.acw.com> (sbg@acw.com's message of "Thu\, 12 Feb 2009 10\:49\:37 -0700 \(MST\)") References: <20090203165448.26774d49@cs.columbia.edu> <4739.70.116.23.89.1234456852.squirrel@www.acw.com> <87k57vtvoz.fsf@snark.cb.piermont.com> <1484.70.116.23.89.1234460977.squirrel@www.acw.com> Message-ID: <873aejtu4p.fsf@snark.cb.piermont.com> sbg at acw.com writes: >>> However, a cert seems almost certainly *not* to be IP. > > If anybody can alter, revoke or reissue a certificate then I agree it is > common property to which attaches no meaningful notion of property rights. > > If on the other hand only certain people can alter, revoke or reissue a > certificate There are four kinds of intellectual property. Is it a trade secret? No. Is it a trademark or something allied like trade dress? No. Is it patentable? No. Is it copyrightable? No. So, from there, it isn't intellectual property as understood in US law. It might have certain features that make it look similar to some form of intellectual property, but that says nothing. If it isn't a trade secret, trademarked, patented or copyrighted, it doesn't count. > Whether it is intellectual property or some other form of property or even > some new form of property is I also agree debatable. If the statutes and the courts don't know about it, it doesn't exist. Anyway, one might also loudly wonder what the point of claiming otherwise would be. The point of claiming property rights is to restrict the use of something. Once you've issued a certificate, how would you be attempting to restrict its use? Either the math already restricts its use in certain ways, or it doesn't. If it doesn't, the cert is worthless. If it does, you need no court to enforce your so-called "rights". The whole thing is clearly the product of some lawyer with no idea what he was doing. Perry -- Perry E. Metzger perry at piermont.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From d3e3e3 at gmail.com Thu Feb 12 14:24:38 2009 From: d3e3e3 at gmail.com (Donald Eastlake) Date: Thu, 12 Feb 2009 14:24:38 -0500 Subject: Property RIghts in Keys In-Reply-To: <873aejtu4p.fsf@snark.cb.piermont.com> References: <20090203165448.26774d49@cs.columbia.edu> <4739.70.116.23.89.1234456852.squirrel@www.acw.com> <87k57vtvoz.fsf@snark.cb.piermont.com> <1484.70.116.23.89.1234460977.squirrel@www.acw.com> <873aejtu4p.fsf@snark.cb.piermont.com> Message-ID: <1028365c0902121124sa1d1672w8950b8340b3e509a@mail.gmail.com> On Thu, Feb 12, 2009 at 12:58 PM, Perry E. Metzger wrote: > > sbg at acw.com writes: >> ... > > There are four kinds of intellectual property. Is it a trade secret? > No. Is it a trademark or something allied like trade dress? No. Is it > patentable? No. Is it copyrightable? No. So, depending on how creative the extension fields are :-), or may not dependent on that, why isn't it copyrightable? Donald > So, from there, it isn't intellectual property as understood in US > law. It might have certain features that make it look similar to some > form of intellectual property, but that says nothing. If it isn't a > trade secret, trademarked, patented or copyrighted, it doesn't > count. > >> Whether it is intellectual property or some other form of property or even >> some new form of property is I also agree debatable. > > If the statutes and the courts don't know about it, it doesn't exist. > > Anyway, one might also loudly wonder what the point of claiming > otherwise would be. > > The point of claiming property rights is to restrict the use of > something. Once you've issued a certificate, how would you be > attempting to restrict its use? > > Either the math already restricts its use in certain ways, or it > doesn't. If it doesn't, the cert is worthless. If it does, you need no > court to enforce your so-called "rights". The whole thing is clearly > the product of some lawyer with no idea what he was doing. > > Perry > -- > Perry E. Metzger perry at piermont.com > ============================== Donald E. Eastlake 3rd +1-508-634-2066 (home) 155 Beaver Street Milford, MA 01757 USA d3e3e3 at gmail.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From Darren.Moffat at Sun.COM Thu Feb 12 14:26:40 2009 From: Darren.Moffat at Sun.COM (Darren J Moffat) Date: Thu, 12 Feb 2009 19:26:40 +0000 Subject: Property RIghts in Keys In-Reply-To: <873aejtu4p.fsf@snark.cb.piermont.com> References: <20090203165448.26774d49@cs.columbia.edu> <4739.70.116.23.89.1234456852.squirrel@www.acw.com> <87k57vtvoz.fsf@snark.cb.piermont.com> <1484.70.116.23.89.1234460977.squirrel@www.acw.com> <873aejtu4p.fsf@snark.cb.piermont.com> Message-ID: <499477F0.6070508@Sun.COM> I'm can if I squint enough see some cases where the protections of copyright/license and trademark might come into the needs of certs. 1. You don't really want a derivative work - eg the same non crypto elements in a new cert :-) 2. Some of the non crypto elements maybe trademarked names, eg the subject and/or issuer. 3. A CA cert really is only issued as a Trust Anchor and shouldn't really be used for anything else. However I don't really see a need to attempt to assert this in legal (or more likely attempted legal) terms. Given they are all implicit in the meaning of what a CA cert is and why it exists. -- Darren J Moffat --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From perry at piermont.com Thu Feb 12 14:33:33 2009 From: perry at piermont.com (Perry E. Metzger) Date: Thu, 12 Feb 2009 14:33:33 -0500 Subject: Property RIghts in Keys In-Reply-To: <1028365c0902121124sa1d1672w8950b8340b3e509a@mail.gmail.com> (Donald Eastlake's message of "Thu\, 12 Feb 2009 14\:24\:38 -0500") References: <20090203165448.26774d49@cs.columbia.edu> <4739.70.116.23.89.1234456852.squirrel@www.acw.com> <87k57vtvoz.fsf@snark.cb.piermont.com> <1484.70.116.23.89.1234460977.squirrel@www.acw.com> <873aejtu4p.fsf@snark.cb.piermont.com> <1028365c0902121124sa1d1672w8950b8340b3e509a@mail.gmail.com> Message-ID: <87bpt7sb5e.fsf@snark.cb.piermont.com> Donald Eastlake writes: > On Thu, Feb 12, 2009 at 12:58 PM, Perry E. Metzger wrote: >> sbg at acw.com writes: >>> ... >> >> There are four kinds of intellectual property. Is it a trade secret? >> No. Is it a trademark or something allied like trade dress? No. Is it >> patentable? No. Is it copyrightable? No. > > So, depending on how creative the extension fields are :-), or may not > dependent on that, why isn't it copyrightable? Perhaps if you put an original novel into an extension field you can manage it. I don't think GeoTrust was doing anything like that. Again, though, one has to question what is even to be gained by the most avaricious of CAs by claiming rights in their certs. It isn't like there is some clear benefit. Perry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From lloyd at randombit.net Thu Feb 12 14:40:08 2009 From: lloyd at randombit.net (Jack Lloyd) Date: Thu, 12 Feb 2009 14:40:08 -0500 Subject: Property RIghts in Keys In-Reply-To: <1484.70.116.23.89.1234460977.squirrel@www.acw.com> References: <20090203165448.26774d49@cs.columbia.edu> <4739.70.116.23.89.1234456852.squirrel@www.acw.com> <87k57vtvoz.fsf@snark.cb.piermont.com> <1484.70.116.23.89.1234460977.squirrel@www.acw.com> Message-ID: <20090212194008.GB16314@randombit.net> On Thu, Feb 12, 2009 at 10:49:37AM -0700, sbg at acw.com wrote: > If anybody can alter, revoke or reissue a certificate then I agree it is > common property to which attaches no meaningful notion of property rights. > > If on the other hand only certain people can alter, revoke or reissue a > certificate then it seems to me they have some sort of property rights in > the certificate and from their point of view the certificate is their > property and not everybody's property. That only certain persons can revoke or reissue a certificate is a matter of mathematics, not legal restrictions. Say I have discovered a marvelous method of easily factoring RSA keys, which unfortunately the margin of this emacs buffer is too small to contain, and I then go out, factor GeoTrust's CA key and issue a new certificate. Questions: Am I now infringing on GeoTrust's IP rights? Or have, rather, I made myself a co-owner in said rights on this particular key? Have I broken any law? If not, should what I have done be illegal? -Jack --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From dlasko at ieee.org Thu Feb 12 15:45:10 2009 From: dlasko at ieee.org (Darren Lasko) Date: Thu, 12 Feb 2009 13:45:10 -0700 Subject: Key Management Interoperability Protocol (KMIP) Message-ID: Probably of interest to this group... http://www.webwire.com/ViewPressRel.asp?aId=87063 Best regards, Darren Lasko Principal Engineer Advanced Development Group, Storage Products Fujitsu Computer Products of America [Moderator's note: the page is about something called KMIP that a few companies seem to have privately developed. It is generally considered friendly to include enough information with a forwarded URL so that readers can decide if they want to look at what is being referenced. I may start being strict about that in the future. --Perry] --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From b.m.m.d.weger at TUE.nl Thu Feb 12 16:01:15 2009 From: b.m.m.d.weger at TUE.nl (Weger, B.M.M. de) Date: Thu, 12 Feb 2009 22:01:15 +0100 Subject: Property RIghts in Keys In-Reply-To: <20090212194008.GB16314@randombit.net> References: <20090203165448.26774d49@cs.columbia.edu> <4739.70.116.23.89.1234456852.squirrel@www.acw.com> <87k57vtvoz.fsf@snark.cb.piermont.com> <1484.70.116.23.89.1234460977.squirrel@www.acw.com> <20090212194008.GB16314@randombit.net> Message-ID: <7DF2365FF07C0E4E89419D65CCC93C9E015D0976B227@EXCHANGE11.campus.tue.nl> Hi all, > Say I have discovered a marvelous method of easily factoring > RSA keys, which unfortunately the margin of this emacs buffer > is too small to contain, and I then go out, factor GeoTrust's > CA key and issue a new certificate. > > Questions: > > Am I now infringing on GeoTrust's IP rights? Or have, rather, > I made myself a co-owner in said rights on this particular key? > > Have I broken any law? If not, should what I have done be illegal? Here's a variant that I find interesting ;-). It's not about the public key but about the signature, another cryptograhic field in a certificate that shares many properties with keys. Say somebody has discovered a marvelous method of finding collisions for a hash function. Then he creates two certificates, of which the to-be-signed parts form a hash collision. Then he lets a CA sign one of them, and copies the signature into the other one, making that a certificate that is indistinguishable from a valid one issued by the CA. Has he broken any copyright law? I admit this is a purely hypothetical case. Or... maybe it isn't? Grtz, Benne de Weger --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jamesd at echeque.com Fri Feb 13 01:23:49 2009 From: jamesd at echeque.com (James A. Donald) Date: Fri, 13 Feb 2009 16:23:49 +1000 Subject: full-disk subversion standards released In-Reply-To: <4992FAC6.6080004@links.org> References: <4992FAC6.6080004@links.org> Message-ID: <499511F5.9090304@echeque.com> Ben Laurie wrote: > If I have data on my server that I would like to stay on my server and > not get leaked to some third party, then this is exactly the same > situation as DRMed content on an end user's machine, is it not? No. You want to keep control of the information on your server. DRM wants to deny the end user control of the information on the end user's machine. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ben at links.org Fri Feb 13 05:37:04 2009 From: ben at links.org (Ben Laurie) Date: Fri, 13 Feb 2009 10:37:04 +0000 Subject: full-disk subversion standards released In-Reply-To: References: <4992FAC6.6080004@links.org> Message-ID: <49954D50.1070708@links.org> Alexander Klimov wrote: > On Wed, 11 Feb 2009, Ben Laurie wrote: >> If I have data on my server that I would like to stay on my server >> and not get leaked to some third party, then this is exactly the >> same situation as DRMed content on an end user's machine, is it not? > > The treat model is completely different: for DRM the attacker is the > user who supposedly has complete access to computer, while for server > the attacker is someone who has only (limited) network connection to > your server. You wish. The threat is an attacker who has root on your machine. -- http://www.apache-ssl.org/ben.html http://www.links.org/ "There is no limit to what a man can do or how far he can go if he doesn't mind who gets the credit." - Robert Woodruff --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From muir.james.a at gmail.com Fri Feb 13 09:49:55 2009 From: muir.james.a at gmail.com (James Muir) Date: Fri, 13 Feb 2009 09:49:55 -0500 Subject: no warrant required Message-ID: <49958893.9020406@gmail.com> From today's (13 Feb 2009) National Post: http://www.nationalpost.com/news/story.html?id=1283120 excerpt: > An Ontario Superior Court ruling could open the door to police > routinely using Internet Protocol addresses to find out the names of > people online, without any need for a search warrant. > > Justice Lynne Leitch found that there is "no reasonable expectation > of privacy" in subscriber information kept by Internet service > providers (ISPs), in a decision issued earlier this week. -James -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From smb at cs.columbia.edu Fri Feb 13 11:24:35 2009 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Fri, 13 Feb 2009 11:24:35 -0500 Subject: NSA offering 'billions' for Skype eavesdrop solution Message-ID: <20090213112435.49070a0a@cs.columbia.edu> Counter Terror Expo: News of a possible viable business model for P2P VoIP network Skype emerged today, at the Counter Terror Expo in London. An industry source disclosed that America's supersecret National Security Agency (NSA) is offering "billions" to any firm which can offer reliable eavesdropping on Skype IM and voice traffic. .... http://www.theregister.co.uk/2009/02/12/nsa_offers_billions_for_skype_pwnage/ --Steve Bellovin, http://www.cs.columbia.edu/~smb --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From fw at deneb.enyo.de Fri Feb 13 16:25:30 2009 From: fw at deneb.enyo.de (Florian Weimer) Date: Fri, 13 Feb 2009 22:25:30 +0100 Subject: Property RIghts in Keys In-Reply-To: <87k57vtvoz.fsf@snark.cb.piermont.com> (Perry E. Metzger's message of "Thu, 12 Feb 2009 12:24:28 -0500") References: <20090203165448.26774d49@cs.columbia.edu> <4739.70.116.23.89.1234456852.squirrel@www.acw.com> <87k57vtvoz.fsf@snark.cb.piermont.com> Message-ID: <87iqneav1x.fsf@mid.deneb.enyo.de> [Moderator's note: I've been clamping down on the IP discussion since not much more really new was being said, but I'm allowing this through because it brings up an interesting side point -- I will reply to it to move to that discussion. --Perry] * Perry E. Metzger: > However, a cert seems almost certainly *not* to be IP. > > 1) It can't be a trade secret, it is published. > 2) It can't be patented. > 3) It can't be copyrighted, it contains no creativity. 4) It can't be trademarked because the company named in the DN is long gone (It's quite strange that so many of the browser root certs use DNs which aren't correct anymore.) --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From perry at piermont.com Fri Feb 13 17:09:27 2009 From: perry at piermont.com (Perry E. Metzger) Date: Fri, 13 Feb 2009 17:09:27 -0500 Subject: The Magic of X.509 Certification (was Re: Property Rights in Keys) In-Reply-To: <87iqneav1x.fsf@mid.deneb.enyo.de> (Florian Weimer's message of "Fri\, 13 Feb 2009 22\:25\:30 +0100") References: <20090203165448.26774d49@cs.columbia.edu> <4739.70.116.23.89.1234456852.squirrel@www.acw.com> <87k57vtvoz.fsf@snark.cb.piermont.com> <87iqneav1x.fsf@mid.deneb.enyo.de> Message-ID: <871vu2ugyw.fsf_-_@snark.cb.piermont.com> Florian Weimer writes: > 4) It can't be trademarked because the company named in the DN is long > gone > > (It's quite strange that so many of the browser root certs use DNs > which aren't correct anymore.) It isn't strange -- it is part of the fairly frightening ecology we've developed. Lets remember briefly how we got here... 1) Netscape wanted to deploy SSL 2) ...but to do that, they needed some way of getting people trust anchors for the certificate system... 3) ...and lacking time for any sort of real protocol, the easy move was just building them in to the browser binaries... 4) ...and everyone else followed suit... 5) ...so now, being one of the magic CAs who's root certs are distributed with the commonly used browsers (IE, Safari, Firefox, Opera, etc.) is a license to print money. 6) ...as a result of which, lots of CAs have been bought, sold and traded around repeatedly. This is all part and parcel of the problem that you can't *really* trust the CAs terribly much. The security of your browser is, to a large extent, dependent on the security practices of the least diligent CA built in to your browser. (There are loads of other problems too of course.) It is particularly interesting to me how far we've come from the original vision of X.509 -- indeed, a large fraction of our infrastructure now uses X.500 DNs and X.509 certs in a manner totally alien to the original vision for those technologies. There is no global X.500 directory, there is no rigidly central global certification hierarchy. The data formats have become a sort of mere magical incantation -- almost no one involved has any any knowledge of what any of it means, how it evolved, or what the real threats are. To a scary extent, this includes people making critical security decisions about the infrastructure. With my moderator hat on, I'm not *too* interested in opening this up again -- we've discussed it repeatedly in the past -- but I think a reminder isn't a bad thing. I'll forward posts that have something particularly new to say about the subject, or at least which say something old in a particularly interesting way. :) Perry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jon at callas.org Fri Feb 13 17:22:07 2009 From: jon at callas.org (Jon Callas) Date: Fri, 13 Feb 2009 14:22:07 -0800 Subject: Property RIghts in Keys In-Reply-To: <1028365c0902121124sa1d1672w8950b8340b3e509a@mail.gmail.com> References: <20090203165448.26774d49@cs.columbia.edu> <4739.70.116.23.89.1234456852.squirrel@www.acw.com> <87k57vtvoz.fsf@snark.cb.piermont.com> <1484.70.116.23.89.1234460977.squirrel@www.acw.com> <873aejtu4p.fsf@snark.cb.piermont.com> <1028365c0902121124sa1d1672w8950b8340b3e509a@mail.gmail.com> Message-ID: <27F8F647-6D1D-4820-9D28-319A7FB287BF@callas.org> On Feb 12, 2009, at 11:24 AM, Donald Eastlake wrote: > On Thu, Feb 12, 2009 at 12:58 PM, Perry E. Metzger > wrote: >> >> sbg at acw.com writes: >>> ... >> >> There are four kinds of intellectual property. Is it a trade secret? >> No. Is it a trademark or something allied like trade dress? No. Is it >> patentable? No. Is it copyrightable? No. > > So, depending on how creative the extension fields are :-), or may not > dependent on that, why isn't it copyrightable? For the same reason that phone books are not copyrightable. A certificate is nothing more than a directory entry with frosting and sprinkles. Jon --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From cryptography23094893 at aquick.org Fri Feb 13 20:19:21 2009 From: cryptography23094893 at aquick.org (Adam Fields) Date: Fri, 13 Feb 2009 20:19:21 -0500 Subject: NSA offering 'billions' for Skype eavesdrop solution In-Reply-To: <20090213112435.49070a0a@cs.columbia.edu> References: <20090213112435.49070a0a@cs.columbia.edu> Message-ID: <20090214011921.GY9915@lola.aquick.org> On Fri, Feb 13, 2009 at 11:24:35AM -0500, Steven M. Bellovin wrote: > Counter Terror Expo: News of a possible viable business model for P2P > VoIP network Skype emerged today, at the Counter Terror Expo in London. > An industry source disclosed that America's supersecret National > Security Agency (NSA) is offering "billions" to any firm which can > offer reliable eavesdropping on Skype IM and voice traffic. > > .... > > http://www.theregister.co.uk/2009/02/12/nsa_offers_billions_for_skype_pwnage/ Of course, this could just be a smokescreen to try to convince people that they can't already do it. The voice traffic may be hard to break, but the fact that every client can download my entire IM history when logging into a new machine kind of kills the "it's p2p so we can't track it" argument. Those messages are stored somewhere. -- - Adam ** Expert Technical Project and Business Management **** System Performance Analysis and Architecture ****** [ http://www.adamfields.com ] [ http://workstuff.tumblr.com ] ........... Technology Blog [ http://www.aquick.org/blog ] ............ Personal Blog [ http://www.adamfields.com/resume.html ].. Experience [ http://www.flickr.com/photos/fields ] ... Photos [ http://www.twitter.com/fields ].......... Twitter [ http://www.morningside-analytics.com ] .. Latest Venture [ http://www.confabb.com ] ................ Founder --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From zooko at zooko.com Fri Feb 13 20:46:34 2009 From: zooko at zooko.com (zooko) Date: Fri, 13 Feb 2009 18:46:34 -0700 Subject: ANNOUNCING allmydata.org "Tahoe", the Least-Authority Filesystem, v1.3 Message-ID: <449A1AAA-95E1-47F2-ABE1-AB77669FDC58@zooko.com> Folks: We make some strong security claims about this distributed storage system (I guess it's called "Cloud Storage" now): "This filesystem is encrypted and distributed over multiple peers in such a way it continues to function even when some of the peers are unavailable, malfunctioning, or malicious." Such ambitious security goals benefit greatly from public criticism and review, so please kick the tires and let us know what you think. Regards, Zooko ANNOUNCING allmydata.org "Tahoe", the Least-Authority Filesystem, v1.3 We are pleased to announce the release of version 1.3.0 of "Tahoe", the Least Authority Filesystem. Tahoe-LAFS is a secure, decentralized, fault-tolerant filesystem. All of the source code is available under a choice of two Free Software, Open Source licences. This filesystem is encrypted and distributed over multiple peers in such a way it continues to function even when some of the peers are unavailable, malfunctioning, or malicious. Here is the one-page explanation of the security and fault-tolerance properties that it offers: http://allmydata.org/source/tahoe/trunk/docs/about.html This is the successor to v1.2, which was released July 21, 2008 [1]. This is a major new release, adding a repairer, an efficient backup command, support for large files, an (S)FTP server, and much more. See the NEWS file [2] and the known_issues.txt file [3] for more information. In addition to the many new features of Tahoe itself, a crop of related projects have sprung up, including Tahoe frontends for Windows and Macintosh, two front-ends written in JavaScript, a Tahoe plugin for duplicity, a Tahoe plugin for TiddlyWiki, a project to create a new backup tool, CIFS/SMB integration, an iPhone app, and three incomplete Tahoe frontends for FUSE. See Related Projects on the wiki: [4]. COMPATIBILITY The version 1 branch of Tahoe is the basis of the consumer backup product from Allmydata, Inc. -- http://allmydata.com . Tahoe v1.3 is fully compatible with the version 1 branch of Tahoe. Files written by v1.3 clients can be read by clients of all versions back to v1.0 unless the file is too large -- files greater than about 12 GiB (depending on the configuration) can't be read by older clients. v1.3 clients can read files produced by clients of all versions since v1.0. v1.3 servers can serve clients of all versions back to v1.0 and v1.3 clients can use servers of all versions back to v1.0 (but can't upload large files to them). This is the fourth release in the version 1 series. We believe that this version of Tahoe is stable enough to rely on as a permanent store of valuable data. The version 1 branch of Tahoe will be actively supported and maintained for the forseeable future, and future versions of Tahoe will retain the ability to read files and directories produced by Tahoe v1 for the forseeable future. WHAT IS IT GOOD FOR? With Tahoe, you can distribute your filesystem across a set of computers, such that if some of the computers fail or turn out to be malicious, the entire filesystem continues to be available, thanks to the remaining computers. You can also share your files with other users, using a simple and flexible access control scheme. Because this software is new, we do not categorically recommend it as the sole repository of data which is extremely confidential or precious. However, we believe that erasure coding, strong encryption, Free/Open Source Software and careful engineering make Tahoe safer than common alternatives, such as RAID, removable drive, tape, or "on-line storage" or "Cloud storage" systems. This software comes with extensive unit tests [5], and there are no known security flaws which would compromise confidentiality or data integrity. (For all currently known issues please see the known_issues.txt file [2].) This release of Tahoe is suitable for the "friendnet" use case [6] -- it is easy to create a filesystem spread over the computers of you and your friends so that you can share disk space and files. LICENCE You may use this package under the GNU General Public License, version 2 or, at your option, any later version. See the file "COPYING.GPL" [7] for the terms of the GNU General Public License, version 2. You may use this package under the Transitive Grace Period Public Licence, version 1.0. The Transitive Grace Period Public Licence has requirements similar to the GPL except that it allows you to wait for up to twelve months after you redistribute a derived work before releasing the source code of your derived work. See the file "COPYING.TGPPL.html" [8] for the terms of the Transitive Grace Period Public Licence, version 1.0. (You may choose to use this package under the terms of either licence, at your option.) INSTALLATION Tahoe works on Linux, Mac OS X, Windows, Cygwin, and Solaris, and probably most other systems. Start with "docs/install.html" [9]. HACKING AND COMMUNITY Please join us on the mailing list [10]. Patches that extend and improve Tahoe are gratefully accepted -- the RoadMap page [11] shows the next improvements that we plan to make and CREDITS [12] lists the names of people who've contributed to the project. The wiki Dev page [13] contains resources for hackers. SPONSORSHIP Tahoe is sponsored by Allmydata, Inc. [14], a provider of commercial backup services. Allmydata, Inc. created the Tahoe project, and contributes hardware, software, ideas, bug reports, suggestions, demands, and money (employing several Tahoe hackers and instructing them to spend part of their work time on this Free Software project). Also they award customized t-shirts to hackers who find security flaws in Tahoe (see http://hacktahoe.org ). Thank you to Allmydata, Inc. for their generous and public-spirited support. Zooko Wilcox-O'Hearn on behalf of the allmydata.org team Special acknowledgment goes to Brian Warner, whose superb engineering skills and dedication are primarily responsible for the Tahoe implementation, and largely responsible for the Tahoe design as well, not to mention most of the docs and many other things besides. February 13, 2009 Boulder, Colorado, USA [1] http://allmydata.org/trac/tahoe/browser/relnotes.txt?rev=2789 [2] http://allmydata.org/trac/tahoe/browser/NEWS [3] http://allmydata.org/trac/tahoe/browser/docs/known_issues.txt [4] http://allmydata.org/trac/tahoe/wiki/RelatedProjects [5] http://allmydata.org/trac/tahoe/wiki/Dev [6] http://allmydata.org/trac/tahoe/wiki/UseCases [7] http://allmydata.org/trac/tahoe/browser/COPYING.GPL [8] http://allmydata.org/source/tahoe/trunk/COPYING.TGPPL.html [9] http://allmydata.org/source/tahoe/trunk/docs/install.html [10] http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev [11] http://allmydata.org/trac/tahoe/roadmap [12] http://allmydata.org/trac/tahoe/browser/CREDITS?rev=2677 [13] http://allmydata.org/trac/tahoe/wiki/Dev [14] http://allmydata.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From travis+ml-cryptography at subspacefield.org Fri Feb 13 21:08:34 2009 From: travis+ml-cryptography at subspacefield.org (Travis) Date: Fri, 13 Feb 2009 20:08:34 -0600 Subject: preparing a web 2.0 crypto talk Message-ID: <20090214020834.GE11167@subspacefield.org> Hi, I've been working on a presenation for the local OWASP chapter, and here it is: http://www.subspacefield.org/security/web_20_crypto.pdf I'd like suggestions on how to stretch this talk out a bit. I would particularly like good examples of real web apps that have done crypto wrong - and how. Unfortunately, I found this talk, Cryptography for Pen Testers, after writing mine: http://video.google.com/videoplay?docid=-5187022592682372937 It has a lot of similar material, but I think his talk is much better because it goes into how it would actually be attacked. He also must have powerpoint-fu whereas I'm using lyx.... Any opinions? -- Crypto ergo sum. http://www.subspacefield.org/~travis/ Do unto other faiths as you would have them do unto yours. If you are a spammer, please email john at subspacefield.org to get blacklisted. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From nbohm at ernest.net Sat Feb 14 06:14:54 2009 From: nbohm at ernest.net (Nicholas Bohm) Date: Sat, 14 Feb 2009 11:14:54 +0000 Subject: Property RIghts in Keys In-Reply-To: <20090203165448.26774d49@cs.columbia.edu> References: <20090203165448.26774d49@cs.columbia.edu> Message-ID: <4996A7AE.3020002@ernest.net> In responding to what Steven M. Bellovin wrote about GeoTrust, I mentioned the low UK copyright law requirement for creativity. As a postscript to that observation, I draw attention to s9(3) of the UK Copyright, Designs and Patents Act 1988: (3) In the case of a literary, dramatic, musical or artistic work which is computer-generated, the author shall be taken to be the person by whom the arrangements necessary for the creation of the work are undertaken. And s178 provides the definition: "computer-generated", in relation to a work, means that the work is generated by computer in circumstances such that there is no human author of the work. These provisions seem to me to work quite aptly to encompass a key-pair. Nicholas Bohm -- Salkyns, Great Canfield, Takeley, Bishop's Stortford CM22 6SX, UK Phone 01279 870285 (+44 1279 870285) Mobile 07715 419728 (+44 7715 419728) PGP public key ID: 0x899DD7FF. Fingerprint: 5248 1320 B42E 84FC 1E8B A9E6 0912 AE66 899D D7FF --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ben at links.org Sat Feb 14 07:18:44 2009 From: ben at links.org (Ben Laurie) Date: Sat, 14 Feb 2009 12:18:44 +0000 Subject: Crypto Craft Knowledge Message-ID: <4996B6A4.4040803@links.org> http://www.links.org/?p=535 [Never been 100% sure about the etiquette of sending my own blog posts to this list, but in this case I am doing so at Perry's request. For future reference if anyone else ever feels it's appropriate, do feel free] >From time to time I bemoan the fact that much of good practice in cryptography is craft knowledge that is not written down anywhere, so it was with interest that I read a post by Michael Roe about hidden assumptions in crypto[1]. Of particular interest is this "When we specify abstract protocols, it's generally understood that the concrete encoding that gets signed or MAC'd contains enough information to unambigously identify the field boundaries: it contains length fields, a closing XML tag, or whatever. A signed message {Payee, Amount} K_A should not allow a payment of $3 to Bob12 to be mutated by the attacker into a payment of $23 to Bob1. But ISO 9798 (and a bunch of others) don't say that. There's nothing that says a conforming implementation can't send the length field without authentication. Now of course, an implementor probably wouldn't do that. But they _might_." Actually, in my extensive experience of reviewing security-critical code, this particular error is extremely common. Why does Michael assume that they probably wouldn't? Because he is steeped in the craft knowledge around crypto. But most developers aren't. Most developers don't even have the right mindset for secure coding, let alone correct cryptographic coding. So, why on Earth do we expect them to follow our unwritten rules, many of which are far from obvious even if you understand the crypto? [1] http://www.lightbluetouchpaper.org/2009/02/02/hidden-assumptions-in-cryptographic-protocols/ -- http://www.apache-ssl.org/ben.html http://www.links.org/ "There is no limit to what a man can do or how far he can go if he doesn't mind who gets the credit." - Robert Woodruff --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From smb at cs.columbia.edu Sat Feb 14 10:36:36 2009 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Sat, 14 Feb 2009 10:36:36 -0500 Subject: Property RIghts in Keys In-Reply-To: <4996A7AE.3020002@ernest.net> References: <20090203165448.26774d49@cs.columbia.edu> <4996A7AE.3020002@ernest.net> Message-ID: <20090214103636.5f00de5e@cs.columbia.edu> On Sat, 14 Feb 2009 11:14:54 +0000 Nicholas Bohm wrote: > In responding to what Steven M. Bellovin wrote about GeoTrust, I > mentioned the low UK copyright law requirement for creativity. > > As a postscript to that observation, I draw attention to s9(3) of the > UK Copyright, Designs and Patents Act 1988: > > (3) In the case of a literary, dramatic, musical or artistic work > which is computer-generated, the author shall be taken to be the > person by whom the arrangements necessary for the creation of the > work are undertaken. > > And s178 provides the definition: "computer-generated", in relation > to a work, means that the work is generated by computer in > circumstances such that there is no human author of the work. > > These provisions seem to me to work quite aptly to encompass a > key-pair. > As best I can tell, the creativity was by the person who wrote their certificate software... Besides -- is a certificate a "literary, dramatic, musical or artistic work"? In any event, British law doesn't apply; the CPS states that it is to be interpreted under Virginia, US, law. --Steve Bellovin, http://www.cs.columbia.edu/~smb --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From adam at homeport.org Sat Feb 14 14:22:44 2009 From: adam at homeport.org (Adam Shostack) Date: Sat, 14 Feb 2009 14:22:44 -0500 Subject: preparing a web 2.0 crypto talk In-Reply-To: <20090214020834.GE11167@subspacefield.org> References: <20090214020834.GE11167@subspacefield.org> Message-ID: <20090214192244.GC10128@homeport.org> On Fri, Feb 13, 2009 at 08:08:34PM -0600, Travis wrote: | http://video.google.com/videoplay?docid=-5187022592682372937 | | It has a lot of similar material, but I think his talk is much better | because it goes into how it would actually be attacked. He also must | have powerpoint-fu whereas I'm using lyx.... | | Any opinions? If his talk is already better, why don't you ask if you can use his deck? It seems foolish to reinvent the wheel, poorly, and doubly so when you know you're doing that. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From lynn at garlic.com Sat Feb 14 15:01:10 2009 From: lynn at garlic.com (Anne & Lynn Wheeler) Date: Sat, 14 Feb 2009 15:01:10 -0500 Subject: Crypto Craft Knowledge In-Reply-To: <4996B6A4.4040803@links.org> References: <4996B6A4.4040803@links.org> Message-ID: <49972306.6020401@garlic.com> On 02/14/2009 07:18 AM, Ben Laurie wrote: > Actually, in my extensive experience of reviewing security-critical > code, this particular error is extremely common. Why does Michael assume > that they probably wouldn't? Because he is steeped in the craft > knowledge around crypto. But most developers aren't. Most developers > don't even have the right mindset for secure coding, let alone correct > cryptographic coding. So, why on Earth do we expect them to follow our > unwritten rules, many of which are far from obvious even if you > understand the crypto? > > [1] > http://www.lightbluetouchpaper.org/2009/02/02/hidden-assumptions-in-cryptographic-protocols/ > Note that one of the things that FSTC did in e-check (and I did in x9.59) was specify the fields from existing transport infrastructures that were used for signing. Part of this was that standard digital signature processes (along with digital certificates if necessary) could represent a one hundred times factor payload bloat ... some past comments about various efforts that tried to apply knee-jerk application of digital signatures to existing financial infrastructures ... resulting in two orders of magnitude payload bloat http://www.garlic.com/~lynn/subpubkey.html#bloat One of the side-effects of some of the extreme bloated approaches was that they actually avoided defining end-to-end protocol ... just defined a digitally signed operation for flow over the internet ... which was then stripped off and thrown away at the gateway to the "real" infrastructure. In any case, as a result, the fields from standard existing financial transaction was specified for encoding ... that was signed ... and then just the digital signature was appended to existing formatted message. At the receiving end, the fields were re-encoded and verified with the transmitted digital signature. The issue for FSTC that prompted FSML ... was that at the time, the encoding standards weren't deterministic (i.e the sender and the recipient had to use the same encoding rules ... so the signed encoding and the verified encoding were the same). FSML was then contributed to W3C and incorporated into the XML digital signature standard. in that sense, neither e-check nor X9.59 required a length field ... they just specified all the encoded transaction fields that were necessary for characterizing a transaction unambiguously. As an aside ... we didn't particularly come at it from the stand-point of crypto craft or even security-critical craft ... we came at it from standpoint of business-critical craft ... where things might fail in a multitude of ways (some possibly having nothing to do with security). slightly related recent post mentioning FAA ATC system: http://www.garlic.com/~lynn/2009c.html#17 Bletchly Park fires up Big Green-Eyed Monster Another example was we did "audits" of RAID disk arrays ... looking for design &/or implementation shortcomings thatmight result in loss of data. In the "security" context ... we did some audits where we identified (nearly trivial) exploits in end-to-end operation ... and were told that wasn't part of the security protocol. -- 40+yrs virtualization experience (since Jan68), online at home since Mar70 --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From leichter at lrw.com Sat Feb 14 15:20:54 2009 From: leichter at lrw.com (Jerry Leichter) Date: Sat, 14 Feb 2009 15:20:54 -0500 Subject: "Italy police warn of Skype threat" Message-ID: "Criminals in Italy are increasingly making phone calls over the internet in order to avoid getting caught through mobile phone intercepts, police say...." Whole article at http://news.bbc.co.uk/2/hi/europe/7890443.stm -- Jerry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From leichter at lrw.com Sat Feb 14 15:24:40 2009 From: leichter at lrw.com (Jerry Leichter) Date: Sat, 14 Feb 2009 15:24:40 -0500 Subject: "Italy police warn of Skype threat" [USE THIS VERSION - left some stuff out] In-Reply-To: References: Message-ID: <793A0BCD-7ADD-4B00-80A4-2705B98CBC45@lrw.com> "Criminals in Italy are increasingly making phone calls over the internet in order to avoid getting caught through mobile phone intercepts, police say...." But that's only half the story. Much of the issue goes in the other direction: The Italian press apparently gets much of its information from crime reporting from wiretaps, often of government officials! So the government is trying to control both directions: Preserve its ability to wiretap while stopping the press from doing so. Whole article at http://news.bbc.co.uk/2/hi/europe/7890443.stm -- Jerry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From dmolnar at eecs.berkeley.edu Sat Feb 14 15:54:29 2009 From: dmolnar at eecs.berkeley.edu (David Molnar) Date: Sat, 14 Feb 2009 12:54:29 -0800 Subject: Crypto Craft Knowledge In-Reply-To: <4996B6A4.4040803@links.org> References: <4996B6A4.4040803@links.org> Message-ID: <49972F85.8010207@eecs.berkeley.edu> Ben Laurie wrote: [snip discussion of bad crypto implementation practices] > Because he is steeped in the craft > knowledge around crypto. But most developers aren't. Most developers > don't even have the right mindset for secure coding, let alone correct > cryptographic coding. So, why on Earth do we expect them to follow our > unwritten rules, many of which are far from obvious even if you > understand the crypto? Yes, there's a need for a "crypto practices FAQ" to which one can refer. In addition to individual education, it'd be helpful to have something when pointing out common mistakes. For example, I was involved recently in a discussion about MAC'ing prices returned by a shopping cart web application: http://news.ycombinator.com/item?id=477398 There's at least two gotchas here to consider: 1) The choice of MAC (i.e. why use HMAC instead of H(s||m) or H(m||s) ?) 2) replay attacks if the MAC'd item is not bound to the transaction or the rest of the web page I can point out these issues, but I don't usually have time to write fully detailed examples. Having such examples goes a long way towards increasing one's credibility in this kind of discussion. Ideally they would be from deployed applications, but that's tough. -David Molnar -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature URL: From pgut001 at cs.auckland.ac.nz Sun Feb 15 00:55:39 2009 From: pgut001 at cs.auckland.ac.nz (Peter Gutmann) Date: Sun, 15 Feb 2009 18:55:39 +1300 Subject: Property RIghts in Keys In-Reply-To: <87k57vtvoz.fsf@snark.cb.piermont.com> Message-ID: [Moderator's note: my forwarding this is not an indication that I want to continue the "are certs IP" discussion. --Perry] "Perry E. Metzger" writes: >However, a cert seems almost certainly *not* to be IP. > >[...] > >3) It can't be copyrighted, it contains no creativity. You obviously haven't seen some of the certificates out there. I've seen interpretations of the X.509 spec floating around that deserve a Hugo award. Peter. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From rene7705 at gmail.com Sun Feb 15 07:30:33 2009 From: rene7705 at gmail.com (Rene Veerman) Date: Sun, 15 Feb 2009 13:30:33 +0100 Subject: how to properly secure non-ssl logins (php + ajax) Message-ID: <49980AE9.6050001@gmail.com> Hi. Recently, on both the jQuery(.com) and PHP mailinglists, a question has arisen on how to properly secure a login form for a non-ssl web-application. But the replies have been "get ssl".. :( I disagree, and think that with a proper layout of authentication architecture, one can really secure a login system without having the administrative overhead of installing SSL everywhere, and the monetary cost for a SSL certificate for each domain. I wish to code such a solution into a really-free library (so probably LGPL or GPL + MIT) over the next 2 to 5 months. This library would be a complete SQL, PHP & javascript package (jQuery "plugged in"), targetted for the novice programmer. I'm halfway (or more?) there, i think. For my own CMS, i have taken the following approach, which i'd like to hear your improvements on: (For onewayHash() i have MD5 and SHA256 implementations in both JS and PHP..) //// SQL: create table users ( user_id integer, user_login_name varchar(250), user_login_hash varchar(250), user_password_hash varchar(250), ....other fields.... primary key (user_id) ); create table preferences ( pref_system_hash varchar(250) .... ); //// PHP (pseudo-code) , on system installation: preferences.pref_system_hash = onewayHash ( randomStringLength(100) ); //// PHP , on user-create: users[user_id].user_login_hash = onewayHash(user_login_name + preferences.pref_system_hash); users[user_id].user_password_hash = onewayHash ("someGooodPasswordNot" + preferences.pref_system_hash); //// PHP, on request of a login form: challenge = makeNewChallenge (); //checks since when [browser IP] has last received a new challenge, if < threshold : make a new challenge. else return old challenge. //a challenge is a random string (+ special chars) pushed through the onewayHash function. html = '
'; sendHTMLtoBrowser (html); //// Javascript: on page with login form: jQuery('#loginForm').submit (function () { var sh = jQuery('#sh')[0]; //same for ch, plain_user, plain_pass, all the inputs in the html form. .... user_hash = onewayHash ( onewayHash ( plain_user.value + sh.value ) + challenge ); //same for pass_hash basically plain_user.value = ''; //clear out the plain text fields so they dont get transmitted (same for plain_pass ofcourse) jQuery.ajax ( /* submit login form through POST, handle results */ ) } //// PHP, on receiving the login form data: // walk through all the records in users table, for each, calculate: user_hash = onewayHash ( users[user_id].user_login_hash + challenge ); pass_hash = onewayHash ( users[user_id].user_password_hash + challenge ); // if they match what was sent, then it's the user we're looking for with the right password, so their $_SESSION['authenticated_user'] = updated. //// If you have a completely alternative way of securing a non-ssl login form, i'd like to hear about it too. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jis at mit.edu Mon Feb 16 22:50:30 2009 From: jis at mit.edu (Jeffrey I. Schiller) Date: Mon, 16 Feb 2009 22:50:30 -0500 (EST) Subject: how to properly secure non-ssl logins (php + ajax) In-Reply-To: <49980AE9.6050001@gmail.com> Message-ID: <5602686.01234842630747.JavaMail.root@dune1> I think you are close, but are probably doing way too much work. First let's define a function HMAC_MD. HMAC is defined in RFC2104 and represents the current best current practice for using a hash to "sign" a data value. It takes: result = hmac_md(key, value) You can use hmac with MD5, SHA1, SHA256... whatever. You will likely find libraries that already implement this in various languages. Below "SHA" means SHA1, SHA256, your choice. We'll assume each user has a password which is stored on the server. For a bit of extra security I would have the server store it as a SHA hash of the actual password.) For authentication you do a challenge response. Server Client nonce ====> <=== username, hmac_md(sha(password), nonce) The trick is to ensure that the nonce is not re-used. There are several ways to do this. One way is to store it in a table: crate table nonces ( nonce varchar(128), # Probably enough ts timestamp, used Boolean ) When the server gets the reply it looks up the user's "sha(password)" which is stored in the user account table. It then verifies that the nonce value is in the nonces table and that used is False. It then verifies that the timestamp is "fresh" (you can decide this). Upon use, the nonces table is updated to set used to True. A second login attempt would require a separate nonce. Once a nonce is no longer "fresh" it can be purged from the nonces table (so you don't have to store these forever). Obviously the server computes hmac_md(sha(password), nonce) and verifies it is the value received from the client. There are a copy of gotchas here. The biggest is how you initially setup the shared secret (aka the password). Without public key operations there is no good way to create accounts (unless this is done administratively, effectively "off line"). SSL of course can solve this (but you don't want to use SSL). You can also attempt to implement RSA in javascript and PHP (well, I'm sure routines exist for PHP). You can then download a public key in your javascript code for account registration. The user's browser can then compute sha(password) and send it encrypted in the public key (or encrypted in a data encrypting key which is encrypted in a public key). I don't know how amenable javascript is to doing RSA. Years ago (when computers were much slower) I wrote a Java Applet that did RSA in the applet for account registration at MIT. It wasn't very fast, but it was good enough for a one-time registration applet. Heh heh, we still use it today! Now of course I really cannot end this message without throwing in the obvious caution that without SSL your authentication is pretty weak. Even though you have not exposed the user's password, once logged in PHP uses a session cookie. This cookie, although of limited lifetime, is now available to the eavesdropper to steak and abuse. I'm not even sure that PHP ensures that a cookie is coming from the same IP address it was issued to (and in fact you cannot usually implement such a restriction because some environments [aka large NATs and other crud] can result in a legitimate user's traffic coming from different IP addresses even within the same web session!). And of course all of your data is also exposed, both for viewing and for modification in flight. Last I checked, SSL certificates could be had for the $20/year range, so I don't see how that is cost prohibitive! Modern hardware also does SSL pretty darn fast. You really have to have a very high traffic site before it becomes a problem. There actually aren't that many high traffic sites out there. Most organizations may think their sites are high traffic, but they rarely are. -Jeff ----- "Rene Veerman" wrote: > Hi. > > Recently, on both the jQuery(.com) and PHP mailinglists, a question > has arisen on how to properly secure a login form for a non-ssl > web-application. But the replies have been "get ssl".. :( > > I disagree, and think that with a proper layout of authentication > architecture, one can really secure a login system without having the > administrative overhead of installing SSL everywhere, and the monetary > cost for a SSL certificate for each domain. -- ======================================================================== Jeffrey I. Schiller MIT Network Manager Information Services and Technology Massachusetts Institute of Technology 77 Massachusetts Avenue Room W92-190 Cambridge, MA 02139-4307 617.253.0161 - Voice jis at mit.edu ======================================================================== --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From pgut001 at cs.auckland.ac.nz Tue Feb 17 00:16:33 2009 From: pgut001 at cs.auckland.ac.nz (Peter Gutmann) Date: Tue, 17 Feb 2009 18:16:33 +1300 Subject: how to properly secure non-ssl logins (php + ajax) In-Reply-To: <49980AE9.6050001@gmail.com> Message-ID: Rene Veerman writes: >Recently, on both the jQuery(.com) and PHP mailinglists, a question has >arisen on how to properly secure a login form for a non-ssl web-application. >But the replies have been "get ssl".. :( > >I disagree, and think that with a proper layout of authentication >architecture, one can really secure a login system without having the >administrative overhead of installing SSL everywhere, and the monetary cost >for a SSL certificate for each domain. > >[...] > >I'm halfway (or more?) there, i think. For my own CMS, i have taken the >following approach, which i'd like to hear your improvements on: Go out and get a copy of "Network Security" by Kaufman, Perlman and Speciner, this has an entire chapter that discusses this issue, including the pros and cons of different approaches and all the ways you can get it wrong (oh, and it's written for a non-security-geek audience). I think any discussion here will end up being mostly a rehash of bits of the chapter, their version goes into much more detail and has diagrams to boot. Peter. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ashwood at msn.com Tue Feb 17 02:15:29 2009 From: ashwood at msn.com (Joseph Ashwood) Date: Mon, 16 Feb 2009 23:15:29 -0800 Subject: how to properly secure non-ssl logins (php + ajax) In-Reply-To: <49980AE9.6050001@gmail.com> References: <49980AE9.6050001@gmail.com> Message-ID: ----- Original Message ----- From: "Rene Veerman" Sent: Sunday, February 15, 2009 4:30 AM Subject: how to properly secure non-ssl logins (php + ajax) I'm going to edit this, since I assume most of the code is completely irrelevant proposal: database stores Hash(password | salt) on server challenge = Hash(random bits), challenge specifically does NOT change every time user_hash = Hash( Hash( password | salt) | challenge) There are so many ways to attack this I'm not sure where to begin: 1) Man-in-the-middle - user <-> Jerk <-> server, Jerk can easily highjack the session 2) Fake server sends out known predictable challenges, user is now an oracle 3) hack the real server, retrieve Hash(password| salt) hacker can now log in to server FASTER than user 4) hash attacks, you mention specifically that MD5 is available as a hash for this, DONT EVER USE MD5 the list continues Now how to (mostly) fix it: g, p, q are DSA parameters of sufficient size Hash is a secure Hash, SHA256 will work, but SHA512 will work faster database stores g^Hash(password | salt) mod p, call it gUser Challenge = time | random bits, make it 256 bits, using time reduces the number of random bits used gChallenge = g^Challenge mod p Signed-gChallenge = cryptographically signed gChallenge | time, this does not take a certificate, just a trusted known signature key Client receives Signed-gChallenge and salt Client verifies signature including time on Signed-gChallenge and extracts gChallenge Client computes Y = gChallenge^Hash(password | salt) mod p Server computes Y = gUser^Challenge mod p If Y=Y client knows the password. For proof of security, this is signed-half ephemeral Diffie-Hellman key agreement with reveal. 1) This does not fix the MITM attack, only an encrypted tunnel can do that, so use SSL 2) Fake server only repeat a challenge created by the real server because of the signature, but the public key of the signing key needs to be verifiable, this is where certificates come in 3) Retrieveing gUser from the database is exactly identical to retrieving a Diffie-Hellman public key, no risk, database can be public 4) ALWAYS REMEMBER TO NEVER USE MD5 Also with SSL you don't need to have a paid for certificate, have a look at https://financialcryptography.com/ for an example. Joe --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From dmolnar at eecs.berkeley.edu Tue Feb 17 05:01:25 2009 From: dmolnar at eecs.berkeley.edu (David Molnar) Date: Tue, 17 Feb 2009 02:01:25 -0800 Subject: Crypto Craft Knowledge In-Reply-To: References: <4996B6A4.4040803@links.org> <49972F85.8010207@eecs.berkeley.edu> Message-ID: <499A8AF5.4080500@eecs.berkeley.edu> Stephan Neuhaus wrote: >> Yes, there's a need for a "crypto practices FAQ" to which one can refer. > > I disagree because you cannot force developers to read (and understand) > these FAQs. Instead, there is a need for APIs that are difficult to use > in an insecure way. For example, Peter Gutmann's cryptlib makes it > intentionally hard to get at private key material because of precisely > this issue. Also, I believe, cryptlib does not allow RSA in anything > but ECB mode, because doing so means the developer is seriously on the > wrong track here. This is a good point, and it reminds me of this presentation from Rusty Russell on "levels" of Linux kernel interfaces. See http://ozlabs.org/~rusty/ols-2003-keynote/img39.html and following. The main issue I see is how do you force the developer to adopt your library and corresponding API? A secondary issue is what do you do if there isn't a suitable library and API yet available? In cases where you can't (yet) provide a simple "use cryptlib" response, a crypto practices FAQ would be helpful for pointing out common problems and explaining them well. I've started a wiki in case anyone wants to hack on such a FAQ: http://www.cryptohygiene.org/ -David Molnar -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature URL: From alserkli at inbox.ru Tue Feb 17 05:06:49 2009 From: alserkli at inbox.ru (Alexander Klimov) Date: Tue, 17 Feb 2009 12:06:49 +0200 (IST) Subject: how to properly secure non-ssl logins (php + ajax) In-Reply-To: <49980AE9.6050001@gmail.com> References: <49980AE9.6050001@gmail.com> Message-ID: On Sun, 15 Feb 2009, Rene Veerman wrote: > Recently, on both the jQuery(.com) and PHP mailinglists, a question has > arisen on how to properly secure a login form for a non-ssl web-application. > But the replies have been "get ssl".. :( Unfortunately, they are right: get SSL. > If you have a completely alternative way of securing a non-ssl login > form, i'd like to hear about it too. I suspect what you have coded is a reinvention of RFC 2617 (implemented, e.g., by mod_auth_digest in Apache). Depending on your threat model, this can be all you need (plaintext password is not transmitted, but this does not prevent local dictionary attacks), but any such scheme fails miserable against active attacks. -- Regards, ASK --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ben at links.org Tue Feb 17 05:22:22 2009 From: ben at links.org (Ben Laurie) Date: Tue, 17 Feb 2009 10:22:22 +0000 Subject: Crypto Craft Knowledge In-Reply-To: References: <4996B6A4.4040803@links.org> <49972F85.8010207@eecs.berkeley.edu> Message-ID: <499A8FDE.4080406@links.org> Stephan Neuhaus wrote: > Many mistakes in crypto coding come from the fact that API developers > have so far very successfully shifted the burden of secure usage to the > application developer, the API user. But I believe this hasn't worked > and needs to be changed. I totally agree, and this is the thinking behind the Keyczar project (http://www.keyczar.org/): "Cryptography is easy to get wrong. Developers can choose improper cipher modes, use obsolete algorithms, compose primitives in an unsafe manner, or fail to anticipate the need for key rotation. Keyczar abstracts some of these details by choosing safe defaults, automatically tagging outputs with key version information, and providing a simple programming interface. Keyczar is designed to be open, extensible, and cross-platform compatible. It is not intended to replace existing cryptographic libraries like OpenSSL, PyCrypto, or the Java JCE, and in fact is built on these libraries." Cheers, Ben. -- http://www.apache-ssl.org/ben.html http://www.links.org/ "There is no limit to what a man can do or how far he can go if he doesn't mind who gets the credit." - Robert Woodruff --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From hughejp at mac.com Tue Feb 17 10:27:27 2009 From: hughejp at mac.com (James Hughes) Date: Tue, 17 Feb 2009 07:27:27 -0800 Subject: Crypto Craft Knowledge In-Reply-To: <49972F85.8010207@eecs.berkeley.edu> References: <4996B6A4.4040803@links.org> <49972F85.8010207@eecs.berkeley.edu> Message-ID: <7949EA19-A50F-479E-B7A5-46BC654BE947@mac.com> On Feb 14, 2009, at 12:54 PM, David Molnar wrote: > Ben Laurie wrote: > > [snip discussion of bad crypto implementation practices] >> Because he is steeped in the craft >> knowledge around crypto. But most developers aren't. Most developers >> don't even have the right mindset for secure coding, let alone >> correct >> cryptographic coding. So, why on Earth do we expect them to follow >> our >> unwritten rules, many of which are far from obvious even if you >> understand the crypto? > > Yes, there's a need for a "crypto practices FAQ" to which one can > refer. > In addition to individual education, it'd be helpful to have something > when pointing out common mistakes. [snip specific discussion] I find this conversation off the point. Consider other trades like woodworking. There is no FAQ that can be created that would be applicable to building a picture frame, dining room table or a covered bridge. A FAQ for creating a picture frame would be possible, but this is not the FAQ that is being discussed. Crypto protocol failures are not trivial. The recent CBC attack on SSH shows that this is the case. http://secunia.com/Advisories/32760/ What FAQ would prescribe how not to make this mistake? There are PhD programs related to this subject. I would argue (and actually dovetailing with another thread) that, if one creates a FAQ, that it point to well vetted implementations of information delivery protocols like SSL and SSH, and that any FAQ regarding the use of crypto libraries be that this is dangerous and should only be attempted with proper oversight and/or training. Crypto protocols are not trivial, and suggesting a FAQ would be able to take the uninitiated to secure coding is more dangerous than good. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From arshad.noor at strongauth.com Tue Feb 17 13:32:08 2009 From: arshad.noor at strongauth.com (Arshad Noor) Date: Tue, 17 Feb 2009 10:32:08 -0800 Subject: Contradictory opinion on KMIP Message-ID: <499B02A8.6060901@strongauth.com> Recently, there was a posting on this forum on the Key Management Interoperability Protocol (KMIP) Technical Committee charter, proposed by a group of storage vendors (RSA, IBM, HP, et al) at OASIS. (Unfortunately, I deleted the posting, so I cannot refer to it directly, but here's a link to the original posting): http://www.mail-archive.com/cryptography at metzdowd.com/msg10274.html I thought it might be useful to inform readers of this forum that a contradictory opinion has been submitted to the OASIS Charter list (by this author) at: http://lists.oasis-open.org/archives/oasis-charter-discuss/200902/msg00001.html It is fair to warn readers that the contradictory opinion is not a technical discussion of cryptography, but more a political fallout in the KM space. If KM standards are of interest to readers, they may find the comments at the OASIS link germane. Arshad Noor StrongAuth, Inc. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From chialea at gmail.com Tue Feb 17 14:34:27 2009 From: chialea at gmail.com (Lea Kissner) Date: Tue, 17 Feb 2009 11:34:27 -0800 Subject: how to properly secure non-ssl logins (php + ajax) In-Reply-To: <49980AE9.6050001@gmail.com> References: <49980AE9.6050001@gmail.com> Message-ID: <11365cdc0902171134r486a7155t77523f7f0f6e6671@mail.gmail.com> [Moderator's note: top posting is not considered good form. --Perry] Hi Rene, I suspect from reading this quickly that you may not be a cryptographer. I'd highly suggest that you borrow one for a bit before you go ahead with this. I'm having a bit of trouble reading exactly what you want to do, but I am fairly sure that this isn't as secure as you'd like. (Heck, I can probably help you out with this, but not today because I'm swamped.) Thanks, Lea On Sun, Feb 15, 2009 at 4:30 AM, Rene Veerman wrote: > Hi. > > Recently, on both the jQuery(.com) and PHP mailinglists, a question has > arisen on how to properly secure a login form for a non-ssl web-application. > But the replies have been "get ssl".. :( > > I disagree, and think that with a proper layout of authentication > architecture, one can really secure a login system without having the > administrative overhead of installing SSL everywhere, and the monetary cost > for a SSL certificate for each domain. > > I wish to code such a solution into a really-free library (so probably LGPL > or GPL + MIT) over the next 2 to 5 months. > This library would be a complete SQL, PHP & javascript package (jQuery > "plugged in"), targetted for the novice programmer. > > I'm halfway (or more?) there, i think. > For my own CMS, i have taken the following approach, which i'd like to hear > your improvements on: > > (For onewayHash() i have MD5 and SHA256 implementations in both JS and > PHP..) > > //// SQL: > > create table users ( > user_id integer, > user_login_name varchar(250), > user_login_hash varchar(250), > user_password_hash varchar(250), > ....other fields.... > primary key (user_id) > ); > > create table preferences ( > pref_system_hash varchar(250) > .... > ); > > //// PHP (pseudo-code) , on system installation: > preferences.pref_system_hash = onewayHash ( randomStringLength(100) ); > > //// PHP , on user-create: > > users[user_id].user_login_hash = onewayHash(user_login_name + > preferences.pref_system_hash); > users[user_id].user_password_hash = onewayHash ("someGooodPasswordNot" + > preferences.pref_system_hash); > > //// PHP, on request of a login form: > > challenge = makeNewChallenge (); > //checks since when [browser IP] has last received a new challenge, > if < threshold : make a new challenge. else return old challenge. > //a challenge is a random string (+ special chars) pushed through the > onewayHash function. > > html = ' >
> value="preferences.pref_system_hash"> > > > > > >
> '; > sendHTMLtoBrowser (html); > > //// Javascript: on page with login form: > > jQuery('#loginForm').submit (function () { > var sh = jQuery('#sh')[0]; //same for ch, plain_user, plain_pass, > all the inputs in the html form. > .... > > user_hash = onewayHash ( onewayHash ( plain_user.value + sh.value ) > + challenge ); > //same for pass_hash basically > > plain_user.value = ''; //clear out the plain text fields so they > dont get transmitted (same for plain_pass ofcourse) > > jQuery.ajax ( /* submit login form through POST, handle results */ > ) > } > > > //// PHP, on receiving the login form data: > > // walk through all the records in users table, for each, calculate: > user_hash = onewayHash ( users[user_id].user_login_hash + challenge > ); > pass_hash = onewayHash ( users[user_id].user_password_hash + > challenge ); > > // if they match what was sent, then it's the user we're looking for > with the right password, so their $_SESSION['authenticated_user'] = updated. > > //// > > > If you have a completely alternative way of securing a non-ssl login form, > i'd like to hear about it too. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From rah at shipwright.com Tue Feb 17 18:03:07 2009 From: rah at shipwright.com (R.A. Hettinga) Date: Tue, 17 Feb 2009 18:03:07 -0500 Subject: Shamir secret sharing and information theoretic security References: <974103.34967.qm@web33304.mail.mud.yahoo.com> Message-ID: Begin forwarded message: From: Sarad AV Date: February 17, 2009 9:51:09 AM EST To: cypherpunks at al-qaeda.net Subject: Shamir secret sharing and information theoretic security hi, I was going through the wikipedia example of shamir secret sharing which says it is information theoretically secure. http://en.wikipedia.org/wiki/Shamir%27s_Secret_Sharing In the example in that url, they have a polynomial f(x) = 1234 + 166.x + 94.x^2 they construct 6 points from the polynomial (1,1494);(2,1942);(3,2578);(4,3402);(5,4414);(6,5615) the secret here is S=1234. The threshold k=3 and the number of participants n=6. If say, first two users collude then 1494 = S + c1 .1 + c2.1 1942 = S + c1 .2 + c2.2 clearly, one can start making inferences about the sizes of the unknown co-efficients c1 and c2 and S. However, it is said in the URL above that Shamir secret is information theoretically secure in the url below they say http://en.wikipedia.org/wiki/Information_theoretic_security "Secret sharing schemes such as Shamir's are information theoretically secure (and in fact perfectly secure) in that less than the requisite number of shares of the secret provide no information about the secret." how can that be true? we already are able to make inferences. Moreover say that, we have 3 planes intersecting at a single point in euclidean space, where each plane is a secret share(Blakely's scheme). With 2 plane equations, we cannot find the point of intersection but we can certainly narrow down to the line where the planes intersect. There is information loss about the secret. from this it appears that Shamir's secret sharing scheme leaks information from its shares but why is it then considered information theoretically secure? They do appear to leak information as similar to k-threshold schemes using chinese remainder theorem. what am i missing? Thanks, Sarad. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From erwan.legrand at gmail.com Tue Feb 17 19:17:36 2009 From: erwan.legrand at gmail.com (Erwan Legrand) Date: Wed, 18 Feb 2009 01:17:36 +0100 Subject: how to properly secure non-ssl logins (php + ajax) In-Reply-To: <49980AE9.6050001@gmail.com> References: <49980AE9.6050001@gmail.com> Message-ID: Hi, > Recently, on both the jQuery(.com) and PHP mailinglists, a question has > arisen on how to properly secure a login form for a non-ssl web-application. > But the replies have been "get ssl".. :( What makes you think these are ill-advised? > I disagree, and think that with a proper layout of authentication > architecture, one can really secure a login system without having the > administrative overhead of installing SSL everywhere, and the monetary cost > for a SSL certificate for each domain. Well, it depends on how much security is enough for you. If the threats you are concerned with encompass the threats mitigated by SSL/TLS, then you should definitely use TLS. You could arguably use Kerberos, SSH or IPSEC to achieve the same level of security, but that would not be handy, since SSL/TLS is what is bundled in web servers and browsers. Oh, and you don't necessarily have to buy a certificate to Verisign to use SSL! The only thing your scheme seems to achieve is protect your password against eavesdroppers. But then, an eavesdropper could reuse your cookie to hijack your session. Your protocol does not mitigate such threats as session hijacking, MITM, phishing, HTTP cache poisoning and the list goes on. And whatever the shortcomings of TLS might be, it does mitigate these threats. Now, if you threat model goes along the lines of : * The only asset I want to protect is my password (because I use the same password to access critical data hosted on other services!) * I don't care whether my session is compromised. * I don't care whether my data is captured by an eavesdropper. Then your scheme might indeed be what you need. I did not give it more than a quick look though. And I would suggest you reconsider in the first place the reasons that made you reuse such a precious password. I hope this last paragraph makes sense and you will forgive my use of sarcasm. -- Erwan Legrand Simplicity is prerequisite for reliability. -- E. W. Dijkstra --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From krstic at solarsail.hcs.harvard.edu Tue Feb 17 20:36:40 2009 From: krstic at solarsail.hcs.harvard.edu (=?UTF-8?Q?Ivan_Krsti=C4=87?=) Date: Tue, 17 Feb 2009 20:36:40 -0500 Subject: how to properly secure non-ssl logins (php + ajax) In-Reply-To: <49980AE9.6050001@gmail.com> References: <49980AE9.6050001@gmail.com> Message-ID: <9A70FB72-27D0-4708-B315-5860B8D72FD1@solarsail.hcs.harvard.edu> On Feb 15, 2009, at 7:30 AM, Rene Veerman wrote: > Recently, on both the jQuery(.com) and PHP mailinglists, a question > has arisen on how to properly secure a login form for a non-ssl web- > application. What's the threat model? > users[user_id].user_login_hash = onewayHash(user_login_name + > preferences.pref_system_hash); That you're hashing the username suggests you're worried about eavesdroppers identifying the user at login time. But without SSL, it'll almost certainly be trivial for an eavesdropper to identify the user _after_ they login. What's the threat model? > //checks since when [browser IP] has last received a new challenge, > if < threshold : make a new challenge. else return old challenge. It is incorrect to rely on a bijection between IPs and users. > "preferences.pref_system_hash"> What you're calling a system hash is usually referred to as salt. > // walk through all the records in users table, for each, calculate: This is a completely broken approach, and prohibitive for applications with more than a handful of users. I suggest you start by trying to write down a clear, brief and coherent threat model. Once that's done, you can solicit feedback until you're satisfied with the definition of what you're trying to build. Once you can focus on implementation, I suggest looking at things like bcrypt, PBKDF2, and SRP as background reading. Cheers, -- Ivan Krsti? | http://radian.org --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From Jeff.Hodges at KingsMountain.com Wed Feb 18 13:04:58 2009 From: Jeff.Hodges at KingsMountain.com (' =JeffH ') Date: Wed, 18 Feb 2009 10:04:58 -0800 Subject: fyi: Researchers Hack Biometric Faces Message-ID: <20090218180515.96EA66C433@green.metzdowd.com> apropos to the biometrics essay in the Jan 2009 crypto-gram: Researchers Hack Biometric Faces slashdot.org/palm/18/09/02/17/216216_1.shtml from the face-off dept. posted by kdawson on 2009-02-18 01:35:00 yahoi sends in news from a week or so back: "Vietnamese researchers have cracked the facial recognition technology [1] used for authentication in Lenovo, Asus, and Toshiba laptops in lieu of the standard logon/password. The researchers were able to easily bypass the biometric authentication system built into the laptops by using photos of an authorized user, as well as by presenting multiple phony facial images in brute-force attacks. One of the researchers will demonstrate the hack at Black Hat DC this week. He says the laptop makers should remove the facial biometrics feature from their products because the vulnerability of this technology can't be fixed." [1] http://www.darkreading.com/security/vulnerabilities/showArticle.jhtml;jsess ionid=1TT4XOGIHD2DCQSNDLRSKHSCJUNN2JVN?articleID=213901113 --- end --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From pgut001 at cs.auckland.ac.nz Thu Feb 19 08:36:17 2009 From: pgut001 at cs.auckland.ac.nz (Peter Gutmann) Date: Fri, 20 Feb 2009 02:36:17 +1300 Subject: The password-reset paradox Message-ID: There are a variety of password cost-estimation surveys floating around that put the cost of password resets at $100-200 per user per year, depending on which survey you use (Gartner says so, it must be true). You can get OTP tokens as little as $5. Barely anyone uses them. Can anyone explain why, if the cost of password resets is so high, banks and the like don't want to spend $5 (plus one-off background infrastructure costs and whatnot) on a token like this? (My guess is that the password-reset cost estimates are coming from the same place as software and music piracy figures, but I'd still be interested in any information anyone can provide). Peter. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From smb at cs.columbia.edu Thu Feb 19 14:45:15 2009 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Thu, 19 Feb 2009 14:45:15 -0500 Subject: stripping https from pages Message-ID: <20090219144515.6e23fc85@cs.columbia.edu> http://www.theregister.co.uk/2009/02/19/ssl_busting_demo/ -- we've talked about this attack for quite a while; someone has now implemented it. --Steve Bellovin, http://www.cs.columbia.edu/~smb --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jkatz at cs.umd.edu Fri Feb 20 12:34:31 2009 From: jkatz at cs.umd.edu (Jonathan Katz) Date: Fri, 20 Feb 2009 12:34:31 -0500 (EST) Subject: Shamir secret sharing and information theoretic security In-Reply-To: References: <974103.34967.qm@web33304.mail.mud.yahoo.com> Message-ID: On Tue, 17 Feb 2009, R.A. Hettinga wrote: > hi, > > > I was going through the wikipedia example of shamir secret sharing which says > it is information theoretically secure. > > http://en.wikipedia.org/wiki/Shamir%27s_Secret_Sharing > ... The scheme is defined over a finite field *not* over the integers. When Shamir's scheme is run over a finite field, it is information theoretically secure. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From leichter at lrw.com Fri Feb 20 14:00:18 2009 From: leichter at lrw.com (Jerry Leichter) Date: Fri, 20 Feb 2009 14:00:18 -0500 Subject: The password-reset paradox In-Reply-To: References: Message-ID: <5C64F2D0-BACD-48F1-8F16-8282CC798B79@lrw.com> On Feb 19, 2009, at 8:36 AM, Peter Gutmann wrote: > There are a variety of password cost-estimation surveys floating > around that > put the cost of password resets at $100-200 per user per year, > depending on > which survey you use (Gartner says so, it must be true). > > > You can get OTP tokens as little as $5. Barely anyone uses them. > > Can anyone explain why, if the cost of password resets is so high, > banks and > the like don't want to spend $5 (plus one-off background > infrastructure costs > and whatnot) on a token like this? > > (My guess is that the password-reset cost estimates are coming from > the same > place as software and music piracy figures, but I'd still be > interested in any > information anyone can provide). I suspect some very biased analysis. For example, people who really need their passwords reset regularly will probably lose their tokens just as regularly. The cost of replacing one of those is high - not for the token itself, but for the administrative costs, which *must* be higher than for a password reset since they include all the work in a password reset (properly authenticating user/identifying account probably contribute the largest costs), plus all the costs of physically obtaining, registering, and distributing a replacement token - plus any implied costs due to the delays needed to physically deliver the token versus the potential for an instantaneous reset. I suppose the $100-$200 estimate might make sense for an organization that actually does password resets in a secure, carefully managed fashion. Frankly ... I, personally, have never seen such an organization. Password resets these days are mainly automated, with authentication and identification based on very weak secondary security questions. Even organizations you'd expect to be secure "authenticate" password reset requests based entirely on public information (e.g., if you know the name and badge number of an employee and the right help desk to call, you can get the password reset). New passwords are typically delivered by unsecured email. All too many organizations reset to a fixed, known value. It's quite true that organizations have found the costs of password resets to be too high. What they've generally done is saved money on the reset process itself, pushing the cost out into whatever budgets will get hit as by the resulting security breaches. -- Jerry > > Peter. > > --------------------------------------------------------------------- > The Cryptography Mailing List > Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From smb at cs.columbia.edu Fri Feb 20 14:03:52 2009 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Fri, 20 Feb 2009 14:03:52 -0500 Subject: The password-reset paradox In-Reply-To: References: Message-ID: <20090220140352.3a42d8ef@cs.columbia.edu> On Fri, 20 Feb 2009 02:36:17 +1300 pgut001 at cs.auckland.ac.nz (Peter Gutmann) wrote: > There are a variety of password cost-estimation surveys floating > around that put the cost of password resets at $100-200 per user per > year, depending on which survey you use (Gartner says so, it must be > true). > > You can get OTP tokens as little as $5. Barely anyone uses them. > > Can anyone explain why, if the cost of password resets is so high, > banks and the like don't want to spend $5 (plus one-off background > infrastructure costs and whatnot) on a token like this? > Because then you need PIN resets, lost token handling, and "my token doesn't work and I'm on a trip and my boss will kill me if I don't get this done" resets. I've personally had to deal with two of the three, and it was just as insecure as password resets.... --Steve Bellovin, http://www.cs.columbia.edu/~smb --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jmc at netbsd.org Fri Feb 20 14:25:05 2009 From: jmc at netbsd.org (James Chacon) Date: Fri, 20 Feb 2009 13:25:05 -0600 Subject: The password-reset paradox In-Reply-To: References: Message-ID: <94A2FA61-AEDB-4598-9D58-B09AD9C8C6D8@netbsd.org> On Feb 19, 2009, at 7:36 AM, Peter Gutmann wrote: > There are a variety of password cost-estimation surveys floating > around that > put the cost of password resets at $100-200 per user per year, > depending on > which survey you use (Gartner says so, it must be true). > > You can get OTP tokens as little as $5. Barely anyone uses them. > > Can anyone explain why, if the cost of password resets is so high, > banks and > the like don't want to spend $5 (plus one-off background > infrastructure costs > and whatnot) on a token like this? > > (My guess is that the password-reset cost estimates are coming from > the same > place as software and music piracy figures, but I'd still be > interested in any > information anyone can provide). I'd almost guarentee that's the reason. Buying OTP's comes out of direct funds right there on the spot whereas "it costs us XXX to reset passwords" is a nebulous stat that can likely be written however someone wants to read it. Plus given most OTP's have short expirations to generate rolling revenue for the provider (ala SecuriID) it's not a simple cost to start down this path for a lot of businesses. James --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From pgut001 at cs.auckland.ac.nz Sat Feb 21 05:37:09 2009 From: pgut001 at cs.auckland.ac.nz (Peter Gutmann) Date: Sat, 21 Feb 2009 23:37:09 +1300 Subject: Crypto Craft Knowledge In-Reply-To: <499A8FDE.4080406@links.org> Message-ID: Ben Laurie writes: >I totally agree, and this is the thinking behind the Keyczar project ( >http://www.keyczar.org/): If we're allowed to do self-promotion I'll have to mention cryptlib, which had as one of its principal design goals what was later stated by Ian Grigg as "there should only be one mode and that is secure". With cryptlib you have to work very, very hard to do things insecurely (generally by resorting to calling very low-level functions that the docs contain all sorts of dire warnings about), and some things just can't be done at all, plaintext key export being one really major sticking point that I get no end of complaints about (if you really want the gory details you can get them at either http://researchspace.auckland.ac.nz/handle/2292/2310 or at http://www.springer.com/computer/security+and+cryptology/book/978-0-387-95387-8 for a newer, cleaned-up version). This points out an awkward problem though, that if you're a commercial vendor and you have a customer who wants to do something stupid, you can't afford not to allow this. While my usual response to requests to do things insecurely is "If you want to shoot yourself in the foot then use CryptoAPI", I can only do this because I care more about security than money. For any commercial vendor who has to put the money first, this isn't an option. Peter. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From iang at systemics.com Sat Feb 21 07:19:01 2009 From: iang at systemics.com (Ian G) Date: Sat, 21 Feb 2009 13:19:01 +0100 Subject: The password-reset paradox In-Reply-To: References: Message-ID: <499FF135.20105@systemics.com> On 19/2/09 14:36, Peter Gutmann wrote: > There are a variety of password cost-estimation surveys floating around that > put the cost of password resets at $100-200 per user per year, depending on > which survey you use (Gartner says so, it must be true). > > You can get OTP tokens as little as $5. Barely anyone uses them. The two numbers are not comparable. One is the business cost to a company including all the internal, absorbed costs (see Steve's email), while the other is the pricelist of the supplier, without internal user-company costs. If we compared each method using the other's methodology, passwords would "list" at $0 per reset, and tokens recoveries would "estimate" at $105 to $205, plus shipping. > Can anyone explain why, if the cost of password resets is so high, banks and > the like don't want to spend $5 (plus one-off background infrastructure costs > and whatnot) on a token like this? It is a typical claim of the smart card & tokens industry that that the bulk unit cost of their product is an "important number". This is possibly because the sellers of such product cannot offer the real project work because they are too product oriented and/or too small. So they have to sell on somthing, and push "the number." It is for this reason that IBM once ruled the world, they bypassed the whole listprice/commodity issue. As a humourous aside, here's another deceptive sales approach available to the token world, the end of "something we know" security, as we know it :) http://www.technologyreview.com/computing/22201/?a=f iang --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From pgut001 at cs.auckland.ac.nz Sat Feb 21 09:34:08 2009 From: pgut001 at cs.auckland.ac.nz (Peter Gutmann) Date: Sun, 22 Feb 2009 03:34:08 +1300 Subject: stripping https from pages In-Reply-To: <20090219144515.6e23fc85@cs.columbia.edu> Message-ID: "Steven M. Bellovin" writes: >http://www.theregister.co.uk/2009/02/19/ssl_busting_demo/ -- we've talked >about this attack for quite a while; someone has now implemented it. My analysis of this (part of a much longer writeup): -- Snip -- [...] it's now advantageous for attackers to spoof non-SSL rather than their previous practice of trying to spoof SSL. The reason for this is that the Hamming distance beteween the eye-level SSL indicators and the no-SSL indicators (even without using the trick of putting a blue border around the favicon) is now so small that, as shown in the magnified view in [Reference to graphic snipped], it's barely noticeable (imagine this crammed up into the corner of a 1280 x 1024 display, at which point the difference is practically invisible). What makes this apparently counterintuitive spoof worthwhile is the destructive interaction between the near-invisible indicators and the change in the way that certificate errors are handled. In Firefox 3 any form of certificate error (including minor bookkeeping ones like forgetting to pay your annual CA tax) results in a huge scary warning that requires a great many clicks to bypass. In contrast not having a certificate at all produces almost no effect. Since triggering negative feedback from the browser is something that attackers generally want to avoid while failing to trigger positive feedback has little to no effect, the unfortunate interaction of these two changes in Firefox is that it's now of benefit to attackers to spoof non-SSL rather than spoofing SSL. -- Snip -- It's the law of unintended consequences in effect, HCI people pointed out some time ago that the change in the security indicators in FF3 was a bad idea but AFAIK 'Moxie Marlinspike' is the first person to show that it's even worse than that because of the destructive interaction between the security-indicator change and the cert-warning change. The first step in fixing this would be to undo several of the UI changes that lead to the easily-spoofed security indicators in FF3 and bring back the FF2 versions, which would at least partially upset the nasty interaction that makes this attack effective. Peter. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From edgerck at nma.com Sat Feb 21 14:33:32 2009 From: edgerck at nma.com (Ed Gerck) Date: Sat, 21 Feb 2009 11:33:32 -0800 Subject: Solving password problems one at a time, Re: The password-reset paradox In-Reply-To: <94A2FA61-AEDB-4598-9D58-B09AD9C8C6D8@netbsd.org> References: <94A2FA61-AEDB-4598-9D58-B09AD9C8C6D8@netbsd.org> Message-ID: <49A0570C.7070102@nma.com> List, In a business, one must write down the passwords and one must have a duplicate copy of it, with further backup, where management can access it. This is SOP. This is done not just in case the proverbial truck hits the employee, or fire strikes the building, or for the disgruntled cases, but because people do forget and a company cannot be at the same time responsible to the shareholders for its daily operations and not be responsible for the passwords that pretty much define how those daily operations are run. The idea that people should not write their passwords is thus silly from the security viewpoint of assuring availability and also for another reason. Users cannot be trusted to follow instructions. So, if one's security depends on their users following instructions, then something is wrong from the start. Solving password problems one at a time. I submit that the most important password problem is not that someone may find it written somewhere. The most important password problem is that people forget it. So, writing it down and taking the easy precaution of not keeping next to the computer solves the most important problem with not even a comparably significant downside. Having automatic, secure, and self-managed password recovery and password reset (in case the password cannot be recovered) apps are also part of this solution. I see the second most important problem in passwords to be that they usually have low entropy -- ie, passwords are usually easily guessable or easy to find in a quick search. The next two important problems in passwords are absence of mutual authentication (anti-phishing) and absence of two-factor authentication. To solve these three problems, at the same time, we have been experimenting since 2000 with a scheme where the Username/Password login is divided in two phases. In different applications in several countries over nine years, this has been tested with many hundreds of thousands of users and further improved. (you can also test it if you want). It has just recently been applied for TLS SMTP authentication where both the email address and the user's common name are also authenticated (as with X.509/PKI but without the certificates). This is how it works, both for the UI and the engine behind it. (UI in use since 2000, for web access control and authorization) After you enter a usercode in the first screen, you are presented with a second screen to enter your password. The usercode is a mnemonic 6-character code such as HB75RC (randomly generated, you receive from the server upon registration). Your password is freely choosen by you upon registration.That second screen also has something that you and the correct server know but that you did not disclose in the first screen -- we can use a simple three-letter combination ABC, for example. You use this to visually authenticate the server above the SSL layer. A rogue server would not know this combination, which allays spoofing considerations -- if you do not see the correct three-letter combination, do not enter your password. (UI in use since 2008, TLS SMTP, aka SMTPS, authentication). The SMTP Username is your email address, while the SMTP Password is obtained by the user writing in sequence the usercode and the password. With TLS SMTP, encryption is on from the start (implict SSL), so that neither the Username or the Password are ever sent in the clear. (UI 2008 version, web access control) Same as the TLS SMTP case, where a three-letter combination is provided for user anti-spoofing verification after the username (email address) is entered. In trust terms, the user does not trust the server with anything but the email address (which is public information) until the server has shown that it can be trusted (to that extent) by replying with the expected three-letter combination. In all cases, because the usercode is not controlled by the user and is random, it adds a known and independently generated amount of entropy to the Password. With a six-character (to be within the mnemonic range) usercode, usability considerations (no letter case, no symbols, overload "0" with "O", "1" with "I", for example), will reduce the entropy that can be added to (say) 35 bits. Considering that the average poor, short password chosen by users has between 20 and 40 bits of entropy, the end result is expected to have from 55 to 75 bits of entropy, which is quite strong. This can be made larger by, for example, refusing to accept passwords that are less than 8 characters long, by and adding more characters to the usercode alphabet and/or usercode (a 7-character code can still be mnemonic and human friendly). The fourth problem, and the last important password problem that would still remain, is the vulnerability of password lists themselves, that could be downloaded and cracked given enough time, outside the access protections of online login (three-strikes and you're out). This is also solved in our scheme by using implicit passwords from a digital certificate calculation. There are no username and password lists to be attacked in the first place. No target, hence not threat. In other words, to solve the fourth password problem we shift the information security solution space. From the yet-unsolved security problem of protecting servers and clients against penetration attacks to a connection reliability problem that is easily solved today. This approach of solving password problems one at a time, shows that the "big problem" of passwords is now reduced to rather trivial data management functions -- no longer usability or data security functions. Usability considerations still must be applied, of course, but not to solve the security problem. I submit that trying to solve the security problem while facing usability restrictions is what has prevented success so far. Comments are welcome. More at Best regards, Ed Gerck ed at gerck.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From charliek at microsoft.com Sat Feb 21 23:26:01 2009 From: charliek at microsoft.com (Charlie Kaufman) Date: Sat, 21 Feb 2009 20:26:01 -0800 Subject: The password-reset paradox In-Reply-To: References: Message-ID: I would assume (hope?) that when you have an OTP token, you get two factor authentication and don't stop needing a password. You would need a password either to unlock the OTP device or to enter alongside the OTP value. Otherwise, someone who finds your token can impersonate you. Assuming that's true, OTP tokens add costs by introducing new failure modes (e.g., I lost it, I ran it through the washing machine, etc.). I suspect a similar study would find that the cost of the OTP token would be $500-$700/yr. even if the device itself only cost $5. After all, passwords are free! --Charlie -----Original Message----- From: owner-cryptography at metzdowd.com [mailto:owner-cryptography at metzdowd.com] On Behalf Of Peter Gutmann Sent: Thursday, February 19, 2009 5:36 AM To: cryptography at metzdowd.com Subject: The password-reset paradox There are a variety of password cost-estimation surveys floating around that put the cost of password resets at $100-200 per user per year, depending on which survey you use (Gartner says so, it must be true). You can get OTP tokens as little as $5. Barely anyone uses them. Can anyone explain why, if the cost of password resets is so high, banks and the like don't want to spend $5 (plus one-off background infrastructure costs and whatnot) on a token like this? (My guess is that the password-reset cost estimates are coming from the same place as software and music piracy figures, but I'd still be interested in any information anyone can provide). Peter. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From rah at shipwright.com Sun Feb 22 06:25:41 2009 From: rah at shipwright.com (R.A. Hettinga) Date: Sun, 22 Feb 2009 06:25:41 -0500 Subject: Call for Participation: Computers, Freedom & Privacy Conference Research Showcase References: <20090222071926.16936.qmail@cfp.acm.org> Message-ID: <55FDE719-5024-4709-AA7B-68B40EF7CAAE@shipwright.com> There, Adam. Anybody I've forgotten? Cheers, RAH Telegraph. Telephone. Tell Hettinga. ----- Begin forwarded message: From: announce at cfp.acm.org Date: February 22, 2009 2:19:26 AM EST To: rah at shipwright.com Subject: Call for Participation: Computers, Freedom & Privacy Conference Research Showcase CALL FOR PARTICIPATION COMPUTERS, FREEDOM AND PRIVACY CONFERENCE RESEARCH SHOWCASE June 1-4, 2009, Washington DC http://www.cfp2009.org/ This year's Computers, Freedom and Privacy Conference will feature a research showcase in the form of a research poster session as well as a research panel that includes the authors of the best research posters. CFP is the leading policy conference exploring the impact of the Internet, computers, and communications technologies on society. For more than a decade, CFP has anticipated policy trends and issues, and has shaped the public debate on the future of privacy and freedom in an ever more technology-filled world. CFP focuses on topics such as freedom of speech, privacy, intellectual property, cybersecurity, telecommunications, electronic democracy, digital rights and responsibilities, and the future of technologies and their implications. Researchers who work in any of these areas are invited to submit research abstracts. We seek research abstracts describing recent or ongoing research in all areas relevant to the conference themes. We are especially interested in research abstracts that present results with clearly articulated policy implications. Abstracts should be written for a general audience and should avoid using technical or legal jargon. Submitted research abstracts can be either unpublished original research (including work in progress), or research that has been recently published (2008 or 2009). Accepted abstracts or links to published papers will be posted on the CFP web site and authors will be invited to present their work in the form of a poster during a poster session on June 1 or 2, 2009. The authors of the best research posters will be invited to participate in a panel discussion. Please submit your abstract via email to cfp-posters AT cups.cs.cmu.edu. In the body of the message include the title, authors, and brief abstract. If the research has been published, also include the full citation and URL. Attach a 1-2 page extended abstract or the full paper as a PDF file. Please note that poster abstracts should be formatted like short papers, not like posters. Authors of accepted posters will be sent information about how to prepare and format posters for the conference. Submissions will close at 5pm, US East Coast time, the evening of April 3. CFP2009 RESEARCH SHOWCASE COMMITTEE Lorrie Faith Cranor, Carnegie Mellon University (co-chair) Alessandro Acquisti, Carnegie Mellon University (co-chair) Lance Hoffman, George Washington University Deirdre Mulligan, University of California, Berkeley Adam Shostack, Microsoft http://www.cfp2009.org/wiki/index.php/Research_Showcase --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From leichter at lrw.com Sun Feb 22 14:37:13 2009 From: leichter at lrw.com (Jerry Leichter) Date: Sun, 22 Feb 2009 14:37:13 -0500 Subject: Shamir secret sharing and information theoretic security In-Reply-To: References: <974103.34967.qm@web33304.mail.mud.yahoo.com> Message-ID: On Feb 17, 2009, at 6:03 PM, R.A. Hettinga wrote: > Begin forwarded message: > > From: Sarad AV > Date: February 17, 2009 9:51:09 AM EST > To: cypherpunks at al-qaeda.net > Subject: Shamir secret sharing and information theoretic security > > hi, > > > I was going through the wikipedia example of shamir secret sharing > which says it is information theoretically secure. > > http://en.wikipedia.org/wiki/Shamir%27s_Secret_Sharing > > In the example in that url, they have a polynomial > f(x) = 1234 + 166.x + 94.x^2 > > they construct 6 points from the polynomial > (1,1494);(2,1942);(3,2578);(4,3402);(5,4414);(6,5615) > > the secret here is S=1234. The threshold k=3 and the number of > participants n=6. > > If say, first two users collude then > 1494 = S + c1 .1 + c2.1 > 1942 = S + c1 .2 + c2.2 > > clearly, one can start making inferences about the sizes of the > unknown co-efficients c1 and c2 and S. > > > However, it is said in the URL above that Shamir secret is > information theoretically secure It is. Knowing some of the coefficients, or some constraints on some of the coefficients, is just dual to knowing some of the points. Neither affects the security of the system, because the coefficients *aren't secrets* any more than the values of f() at particular points are. They are *shares* of secrets, and the security claim is that without enough shares, you have no information about the remaining shares. The argument for information-theoretic security is straightforward: An n'th degree polynomial is uniquely specified if you know its value at n+1 points - or, dually, if you know n+1 coefficients. On the other hand, *any* set of n+1 points (equivalently, any set of n+1 coefficients) corresponds to a polynomial. Taking a simple approach where the secret is the value of the polynomial at 0, given v_1, v_2, ..., v_n and *any* value v, there is a (unique) polynomial of degree at most n with p(0) = v and p(i) = v_i for i from 1 to n. Dually, the value p(0) is exactly the constant term in the polynomial. Given any fixed set of values c_1, c_2, ..., c_n, and any other value c there is obviously a polynomial p(x) = Sum_{0 to n}(c_i x^i), where c_0 = c, and indeed p(0) = c. Or ... in terms of your problem: Even if I give you, not just a pair of linear equations in c1, c2, and S, but the actual values c1 and c2 - the constant term (the secret) can still be anything at all. The description above is nominally for polynomials over the reals. It works equally for polynomials over any field - like the integers mod some prime, for example. For a finite field, there is an obvious interpretation of probability (the uniform probability distribution), and given that, "no information" can be interpreted in terms of the difference between your a priori and a posterio estimates of the probability that p(0) takes on any particular value, the values of p(1), ..., p(n) (and that differences is exactly 0). Because there can be no uniform probability distribution over all the reals, you can't state things in quite the same way, and "information theoretic security" is a bit of a vague notion. Then again, no one does computations over the reals. FP values - say, IEEE single precision - aren't a field and there are undoubtedly big biases if you try to use Shamir's technique there. (It should work over infinite-precision rationals.) -- Jerry > > > in the url below they say > http://en.wikipedia.org/wiki/Information_theoretic_security > "Secret sharing schemes such as Shamir's are information > theoretically secure (and in fact perfectly secure) in that less > than the requisite number of shares of the secret provide no > information about the secret." > > how can that be true? we already are able to make inferences. > > Moreover say that, we have 3 planes intersecting at a single point > in euclidean space, where each plane is a secret share(Blakely's > scheme). With 2 plane equations, we cannot find the point of > intersection but we can certainly narrow down to the line where the > planes intersect. There is information loss about the secret. > > > from this it appears that Shamir's secret sharing scheme leaks > information from its shares but why is it then considered > information theoretically secure? > > They do appear to leak information as similar to k-threshold schemes > using chinese remainder theorem. > > what am i missing? > > Thanks, > Sarad. > > > --------------------------------------------------------------------- > The Cryptography Mailing List > Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From leichter at lrw.com Sun Feb 22 15:14:42 2009 From: leichter at lrw.com (Jerry Leichter) Date: Sun, 22 Feb 2009 15:14:42 -0500 Subject: "Sweden's air force 'can't send secret messages'" Message-ID: <31C70EB5-76F0-49EE-BE3D-4F74AFC8E226@lrw.com> Summary: Sweden developed its own secure encryption system for communicating with fighter jets. A new jet, which is scheduled to replace all existing fighters by 2011, uses a NATO-standard encryption system - only. There is no plan in place to upgrade the ground systems to the NATO standard. So the new jets must communicate in the clear. http://www.thelocal.se/17724/20090220/ -- Jerry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From dcook at cs.columbia.edu Sun Feb 22 17:00:35 2009 From: dcook at cs.columbia.edu (Debra L Cook) Date: Sun, 22 Feb 2009 17:00:35 -0500 (EST) Subject: The password-reset paradox In-Reply-To: <5C64F2D0-BACD-48F1-8F16-8282CC798B79@lrw.com> References: <5C64F2D0-BACD-48F1-8F16-8282CC798B79@lrw.com> Message-ID: On Fri, 20 Feb 2009, Jerry Leichter wrote: > On Feb 19, 2009, at 8:36 AM, Peter Gutmann wrote: > >> There are a variety of password cost-estimation surveys floating around >> that >> put the cost of password resets at $100-200 per user per year, depending on >> which survey you use (Gartner says so, it must be true). >> >> >> You can get OTP tokens as little as $5. Barely anyone uses them. >> >> Can anyone explain why, if the cost of password resets is so high, banks >> and >> the like don't want to spend $5 (plus one-off background infrastructure >> costs >> and whatnot) on a token like this? >> >> (My guess is that the password-reset cost estimates are coming from the >> same >> place as software and music piracy figures, but I'd still be interested in >> any >> information anyone can provide). > I suspect some very biased analysis. For example, people who really need > their passwords reset regularly will probably lose their tokens just as > regularly. The cost of replacing one of those is high - not for the token > itself, but for the administrative costs, which *must* be higher than for a > password reset since they include all the work in a password reset (properly > authenticating user/identifying account probably contribute the largest > costs), plus all the costs of physically obtaining, registering, and > distributing a replacement token - plus any implied costs due to the delays > needed to physically deliver the token versus the potential for an > instantaneous reset. > > I suppose the $100-$200 estimate might make sense for an organization that > actually does password resets in a secure, carefully managed fashion. > Frankly ... I, personally, have never seen such an organization. Password > resets these days are mainly automated, with authentication and > identification based on very weak secondary security questions. Even > organizations you'd expect to be secure "authenticate" password reset > requests based entirely on public information (e.g., if you know the name and > badge number of an employee and the right help desk to call, you can get the > password reset). New passwords are typically delivered by unsecured email. > All too many organizations reset to a fixed, known value. > > It's quite true that organizations have found the costs of password resets to > be too high. What they've generally done is saved money on the reset process > itself, pushing the cost out into whatever budgets will get hit as by the > resulting security breaches. > -- Jerry > >> >> Peter. >> There is nothing technical in the following, but I wanted to reply because the cost issue isn't the only reason. The format of the token and user interface are just as important. Think of a user with multiple accounts and how to have the tokens on a single device with a single user interface when the banks don't use the same token vendor. For large banks, cost was cited as a reason - both for deployment and synchronizations/replacements. Another issue is that even with banks and brokerage firms in the US that offer tokens to customers, the bank thinks in term of the customer having a token for one bank (itself) and not the inconvenience that a token per bank places on a customer. Also, in a consumer scenario as opposed to a work scenario, the consumer wants to be able to log into his/her bank account regardless of physical location and PC/laptop. In a study I did last year with middle-age, well-educated adults, the average number of bank and brokerage accounts accessed online was 6. One person had 20. No one wanted to carry around multiple hardware tokens in case they need to access an account from someplace other than home. No one wanted a cup full of hardware tokens next to their PC at home. For banks that require certain customers (such as those with an account below some minimum balance) pay for their token, no one wants to pay $15-$25 every couple years for a single token when they don't understand what it provides over a static password. Without commenting on security of software implementations, software-based tokens offered for browsers and cell phones get rid of the hardware issue for users. Broswer-based tokens don't solve the problem of users wanting to log in from anywhere. Tokens on cell phones are more promising in terms of human factors if the user is not required to install a different application for every bank account and has a standard interface to all the tokens, and has a way of migrating tokens to a new cell phone. However, what I've seen so far are vendors charging a small licensing fee per token per a specific number of years. Thus the bank either needs to cover the cost or a user pays a fee for every token every couple of years. To deploy tokens, the bank will need to either install and start the tokens on the cell phone for the customer or expect a large percentage of calls to a help desk. An alternative of having an OTP delivered to the user's cell phone on an as needed basis and eliminating the user from possessing a token isn't acceptable to users because a user doesn't always have cell phone connectivity - there are users in somewhat dense surburban areas who don't have reliable cell phone service at home because they didn't want cell phone towers in their town. In the study, participants were given a cell phone that ran 10 software based tokens on it (using OATH's HOTP) and a menu to access a list of the tokens. The participants were asked to register for online access then log into a mock bank account using each of 5 different methods. 4 methods were replications of existing methods used by US banks, of which two used ad-hoc methods in addition to the password. The fifth method used a pin+OTP from the token. The registration for the token method required the user enter a login name, a pin of their choosing and 8 character value into a web page then enter the 8 digits into the token on the cell phone to seed it. This was to see if users could complete a series of simple steps to initialize a token. Each participant was walked through the instructions (which also appeared on the web pages they were using to register and log in) then left to complete the 5 methods. In a set of participants with graduate degrees in math and cs, and who each uses a hardware token at work, 25% had to ask for help with the token. It was worse with a general population of adults. - Debbie Cook --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From rah at shipwright.com Sun Feb 22 17:09:30 2009 From: rah at shipwright.com (R.A. Hettinga) Date: Sun, 22 Feb 2009 17:09:30 -0500 Subject: SHA-3 Round 1: Buffer Overflows Message-ID: <2DDB4C4E-31CE-47AF-B0AF-155086347F3A@shipwright.com> Off by On A Software Security Blog Search: Friday, 20 February 2009 SHA-3 Round 1: Buffer Overflows ? Gartner Magic Quadrant for Static Analysis | Main NIST is currently holding a competition to choose a design for the SHA-3 algorithm (Bruce Schneier has a good description of secure hashing algorithms and why this is important). The reference implementations of a few of the contestants have bugs in them that could cause crashes, performance problems, or security problems if they are used in their current state. Based on our bug reports, some of those bugs have already been fixed. Here's the full story: The main idea behind the competition is to have the cryptographic community weed out the less secure algorithms and choose from the remainder. A couple of us at Fortify (thanks to Doug Held for his help) decided to do our part. We're not hard-core cryptographers, so we decided to take a look at the reference implementations. This competition is to pick an algorithm, but all of the submissions had to include a C implementation, to demonstrate how it works and test the speed, which will be a factor in the final choice. We used Fortify SCA to audit the 42 projects accepted into Round 1. We were impressed with the overall quality of the code, but we did find significant issues in a few projects, including buffer overflows in two of the projects. We have emailed the submission teams with our findings and one team has already corrected their implementation. Confirmed issues: Implementation Buffer Overflow Out-of-bounds Read Memory Leak Null Dereference Blender 1 0 0 0 Crunch 0 0 0 4 FSB 0 0 3 11 MD6 3 2 0 0 Vortex 0 0 1 15 One of the projects with buffer issues was MD6, the implementation provided Professor Ron Rivest and his team. All of the problems came back to the hashval field of the md6_state struct: unsigned char hashval[ (md6_c/2)*(md6_w/8) ]; The buffer size is determined by two constants: #define w md6_w /* # bits in a word (64) */ #define c md6_c /* # words in compression output (16) */ At several points, this buffer is read or written to using a different bound: if (z==1) /* save final chaining value in st->hashval */ { memcpy( st->hashval, C, md6_c*(w/8) ); return MD6_SUCCESS; } Further analysis showed that ANSI standard layout rules would make incorrect behavior unlikely, but other compilers may have allowed it to be exploited. The MD6 team has doubled the size of the vulnerable buffer, which eliminated the risk. In this case, Fortify SCA found an issue that would have been difficult to catch otherwise. The other buffer overflow was found in the Blender implementation, from Dr. Colin Bradbury. This issue was a classic typo: DataLength sourceDataLength2[3]; // high order parts of data length ... if (ss.sourceDataLength < (bcount | databitlen)) // overflow if (++ss.sourceDataLength2[0] == 0) // increment higher order count if (++ss.sourceDataLength2[1] == 0) // and the next higher order ++ss.sourceDataLength2[3]; // and the next one, etc. The developer simply mistyped, using 3 instead of 2 for the array access. This issue was probably not caught because it would not be exposed without a very large input. The other issues we found were memory leaks and null dereferences from memory allocation. This just emphasizes what we already knew about C, even the most careful, security conscious developer messes up memory management. Some of you are saying, so what? These are reference implementations and this is only Round 1. There are a few problems with that thought. Reference implementations don't disappear, they serve as a starting point for future implementations or are used directly. A bug in the RSA reference implementation was responsible for vulnerabilities in OpenSSL and two seperate SSH implementations. They can also be used to design hardware implementations, using buffer sizes to decide how much silicon should be used. The other consideration is speed, which will be a factor in the choice of algorithm. The fix for the MD6 buffer issues was to double the size of a buffer, which could degrade the performance. On the other hand, memory leaks could slow an implementation. A correct implementation is an accurate implementation. We will put out a more detailed report on all the results soon. Technorati Tags: sha-3 buffer overflow Posted by jforsythe at 5:41 PM in crypto --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From santiago.aguiar at gmail.com Mon Feb 23 09:21:33 2009 From: santiago.aguiar at gmail.com (Santiago Aguiar) Date: Mon, 23 Feb 2009 12:21:33 -0200 Subject: Brazilian mandatory vehicle anti-theft and tracking regulation Message-ID: <49A2B0ED.70200@gmail.com> Hello, I have been following this list for some time, and I wanted to comment on one of the projects I'm working on, just to hear your comments about it (and because I think is quite interesting for its security implications...). Starting on August 2009, all new Brazilian vehicles will need to include a mandatory anti-theft device, installed from factory, that will be activated on demand by the vehicle owner. The device (TCU) will connect with an owner selected service operator (SO) by using a standard protocol defined by the National Department of Traffic (DENATRAN), closely based on Motorola's ACP protocol, over GPRS. The main functions of the anti-theft device are vehicle tracking, and remote blocking of the vehicle by the service operator on request of the owner or of the police department. As you may notice, the risk of not implementing this in the right way, are enormous. Not only because of privacy concerns, but because anyone could just block/unblock your car engine or doors remotely, and massively (think hundreds of thousands cars in some SO). In my present opinion, there's no way they are going to do it correctly. One of the issues is how the TCU will be activated. The idea is the the owner will be able to switch SO whenever he wants, and for that an activation protocol is needed. The current 'high-level' proposal by DENATRAN is here http://www.gristec.com.br/disco_virtual/SMS_Proposal_ACP_245.pdf In few words, there's a default authkey installed on every device, and a 'secret' key for each SO. When a SO needs to activate a device, it sends an SMS message to the TCU so it connects to the SO server through GRPS, then the SO configures the TCU with it's authkey, and from that point on the TCU only answers messages that include that authkey. To change to another SO, the current SO sends a message that sets the authkey to the default one, and repeats the process. I can think of many of ways to defeat an scheme like that (from just getting the SIM card from the TCU and playing the protocol against the SO to get it's key, eavesdropping some weak point, replaying SO->TCU commands, etc.). The reasons of why they say the proposal is OK are based on assuming: a) the secrecy of the SO authkey, which is sent in clear to every activated device b) the secrecy of the ICC-ID associated to each phone number (at least to do something massively), which is known by, at least every, SO, c) the security of the network (TCU->(GRPS/GSM)->Telco->(VPN)->SO to avoid eavesdropping/spoofing, which is compromised by any compromised SO). My company started to participate on the working groups that are trying to define all the technical and process issues of the regulation, and I'm personally deeply concerned. We are not security experts (though we build the tracking units and develop it's firmware and server side components), but we want to contribute as much as we can to the process. Do you know of any similar experiences we can base on? Do you think this is doomed to fail? Am I being too paranoid and things are done this way normally and attacks 'just don't happen';)? Any comment is welcomed! Thanks! -- Santiago --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From crawdad at fnal.gov Mon Feb 23 13:05:29 2009 From: crawdad at fnal.gov (Matt Crawford) Date: Mon, 23 Feb 2009 12:05:29 -0600 Subject: The password-reset paradox In-Reply-To: References: Message-ID: <57278C9C-7D57-431C-81A9-839BC4B2552B@fnal.gov> On Feb 21, 2009, at 10:26 PM, Charlie Kaufman wrote: > Assuming that's true, OTP tokens add costs by introducing new > failure modes (e.g., > I lost it, I ran it through the washing machine, etc.) Or even more surprising hazards. http://home.fnal.gov/~crawdad/CryptoCard.jpg The token on the left in that picture was issued in 2003 by postal mail to a Sloane Digital Sky Survey collaborator at the US Naval Observatory. All incoming packages were subjected to high doses of electron and x-ray radiation, as it is also the residence of the Vice President. On the right is the normal appearance of the token and its holder. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From sbg at acw.com Mon Feb 23 13:05:47 2009 From: sbg at acw.com (sbg at acw.com) Date: Mon, 23 Feb 2009 11:05:47 -0700 (MST) Subject: Shamir secret sharing and information theoretic security In-Reply-To: References: <974103.34967.qm@web33304.mail.mud.yahoo.com> Message-ID: <3477.70.116.23.89.1235412347.squirrel@www.acw.com> Is it possible that the amount of information that the knowledge of a sub-threshold number of Shamir fragments leaks in finite precision setting depends on the finite precision implementation? For example, if you know 2 of a 3 of 5 splitting and you also know that the finite precision setting in which the fragments will be used is IEEE 32-bit floating point or GNU bignum can you narrow down the search for the key relative to knowing no fragments and nothing about the finite precision implementation? --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From leichter at lrw.com Mon Feb 23 14:03:01 2009 From: leichter at lrw.com (Jerry Leichter) Date: Mon, 23 Feb 2009 14:03:01 -0500 Subject: Shamir secret sharing and information theoretic security In-Reply-To: <3477.70.116.23.89.1235412347.squirrel@www.acw.com> References: <974103.34967.qm@web33304.mail.mud.yahoo.com> <3477.70.116.23.89.1235412347.squirrel@www.acw.com> Message-ID: <0CFC504B-2F09-4AAA-BA80-6BDFA62F880E@lrw.com> On Feb 23, 2009, at 1:05 PM, sbg at acw.com wrote: > Is it possible that the amount of information that the knowledge of a > sub-threshold number of Shamir fragments leaks in finite precision > setting > depends on the finite precision implementation? > > For example, if you know 2 of a 3 of 5 splitting and you also know > that > the finite precision setting in which the fragments will be used is > IEEE > 32-bit floating point or GNU bignum can you narrow down the search > for the > key relative to knowing no fragments and nothing about the finite > precision implementation? I've never seen any work done in this direction. When you consider exact values, FP arithmetic is very messy and has almost no nice mathematical properties. (It's nice in a model where all you care about is relative error - which is actually a rather unnatural model!) As a result, I think it's unlikely you can come up with any general theory here. But you can probably come up with examples showing that there's a problem. It's usually easiest to work with a simpler form of FP math - e.g., assume 4 decimal digits and a 1-digit decimal exponent. Consider just quadratics, which we can write as p(x) = (x - r1)*(x - r2). If r1*r2 overflows in a particular FP system, you can't write down the value of the constant coefficient - hence, you can't write down the value p(0). Yet p(1) and p(2) might have values you *can* write down. I'm not sure how you leverage this to produce a bias, but it certainly shows that FP arithmetic just plain doesn't have the right properties to support the reasoning behind Shamir secret sharing.... -- Jerry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From dave at davekleiman.com Mon Feb 23 13:41:45 2009 From: dave at davekleiman.com (Dave Kleiman) Date: Mon, 23 Feb 2009 13:41:45 -0500 Subject: Solving password problems one at a time, Re: The password-reset paradox In-Reply-To: <49A0570C.7070102@nma.com> References: <94A2FA61-AEDB-4598-9D58-B09AD9C8C6D8@netbsd.org> <49A0570C.7070102@nma.com> Message-ID: <05f701c995e6$624278f0$26c76ad0$@com> >> On February 21, 2009 14:34, Ed Gerck wrote: >> In a business, one must write down the passwords and one must have a >> duplicate copy of it, with further backup, where management can access >> it. This is SOP. >> >> This is done not just in case the proverbial truck hits the employee, or >> fire strikes the building, or for the disgruntled cases, but because >> people do forget and a company cannot be at the same time responsible to >> the shareholders for its daily operations and not be responsible for the >> passwords that pretty much define how those daily operations are run. The idea that people should not write their passwords is thus silly from the security viewpoint of assuring availability and also for another reason. Users cannot be trusted to follow instructions. So, if one's security depends on their users following instructions, then something is wrong from the start. Most organizations I interact with have an SOP that nobody should ever know another's password. The only passwords that are safe stored are those for encryption or the top level admin. You take on a degree of legal responsibility if you have the ability to logon as another user. Since the admin can easily change a user's password, what would be the necessity for this risk? All password changes should be audited. Respectfully, Dave Kleiman - http://www.ComputerForensicExaminer.com 4371 Northlake Blvd #314 Palm Beach Gardens, FL 33410 561.310.8801 --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From michaelslists at gmail.com Mon Feb 23 14:48:03 2009 From: michaelslists at gmail.com (silky) Date: Tue, 24 Feb 2009 06:48:03 +1100 Subject: Solving password problems one at a time, Re: The password-reset paradox In-Reply-To: <49A0570C.7070102@nma.com> References: <94A2FA61-AEDB-4598-9D58-B09AD9C8C6D8@netbsd.org> <49A0570C.7070102@nma.com> Message-ID: <5e01c29a0902231148m5fc3febga18ad2774edc80fe@mail.gmail.com> On Sun, Feb 22, 2009 at 6:33 AM, Ed Gerck wrote: > List, > > In a business, one must write down the passwords and one must have a > duplicate copy of it, with further backup, where management can access it. > This is SOP. > > This is done not just in case the proverbial truck hits the employee, or > fire strikes the building, or for the disgruntled cases, but because people > do forget and a company cannot be at the same time responsible to the > shareholders for its daily operations and not be responsible for the > passwords that pretty much define how those daily operations are run. > > The idea that people should not write their passwords is thus silly from the > security viewpoint of assuring availability and also for another reason. > Users cannot be trusted to follow instructions. So, if one's security > depends on their users following instructions, then something is wrong from > the start. > > Solving password problems one at a time. > > I submit that the most important password problem is not that someone may > find it written somewhere. The most important password problem is that > people forget it. So, writing it down and taking the easy precaution of not > keeping next to the computer solves the most important problem with not even > a comparably significant downside. Having automatic, secure, and > self-managed password recovery and password reset (in case the password > cannot be recovered) apps are also part of this solution. > > I see the second most important problem in passwords to be that they usually > have low entropy -- ie, passwords are usually easily guessable or easy to > find in a quick search. > > The next two important problems in passwords are absence of mutual > authentication (anti-phishing) and absence of two-factor authentication. > > To solve these three problems, at the same time, we have been experimenting > since 2000 with a scheme where the Username/Password login is divided in two > phases. In different applications in several countries over nine years, this > has been tested with many hundreds of thousands of users and further > improved. (you can also test it if you want). It has just recently been > applied for TLS SMTP authentication where both the email address and the > user's common name are also authenticated (as with X.509/PKI but without the > certificates). > > This is how it works, both for the UI and the engine behind it. > > (UI in use since 2000, for web access control and authorization) After you > enter a usercode in the first screen, you are presented with a second screen > to enter your password. The usercode is a mnemonic 6-character code such as > HB75RC (randomly generated, you receive from the server upon registration). > Your password is freely choosen by you upon registration.That second screen > also has something that you and the correct server know but that you did not > disclose in the first screen -- we can use a simple three-letter combination > ABC, for example. You use this to visually authenticate the server above the > SSL layer. A rogue server would not know this combination, which allays > spoofing considerations -- if you do not see the correct three-letter > combination, do not enter your password. Well, this is an old plan and useless. Because any rogue server can just submit the 'usercode' to the real server, and get the three letters. Common implementations of this use pictures (cats dogs family user-uploaded, whatever). And FWIW, renaming "password" to "usercode" doesn't make it more secure. > (UI in use since 2008, TLS SMTP, aka SMTPS, authentication). The SMTP > Username is your email address, while the SMTP Password is obtained by the > user writing in sequence the usercode and the password. With TLS SMTP, > encryption is on from the start (implict SSL), so that neither the Username > or the Password are ever sent in the clear. I have no idea what you're referring to here. It doesn't seem to make sense in the context of the rest of your email. Are you saying your system is useless given SSL? (Aside from the fact that it's useless anyway ...) > (UI 2008 version, web access control) Same as the TLS SMTP case, where a > three-letter combination is provided for user anti-spoofing verification > after the username (email address) is entered. In trust terms, the user does > not trust the server with anything but the email address (which is public > information) until the server has shown that it can be trusted (to that > extent) by replying with the expected three-letter combination. Wrong again, see above. > In all cases, because the usercode is not controlled by the user and is > random, it adds a known and independently generated amount of entropy to the > Password. Disregarding all of the above, consider that it may not be random, and given that you can generate them on signup there is the potential to know or learn the RNG a given site is using. > With a six-character (to be within the mnemonic range) usercode, usability > considerations (no letter case, no symbols, overload "0" with "O", "1" with > "I", for example), will reduce the entropy that can be added to (say) 35 > bits. Considering that the average poor, short password chosen by users has > between 20 and 40 bits of entropy, the end result is expected to have from > 55 to 75 bits of entropy, which is quite strong. Doesn't really matter given it prevents nothing. Sites may as well just ask for two passwords. > This can be made larger by, > for example, refusing to accept passwords that are less than 8 characters > long, by and adding more characters to the usercode alphabet and/or usercode > (a 7-character code can still be mnemonic and human friendly). > > The fourth problem, and the last important password problem that would still > remain, is the vulnerability of password lists themselves, that could be > downloaded and cracked given enough time, outside the access protections of > online login (three-strikes and you're out). This is also solved in our > scheme by using implicit passwords from a digital certificate calculation. > There are no username and password lists to be attacked in the first place. > No target, hence not threat. Eh? So what data was used to do the digital certificate calculation? That's still around. > In other words, to solve the fourth password problem we shift the > information security solution space. From the yet-unsolved security problem > of protecting servers and clients against penetration attacks to a > connection reliability problem that is easily solved today. > > This approach of solving password problems one at a time, shows that the > "big problem" of passwords is now reduced to rather trivial data management > functions -- no longer usability or data security functions. Sorry, you've solved nothing. > Usability considerations still must be applied, of course, but not to solve > the security problem. I submit that trying to solve the security problem > while facing usability restrictions is what has prevented success so far. > > Comments are welcome. More at Stop spamming? > Best regards, > Ed Gerck > ed at gerck.com -- noon silky http://www.boxofgoodfeelings.com/ --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From hal at finney.org Mon Feb 23 14:30:16 2009 From: hal at finney.org (Hal Finney) Date: Mon, 23 Feb 2009 11:30:16 -0800 (PST) Subject: Shamir secret sharing and information theoretic security Message-ID: <20090223193016.222A414F6E1@finney.org> > Is it possible that the amount of information that the knowledge of a > sub-threshold number of Shamir fragments leaks in finite precision setting > depends on the finite precision implementation? > > For example, if you know 2 of a 3 of 5 splitting and you also know that > the finite precision setting in which the fragments will be used is IEEE > 32-bit floating point or GNU bignum can you narrow down the search for the > key relative to knowing no fragments and nothing about the finite > precision implementation? No, not really. Think of this simple example. We will have two shares, x and y. Let's work mod 10 to make it simple. The secret value v will be x + y mod 10. The shares are created by choosing a random value for x, and then setting y to be v - x mod 10. So for example if you want to share v = 5, and x is 9, then y will be 6: 9 + 6 = 5 mod 10. Suppose that you happen to know from other information that the secret value v is either 1 or 2. Now you learn a share value x = 5. How much have you learned about v? Nothing: you can deduce that y is either 6 or 7, but you have no way of knowing which. Whatever x had turned out to be, there would be a y value corresponding to each possible v value. Learning a share tells you nothing about v, and in general Shamir sharing, learning all but one of the needed shares similarly tells you nothing about the secret. Hal Finney --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jkatz at cs.umd.edu Mon Feb 23 15:47:33 2009 From: jkatz at cs.umd.edu (Jonathan Katz) Date: Mon, 23 Feb 2009 15:47:33 -0500 (EST) Subject: Shamir secret sharing and information theoretic security In-Reply-To: <0CFC504B-2F09-4AAA-BA80-6BDFA62F880E@lrw.com> References: <974103.34967.qm@web33304.mail.mud.yahoo.com> <3477.70.116.23.89.1235412347.squirrel@www.acw.com> <0CFC504B-2F09-4AAA-BA80-6BDFA62F880E@lrw.com> Message-ID: On Feb 23, 2009, at 1:05 PM, sbg at acw.com wrote: > > Is it possible that the amount of information that the knowledge of a > sub-threshold number of Shamir fragments leaks in finite precision setting > depends on the finite precision implementation? > > For example, if you know 2 of a 3 of 5 splitting and you also know that > the finite precision setting in which the fragments will be used is IEEE > 32-bit floating point or GNU bignum can you narrow down the search for the > key relative to knowing no fragments and nothing about the finite > precision implementation? I'm not sure what is the motivation for all this. Shamir's scheme is supposed to be done over a finite field (or else, as was previously pointed out, there are issues with sampling a uniform element of the field). Since we have fields of size 2^k for all k, any bit-string can be encoded nicely in a finite field of appropriate size. (And very long strings can be broken into shorter chunks, each chunk being shared on its own.) --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From iang at systemics.com Mon Feb 23 15:44:31 2009 From: iang at systemics.com (Ian G) Date: Mon, 23 Feb 2009 21:44:31 +0100 Subject: SHA-3 Round 1: Buffer Overflows In-Reply-To: <2DDB4C4E-31CE-47AF-B0AF-155086347F3A@shipwright.com> References: <2DDB4C4E-31CE-47AF-B0AF-155086347F3A@shipwright.com> Message-ID: <49A30AAF.8090709@systemics.com> On 22/2/09 23:09, R.A. Hettinga wrote: > > This just emphasizes what we already knew about C, even the most > careful, security conscious developer messes up memory management. No controversy there. > Some > of you are saying, so what? These are reference implementations and this > is only Round 1. There are a few problems with that thought. > Reference implementations don't disappear, they serve as a starting > point for future implementations or are used directly. A bug in the RSA > reference implementation was responsible for vulnerabilities in OpenSSL > and two seperate SSH implementations. They can also be used to design > hardware implementations, using buffer sizes to decide how much silicon > should be used. It is certainly appreciated that work is put in to improve the implementations during the competition (my group did something similar for the Java parts of AES, so I know how much work it can be). However I think it is not really efficient at this stage to insist on secure programming for submission implementations. For the simple reason that there are 42 submissions, and 41 of those will be thrown away, more or less. There isn't much point in making the 41 secure; better off to save the energy until "the one" is found. Then concentrate the energy, no? iang --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From demonfighter at gmail.com Mon Feb 23 16:05:41 2009 From: demonfighter at gmail.com (Steve Furlong) Date: Mon, 23 Feb 2009 16:05:41 -0500 Subject: SHA-3 Round 1: Buffer Overflows In-Reply-To: <49A30AAF.8090709@systemics.com> References: <2DDB4C4E-31CE-47AF-B0AF-155086347F3A@shipwright.com> <49A30AAF.8090709@systemics.com> Message-ID: <7d752ae30902231305odd94eb2h2355cbe7f3d3f9e2@mail.gmail.com> >> This just emphasizes what we already knew about C, even the most >> careful, security conscious developer messes up memory management. > However I think it is not really efficient at this stage to insist on secure > programming for submission implementations. For the simple reason that > there are 42 submissions, and 41 of those will be thrown away, more or less. > There isn't much point in making the 41 secure; better off to save the > energy until "the one" is found. Then concentrate the energy, no? Or stop using languages which encourage little oopsies like that. At the least, make it a standard practice to mock those who use C but don't use memory-safe libraries and diagnostic tools. Regards, SRF -- Neca eos omnes. Deus suos agnoscet. -- Arnaud-Amaury, 1209 --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From edgerck at nma.com Mon Feb 23 16:30:32 2009 From: edgerck at nma.com (Ed Gerck) Date: Mon, 23 Feb 2009 13:30:32 -0800 Subject: Solving password problems one at a time, Re: The password-reset paradox In-Reply-To: <5e01c29a0902231148m5fc3febga18ad2774edc80fe@mail.gmail.com> References: <94A2FA61-AEDB-4598-9D58-B09AD9C8C6D8@netbsd.org> <49A0570C.7070102@nma.com> <5e01c29a0902231148m5fc3febga18ad2774edc80fe@mail.gmail.com> Message-ID: <49A31578.7060304@nma.com> silky wrote: > On Sun, Feb 22, 2009 at 6:33 AM, Ed Gerck wrote: > >> (UI in use since 2000, for web access control and authorization) After you >> enter a usercode in the first screen, you are presented with a second screen >> to enter your password. The usercode is a mnemonic 6-character code such as >> HB75RC (randomly generated, you receive from the server upon registration). >> Your password is freely choosen by you upon registration.That second screen >> also has something that you and the correct server know but that you did not >> disclose in the first screen -- we can use a simple three-letter combination >> ABC, for example. You use this to visually authenticate the server above the >> SSL layer. A rogue server would not know this combination, which allays >> spoofing considerations -- if you do not see the correct three-letter >> combination, do not enter your password. >> > > Well, this is an old plan and useless. Because any rogue server can > just submit the 'usercode' to the real server, and get the three > letters. Common implementations of this use pictures (cats dogs family > user-uploaded, whatever). > Thanks for the comment. The BofA SiteKey attack you mention does not work for the web access scheme I mentioned because the usercode is private and random with a very large search space, and is always sent after SSL starts (hence, remains private). The attacker has a /negligible/ probability of success in our case, contrary to a case where the user sends the email address to get the three letters -- which is trivial to bypass. >> (UI in use since 2008, TLS SMTP, aka SMTPS, authentication). The SMTP >> Username is your email address, while the SMTP Password is obtained by the >> user writing in sequence the usercode and the password. With TLS SMTP, >> encryption is on from the start (implict SSL), so that neither the Username >> or the Password are ever sent in the clear. >> > > I have no idea what you're referring to here. It doesn't seem to make > sense in the context of the rest of your email. Are you saying your > system is useless given SSL? (Aside from the fact that it's useless > anyway ...) > I'm referring to SMTP authentication with implicit SSL. The same usercode|password combination is used here as well, but the usercode is prepended to the password while the username is the email address. In this case, there is no anti-phishing needed. >> (UI 2008 version, web access control) Same as the TLS SMTP case, where a >> three-letter combination is provided for user anti-spoofing verification >> after the username (email address) is entered. In trust terms, the user does >> not trust the server with anything but the email address (which is public >> information) until the server has shown that it can be trusted (to that >> extent) by replying with the expected three-letter combination. >> > > Wrong again, see above. > This case has the same BofA SiteKey vulnerability. However, if that is bothersome, the scheme can also send a timed nonce to a cell phone, which is unknown to the attacker. This is explained elsewhere in http://nma.com/papers/zsentryid-web.pdf (there are different solutions for different threat models) >> In all cases, because the usercode is not controlled by the user and is >> random, it adds a known and independently generated amount of entropy to the >> Password. >> > > Disregarding all of the above, consider that it may not be random, and > given that you can generate them on signup there is the potential to > know or learn the RNG a given site is using. > If the threat model is that you can "learn or know the RNG a given site is using" then the answer is to use a hardware RNG. >> With a six-character (to be within the mnemonic range) usercode, usability >> considerations (no letter case, no symbols, overload "0" with "O", "1" with >> "I", for example), will reduce the entropy that can be added to (say) 35 >> bits. Considering that the average poor, short password chosen by users has >> between 20 and 40 bits of entropy, the end result is expected to have from >> 55 to 75 bits of entropy, which is quite strong. >> > > Doesn't really matter given it prevents nothing. Sites may as well > just ask for two passwords. > The point is that two passwords would still not have an entropy value that you can trust, as it all would depend on user input. >> This can be made larger by, >> for example, refusing to accept passwords that are less than 8 characters >> long, by and adding more characters to the usercode alphabet and/or usercode >> (a 7-character code can still be mnemonic and human friendly). >> >> The fourth problem, and the last important password problem that would still >> remain, is the vulnerability of password lists themselves, that could be >> downloaded and cracked given enough time, outside the access protections of >> online login (three-strikes and you're out). This is also solved in our >> scheme by using implicit passwords from a digital certificate calculation. >> There are no username and password lists to be attacked in the first place. >> No target, hence not threat. >> > > Eh? So what data was used to do the digital certificate calculation? > That's still around. > That data is just a key that is the same for /all/ users. It is not user-specific. its knowledge does not provide information to attack any account. >> In other words, to solve the fourth password problem we shift the >> information security solution space. From the yet-unsolved security problem >> of protecting servers and clients against penetration attacks to a >> connection reliability problem that is easily solved today. >> >> This approach of solving password problems one at a time, shows that the >> "big problem" of passwords is now reduced to rather trivial data management >> functions -- no longer usability or data security functions. >> > > Sorry, you've solved nothing. > Sorry if it wasn't clear. Please have a second reading. Cheers, Ed Gerck --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From Darren.Moffat at Sun.COM Mon Feb 23 17:16:25 2009 From: Darren.Moffat at Sun.COM (Darren J Moffat) Date: Mon, 23 Feb 2009 22:16:25 +0000 Subject: SHA-3 Round 1: Buffer Overflows In-Reply-To: <7d752ae30902231305odd94eb2h2355cbe7f3d3f9e2@mail.gmail.com> References: <2DDB4C4E-31CE-47AF-B0AF-155086347F3A@shipwright.com> <49A30AAF.8090709@systemics.com> <7d752ae30902231305odd94eb2h2355cbe7f3d3f9e2@mail.gmail.com> Message-ID: <49A32039.7000201@Sun.COM> Steve Furlong wrote: >>> This just emphasizes what we already knew about C, even the most >>> careful, security conscious developer messes up memory management. > >> However I think it is not really efficient at this stage to insist on secure >> programming for submission implementations. For the simple reason that >> there are 42 submissions, and 41 of those will be thrown away, more or less. >> There isn't much point in making the 41 secure; better off to save the >> energy until "the one" is found. Then concentrate the energy, no? > > Or stop using languages which encourage little oopsies like that. At > the least, make it a standard practice to mock those who use C but > don't use memory-safe libraries and diagnostic tools. As long as you mean use an alternate language for the competition. Realistically there has to be C (or in many cases even asm) implementations of these algorithms if they are actually going to be adopted in real operating systems and real applications. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jamesd at echeque.com Mon Feb 23 17:23:54 2009 From: jamesd at echeque.com (James A. Donald) Date: Tue, 24 Feb 2009 08:23:54 +1000 Subject: Solving password problems one at a time, Re: The password-reset paradox In-Reply-To: <49A0570C.7070102@nma.com> References: <94A2FA61-AEDB-4598-9D58-B09AD9C8C6D8@netbsd.org> <49A0570C.7070102@nma.com> Message-ID: <49A321FA.8040807@echeque.com> Ed Gerck wrote: > (UI in use since 2000, for web access control and > authorization) After you enter a usercode in the first > screen, you are presented with a second screen to > enter your password. The usercode is a mnemonic > 6-character code such as HB75RC (randomly generated, > you receive from the server upon registration). Your > password is freely chosen by you upon > registration.That second screen also has something > that you and the correct server know but that you did > not disclose in the first screen -- we can use a > simple three-letter combination ABC, for example. You > use this to visually authenticate the server above the > SSL layer. A rogue server would not know this > combination, which allays spoofing considerations -- > if you do not see the correct three-letter > combination, do not enter your password. No one is going to check for the correct three letter combination, because it is not part of the work flow, so they will always forget to do it. It might work if you have something that dramatically alters the overall look of the page and organization of the page, such as a big skin with a big graphic, editable by user, and initially randomly generated per user. If you put the fields in different places, depending on the user, then user will have to pay attention when fields are not where he expects them to be. It would also help if you made the login page extensively user customizable, and ask the user to customize it in order to protect himself against phishing. When suddenly his customizations vanish, he will instantly and instinctively feel that what is his has been taken, and appropriately perceive himself to be under attack. But a better solution would be to use SRP or J-Pake so that a successful phish fails to reveal the password. Unfortunately, for reasons that are entirely unclear to me, there is passionate resistance to building J-Pake or SRP into the browser - we need a UI in the browser, and a PHP module on the server, to make these actually usable. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From edgerck at nma.com Mon Feb 23 17:40:43 2009 From: edgerck at nma.com (Ed Gerck) Date: Mon, 23 Feb 2009 14:40:43 -0800 Subject: Solving password problems one at a time, Re: The password-reset paradox In-Reply-To: <49A321FA.8040807@echeque.com> References: <94A2FA61-AEDB-4598-9D58-B09AD9C8C6D8@netbsd.org> <49A0570C.7070102@nma.com> <49A321FA.8040807@echeque.com> Message-ID: <49A325EB.1000207@nma.com> James A. Donald wrote: > No one is going to check for the correct three letter > combination, because it is not part of the work flow, so > they will always forget to do it. Humans tend to notice patterns. We easily notice mispelngs. Your experience may be different but we found out in testing that three-letters can be made large enough to become a visually noticeable pattern. Reversing the point, the fact that a user can ignore the three-letters is useful if the user forgets them. The last thing users want is one more hassle. The idea is to give users a way to allay spoofing concerns, if they so want and are motivated to, or learn to be motivated. Mark Twain's cat was afraid of the cold stove. Cheers, Ed Gerck --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From michaelslists at gmail.com Mon Feb 23 17:43:10 2009 From: michaelslists at gmail.com (silky) Date: Tue, 24 Feb 2009 09:43:10 +1100 Subject: Solving password problems one at a time, Re: The password-reset paradox In-Reply-To: <49A31578.7060304@nma.com> References: <94A2FA61-AEDB-4598-9D58-B09AD9C8C6D8@netbsd.org> <49A0570C.7070102@nma.com> <5e01c29a0902231148m5fc3febga18ad2774edc80fe@mail.gmail.com> <49A31578.7060304@nma.com> Message-ID: <5e01c29a0902231443y404436far7b345c2e9c63c0a3@mail.gmail.com> On Tue, Feb 24, 2009 at 8:30 AM, Ed Gerck wrote: [snip] > Thanks for the comment. The BofA SiteKey attack you mention does not work > for the web access scheme I mentioned because the usercode is private and > random with a very large search space, and is always sent after SSL starts > (hence, remains private). This is meaningless. What attack is the 'usercode' trying to prevent? You said it's trying to authorise the site to the user. It doesn't do this, because a 3rd party site can take the usercode and send it to the 'real' site. [snip] > I'm referring to SMTP authentication with implicit SSL. The same > usercode|password combination is used here as well, but the usercode is > prepended to the password while the username is the email address. In this > case, there is no anti-phishing needed. Eh? This still doesn't make any particular amount of sense. [snip] > This case has the same BofA SiteKey vulnerability. However, if that is > bothersome, the scheme can also send a timed nonce to a cell phone, which is > unknown to the attacker. This is explained elsewhere in > http://nma.com/papers/zsentryid-web.pdf Anything you do can be simulated by an evil site. Sending a key to a phone is a good idea, but still, in the end, useless, because the evil site can simulate it by passing whatever requested the user did to that site. [snip] > If the threat model is that you can "learn or know the RNG a given site is > using" then the answer is to use a hardware RNG. No, it isn't. > The point is that two passwords would still not have an entropy value that > you can trust, as it all would depend on user input. *shrug* make one of them autogenerated. Doesn't matter. You're just adding complexity for no real benefit. > That data is just a key that is the same for /all/ users. It is not > user-specific. its knowledge does not provide information to attack any > account. Well I'm sorry but you don't understand your own system then. Obviously it must have information to 'attack' a given account, because you used it to generate something. The function you used did something, so you can repeat it if you have all the inputs. > Sorry if it wasn't clear. Please have a second reading. Indeed. > Cheers, > Ed Gerck -- noon silky http://www.boxofgoodfeelings.com/ --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From edgerck at nma.com Mon Feb 23 20:23:33 2009 From: edgerck at nma.com (Ed Gerck) Date: Mon, 23 Feb 2009 17:23:33 -0800 Subject: Solving password problems one at a time, Re: The password-reset paradox In-Reply-To: <5e01c29a0902231443y404436far7b345c2e9c63c0a3@mail.gmail.com> References: <94A2FA61-AEDB-4598-9D58-B09AD9C8C6D8@netbsd.org> <49A0570C.7070102@nma.com> <5e01c29a0902231148m5fc3febga18ad2774edc80fe@mail.gmail.com> <49A31578.7060304@nma.com> <5e01c29a0902231443y404436far7b345c2e9c63c0a3@mail.gmail.com> Message-ID: <49A34C15.8010808@nma.com> silky wrote: > On Tue, Feb 24, 2009 at 8:30 AM, Ed Gerck wrote: > [snip] > >> Thanks for the comment. The BofA SiteKey attack you mention does not work >> for the web access scheme I mentioned because the usercode is private and >> random with a very large search space, and is always sent after SSL starts >> (hence, remains private). >> > > This is meaningless. What attack is the 'usercode' trying to prevent? > You said it's trying to authorise the site to the user. It doesn't do > this, because a 3rd party site can take the usercode and send it to > the 'real' site. > What usercode? The point you are missing is that there are 2^35 private usercodes and you have no idea which one matches the email address that you want to sent your phishing email to. The other points, including the TLS SMTP login I mentioned, might be clearer with an example. I'll be happy to provide you with a test account. Cheers, Ed Gerck --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From michaelslists at gmail.com Mon Feb 23 20:44:28 2009 From: michaelslists at gmail.com (silky) Date: Tue, 24 Feb 2009 12:44:28 +1100 Subject: Solving password problems one at a time, Re: The password-reset paradox In-Reply-To: <49A34C15.8010808@nma.com> References: <94A2FA61-AEDB-4598-9D58-B09AD9C8C6D8@netbsd.org> <49A0570C.7070102@nma.com> <5e01c29a0902231148m5fc3febga18ad2774edc80fe@mail.gmail.com> <49A31578.7060304@nma.com> <5e01c29a0902231443y404436far7b345c2e9c63c0a3@mail.gmail.com> <49A34C15.8010808@nma.com> Message-ID: <5e01c29a0902231744u6772c8dcm88108ad510c4dec3@mail.gmail.com> On Tue, Feb 24, 2009 at 12:23 PM, Ed Gerck wrote: [snip] > What usercode? The point you are missing is that there are 2^35 private > usercodes and you have no idea which one matches the email address that you > want to sent your phishing email to. What you're missing is that it doesn't matter. The user enters the usercode! So they enter it into the phishing site which passes the call along. -- noon silky http://www.boxofgoodfeelings.com/ --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From Joachim at Strombergson.com Tue Feb 24 09:22:44 2009 From: Joachim at Strombergson.com (=?ISO-8859-1?Q?Joachim_Str=F6mbergson?=) Date: Tue, 24 Feb 2009 15:22:44 +0100 Subject: SHA-3 Round 1: Buffer Overflows In-Reply-To: <49A30AAF.8090709@systemics.com> References: <2DDB4C4E-31CE-47AF-B0AF-155086347F3A@shipwright.com> <49A30AAF.8090709@systemics.com> Message-ID: <49A402B4.3040303@Strombergson.com> Aloha! Ian G wrote: > However I think it is not really efficient at this stage to insist on > secure programming for submission implementations. For the simple > reason that there are 42 submissions, and 41 of those will be thrown > away, more or less. There isn't much point in making the 41 secure; > better off to save the energy until "the one" is found. Then > concentrate the energy, no? I would like to humbly disagree. In case of MD6 the fix meant that a bugger had to be doubled in size (according to the Fortify blog). This means that the memory footprint and thus its applicability for embedded platforms was (somewhat) effected. That is, secure implementations might have different requirements than what mighty have been stated, and we want to select an algorithm based on the requirements for a secure implementation, right? -- Med v?nlig h?lsning, Yours Joachim Str?mbergson - Alltid i harmonisk sv?ngning. ======================================================================== Kryptoblog - IT-s?kerhet p? svenska http://www.strombergson.com/kryptoblog ======================================================================== --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From cat at reptiles.org Tue Feb 24 12:33:43 2009 From: cat at reptiles.org (Cat Okita) Date: Tue, 24 Feb 2009 12:33:43 -0500 (EST) Subject: Crypto Craft Knowledge In-Reply-To: <7949EA19-A50F-479E-B7A5-46BC654BE947@mac.com> References: <4996B6A4.4040803@links.org> <49972F85.8010207@eecs.berkeley.edu> <7949EA19-A50F-479E-B7A5-46BC654BE947@mac.com> Message-ID: <20090224122716.M6473@gecko.reptiles.org> On Tue, 17 Feb 2009, James Hughes wrote: > I find this conversation off the point. Consider other trades like > woodworking. There is no FAQ that can be created that would be applicable to > building a picture frame, dining room table or a covered bridge. A FAQ for > creating a picture frame would be possible, but this is not the FAQ that is > being discussed. You're thinking at the wrong level. There are definitely FAQs that are applicable to building a picture frame, a dining room table, or a covered bridge. Woodworking FAQs can (and do) exist to teach basic skills, like sawing and measuring wood, different ways to join bits of wood together, and what types of join are most appropriate for what type of task. Further, there are discussions about things like load and stress, and what designs and materials are best suited to what applications. The same applies for implementing crypto -- teach the building blocks, issues and judgement points required for good understanding and implementation. Ultimately it doesn't matter if they're building a picture frame, a dining room table, or a covered bridge, as you've put it -- the skills, materials and judgement of what to use where are what matters. cheers! ========================================================================== "A cat spends her life conflicted between a deep, passionate and profound desire for fish and an equally deep, passionate and profound desire to avoid getting wet. This is the defining metaphor of my life right now." --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From cat at reptiles.org Tue Feb 24 12:36:48 2009 From: cat at reptiles.org (Cat Okita) Date: Tue, 24 Feb 2009 12:36:48 -0500 (EST) Subject: Crypto Craft Knowledge In-Reply-To: References: Message-ID: <20090224123457.K6473@gecko.reptiles.org> On Sat, 21 Feb 2009, Peter Gutmann wrote: > This points out an awkward problem though, that if you're a commercial vendor > and you have a customer who wants to do something stupid, you can't afford not > to allow this. While my usual response to requests to do things insecurely is > "If you want to shoot yourself in the foot then use CryptoAPI", I can only do > this because I care more about security than money. For any commercial vendor > who has to put the money first, this isn't an option. That's not entirely true -- even commercial vendors have things like ongoing support to consider, and some customers just cost more money than they're worth. cheers! ========================================================================== "A cat spends her life conflicted between a deep, passionate and profound desire for fish and an equally deep, passionate and profound desire to avoid getting wet. This is the defining metaphor of my life right now." --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From hughejp at mac.com Tue Feb 24 13:53:31 2009 From: hughejp at mac.com (james hughes) Date: Tue, 24 Feb 2009 10:53:31 -0800 Subject: SHA-3 Round 1: Buffer Overflows In-Reply-To: <49A402B4.3040303@Strombergson.com> References: <2DDB4C4E-31CE-47AF-B0AF-155086347F3A@shipwright.com> <49A30AAF.8090709@systemics.com> <49A402B4.3040303@Strombergson.com> Message-ID: On Feb 24, 2009, at 6:22 AM, Joachim Str?mbergson wrote: > Aloha! > > Ian G wrote: >> However I think it is not really efficient at this stage to insist on >> secure programming for submission implementations. For the simple >> reason that there are 42 submissions, and 41 of those will be thrown >> away, more or less. There isn't much point in making the 41 secure; >> better off to save the energy until "the one" is found. Then >> concentrate the energy, no? > > I would like to humbly disagree. In case of MD6 the fix meant that a > bugger had to be doubled in size (according to the Fortify blog). This > means that the memory footprint and thus its applicability for > embedded > platforms was (somewhat) effected. > > That is, secure implementations might have different requirements than > what mighty have been stated, and we want to select an algorithm based > on the requirements for a secure implementation, right? Two aspects of this conversation. 1) This algorithm is designed to be parallelized. This is a significant feat. C is a language where parallelization is possible, but fraught with peril. We have to look past the buffer overflow to the motivation of the complexity. 2) This algorithm -can- be implemented with a small footprint -if- parallelization is not intended. If this algorithm could not be minimized then this would be a significant issue, but this is not the case. I would love this algorithm to be implemented in an implicitly parallel language like Fortress. http://projectfortress.sun.com/Projects/Community Jim --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From travis+ml-cryptography at subspacefield.org Tue Feb 24 14:45:55 2009 From: travis+ml-cryptography at subspacefield.org (Travis) Date: Tue, 24 Feb 2009 13:45:55 -0600 Subject: peer review of presentation requested Message-ID: <20090224194555.GC27228@subspacefield.org> Hello all, I'm working on a presentation about cryptography to give to the Open Web Application Security Project (OWASP). The reason why I'm giving it is that I've seen web developers doing crypto a lot lately, and they seem to be making some naive mistakes, like using ECB mode for multi-block structures, using encryption when they should be using MACs, and that kind of stuff. I had originally intended to make the entire presentation on web security failures, but found it time-consuming to locate information about web-specific vulnerabilities... they just aren't documented well because they're usually in the application layer for a single company, and so generally not shared widely. So, I've thrown in some non-web examples of application developers trying to invent their own crypto and getting it wrong (LANMAN hashes, for example). Anyway, I'd like some cryptographers to review my presentation to make sure that I am giving solid advice. http://www.subspacefield.org/security/web_20_crypto.pdf In addition, I'm curious about: Which hashes are currently vulnerable to length-extension attacks. If I recall Bruce Schneier's book "Practical Cryptography" correctly, he stated that even SHA-1 was vulnerable. Do any hashes in the SHA-2 family have protection against length extension? Is it sufficient to have a one-way finalization function in your Merkle-Damgaard hash construction to prevent length extension attacks? -- Obama Nation | It's not like I'm encrypting... it's more like I've developed a massive entropy deficiency | http://www.subsubpacefield.org/~travis/ If you are a spammer, please email john at subspacefield.org to get blacklisted. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From perry at piermont.com Tue Feb 24 15:06:21 2009 From: perry at piermont.com (Perry E. Metzger) Date: Tue, 24 Feb 2009 15:06:21 -0500 Subject: peer review of presentation requested In-Reply-To: <20090224194555.GC27228@subspacefield.org> (Travis's message of "Tue\, 24 Feb 2009 13\:45\:55 -0600") References: <20090224194555.GC27228@subspacefield.org> Message-ID: <87zlgbk3b6.fsf@snark.cb.piermont.com> Travis writes: > I'm working on a presentation about cryptography to give to the Open > Web Application Security Project (OWASP). [...] > In addition, I'm curious about: > > Which hashes are currently vulnerable to length-extension attacks. If > I recall Bruce Schneier's book "Practical Cryptography" correctly, he > stated that even SHA-1 was vulnerable. Do any hashes in the SHA-2 > family have protection against length extension? [...] If you expect to be presenting things at that level of detail to developers, you're going to lose. There is no chance that they'll absorb the details, and they'll get entirely the wrong message, which is that they should be making decisions on such things instead of just using prepackaged protocols. The single most important lesson in cryptography is that cryptography and cryptographic protocols are insanely hard to get right. The average PHP hacker is not in a position to spend enough time to learn the field well enough -- he's busy getting his application working. Much better to avoid the entire issue. Perry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From johnl at iecc.com Tue Feb 24 18:41:57 2009 From: johnl at iecc.com (John Levine) Date: 24 Feb 2009 23:41:57 -0000 Subject: Security through kittens, was Solving password problems In-Reply-To: <49A0570C.7070102@nma.com> Message-ID: <20090224234157.30826.qmail@simone.iecc.com> >you enter a usercode in the first screen, you are presented with a >second screen to enter your password. The usercode is a mnemonic >6-character code such as HB75RC (randomly generated, you receive from >the server upon registration). Your password is freely choosen by you >upon registration.That second screen also has something that you and >the correct server know but that you did not disclose in the first >screen -- This scheme is quite popular with banks. I have at least three accounts where I enter my user name in one screen, then on a second password entry screen it shows me a picture chosen when I set up the account along with a caption I wrote. They have a large library of pictures of cute animals, household appliances, and so forth. Clever though this scheme is, man-in-the middle attacks make it no better than a plain SSL login screen. Since the bad guy knows what site you're trying to reach, he can use your usercode to fetch the shared secret from the real site and present it to you on his fake site. It's true, the fake site won't have the same URL as the real site, but if the security of this scheme still depends on people scrutinizing the browser's address bar to be sure they're visiting the site they think they are, how is this any better than an ordinary kitten-free SSL login screen? Another bank sent me a dongle that generates a timestamped six-digit number that I use as part of the login. Even with the dongle, MITM attacks are still effective. The bad guy can only steal one session rather than a user's permanent credentials, but that's still plenty to, e.g., wire money out of the country. The only thing I've been able to come up with that seems even somewhat secure is a USB dongle that plugs into your computer and can set up an end-to-end encrypted channel with the bank, and that has a screen big enough that once you've set up your transaction in your browser, the bank then sends a description to the dongle to display on its screen, and YES and NO buttons on the dongle itself. Unless the screen and the buttons are physically part of the dongle, you're still subject to MITM attacks. But a dongle with a screen big enough for my 87 year old father to read, and buttons big enough for him to push reliably would be unlikely to fit on his keychain. It's a very hard problem. Regards, John Levine, johnl at iecc.com, Primary Perpetrator of "The Internet for Dummies", Information Superhighwayman wanna-be, http://www.johnlevine.com, ex-Mayor "More Wiener schnitzel, please", said Tom, revealingly. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From travis+ml-cryptography at subspacefield.org Tue Feb 24 19:35:32 2009 From: travis+ml-cryptography at subspacefield.org (Travis) Date: Tue, 24 Feb 2009 18:35:32 -0600 Subject: peer review of presentation requested In-Reply-To: <87zlgbk3b6.fsf@snark.cb.piermont.com> References: <20090224194555.GC27228@subspacefield.org> <87zlgbk3b6.fsf@snark.cb.piermont.com> Message-ID: <20090225003532.GA10551@subspacefield.org> On Tue, Feb 24, 2009 at 03:06:21PM -0500, Perry E. Metzger wrote: > If you expect to be presenting things at that level of detail to > developers, you're going to lose. Agreed on this end. However, these are web security people, not mere web developers. They are very sharp on complicated issues like web security, and just today one of them was joking about how one web developer thought that hidden fields in forms are immutable. > There is no chance that they'll > absorb the details, and they'll get entirely the wrong message, which > is that they should be making decisions on such things instead of just > using prepackaged protocols. Hmm, interesting thought. I was hoping to present the multiple failures (by smart people) as a way to convince them of the need to use existing algorithms rather than try to design their own. This actually touches on something I've noticed. With a locally-executing application, the operating system provides abstractions like user IDs and file permissions that an application developer gets "for free", and by and large they are making effective use of them. However, in the web application or web services world, nearly everyone* is doing things like user account management from scratch, and they're making the same sort of mistakes over and over again. [*] There are possible exceptions in web application frameworks like Zope. Some of these systems may already provide security features and abstractions that can be used by web developers. > The single most important lesson in cryptography is that cryptography > and cryptographic protocols are insanely hard to get right. Strong agreement. > The > average PHP hacker is not in a position to spend enough time to learn > the field well enough -- he's busy getting his application > working. Much better to avoid the entire issue. I'm not so sure; it seems that, for better or worse, web developers are doing these things, and they're doing them wrong. Hopefully this presentation will deliver two messages; one, that cryptography and cryptographic protocols are insanely hard to get right, and two, that they should use some relatively standard mechanisms for implementing their crypto, like AES256-CBC (for confidentiality) and SHA-2-HMAC (for integrity protection). But I suppose it could backfire, if people came away with the notion that _now_ they are educated enough on crypto to make informed decisions about new combinations. Maybe I should make a point of telling them that this is not the case. -- Obama Nation | It's not like I'm encrypting... it's more like I've developed a massive entropy deficiency | http://www.subsubpacefield.org/~travis/ If you are a spammer, please email john at subspacefield.org to get blacklisted. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From rlmorgan at washington.edu Tue Feb 24 20:17:49 2009 From: rlmorgan at washington.edu (RL 'Bob' Morgan) Date: Tue, 24 Feb 2009 17:17:49 -0800 (PST) Subject: Security through kittens, was Solving password problems In-Reply-To: <20090224234157.30826.qmail@simone.iecc.com> References: <20090224234157.30826.qmail@simone.iecc.com> Message-ID: > Clever though this scheme is, man-in-the middle attacks make it no > better than a plain SSL login screen. Since the bad guy knows what site > you're trying to reach, he can use your usercode to fetch the shared > secret from the real site and present it to you on his fake site. It's > true, the fake site won't have the same URL as the real site, but if the > security of this scheme still depends on people scrutinizing the > browser's address bar to be sure they're visiting the site they think > they are, how is this any better than an ordinary kitten-free SSL login > screen? If there is actual security value in it (as opposed to security theater) presumably it is that the MITM has to interact with the bank site to present the username and fetch the image in order to complete the phish. The bank site would monitor for a client address that makes multiple requests with different usernames and shut off its access quickly. The MITM could of course get around this by using multiple client addresses to make these requests, but this raises the bar for an effective MITM. Does it raise it enough to justify the cost of deploying these schemes? Apparently the banks think so, or they're doing them for some other reason (theater, peer pressure, whatever). - RL "Bob" --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From hughejp at mac.com Wed Feb 25 03:19:50 2009 From: hughejp at mac.com (james hughes) Date: Wed, 25 Feb 2009 00:19:50 -0800 Subject: Fwd: SMS 4 algorithm implemented as a spreasheet. References: <610EC714-2673-42AA-A469-67FD5D0264FB@mac.com> Message-ID: Building a reference implementation of a cipher can be an invaluable aid to writing code. Building a cipher in a spreadsheet, while some may suggest is strange, is a valid way to effectively describe a cipher in a visual sense. This has been done before with The Illustrated DES Spreadsheet, it has been done again. With the help of a Chinese document and an english translation by Whit?eld Di?e and George Ledin, I was able to create a spreadsheet that demonstrates the SMS4 algorithm. This algorithm is rather infamous for being proposed as a WiFi standard. It is has raised it?s head again as being implemented inside a derivative of the TCG standard TPM module for China under the name TCM module. The SMS4 spreadsheet is available in Mac OS X numbers format and .xls format at http://tinyurl.com/cfp6w2 Enjoy. Jim --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From pgut001 at cs.auckland.ac.nz Wed Feb 25 05:37:22 2009 From: pgut001 at cs.auckland.ac.nz (Peter Gutmann) Date: Wed, 25 Feb 2009 23:37:22 +1300 Subject: Security through kittens, was Solving password problems In-Reply-To: <20090224234157.30826.qmail@simone.iecc.com> Message-ID: John Levine writes: >Clever though this scheme is, man-in-the middle attacks make it no better >than a plain SSL login screen. You don't even need a MITM, just replace the site image on your phishing site with either a broken- image picture or a message that your award-winning site-image software is being upgraded and will be back soon and it's rendered totally ineffective. Ref: "The Emperor's New Security Indicators", Stuart Schechter, Rachna Dhamija, Andy Ozment, and Ian Fischer. These things are as worthless as most of the other wish-it-was-two-factor authentication methods that US banks have deployed in reaction to the FFIEC guidance (in the case of Sitekey, it's the top-rated URL for the Prg malware, indicating that it presents no problem at all for the phishers). The best "two-factor" I've seen to date is the New Horizons Community Credit Union, whose idea of two-factor auth is "Oh, we got both kinds. We got user name *and* password". Peter. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ben at links.org Wed Feb 25 05:57:50 2009 From: ben at links.org (Ben Laurie) Date: Wed, 25 Feb 2009 10:57:50 +0000 Subject: Crypto Craft Knowledge In-Reply-To: <20090224123457.K6473@gecko.reptiles.org> References: <20090224123457.K6473@gecko.reptiles.org> Message-ID: <49A5242E.3080208@links.org> Cat Okita wrote: > On Sat, 21 Feb 2009, Peter Gutmann wrote: >> This points out an awkward problem though, that if you're a commercial >> vendor >> and you have a customer who wants to do something stupid, you can't >> afford not >> to allow this. While my usual response to requests to do things >> insecurely is >> "If you want to shoot yourself in the foot then use CryptoAPI", I can >> only do >> this because I care more about security than money. For any >> commercial vendor >> who has to put the money first, this isn't an option. > > That's not entirely true -- even commercial vendors have things like > ongoing support to consider, and some customers just cost more money > than they're worth. Furthermore, its entirely simplistic to suggest that "money first" == "do any fool thing a customer demands". Some businesses do actually care about their reputation, even if only because they believe that will make them more money in the long run. Plus, even the most accommodating company will draw the line somewhere - not every foolish thing is profitable, even if a customer wants it. -- http://www.apache-ssl.org/ben.html http://www.links.org/ "There is no limit to what a man can do or how far he can go if he doesn't mind who gets the credit." - Robert Woodruff --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From johnl at iecc.com Wed Feb 25 09:53:39 2009 From: johnl at iecc.com (John Levine) Date: 25 Feb 2009 14:53:39 -0000 Subject: Security through kittens, was Solving password problems In-Reply-To: <49A54F4E.7050509@uiuc.edu> Message-ID: <20090225145339.91976.qmail@simone.iecc.com> >This means a site paying attention to such things could notice a >change in IP address, or, if several users were attacked this way, >notice repeated connections from the same IP. (Granted the MITM >could distribute the queries over a botnet, but it raises the bar >somewhat.) > >I have no idea if sites do such check, just speculation on my part. You're right, but it's not obvious to me how a site can tell an evil MITM proxy from a benign shared web cache. The sequence of page accesses would be pretty similar. I suppose that you could hope that legitimate HTTPS requests would come direct from the client machine, so requests for multiple users on the same IP would be suspicious, but on networks like AOL's, I wouldn't count on it working that way. R's, John --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From perry at piermont.com Wed Feb 25 12:19:42 2009 From: perry at piermont.com (Perry E. Metzger) Date: Wed, 25 Feb 2009 12:19:42 -0500 Subject: NSA oral history interviews Message-ID: <87k57efn81.fsf@snark.cb.piermont.com> Yet more internal NSA history released to the public: http://www.nsa.gov/public_info/declass/oral_history_interviews.shtml -- Perry E. Metzger perry at piermont.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From bear at sonic.net Wed Feb 25 13:04:40 2009 From: bear at sonic.net (Ray Dillinger) Date: Wed, 25 Feb 2009 10:04:40 -0800 Subject: Security through kittens, was Solving password problems In-Reply-To: <20090225145339.91976.qmail@simone.iecc.com> References: <20090225145339.91976.qmail@simone.iecc.com> Message-ID: <1235585080.28343.4.camel@localhost> On Wed, 2009-02-25 at 14:53 +0000, John Levine wrote: > You're right, but it's not obvious to me how a site can tell an evil > MITM proxy from a benign shared web cache. The sequence of page > accesses would be pretty similar. There is no such thing as a "benign" web cache for secure pages. If you detect something doing caching of secure pages, you need to shut them off just as much as you need to shut off any other MITM. Bear --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From smb at cs.columbia.edu Wed Feb 25 13:41:04 2009 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Wed, 25 Feb 2009 13:41:04 -0500 Subject: Security through kittens, was Solving password problems In-Reply-To: <1235585080.28343.4.camel@localhost> References: <20090225145339.91976.qmail@simone.iecc.com> <1235585080.28343.4.camel@localhost> Message-ID: <20090225134104.4b866669@cs.columbia.edu> On Wed, 25 Feb 2009 10:04:40 -0800 Ray Dillinger wrote: > On Wed, 2009-02-25 at 14:53 +0000, John Levine wrote: > > > You're right, but it's not obvious to me how a site can tell an evil > > MITM proxy from a benign shared web cache. The sequence of page > > accesses would be pretty similar. > > There is no such thing as a "benign" web cache for secure pages. > If you detect something doing caching of secure pages, you need > to shut them off just as much as you need to shut off any other > MITM. It's not caching such pages; it is acting as a TCP relay for the requests, without access to the keys. These are utterly necessary for some firewall architectures, for example, and generally do not represent a security threat beyond traffic analysis. --Steve Bellovin, http://www.cs.columbia.edu/~smb --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jamesd at echeque.com Wed Feb 25 17:13:25 2009 From: jamesd at echeque.com (James A. Donald) Date: Thu, 26 Feb 2009 08:13:25 +1000 Subject: Security through kittens, was Solving password problems In-Reply-To: References: Message-ID: <49A5C285.5010505@echeque.com> John Levine writes: >> Clever though this scheme [kittens] is, man-in-the >> middle attacks make it no better than a plain SSL >> login screen. Peter Gutmann wrote: > You don't even need a MITM, just replace the site > image on your phishing site with either a broken- > image picture or a message that your award-winning > site-image software is being upgraded and will be back > soon and it's rendered totally ineffective. Assume we have this great process, perhaps password-authenticated key agreement, perhaps kitten based, that guarantees we are phish proof it the user actually uses it. How do we make the workflow and user interface so that if the user is asked to bypass our great process, he hears alarm bells? When it comes to workflows, the WoW interface seems to work quite well WoW accounts control WoW gold, typically $50 to $100 worth, so WoW accounts are a popular phish target: An investigation of your World of Warcraft account has found strong evidence that the account in question is being sold or traded. As you may not be aware of, this conflicts with Blizzard's EULA under section 4 Paragraph B which can be found here: WoW -> Legal -> End User License Agreement and Section 8 of the Terms of Use found here: WoW -> Legal -> Terms of Use The investigation will be continued by Blizzard administration to determine the action to be taken against your account. If your account is found violating the EULA and Terms of Use, your account can, and will be suspended/closed/or terminated. In order to keep this from occurring, you should immediately verify that you are the original owner of the account. To verify your identity please visit the following webpage: Only Account Administration will be able to assist with account retrieval issues. Thank you for your time and attention to this matter, and your continued interest in World of Warcraft. This phish used a flaw in the official WoW website to redirect an https login with WoW to an https login with the scammer site. The interesting thing is that it and similar phishes do not seem to have been all that successful - few people seemed to notice at all, the general reaction being to simply hit the spam key reflexively, much as people click away popup warnings reflexively, and are unaware that there ever was a popup. Most accounts are lost through keyloggers - rather phishing, the attacker has to take over the end user's computer completely. Why the attack resistance? I conjecture that: 1. User normally enters his password in an environment that looks nothing like a web page, so being asked to do so in a web page automatically makes him suspicious - it is a deviation from normal workflow 2. Blizzard never communicates by email, so receiving email from blizzard automatically makes the user suspicious. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From smb at cs.columbia.edu Wed Feb 25 20:53:24 2009 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Wed, 25 Feb 2009 20:53:24 -0500 Subject: Solving password problems one at a time, Re: The password-reset paradox In-Reply-To: <49A0570C.7070102@nma.com> References: <94A2FA61-AEDB-4598-9D58-B09AD9C8C6D8@netbsd.org> <49A0570C.7070102@nma.com> Message-ID: <20090225205324.0147d532@cs.columbia.edu> On Sat, 21 Feb 2009 11:33:32 -0800 Ed Gerck wrote: > I submit that the most important password problem is not that someone > may find it written somewhere. The most important password problem is > that people forget it. So, writing it down and taking the easy > precaution of not keeping next to the computer solves the most > important problem with not even a comparably significant downside. Up to a point. The "most important password problem" is very much context-dependent. I'm not going to forget the unlock password to my laptop, because I use it many times/day. I regularly forget my login password to the CS department's servers because I use it so rarely -- as best I can tell, I haven't used it in at least 15 months, because I use public key authentication for most functions. They've installed some new service that will require it, though, so I suppose I need to learn it. However -- if you're talking about garden-variety web passwords, you're probably correct. For your last sentence, see my next response... > Having automatic, secure, and self-managed password recovery and > password reset (in case the password cannot be recovered) apps are > also part of this solution. Define "automatic" and "secure". "Self-managed" is context-dependent. It's true for generic web authentication; it most certainly is not for more serious ones. The generic recovery/reset mechanisms have their own security issues -- how secure is the back-up authentication systems? In most cases, the answer is "much less secure than the base mechanism". > > I see the second most important problem in passwords to be that they > usually have low entropy -- ie, passwords are usually easily > guessable or easy to find in a quick search. So -- why does that matter? We've become prisoners of dogma here. In 1979, Bob Morris and Ken Thompson showed that passwords were guessable. In 1979, that was really novel. There was a lot of good work done in the next 15 years on that problem -- Spaf's empirical observations, Klein's '90 paper on improving password security, Lamport's algorithm that gave rise to S/Key, my and Mike Merritt's EKE, many others. Guess what -- we're not living in that world now. We have shadow password files on Unix systems; we have Kerberos; we have SecurID; we have SSL which rules out the network attacks and eavesdropping that EKE was intended to counter; etc. We also have web-based systems whose failure modes are not nearly the same. Why do we think that the solutions are the same? There was a marvelous paper at Hotsec '07 that I resent simply because the authors got there before me; I had (somewhat after them) come to the same conclusions: the defenses we've built up against password failure since '79 don't the problems of today's world. We have to recognize the new problems before we can solve them. (I *think* that the paper is at http://www.usenix.org/events/hotsec07/tech/full_papers/florencio/florencio.pdf but I'm on an airplane now and can't check... > The next two important problems in passwords are absence of mutual > authentication (anti-phishing) Personally, I think this is the biggest problem when it comes to phishing attacks. > and absence of two-factor > authentication. What problem does two-factor solve? I agree that it's helpful, but until we know the threat we can't solve it. > > To solve these three problems, at the same time, we have been > experimenting since 2000 with a scheme where the Username/Password > login is divided in two phases. In different applications in several > countries over nine years, this has been tested with many hundreds of > thousands of users and further improved. (you can also test it if you > want). It has just recently been applied for TLS SMTP authentication > where both the email address and the user's common name are also > authenticated (as with X.509/PKI but without the certificates). > > This is how it works, both for the UI and the engine behind it. > > (UI in use since 2000, for web access control and authorization) > After you enter a usercode in the first screen, you are presented > with a second screen to enter your password. The usercode is a > mnemonic 6-character code such as HB75RC (randomly generated, you > receive from the server upon registration). Your password is freely > choosen by you upon registration.That second screen also has > something that you and the correct server know but that you did not > disclose in the first screen -- we can use a simple three-letter > combination ABC, for example. You use this to visually authenticate > the server above the SSL layer. A rogue server would not know this > combination, which allays spoofing considerations -- if you do not > see the correct three-letter combination, do not enter your password. As Peter Gutmann has pointed out, that has succeeded only because it hasn't been seriously attacked. Research results show that users are very easily fooled by "changes" to the server. In the scenario you cite, all it takes -- and again, this is backed up by experimental evidence -- is a web page saying "We've changed our login screen to make it easier. You no longer need to remember that meaningless 6-character string!" Sure, no security expert would be fooled. Virtually everyone else will be -- and again, I'm not guessing. > > (UI in use since 2008, TLS SMTP, aka SMTPS, authentication). The SMTP > Username is your email address, while the SMTP Password is obtained > by the user writing in sequence the usercode and the password. With > TLS SMTP, encryption is on from the start (implict SSL), so that > neither the Username or the Password are ever sent in the clear. > > (UI 2008 version, web access control) Same as the TLS SMTP case, > where a three-letter combination is provided for user anti-spoofing > verification after the username (email address) is entered. In trust > terms, the user does not trust the server with anything but the email > address (which is public information) until the server has shown that > it can be trusted (to that extent) by replying with the expected > three-letter combination. That is true if and only if people *notice* the absence. > > In all cases, because the usercode is not controlled by the user and > is random, it adds a known and independently generated amount of > entropy to the Password. > > With a six-character (to be within the mnemonic range) usercode, > usability considerations (no letter case, no symbols, overload "0" > with "O", "1" with "I", for example), will reduce the entropy that > can be added to (say) 35 bits. Considering that the average poor, > short password chosen by users has between 20 and 40 bits of entropy, > the end result is expected to have from 55 to 75 bits of entropy, > which is quite strong. This can be made larger by, for example, > refusing to accept passwords that are less than 8 characters long, by > and adding more characters to the usercode alphabet and/or usercode > (a 7-character code can still be mnemonic and human friendly). > > The fourth problem, and the last important password problem that > would still remain, is the vulnerability of password lists > themselves, that could be downloaded and cracked given enough time, > outside the access protections of online login (three-strikes and > you're out). This is also solved in our scheme by using implicit > passwords from a digital certificate calculation. There are no > username and password lists to be attacked in the first place. No > target, hence not threat. And keystroke loggers? They're a *huge* vulnerability. You're also ignoring the practical objects to use of certificates: storage of certs and their private keys are difficult, with very poor usability characteristics. > > In other words, to solve the fourth password problem we shift the > information security solution space. From the yet-unsolved security > problem of protecting servers and clients against penetration attacks > to a connection reliability problem that is easily solved today. > > This approach of solving password problems one at a time, shows that > the "big problem" of passwords is now reduced to rather trivial data > management functions -- no longer usability or data security > functions. > > Usability considerations still must be applied, of course, but not to > solve the security problem. I submit that trying to solve the > security problem while facing usability restrictions is what has > prevented success so far. > But usability is *the* problem, with server and client penetration a close second. --Steve Bellovin, http://www.cs.columbia.edu/~smb --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From pgut001 at cs.auckland.ac.nz Thu Feb 26 01:34:35 2009 From: pgut001 at cs.auckland.ac.nz (Peter Gutmann) Date: Thu, 26 Feb 2009 19:34:35 +1300 Subject: Security through kittens, was Solving password problems In-Reply-To: <49A5C285.5010505@echeque.com> Message-ID: "James A. Donald" writes: >The interesting thing is that it and similar phishes do not seem to have been >all that successful - few people seemed to notice at all, the general >reaction being to simply hit the spam key reflexively, much as people click >away popup warnings reflexively, and are unaware that there ever was a popup. > >Why the attack resistance? I conjecture that: > >1. User normally enters his password in an environment that looks nothing > like a web page, so being asked to do so in a web page automatically makes > him suspicious - it is a deviation from normal workflow > >2. Blizzard never communicates by email, so receiving email from blizzard > automatically makes the user suspicious. You'd really need to perform a controlled experiment to see which factors actually affect this. For example another factor could be that the gamer demographic is more aware of phishing than Joe Sixpack and therefore less likely to become a target. Or that they're more interested in gaming than account management and just ignore the message. It'd be interesting to see what the contributing factors are (although if it's "more interested in gaming than account management" then it doesn't translate to other areas much). Peter. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From santiago.aguiar at gmail.com Fri Feb 27 14:13:45 2009 From: santiago.aguiar at gmail.com (Santiago Aguiar) Date: Fri, 27 Feb 2009 17:13:45 -0200 Subject: Activation protocol for tracking devices Message-ID: <49A83B69.2000102@gmail.com> I'm afraid this email will probably will be a) flamed away (because it's not from a cryptographer, but forced to do crypto-things, and I do know your opinion about this matter...) b) ignored (same reason!). I'm sending it anyway because any kind of feedback would be welcomed ;), and the situation is, in my opinion, dire... As I wrote in my last email, in Brazil they are devising a protocol to activate tracking/blocking devices to be installed from factory in *every* vehicle, starting progressively from august 2009. The idea is that a service operator (SO) can activate a device to work with it, by first asking a centralized agency, the DENATRAN (department of transit), that must authorize the activation request. Once activated, the device keeps in that state until the SO deactivates it or until DENATRAN reconfigures the device SIM card remotely to change it IMSI to a special network operated by DENATRAN. We are trying to suggest options for this activation protocol, and for our current one I have some questions I would like to confirm with knowledgeable people like you ;): * Is there any standard cryptographic hash function with an output of about 64 bits? It's OK for our scenario if finding a preimage for a particular signature takes 5 days. Not if it takes 5 minutes. * Suppose a cryptographically secure random number is stored on the device from factory, could I use the output of a block cipher applied to this number as a way to generate new random numbers (since the output from the cipher should not be distinguishable from random data)? In case yes, could I do this with a hash instead of a cipher? For those interested, this is what we are proposing at the time: Every TCU (the device) comes pre-installed from factory with a Kt known to the device and DENATRAN. SO-> TCU (device): sends a SMS with GPRS connection information (apn, user, pass, server IPs/ports). The mechanism so that this first SMS is not a big issue have been, reasonably, covered. TCU->SO: challenge SO->DENATRAN: challenge, SO_id DENATRAN->SO: H(Kt, challenge, SO_id), Kc=H(Kt, challenge) SO->TCU: H(Kt, challenge, SO_id), SO_id From that point, Kc is stored in SO and TCU, and every message interchanged between the SO and TCU goes signed with Kc (for this we need a H with max. 64 bits output...). The SO is connected thru an authenticated connection to DENATRAN (ie. vpn). Reply attacks could be possible, we are proposing to include and additional incremental 4 byte numbers to use as nonce. In the activation protocol H can be much stronger than the one used later. I'm aware that the way of applying the hash function must be carefully studied, but at this point we need a reasonable idea to discuss over (I would love if this message gets bashed to the ground ;)). Message encryption has been outright discarded by the working groups. I'm not asking for anyone here to actually provide a solution (it would be stupid to do so), it's just that by looking at how things are progressing at Brazil, if nothing comes out, things will just be ignored and the implemented solution will probably be quite catastrophic.... At this time, in Brazil there are thousands of tracking companies, each with their own protocols and devices, but this regulation will impose a government dictated monoculture that creates a very fertile ground for massive exploits. Thanks! Regards, Santiago. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From arshad.noor at strongauth.com Fri Feb 27 14:20:47 2009 From: arshad.noor at strongauth.com (Arshad Noor) Date: Fri, 27 Feb 2009 11:20:47 -0800 Subject: [Fwd: New W3C XML Security Specifications] Message-ID: <49A83D0F.7090407@strongauth.com> FYI. -------- Original Message -------- Subject: New W3C XML Security Specifications Date: Fri, 27 Feb 2009 14:10:04 -0500 From: Sean Mullan Reply-To: security-dev at xml.apache.org To: security-dev at xml.apache.org The W3C XML Security Working Group has just released 7 first public working drafts of new XML Signature and Encryption specifications. Please try to review them and send any comments you have to the XML Security working group. These drafts include revisions to XML Signature and Encryption to support new algorithms, a new document proposing simplifications to the XML Signature Transform model to enhance performance and security, and several other new specifications. Here is the announcement from the W3C Working Group chair: The W3C XML Security Working Group [1] has published [2] First Public Working Drafts related to XML Security and requests feedback on these documents. Comment may be sent to the list public-xmlsec-comments at w3.org . If possible please indicate the document in the subject line. (1) XML Signature Syntax and Processing Version 1.1 http://www.w3.org/TR/2009/WD-xmldsig-core1-20090226/ (2) XML Encryption Syntax and Processing Version 1.1 http://www.w3.org/TR/2009/WD-xmlenc-core1-20090226/ (3) XML Signature Transform Simplification: Requirements and Design http://www.w3.org/TR/2009/WD-xmldsig-simplify-20090226/ (4) XML Security Use Cases and Requirements http://www.w3.org/TR/2009/WD-xmlsec-reqs-20090226/ (5) XML Security Derived Keys http://www.w3.org/TR/2009/WD-xmlsec-derivedkeys-20090226/ (6) XML Signature Properties http://www.w3.org/TR/2009/WD-xmldsig-properties-20090226/ (7) XML Security Algorithm Cross-Reference http://www.w3.org/TR/2009/WD-xmlsec-algorithms-20090226/ The Working Group has also published an updated working draft of XML Signature Best Practices: (8) XML Signature Best Practices http://www.w3.org/TR/2009/WD-xmldsig-bestpractices-20090226/ The Working Group would appreciate review of these documents, with special attention to the algorithms listed in XML Signature 1.1 and XML Encryption 1.1, the proposed 2.0 changes in the Transform Simplification document and Use Cases and Requirements. Again, comment may be sent to the list public-xmlsec-comments at w3.org . Thank you regards, Frederick Frederick Hirsch, Nokia Chair XML Security WG [1] http://www.w3.org/2008/xmlsec/ [2] http://www.w3.org/News/2009#item25 --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From travis+ml-cryptography at subspacefield.org Fri Feb 27 16:26:45 2009 From: travis+ml-cryptography at subspacefield.org (Travis) Date: Fri, 27 Feb 2009 15:26:45 -0600 Subject: X.509 certificate overview + status Message-ID: <20090227212645.GK15955@subspacefield.org> Hello, Recently I set up certificates for my server's SSL, SMTP, IMAP, XMPP, and OpenVPN services. Actually, I created my own CA for some of the certificates, and in other cases I used self-signed. It took me substantially more time than I had anticipated, and I'm left with feelings of unease. It seems the way to do this revolves around openssl, but while I was able to find instructions*, they were cookbook-style, and didn't really give me as complete an understanding as I had hoped. [*] http://sial.org/howto/openssl/ I experimented with tinyca2, which appears only to create certificates with passphrases, which is obnoxious. Only some applications (e.g. dovecot) allow you to specify passphrases, and in most cases the config file with the passphrase is protected the same way as the key itself, using filesystem permissions, making it pointless. However, I still have problems with dovecot. Whenever I connect to IMAPS, it complains that the certificate is for '' (empty string), and I'm not sure what I did wrong in the certificate creation. In other cases, such as openvpn, there are some scripts there (easy-rsa) which take care of it for you. I couldn't, in particular, find comprehensive information on the openssl.cnf file, particularly the v3 extensions. In some cases, such as OpenBSD's isakmpd, I had to abandon my plans completely because they had requirements that the certificates have some fields (subjectAltName, I think) that weren't well documented. I can't remember exactly if I couldn't create this field, or merely didn't know what to put in it. However, in this case, the main problem I found was that the Linux port of isakmpd was not reliable, and nearly impossible to debug. It just would work 50% of the time, and not the other 50%. OpenBSD's isakmpd is pretty sexy - it detects NAT traversal and automagically encapsulates in UDP - but apart from the Linux reliability issue, I also had issues with multiple tunnels going through the same NAT/fw box that was itself running IPSec. Whereas by contrast, OpenVPN handles that situation well, and has support for MS-Windows should I ever want it. Further, trying to dig into ASN.1 was extremely difficult. The specs are full of obtuse language, using terms like "object" without defining them first. Are there any tools that will dump certificates in human-readable formats? I would really like something that could take a PEM file of a cert and display it in XML or something of the sort. Although I have it all working, I am considering redoing all the work, hopefully all under one CA cert that I control. But I'm not sure if that's wise. I'm plowing through the O'Reilly OpenSSL book, but are there other resources out there that could help me, or others like me? -- Obama Nation | It's not like I'm encrypting... it's more like I've developed a massive entropy deficiency | http://www.subsubpacefield.org/~travis/ If you are a spammer, please email john at subspacefield.org to get blacklisted. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com