Slashdot Mirror


Ask Security/Cryptography Expert Paul Kocher

Paul Kocher is unquestionably one of the highest-profile computer and network security experts around. He's president of Cryptography Research, Inc. and one of the architects of SSL 3.0. The floor is now open. Please try not to ask questions that can be answered with a few minutes' worth of online research. We'll post Paul's answers to 10 of the highest-moderated questions soon after he gets them back to us. Update: 03/13 18:18 GMT by M : Let's try this one more time, this time with feeling.

83 of 371 comments (clear)

  1. Serious Threats? by Prizm · · Score: 5, Interesting

    While studying cryptanalysis, I've been learning about a number of interesting attacks such as timing attacks and differential power attacks (your speciality, if I recall). While these attacks certainly seem to help cryptanalysis of various ciphers, how practical are they in terms of real security? That is to say, what are the chances that these methods are actively being used by attackers?

    1. Re:Serious Threats? by cheezedawg · · Score: 2, Interesting

      The overwhelming majority of security exploits (over 95% iirc-sorry, I don't have a source handy) are due to implementation errors and not cryptanalysis. At this point, time is much better spent attacking buggy code than worrying about crytanalysis threats to well known ciphers.

      --
      "The defense of freedom requires the advance of freedom" - George W Bush
    2. Re:Serious Threats? by swillden · · Score: 2, Informative

      The overwhelming majority of security exploits (over 95% iirc-sorry, I don't have a source handy) are due to implementation errors and not cryptanalysis.

      Side-channel attacks, technically, *are* attacks against implementations, not the ciphers themselves. They're attacks that exploit the fact that even if the cipher is solid, the execution of the algorithms involves physical effects which can be measured by an attacker with access to the processing device.

      Depending on your point of view, you may or may not consider side-channel vulnerabilities to be implementation errors, but they are real weaknesses for systems that require some sort of secure token to be distributed to large numbers of end-users. With respect to the published attacks against smart cards, there are far *more* side-channel attacks than attacks made possible by software errors. Not surprising, really, the engineers who write that code tend to be very security-paranoid, and it's generally quite small and simple, as well, so it's pretty good.

      As to the OP's question about the feasibility of these attacks in the real world: They're easy, but generally only if you already know lots more about the systems your attacking than most attackers would. I have no idea if anyone has used them "for real".

      My designs always assume that side-channel attacks are moderately difficult, but feasible.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    3. Re:Serious Threats? by wfrp01 · · Score: 2, Interesting

      That is to say, what are the chances that these methods are actively being used by attackers?

      Do you think it's valid to rate the severity of a compromise by whether it's being actively exploited right now?

      --

      --Lawrence Lessig for Congress!
  2. Triple barreled question by Sophrosyne · · Score: 5, Interesting

    Should the general public have access to powerful and secure computing as a right, or should cryptography be limited to banks, government agencies, etc.? Do you believe that, as cryptography becomes more prevalent and as computing power increases we will see an increase in criminal activity over the web? And if so, what is the best way to curb illegal activities on the Internet, for example do you give the keys to the Governments that request them?

    1. Re:Triple barreled question by 56ker · · Score: 2, Insightful

      The way to cut down on e-fraud is to have the people in charge educating businesses etc in IT security. There is also an "embarassment factor" - which means that a lot of e-fraud goes unreported. Personally - my thoughts are of employing ex- e-fraudsters - but that wouldn't go down too well!

      The banks have major IT security flaws they do nothing about anyway. *whistles innocently*

      Personally I feel if the private individual can afford it then yes - they have access to powerful & secure computers. There is still a big digital divide between the rich and poor. People are still pretty ignorant when it comes to cryptography. RSA are still running that key competition though.

      Criminals use the internet to commit e-fraud as they could be based in Russia (with lax computer laws) and yet be virtually in the US (or UK). Most attempts are script kiddies though. There is a grey line between what's illegal and a nuisance - and what's illegal and something you'd sue an individual over (civil or criminal). Criminals will always find a way to commit crime. What's more worrying is that with cryptography they can communicate with each other in ways that are very difficult to decode.

      The whole escrow key thing & liasing with the "authorities" - well - it's been the source of at least one Tom Clancy novel! I live in the UK - we're well - quite a bit behind the US in regards to IT.

    2. Re:Triple barreled question by lommer · · Score: 2, Funny

      "There is also an "embarassment factor" - which means that a lot of e-fraud goes unreported."

      I think you meant to say e-barassment...

  3. fhnlsfdlkm&5nlkd%Bvbcvbc by matt4077 · · Score: 4, Funny

    fkgsdf%LDjöofjnvBNlöjbfjsbyv%$bhlvy$knvnlkblnbxcjv byx$LJKFhgsfKNV4346Khndjbgvkbhdfgföljny kny_FYFKdfknyY_LirhrhaeihÖFHGsfihFYbjbK453KhdsFkbs KbfknvyVNkKnfkgnbxfdkn445k3nlDKNAdsSAdkfasdfKLNKdf nDFKgnentk4n4ktn4knt4 kaKdfnjaSDKfnaDKfnaK4n4knaKGAna4ank495p9zhthgugbhf hjbernara?

    1. Re:fhnlsfdlkm&5nlkd%Bvbcvbc by Anonymous Coward · · Score: 5, Funny

      Uv, V'z jbaqrevat vs lbh guvax gurer'f n shgher sbe EBG13. V'ir urneq vg'f cerggl frpher...

      Lbh pna ernq guvf? Qnza!

    2. Re:fhnlsfdlkm&5nlkd%Bvbcvbc by DrDevil · · Score: 2, Funny

      Whatever you used to encrypt that mate, it repeats things, fkgsdf, the same keys in the similar area of the keyboard. therefore your cipher must be poor!

    3. Re:fhnlsfdlkm&5nlkd%Bvbcvbc by cornjchob · · Score: 2, Funny

      Wait, let me get out my Little Orphan Annie Decoder Ring...

      "Be sure to drink your Ovaltine"?!

      What the damn? That parent post was just a crummy commercial; aw nuts.

      --
      We now have confirmed reports from an informed Orange County minister that Ethel is still an active communist.
  4. Secure SMTP? by silverhalide · · Score: 3, Interesting

    Is there any feasable way to make SMTP authenticated so spammers can't spoof their IP addresses? Everyone keeps asking but noone seems to know if it's possible.

    1. Re:Secure SMTP? by bellings · · Score: 2, Interesting
      It should be simple to build a system where the identity of everyone who sends you mail is verified by some authority. However, the price is that everyone who uses it will have to be willing to accept a system where you will have to verify your identity to some authority before you send mail.

      So, I guess my question (to stay on subject) is
      • is there an identity verificication system that would be suitable for email, and
      • barring that, is there some system that would allow us to charge the sender of any email a small micropayment?
      --
      Slashdot is jumping the shark. I'm just driving the boat.
    2. Re:Secure SMTP? by NudeZiggy · · Score: 2, Informative

      actually both certificate and certify are verbs, it's kinda like extract and extracate, used in different but not so clear ways.

    3. Re:Secure SMTP? by NudeZiggy · · Score: 2, Insightful

      oops, that's extricate

  5. redundancy is key by b_pretender · · Score: 5, Insightful
    Mr. Kocher would point out that in computer security, redundancy is key


    Therefore, "Please try not to ask questions that can be answered with a few minutes' worth of online research." should be rewritten as, "Please try not to ask or moderate up questions that can be answered with a few minutes' worth of online research. "

  6. Social engineering by miratim · · Score: 5, Interesting

    For every advancement in computer security, there seems to be a social backdoor involving the humans that use the system. Is there any research being done on figuring how to effectively solve the social engineering problem at the software/hardware level somehow?

    --
    ~ The Fudge Report @ http://mywebpages.comcast.net/fudgereport/
    1. Re:Social engineering by yugami · · Score: 2, Insightful
      I work in information and network security, and I'd say that you aren't really solving TOO much with your suggestion of fingerprint, MAC address, etc

      reducing the ability for outsiders to influence access isn't solving much?

      The problem is not people figuring out people's passwords. I'd just like to pose: What happens when a buffer overflow is discovered in the biometric information acceptance daemon?

      stop using bad programming practices and allow for dynamic length buffers, or at the very least use checked length function calls.

      security is a multi prong problem that demands multiple solutions, saying that one solution doesn't solve all the issues is a no duh type statement.

    2. Re:Social engineering by ekephart · · Score: 2, Informative

      In banking many things are under dual (or more) control. Same with government. Since paying people is a recurring cost and is expensive, some businesses have pagers that when activated (by satelite, wireless, etc.) give a password to be used in conjunction with their own personal passwords. The system is synced so that at any moment the password is different from the next. You can do the same thing to restrict physical access to a bulding or room.

      --
      sig
    3. Re:Social engineering by jpvlsmv · · Score: 2, Funny
      What happens when a buffer overflow is discovered in the biometric information acceptance daemon?


      You put a cage over the biometric reader so the user can only put one finger in at a time, duh.

      --Joe
  7. Theory vs. Practice by Anonymous Coward · · Score: 4, Interesting

    It has been said that it is just as important (if not more so) to focus on educating people on what cryptography can do for them as it is to research crypotography to come up with important breakthroughs. What is your opinion on this? Should more focus be put on educating the public?

  8. what should manufacturers do? by rtphokie · · Score: 3, Interesting

    What should manufacturers of networking equipement and software do help their customers security efforts?

  9. Ok it's well known that by TerryAtWork · · Score: 4, Interesting

    In Crypto there's the NSA and there's everybody else. It's also well known they're years ahead of the pack etc.

    My first question is, how confident are you, as a crypto person, that you're not inadvertently peddling snake oil, that is, crypto the NSA has already cracked?

    Second, the NSA allegedly has secret patents it uses to suppress new crypto. Do you think this is a significant inhibiter on research or am I worried for nothing?

    --
    It's Christmas everyday with BitTorrent.
  10. who is the worst to deal with? by greechneb · · Score: 5, Interesting

    Where do you find the most resistance is in integrating/using a new standard such as this?

    - The software developers
    - The software distributors
    - The end users

    My first guess would be the end users, but I am curious as to which group gives you the most problems.

  11. Certification and SSL by Zwack · · Score: 3, Interesting

    Given that an SSL connection is cryptographically secure, and that any security is only as strong as its weakest link...

    How secure do you really think an SSL connection is when both parties are having to trust certificates signed by third parties? I don't know how Verisign store their root keys, nor do I know how they verify the identity of someone before issuing a certificate. So can I really trust that a certificate signed by them is valid and can you see any way of removing the trust element?

    Z.

    --
    -- Under/Overrated is meta-moderation, and therefore is Redundant.
  12. Formulaic test for primality by casio282 · · Score: 2, Interesting

    How do you think the recent discovery of a formulaic test for the primality of a number might affect current cryptographic systems? Is there a way to exploit this method into a better system for factoring large primes?

    --

    :wq
  13. How can I help? by arnie_apesacrappin · · Score: 5, Interesting
    I just started a Master's program in CS that is specialized in information security. One of the options for degree completion is a thesis.

    From the formal side of things, I am new to information security. I have been doing applied security work for about three years. I would really like the challenge of writing a thesis, but so far I haven't come up with anything.

    Here are my requirements: I want the topic to be challenging, I want it to be within the grasp of a Master's level understanding of information security, and I want it to be valuable to the community.

    Are there any areas or topics that need to be addressed but have not? Is there something the community needs but has not yet received? If background info helps, I really enjoy picking apart IP traffic, and have some interest in fractals from a mathematic perspective.

    Also, I'd like to say thanks for the links on your site. I now have tons more reading material.

    --

    Still, with a plan, you only get the best you can imagine. I'd always hoped for something better than that. -CP

  14. So.... by GigsVT · · Score: 4, Interesting

    Have you ever forgotten an important password/passphrase?

    --
    I've had enough abrasive sigs. Kittens are cute and fuzzy.
    1. Re:So.... by tigertigr · · Score: 5, Interesting

      As a follow-up, do you have your own personal system for generating/remembering passwords?

      Furthermore, since we require more and more passwords for things such as networks, email, online banking, ebay, and on and on, what do you think is the best method for joe average to keep track of all of these, aside from a) using the same password for all of them and b) using a "trusted" framework (passport, palladium). Can there ever be a solution to such a problem?

  15. I think.... by unicorn · · Score: 2, Insightful

    They're called Neutron Bombs.

    Honestly, as long as a system can be accessed by someone. It can be accessed by someone that shouldn't.

    --
    "Politicians are interested in people. Not that this is always a virtue. Fleas are interested in dogs." P.J. O'Rourke
  16. Not a question, but a comment for slashdot by Anonymous Coward · · Score: 4, Insightful
    After seeing this story go up, it made me actually think about the interview longer, without being so pressed to try to get my response in quickly. I actually went to their website, and read through more carefully then usual. - Which got me to thinking.

    Why not make stories have a ten or fifteen minute delay to allow people to actually READ the articles. Have a little timer that says how long until the story goes live for comments. This might take care of some of those who never read the articles.

    Just a thought....

  17. Worst implementation? by burgburgburg · · Score: 5, Interesting

    In your consulting capacity (and without naming names), have you ever run across a companies security implementation that was so bad, so insecure, so open to exploitation that you felt an overwhelming compulsion to shut down the servers, lock the doors and call in a security SWAT team? That you actually felt like going out and shorting the companies stock? That you had to hold back from whomping someone upside the head? That you inquired about having the head of security investigated to make sure he wasn't a black hat hacker/competitor's security spy/foreign agent? How bad was the worst implementation you've ever seen?

    1. Re:Worst implementation? by rjh · · Score: 5, Interesting
      True story. I won't name the company, nor do I list my employment with this company on my resume'. After you hear the story, you'll know why.

      I was recruited from a major telco to work for a competing telco in 1999, ostensibly to work as part of their tiger team. When I showed up for work, there was nobody else on the team. "Don't worry," I was told, "we're hiring more. Just try and get some good design work done on securing our billing back-end, because right now it's wide-open."

      Wait, your billing back-end is wide open?

      "Yes."

      And it's deployed?

      "Yes."

      Oh, fuck.

      So I went to work on the back-end (which, at the time, was handling about $1 billion a year), with a great feeling of doom hanging over my head. When you're getting paid $38K and have no backup and you're told that "if we lose money from insecurity, it's all your fault, regardless of the fact we deployed it without any security to speak of"... well. You can figure it out.

      A month later I had a binder full of attacks against the network, and another binder full of design ideas for how to secure it. By "binder", I mean 2-inch binders stuffed to the gills with paper. I was shortly thereafter called into my manager's office. An HR representative was present, so I knew the news was bad.

      "Rob," my manager said, "we're concerned that you've made no progress on your task..."

      What? I asked. I pulled out the Binders o' Doom from my satchel (we didn't have any secure storage in the development group, so I didn't ever let those binders out of my sight) and set them on her desk.

      "Oh," she said as she leafed through the binders. The look on her face was roughly that of an indigenous South Pacific islander who was seeing an indoor toilet for the first time. "Um. Rob. Didn't anyone tell you?"

      Tell me what?

      "We already have a design we want you to use. You just have to implement it. No, no, you're not anywhere near senior enough to come up with a design for the security of the billing system..."

      I breathed a sigh of relief. Sanity at last! And then she handed me a very thin folder.

      I opened it up and it was, I shit you not, RFC1991. Classic PGP.

      I laughed, handed the binder back, and told her she grabbed the wrong folder. Then she got very angry with me and asked me what, precisely, was wrong with using Classic PGP to secure the back-end?

      I gave her the litany:
      • Classic PGP is used to protect email traffic in transit. It doesn't protect databases, it doesn't separate privileges, it doesn't set up a redundant network, it doesn't do offsite backups, it doesn't make sure your Verisign certs are current.
      • Classic PGP has been superseded by RFC2440, which fixes a lot of problems in the original spec, like no separate subkeys for encryption and signing.
      • Classic PGP uses two patented algorithms, and if you can barely afford the $38K budget entry for my salary, there's no way you can afford the patent royalties on a couple of billion dollars of transactions.
      • Classic PGP is a protocol: it's not a security design.
      • ... and on and on and on.

      Finally I asked "so who's the genius who came up with this one?"

      Whoops. Turns out said genius was sitting across the desk from me.

      By the end of the day I was busy writing Classic PGP in C++, under Management orders. The Sword of Damocles was falling and I was right under it. I protested, loudly and vociferously, until finally I got canned for "not being a team player and not performing according to expectation".

      I was climbing in my car to leave the company for the last time when I realized... hey, I still have the Binders o' Doom in my satchel.

      I got out of my car and walked back towards the building. An HR representative stopped me at the door and told me that if I walked in, it'd be considered trespass. I explained that I just wanted to drop off something for w

    2. Re:Worst implementation? by pyro_peter_911 · · Score: 2, Funny

      I still have the Binders of Doom on my bookshelf, filled with detailed notes and attack trees for how someone could embezzle hundreds of millions of dollars from my former employer. It tells you a lot about them that they left that sort of information in the hands of a disgruntled former employee, eh?

      I'll take those binders off of your hands for $50. :)

      Peter

    3. Re:Worst implementation? by anonymous+cupboard · · Score: 2, Interesting
      Love it. You should have oferred to do a presentation for their auditors.

      Its like when I heard an android describing the security requirements for an electronic financial derivatives exchange:

      "Its not like we're dealing with money"

      No, just a government bond worth about $100000.

      Another one at a bank, there is a story about the international payments system. It is split into two parts, the payment transmission system and the ledger. Great idea. Then why save money by having one guy to support both with admin status (he was an external too)? Apparently he siphoned off about $1mill when he was caught. The rumour says he was only caught because he got nervous after 9/11 and wanted to move his ill-gotten gains again. They were already offshore, but the bank queried the transaction and the scheme collapsed.

      The thing is that the SWIFT system is designed around the four-eyes principle. You need two authenticators per transaction, but the number of organisatons that make procedurally easy to avoid these checks is frightening.

  18. what progress... by MarvinMouse · · Score: 3, Interesting

    is being made towards the implementation and use of elliptic curve cryptography?

    I have read a lot about it and it seems to be the direction public-key crypto is going nowadays. Have you done any serious work in this field? and if so, when do you think the public will start to see it implemented full force?

    --
    ~ kjrose
  19. SSL VPNs? by Jacco+de+Leeuw · · Score: 3, Interesting

    What's your opinion on VPNs based on SSL/TLS, instead of those using protocols such as IPsec or PPTP?

    Are SSL VPNs up to par? What are their strengths and weaknesses? Was SSL designed for such applications?

    --
    -------
    Warning: Slashdot may contain traces of nuts.
    1. Re:SSL VPNs? by digitalsushi · · Score: 2, Insightful

      SSL VPNs have one advantage going for them that IPSEC can't compete with- "stealth" mode. Ok, it's surely not invisible, but you can usually configure the port you want it to run on. OpenVPN is what I have converted five of us over to from working FreeS/WAN VPNs, as most of us have the same ISP who has claimed they will be blocking IPSEC packets from residential customers. We don't want our VPN to disappear, so we're forced to use this TLS VPN package.

      I'm unaware of any weaknesses this has versus a real IPSEC solution, but I'm not an expert and that does lead me into my point- lots of people here have struggled with FreeS/WAN- OpenVPN takes about 3 hours to read up on, build, install, configure, and get running.

      --
      slashdot: where everyone yells sarcastic metaphors to themselves to understand the issue
  20. Internet broken? by bpfinn · · Score: 5, Interesting

    The Internet was primarily designed for use by researchers who were collaborating on similar projects, and so security was not part of the design. Would you advocate designing and building another Internet where security was a major design goal? Or can we tweak the current Internet to reduce that amount of maliciousness that goes on now?

  21. What is worth protecting? by kryzx · · Score: 3, Insightful
    Paul, What advice do you have for people trying to find the balance between security and convenience? When is it worthwhile to protect something? Should a person try to protect all of their info and communications just for privacy purposes, or make a determination about which things are valuable enough to be worth the effort and/or processing power?

    Along these lines, of your own personal communications and data storage, what do you encrypt and what do you leave unencrypted?

    --
    "I don't know half of you half as well as I should like, and I like less than half of you half as well as you deserve."
  22. Unsecurity by termos · · Score: 2, Interesting

    The older versions of SSL has been very insecure.
    How will the SSL team improve security in the new version of the SSL protocol?

    --
    Note to self: get smarter troll to guard door.
  23. Palladium by SiliconEntity · · Score: 5, Interesting

    Paul, what do you think about Microsoft's Palladium initiative and Trusted Computing in general? Will it achieve its goals from the security perspective? Is it only for DRM or are there other ways that you could use it?

  24. Quantum Computing and Cryptography by Nova+Express · · Score: 4, Interesting

    Will the advent of quantum computing render even current, state-of-the-art cryptography obsolete? Is there any way that cryptography can overcome the challenge presented by quantum computing? And how long will it be, if ever, until quantum computer's can break current, state-of-the-art cryptography?

    --
    Lawrence Person (lawrencepersonh@gmailh.com (remove all "h"s to mail)

    http://www.lawrenceperson.com/

  25. Dive Right In by Accidental+Hack · · Score: 5, Interesting

    What does a newbie do? Having been put in a position where I'm partly responsible for server security, and having been put in that position without the proper background (and the responsiblity is here to stay), how do I get my head straight on the core issues and make sure I'm not leaving the doors open for anyone to do whatever they want? Reading books/articles doesn't seem to be enough, but if that's the best place to begin, any recommendations?

  26. DRM systems? by Anonymous Coward · · Score: 5, Interesting

    There's much going on in the area of DRM these days. Microsoft/Intel are pushing for a secure nub and a trusted OS (Palladium). DirecTV's P3 is totally hacked and Echostar is open to EJTAG manipulation. The studios are pushing for stronger encryption for the next-generation DVD after CSS has been hacked.

    What is your opinion about where DRM systems should go? How can we protect fair use and still get movies released in HD?

  27. Crypto in the scope of the real world. by matman · · Score: 4, Interesting
    It seems that most cryptographic methods depend on one of a number of hard to solve problems, such as the factoring of large numbers, elliptic curve discrete log, etc. These kinds of methods suffer catastrophic failure when the problems on which they depend are no longer hard. In the foreseeable future, it seems that factoring large primes will become less hard (especially with the help of quantum computers).

    What contingency plans are you aware of? What sort of research is being done to avoid this single point of failure problem in future solutions? Are we just hoping for quantum encryption to save us? Of course, the real solution is to not depend solely on crypto for security, as crypto it self will never be perfect (implementation problems, etc). Security organizations, who haven't already, need to update their risk assessments to include risks to crypto solutions. It's still interesting to look at crypto in a more narrow scope than the real world :)

  28. From a Student's Perspective by TedCheshireAcad · · Score: 4, Interesting

    I am a student pursuing a bachelor's degree in Computational Mathematics.

    What is the best way to go about finding a career in cryptography/cryptology?
    How did you start in the field?
    Is there a "job market" per se, or is it more of a position that one falls into?

    1. Re:From a Student's Perspective by geekoid · · Score: 2, Funny

      What are you, a dolt?
      This had been explained quite clearly in many, many movies.
      First, you crack some secret government super hard code, snoop around.
      Secret Agency use there 'really good software', written and operated by some overweight obnoxius individule, to track you to your address.
      they then send someone to kill you, you narrowly escape, befriend some mysterious former agent.
      after he saves you from more assassination attempt, he finally dies saving your life. after which the agency feels bad and brings you on. Usually the rest of the world thinks you are dead, or you maintain a secret job.

      I assume you are not a dolt, but I just wanted to set up the joke.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  29. 64 Bit Computing by MBCook · · Score: 4, Interesting

    One of the applications that is supposed to get a large boost from going from 32 to 64 bits is cryptography. Are you very excited about the move to 64 bits? Do you really think that it would make that much of a difference? Are there any downsides to going to 64 bit compuiting in cryptography (other than the time to port the software)?

    --
    Comment forecast: Bits of genius surrounded by a sea of mediocrity.
  30. Alternative to uid/pw logins to establish identity by Blain · · Score: 5, Interesting

    The recent /. discussion of worms exploiting weak passwords got me thinking problems I have with consistently using strong passwords. I have heard many times that we should use strong passwords (mixed case, letters, symbols, no dictionary words in any language, no number patterns that others could derive, etc.), that we should not reuse passwords, that we should not write down passwords, but should always have them memorized.

    Now, if I was on a handful of systems, this would make sense. However, I've found that many websites I come to are increasingly requiring registration, including creating a userid and password to log in to their systems. The personalization of my interface with their system is nice, but makes following the rules about passwords unmanageable -- I can't keep track of several dozen strong passwords from memory.

    As an alternative to that, for website uses such as I've mentioned, it seems to me that making use of a public-key encryption system, something along the lines of what I understand SSL to do, would seem to make more sense. My system could exchange encrypted data with the web server using our known public keys, enabling us each to know that we are, in fact, who we claim to be. Even if I was required to use my pass-phrase that goes with that public key each time I logged in, it would be easier for me to remember that one pass-phrase (which could be even more secure than a 6-8 character password) than is currently available.

    Obviously there would be change-over costs involved with this, but is there some big reason that this kind of a system would be less secure than the current system, particularly if we take into account the problem of weak and repeatedly used passwords?

  31. Passwords by jamienk · · Score: 3, Interesting

    My wife and I each are forced to have several dozen usernames and passwords for various websites, programs, email accounts, accounts at work's computer systems, etc. It seems that each sys admin/org has a different policy for creating these accounts, so that we are unable to memorize a few possibilities and choose from among those. (sometimes usernames/passwords are assigned, sometimes they insist on having #s, sometimes capital letters, etc.)

    My wife has several files and pieces of paper with all of her passwords written down. She has to keep these on 3 or 4 computers, in her wallet, in her hotmail account, etc.

    How problematic is this? Can this ever be solved? How?

  32. Why should the public care? by httpamphibio.us · · Score: 3, Insightful

    Can you present a brief argument that you believe should raise the interest level of the general public in the need for cryptography?

    --
    sig.
  33. NOT an interview question ... by silvakow · · Score: 2, Funny

    Just thought you'd like to know, ROT13 is outdated. There is a new protocol out to replace it as of a couple of days ago called ROT-13+.

    --
    In the long run, we're all dead.
    1. Re:NOT an interview question ... by epictetus · · Score: 2, Funny

      That's nothing. My corporate VPN runs on double-Rot-13, also known as Rot-26. It's twice as secure!

  34. Your use and abuse of Cryptography by fruey · · Score: 4, Interesting
    I'd like to know if you practice what you preach. Do you go out of your way to use GPG/PGP or other encryption on all correspondance, run all your web applications under TLS/SSL, and generally advocate this? Or is cryptography something for which you think only specific applications are in order?

    The reason I'm asking is because there are a lot of great techies out there, but it's rather the geeks that seem to do most of the advocacy and who seem to be able best to stick to their guns and force their peers to use GPG, etc.

    Also, I used the word "abuse" also. Do you think you've ever gone over the top with crypting everything, or have you ever used your knowledge to gain access to information that you should not have seen (however trivial), or have you ever been paid to crack something encrypted, won prizes, that sort of thing?

    --
    Conversion Rate Optimisation French / English consultant
  35. Which algorithm / program... by Rui+del-Negro · · Score: 2, Insightful

    Which algorithm / program do you use to protect your "top secret" files? And is there any commonly-used algorithm / program that you wouldn't trust to protect your shopping list?

    RMN
    ~~~

  36. Interface with Government agencies by bstadil · · Score: 4, Interesting

    How do you currently interface with various government agencies? What kind of pressure is put to bear, how do you see it evolving and are you able to answer these questions freely.

    --
    Help fight continental drift.
  37. TLS/SSL as a sockopt? by brianjcain · · Score: 2, Interesting

    Hey, is there a feasability problem with making the addition of TLS a socket option? For TCP/UDP/SCTP clients (connection/datagram initiators), it would be great to use a system-wide certificate store (perhaps in kernel space?), and just say "turn on TLS". This would make writing network clients with encrypted traffic a dream.

    Granted, openssl's interface may be trivially more complex, but just the thought of managing yet another set of certificates makes me cringe.

  38. Is Cryptology a House of Cards? by kakos · · Score: 4, Insightful

    All of cryptology is built on a group of cryptographic primitives. Block ciphers, hash functions, factoring problems, discrete log problems, etc. are all used to build higher order cryptographic structures, such MACs, encryption, and signature schemes. However, all of these primitives are not proven secure. How do you feel about cryptology being built on such a fragile foundation, essentially making it a house of cards?

  39. Your use of cryptography in everyday tasks ... by Hollins · · Score: 4, Interesting

    To what extent to you use cryptography in everyday life? For instance, under what circumstances do you digitally sign or encrypt email? What information do you encrypt on your hard drive? How do you communicate securely with folks who aren't technically adept with current encryption tools? Are the tools at your disposal easy enough to use to keep up with your level of paranoia?

    thanks.

  40. Is the Technology ahead of us? by Coz · · Score: 5, Interesting

    Thanks for letting us ask you these questions.

    Over the last couple of decades, cryptography has gone from being the domain of major governments, big business, and the odd hobbyist and researcher to being a massive public industry that anyone can (and does) participate in, with new algorithms published and new applications announced almost every week. Meanwhile, we learn of vulnerabilities in various implementations of cryptosystems much more frequently than we hear of people discovering fundamental flaws in the cryptosystems themselves.

    Given these facts, do you think we need to change focus, turning to validating and "approving" implementations of cryptosystems (such as your own SSL 3.0) or should the emphasis of the "crypto community" continue to be innovation in fundamentals of cryptographic systems and new applications for them? How important is it to have someone verify that a cryptosystem is implemented well?

    Thanks, and I'll take my answer off the air :)

    --
    I love vegetarians - some of my favorite foods are vegetarians.
  41. Books, scientific journals etc by ralphus · · Score: 3, Interesting
    Everyone's read Applied Cryptography Some have read Handbook of Applied Cryptography I've read Security Engineering also, which a lot haven't seen and has a good amount of crypto in it.

    Can you recommend some good hardcore books, or journals to follow for what's going on currently in the crypto scientific community?

    --
    Revolutions are never about freedom or justice. They're about who's going to be top dog. -- Kilgore Trout
  42. The Human Factor by Anonymous Coward · · Score: 3, Interesting

    Cryptography is great, but it's only part of the solution. Seems to me that all cryptography and security measures are no more than "levels of deterence". If someone wants to gain access to your critical data, the easiest way is not going to be to break an algorithm, or try to guess a Key. Corporate espianoge and social engineering both play a huge role in the security of information. If you can dig through a trash can to find a password, or pose as a technician to gain a key to a system, why would you ever want to try to break the algorithm? How can you eliminate employees choosing passwords like 'secret', 'password', or '12345', especially when the company heads are not technical enough to enforce company policies. Afterall, just because someone pays you for your advice as a consultant, doesn't mean they'll take it. On the other end of the argument, you can't expect people to remember 16 8-bit hexidecimal numbers that are generated at random monthly, so how to do let them carry around their password in a secure fashion? Biometrics seems promising, but what if someone is able to copy your fingerprints? It's not like you can get a new finger... Any suggestions on this would be helpful... thanks!

  43. Roles of quantum cryptography by Cyran0 · · Score: 2, Interesting

    With recent developments, such as the capability to "store" photon states within a physical substance, and the progress in quantum NOT gates, there seems to be steady advancement towards quantum computing / quantum cryptography. What roles do you see quantum computing and quantum cryptography taking in changing the way cryptography is handled at present? What hurdles would have to be overcome in order to make these of practical use?

  44. Which side would you take? by CracktownHts · · Score: 3, Interesting

    As an authority in the "private industry", I'm assuming you earn more money and get more public respect than someone working for the NSA. My question is, if it weren't for the secrecy and (probable) lower pay in the NSA or a similar agency, would you want to work for them? That is, if the recognition and material rewards were equal on both sides, which would you choose?

  45. The Importance of Cryptography by presroi · · Score: 5, Interesting

    Ignoring errors in the several implementation, current encryption algorithms software provides everyone the chance to keep information secure as it is simply impractial to break the encryption in a reasonable amount of time and enough money provided. Nevertheless, I notice that the overall awareness about keeping information secret is pretty low (I'm too young to say that it has been higher some time). Anybody, who wants to get encrypted information simply attacks not the data itself but the people with legitimate access to this data. Sometimes, even this is not nescessary (I get unencrypted but highly confidential information (No Nigeria Spam!) almost daily due to a popular internet domain from my government with a simiar spelling. Those people are just guessing the email adress of their friends and sometimes they fail.)
    So, my question is this:

    Has cryptography to include the human factor itself into the calculation or is it still only about mathematics? Can you imagine a strong encryption system with a special focus on people with low awareness?

  46. Re:WHY DONT YOU (etc.) by Jacco+de+Leeuw · · Score: 2, Insightful
    Rudeness aside, this Anonymous Coward makes a valid remark.

    However, I was not referring to the same kinds of VPNs the AC mentions. I understand why TCP over TCP is a bad idea.

    I was thinking of these kinds of products:

    --
    -------
    Warning: Slashdot may contain traces of nuts.
  47. How does the Via C3 "Nehemiah" RNG work? by Anonymous Coward · · Score: 2, Interesting

    VIA's web site says that you are testing their hardware RNG, and "preliminary results show high-quality output".

    So... how does it work? I know Intel's chipsets count cycles of a high-speed (~300 MHz) clock between cycles of a low-speed VCO controlled by resistor noise.

    Did they repeat Intel's mistake implementing hardware whitening, or is it feasable to implement on-like quality checks by testing to see if the deviation from randomness is as expected?

    What's the software interface?

  48. Experts and/or The Masses by jfmiller · · Score: 2, Interesting

    I have heard from everyone with any real experence in cryptography that of all the areas of computing, cryptography is the one best left to the experts. What most programmers (including myself) might think of as a very secure encryption, when analysied by the experts, turns out to be as transparent as ROT13.

    On the other hand no where is the Open Source Modle more touted as the panacea of computing then in cryptography. Many eyes it is said will catch backdoors and reveil poor implimentations before they become security issues.

    My question then: When developing and implementing encryption, How would you weigh the need for experties with the trust and scrutiny availible from Open Source development?

    --
    Strive to make your client happy, not necessarly give them what they ask for
  49. SSL and Forward Security by Effugas · · Score: 5, Interesting

    Paul,

    First of all, thank you for agreeing to be interviewed here. It's greatly appreciated.

    I'm curious if you wouldn't mind elaborating a bit on the catastrophic failure of the SSL security architecture given the compromise of an RSA private key. An attacker can literally sniff all traffic for a year, break in once to steal the key, then continue to passively decrypt not only all of last year's traffic but all of next year's too. And if he'd like to partake in more active attacks -- session hijacking, malicious data insertion, etc. -- that's fine too.

    In short, why? After so much work was done to come up with a secure per-session master secret, what caused the asymmetric component to be left so vulnerable? Yes, PGP's just as vulnerable to this failure mode, but PGP doesn't have the advantage of a live socket to the other host.

    More importantly, what can be done for those nervous about this shortcoming in an otherwise laudable architecture? I looked at the DSA modes, but nothing seems to accelerate them (which kills its viability for the sites who would need it most). Ephemeral RSA seemed interesting, but according to Rescola's documentation it only supports a maximum of 512 bits for the per-session asymmetric key -- insufficient. If Verisign would sign a newly generated key each day, that'd work -- but then, you'd probably need to sign over part of your company to afford the service. Would it even be possible for them to sign one long term key, tied to a single fully qualified domain name, that could then sign any number of ephemeral or near-ephemeral short term keys within the timeframe allotted in the long term cert?

    Thanks again for any insight on the matter you may be able to provide!

    Yours Truly,

    Dan Kaminsky
    DoxPara Research
    http://www.doxpara.com

  50. trust in open p2p communities by smd4985 · · Score: 4, Interesting

    as a software engineer building open source p2p applications (gnutella), we are faced with a huge problem: how do we establish trust in a open environment where any application that speaks the protocol can participate? we've thought of various cryptographic systems to establish trust, but they have several fatal flaws - they require some sort of centralization (a no-no in a p2p environent), they lock out 'untrusted' vendors, etc.

    what can we do to maintain an open environment and establish trust between peers?

    --
    smd4985
  51. NSA may not be that far ahead. by rjh · · Score: 5, Insightful

    First, it's not well-known that the NSA is years ahead of the pack. That's purely speculation. The NSA says so little about how much they know that anyone who says "they're years ahead" just shows they don't know what they're talking about.

    In the '70s, '80s, and on up into the '90s, the NSA was certainly ahead of the civilian cryptanalytic community. DES, for instance, had its S-boxes strengthened against differential cryptanalysis in the '70s--about a decade and a half before the civilian cryptanalytic community discovered differential cryptanalysis.

    But recently, there've been tantalizing signs the NSA is not as far ahead as people once thought. The civilian cryptanalytic community has grown tremendously in just the last ten years, and the quality of scholarship is the best we've seen since Turing and Shannon established the field. The civilian cryptanalytic community is now breaking NSA designs.

    For instance: the NSA submitted a pretty cool cipher mode (Dual Counter Mode) for use with AES. People were looking forward to the opportunity to beat on an NSA design--and lo and behold, Dual Counter Mode was broken within a matter of weeks. The cryptoparanoids out there will say the NSA intentionally put out a weak mode in order to fool their enemies into underestimating their talents, but--really. Occam's Razor applies to the NSA as much as it applies to anyone else. The simpler explanation is that the NSA got egg on their face, just like everyone else has had. If you're going to be active in the crypto community, you're going to get your fair share of brain-os. Bruce Schneier presented MacGuffin at one conference only to have his brainchild be broken before the conference ended. If something like that can happen to Bruce, why should the NSA be immune?

    The really fascinating NSA braino is, undoubtedly, SKIPJACK, the cipher which was going to be the heart of the Clipper Chip. It had a very solid design and 32 rounds. 32 rounds is a lot of rounds--the idea the NSA would make a 32-round cipher struck a lot of people as evidence that the NSA was being extremely conservative.

    Eli Biham took a look at the SKIPJACK design and, pretty much on a mental lark, decided to play around with some numbers. Before SKIPJACK had been published a month, Biham had invented an entirely new differential cryptanalysis scheme--"impossible differential cryptanalysis"--and had used it to break 31 of SKIPJACK's 32 rounds.

    Remember: SKIPJACK was the NSA's effort at making a safe, strong cipher. They swore before Congressional intelligence subcommittees that SKIPJACK didn't have back doors, and they allowed a small number of outside experts (incl. Dorothy Denning, who's a crypto luminary) to review major portions of the classified cipher.

    So either you've got to believe the NSA lied to Congress, deliberately deceived Denning, and that Denning wasn't smart enough to know she was being deceived... or you can believe the civilian cryptanalytic community is getting good enough to challenge the NSA on the NSA's own terms.

    Anyway. Come to your own beliefs as to how far ahead the NSA is of the civilian cryptanalytic community. I think the answer is "not very", but reasonable people will certainly disagree on these things.

    1. Re:NSA may not be that far ahead. by swillden · · Score: 4, Insightful

      Good post, but I disagree on a couple of minor points.

      Bruce Schneier presented MacGuffin at one conference only to have his brainchild be broken before the conference ended. If something like that can happen to Bruce, why should the NSA be immune?

      This doesn't really follow. Schneier's a smart guy, and he's among the better cryptographers in the world, but his screwup doesn't necessarily mean that the NSA would also.

      However, the fact that *every* cryptographer who's been around for a while has had his or her share of public failures does.

      Eli Biham took a look at the SKIPJACK design and, pretty much on a mental lark, decided to play around with some numbers. Before SKIPJACK had been published a month, Biham had invented an entirely new differential cryptanalysis scheme--"impossible differential cryptanalysis"--and had used it to break 31 of SKIPJACK's 32 rounds.

      Umm, not quite. First, Biham and Shamir invented differential cryptanalysis in 1990; they didn't invent it to attack SKIPJACK (although their paper on SKIPJACK did introduce a new variant, IIRC). Second, there are two possible "lessons" to take away regarding the capabilities of the NSA. One is what you said, that the NSA had built in a lower safety margin than they thought they had, but the other is that they knew what they were doing and deliberately chose 32 rounds because they knew 31 could be broken and they're pretty confident in their analysis.

      Breaking a 31-round reduction of SKIPJACK does absolutely no good if you need to decrypt messages encrypted with 32-round SKIPJACK.

      Remember: SKIPJACK was the NSA's effort at making a safe, strong cipher. They swore before Congressional intelligence subcommittees that SKIPJACK didn't have back doors

      Umm, SKIPJACK *doesn't* have any back doors or weaknesses that we know of. The LEAF (Law Enforcement Access Field) they proposed for Clipper (with SKIPJACK as the cipher) was soundly thrashed by Matt Blaze, but that was the opposite. The NSA intended to design in a back door whereby law enforcement officials could decrypte messages, but Blaze found a way to close that door.

      The weakness in the LEAF, however, was almost certainly a significant "braino" by the NSA. Even if for some reason they wanted to be able to defeat the LEAF, they apparently underestimated the ability of academic cryptanalysts. It's more likely, however, that they just plain screwed up, just like they did with the dual counter mode.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  52. Factoring by rmcnutt · · Score: 2, Interesting

    What impact would a factoring algorhitm which reduced prime factoring to a non exponential problem have on the encryption industry in general?

  53. USPTO by T.+Bombadil · · Score: 5, Interesting

    Has any of your work been impacted or covered up by the USPTO's ability to declare a patent a secret? Were you compensated for the loss? How do feel about the confiscation both personally and in general?

    --
    -- If you cast your bread on the water, sometimes it comes back angel food cake.
  54. Please use Google. by rjh · · Score: 4, Insightful

    *sigh* I really wish people wouldn't mod up questions which can be adequately answered with a quick Google search. That said--please mod the parent down, since it's not worth Paul's time. But I'm not going to leave the poster emptyhanded, either.

    In order to flip a bit requires a thermodynamic minimum of 4.4 * 10**-26 joules of energy. (Ignore the time/power theoretical tradeoff and energyless reversible computing, please: those are still purely theoretical, and we have no computers which can do it. For that matter, we have no computers which can approach the thermodynamic minimum, but let's give the NSA some credit.)

    That means it requires a minimum of 1.1 * 10**-23 joules of power to store a 256-bit AES key. Let's assume you have some kind of truly bizarre key cracker that can do an energyless rekey and key trial: all you have to do is have 1.1 * 10**-23 joules of power for each key you want to test. That's the thermodynamic minimum energy you need just to store the key.

    To break a 256-bit key by brute force requires, on average, 2**255 operations. Multiply 1.1 * 10**-23 joules of power by 2**255, and you get 6.5 * 10**53 joules of power.

    Let me repeat this.

    It requires

    650000000000000000000000000000000000000000000000 00 0000000

    ... joules of power.

    By comparison, the Sun's annual power output is in the realm of 1.2 * 10**34 joules.

    Or

    120000000000000000000000000000000000

    ... joules of power.

    Are you beginning to see why it's such a silly question to ask whether or not modern ciphers can be brute-forced with Crays?

    Please. Use Google before asking questions.

  55. Grid Computing and Crypto by Subotai · · Score: 4, Interesting

    Grid Computing seems to be a technology that has the potential to host brute force decryption efforts. Aside from bigger and bigger keys are there any other crypto techiqures or research underway to defeat grid computing? Also, what does this mean for desktop cryptography?

    --
    "The only way to catch tiger cubs is to go into the tiger's den."
  56. Security as an Engineering Discipline by Anonymous Coward · · Score: 2, Insightful
    In most engineering/applied math disciplines we use the following approach:
    • Identify a problem - that is some phenomena we want to control, some functionality we want to support or find something we want to prove/solve for or approximate.
    • Design an approach - Come up with a control mechanism, implement the desired functionality or derive a proof or estimate.
    • Analyze the approach - Examine the approach and measure its cost, correctness and performance.

    When we talk about crpytography, people go around saying that one method is stronger than another, however, I haven't seen quantifiable measures of strength presented. What (if any) strength measurements do security analysts use and how are
    these measurements computed?
  57. Security/Cryptography vs Development by sirrube · · Score: 3, Interesting

    How difficult is it to implement very secure algorithms for the common developer with little experience in implementing security. As innovations in making more complex algorithms comes into play, what types of innovatoins are being done for implementing these algorithms? Could the lack of understanding how to implement these algorithms be in itself a reason for lack security in applications / processes?

  58. Crypto for batteypowerd devices by andsand · · Score: 2, Interesting

    Hi!

    Thank you for letting us ask all these questions.

    If you would recomend using crypto in PDA:s, cellphones etc that are dependent on battery power, and you want to be as secure as on your desktop where SSH and SSL is used, what crypto would you use for different applications such as webbservice, mail, telnet and VoiceIP? Are there any cryptoalgorithms that are much less computing intensive but still keep a high crypto profile?

    --
    Luck is opportunity meets preparation, lets get lucky
  59. Quantum attack by one_line_enough · · Score: 2, Interesting

    In your opinion, how well would current crypto standards (SSL for example) stand up against a cryptnalysis attack using quantum computer(s) (if/when ever available).

  60. How do you think? by Charles+Dodgeson · · Score: 4, Interesting
    When I first read about some discovery of a weakness (for example, I know your name from your work on MD5), I am always struck by the thinking beyond the framework of the designer of the system and of the community to date. The same things strikes me about timing attacks and similar sorts of things. These are things that I wouldn't have thought of in a million years. Can you give any insight into how minds like yours work. And to what extent you think that this might be a trainable skill.

    I normally hate the cliche of "thinking outside of the box", but here it is fully appropriate.

    --
    Prime numbers are exactly what Alan Greenspan says they are -S. Minsky
  61. Human adoption? by kirkjobsluder · · Score: 2, Insightful

    It seems that the primary problem with cryptography is sociology, not mathematics. I spent about two weeks signing messages before co-workers complained that it made mail more difficult to read. A talk I gave last year on the importance in securing reseach data was attended by a total of 3 people. What do you see as the biggest barriers to adoption of digital signatures?