Slashdot Mirror


Microsoft Adds Post-Quantum Cryptography To an OpenVPN Fork (bleepingcomputer.com)

An anonymous reader writes: Microsoft recently published an interesting open source project called "PQCrypto-VPN" that implements post-quantum cryptography (PQC) within OpenVPN. Being developed by the Microsoft Research Security and Cryptography group, as part of their research into post-quantum cryptography, this fork is being used to test PQC algorithms and their performance and functionality when used with VPNs.

Microsoft's PQCrypto-VPN is published on Github and allows anyone to build an OpenVPN implementation that can encrypt communications using three different post-quantum cryptography protocols, with more coming as they are developed. These protocols are: (1) Frodo: a key exchange protocol based on the learning with errors problem (2) SIKE: a key exchange protocol based on Supersingular Isogeny Diffie-Hellman and (3) Picnic: a signature algorithm using symmetric-key primitives and non-interactive zero-knowledge proofs.

63 comments

  1. Picnic is already broken. by CajunArson · · Score: 5, Funny

    Picnic might be secure from quantum computers.

    But its basket structures are clearly vulnerable to bear based attacks where the attacker is mathematically proven to be smarter than average.

    --
    AntiFA: An abbreviation for Anti First Amendment.
    1. Re:Picnic is already broken. by Anonymous Coward · · Score: 0

      Fuck yeah man. That took me a bit.

    2. Re:Picnic is already broken. by Roger+W+Moore · · Score: 4, Funny

      But its basket structures are clearly vulnerable to bear based attacks where the attacker is mathematically proven to be smarter than average.

      That's definitely a major boo-boo.

    3. Re:Picnic is already broken. by PoopMonkey · · Score: 2

      How do honeypots factor into this?

    4. Re:Picnic is already broken. by Anonymous Coward · · Score: 0

      Vulnerable to Yogi Bear Attack.

    5. Re:Picnic is already broken. by bmxer4130 · · Score: 0

      AntiFA: An abbreviation for Anti First Amendment.

      Have you ever been told you have the most punch-able signature?

  2. _NSAKEY by Anonymous Coward · · Score: 0
  3. Marketing by Anonymous Coward · · Score: 0

    Ante-Quantum Cryptography is much, much better, more open, and way more transparent.

  4. After a Quantum by Anonymous Coward · · Score: 0

    There is nothingness and then !BANG! the next quantum!

  5. Re:Wait! by PolygamousRanchKid+ · · Score: 2, Insightful

    Microsoft? Security? Something doesn't seem quite right.

    For me, security and Microsoft is not the issue. It's trust and Microsoft.

    As in, "I trust Microsoft, as far as I can throw them."

    --
    Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
  6. GitHub... by Aethedor · · Score: 0

    GitHub... sounds familiar. Can't remember what it was...

    --
    It doesn't have to be like this. All we need to do is make sure we keep talking.
    1. Re:GitHub... by Anonymous Coward · · Score: 0

      You have a disturbingly small penis.

  7. In french PQ by Anonymous Coward · · Score: 0

    In french PQ stands for Toilette Paper. Everybody will laugh at this name :-D

  8. A HARD problem. by Anonymous Coward · · Score: 0

    So where's the quantum hardware to making this all work?

    1. Re:A HARD problem. by BitterOak · · Score: 4, Insightful

      So where's the quantum hardware to making this all work?

      I was confused by this point too, till I did some reading. "Post-quantum cryptography" is NOT the same thing as "Quantum cryptography". The former merely refers to cryptographic algorithms for which there are no known algorithms for quantum computers which can break them. So, RSA would not be considered post-quantum, because Shore's algorithm can break it.

      --
      If I can be modded down for being a troll, can I be modded up for being an orc, or a balrog?
    2. Re:A HARD problem. by Anonymous Coward · · Score: 0

      Shore's algorithm can theoretically break it. If it's physically possible to build a quantum computer capable of executing it in real-world sizes, which hasn't been proven yet.

    3. Re:A HARD problem. by swillden · · Score: 5, Interesting

      So where's the quantum hardware to making this all work?

      I was confused by this point too, till I did some reading. "Post-quantum cryptography" is NOT the same thing as "Quantum cryptography". The former merely refers to cryptographic algorithms for which there are no known algorithms for quantum computers which can break them. So, RSA would not be considered post-quantum, because Shore's algorithm can break it.

      All of our current asymmetric algorithms are vulnerable to Shor's (note spelling) algorithm, assuming a sufficiently-large quantum computer. Grover's algorithm can solve any problem that requires searching a solution space of size N in sqrt(N) time. The first means we need new asymmetric algorithms (public/private key algorithms, like RSA and ECC) that are quantum resistant. The second means that our symmetric algorithms and hashes (like AES and SHA-256) have effectively half the bits of security that we thought, so we may need to reach for larger sizes.

      Note that at this point all of these issues are theoretical, because no quantum computers large enough to make these attacks practical exist. With respect to Grover's algorithm, the quantum computers not only have to be sufficiently large, they also have to be quite fast because, for example, finding an AES-128 key will require 2^64 operations which is still a lot. However, it seems unwise to assume that we will never have sufficiently large/fast quantum computers and that these attacks will always remain impractical. Cryptographers like to say "attacks always get better", because they almost always do. If you see a vulnerability that might become practial in two or three decades, then you should start thinking about how to address it now, because the attacks may improve more than you expect, faster than you expect, and changing cryptosystems is going to take at least one of those decades.

      We have no real way of predicting how fast progress in quantum computing will move, so we should experiment with post-quantum algorithms now, and begin trying to move to them seriously in the near future.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    4. Re:A HARD problem. by Anonymous Coward · · Score: 1

      You're making too many assumptions. We don't know whether a sufficiently capable quantum computer exists, However, given the NSA's estimated yearly budget, their previous track record, and the estimated number of their employees, it's not unlikely that they could be far ahead of civilian quantum computer development, for example. Other intelligence agencies may have comparable resources. If the history of cryptography has told us anything, then certainly that adversaries with the budget and resources have often been underestimated.

    5. Re:A HARD problem. by Anonymous Coward · · Score: 0

      Note that at this point all of these issues are theoretical, because no quantum computers large enough to make these attacks practical exist.

      Or do they?

  9. Abilities by Anonymous Coward · · Score: 0

    Meanwhile: I can tie my shoes!

  10. So Interesting! by Anonymous Coward · · Score: 0

    It's on bleepingcomputer! It's about microsoft! Doing something others have done better already! As always!

    Thanks msmash, another vapid bullshit piece, thank you so much for that.

  11. Re:Wait! by NicknameUnavailable · · Score: 2

    Yeah, I fully expect them to implement a secure VPN. I don't trust them not to have backdoors (actual, rotating security holes, or otherwise) at each endpoint. They want access to your data, they have a vested interest in assuring others don't get it without going through them.

  12. Re: Wait! by Anonymous Coward · · Score: 0

    Only US patriots with US dollars get access to MS confidential data!

  13. Can't trust Big Software or Gov in crypto by Anonymous Coward · · Score: 0

    it has to be designed by multiple independent people out of reach from U.S. gov, or it is simply too likely to be broken in secret.

  14. Re:Wait! by AlanBDee · · Score: 2

    Well, you can download the source code and examine it for back doors. I know not many will do this but it would be a huge breach of trust by Microsoft if anyone found anything like a back door. Because of this I believe it's far more likely that they created this tool to appease international customers and released it as an open source project to prove it.

  15. Promise not to patent? by Anonymous Coward · · Score: 0

    I smell submarine patents lurking in the future.

    Unless the inventors are known and have disclaimed any future patent enforcement, this could be a trojan horse to get patent-pending algorithms in wide use.

    1. Re:Promise not to patent? by Anonymous Coward · · Score: 0

      https://github.com/Microsoft/P... I'll save you the click... its MIT

  16. Re:Wait! by Skuld-Chan · · Score: 0

    Hur hur - Micro$haft am I right?

  17. Re:Wait! by Anonymous Coward · · Score: 0

    I'm having trust issues with this project as well, but that has more to do with somebody trying to develop a security solution against goalposts which haven't really been defined yet than it does with the name on the top of the page. They could have done all this work and the first production quantum computer could come along and roast it in .38 seconds. Or maybe it doesn't, but a cluster of them do. They literally just went "hey, we made a thing, but it might not work because we didn't make flux capacitors first".

  18. Re:Wait! by PolygamousRanchKid+ · · Score: 4, Informative

    Well, you can download the source code and examine it for back doors.

    Well, google on "ken thompson compiler backdoor" :-)

    You can put some source code in that looks innocuous, but the compiler adds a backdoor when it sees that code:

    In 1984 KenThompson was presented with the ACM TuringAward. Ken's acceptance speech Reflections On Trusting Trust (http://cm.bell-labs.com/who/ken/trust.html) describes a hack (in every sense), the most subversive ever perpetrated, nothing less than the root password of all evil.

    Ken describes how he injected a virus into a compiler. Not only did his compiler know it was compiling the login function and inject a backdoor, but it also knew when it was compiling itself and injected the backdoor generator into the compiler it was creating. The source code for the compiler thereafter contains no evidence of either virus.

    --
    Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
  19. Shame nobody on /. will be using it..... by Computershack · · Score: 1

    Given that its hosted on Github which since Microsoft bought most of /. say they won't use, then I guess there won't be that many people trying it....

    --
    I only please one person per day. Today is not your day. Tomorrow isn't looking good either. - Scott Adams
    1. Re:Shame nobody on /. will be using it..... by Anonymous Coward · · Score: 0

      Judging by the caliber of tech wannabee's who post on this site I doubt any of them would know what to with source code from any repository.

    2. Re:Shame nobody on /. will be using it..... by Anonymous Coward · · Score: 0

      Given that its hosted on Github which since Microsoft bought most of /. say they won't use, then I guess there won't be that many people trying it....

      Hah! I knew Microsoft bought /. Explains a lot...

  20. Re: Wait! by Zero__Kelvin · · Score: 1

    If my trust in Microsoft could be quantified it would be a large negative number. I trust the code however as it is available on github and I have zero doubt it will be reviewed by experts more qualified than anyone who works at Microsoft. Microsoft knows this as well and even they aren't so stupid as to chance getting caught trying anything unscrupulous in this case.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  21. Re:Wait! by shubus · · Score: 1

    Yah, it sure doesn't sound right. I doubt Microsoft would release code like this unless they've already figured out a backdoor even if it's not obvious in the source code.

  22. Trust by manu0601 · · Score: 1

    We need a lot of independent researchers opinion on that.

    Everyone remember Dual EC DRBG?

  23. Re:Wait! by AHuxley · · Score: 0

    https://www.theguardian.com/wo... (12 Jul 2013)
    Recall "... newsletter entry stated that NSA already had pre-encryption access to Outlook email"

    MS likes to help with tricky new crypto. Help the NSA.

    --
    Domestic spying is now "Benign Information Gathering"
  24. Re:Wait! by NicknameUnavailable · · Score: 1

    Firstly, I said rotating security holes or otherwise (e.g. "bugs" which get patched regularly with new bugs added in their place.) Secondly, I said endpoints - as in Windows 10 itself is spyware, they aren't so much interested in breaking the VPN if they have the endpoint.

  25. Re:Wait! by Anonymous Coward · · Score: 0

    But if it's Open Sores, it'll be found fast! I mean, it only took heartbleed forever to be discovered, but that's besides the point.

  26. Re: Wait! by Anonymous Coward · · Score: 0

    "If my trust in Microsoft could be quantified it would be a large negative number."

      Windows 10 is possibly the worst spyware ever made.

      7 ways Windows 10 pushes ads at you

  27. post quantum crypto! by iggymanz · · Score: 1

    what a stupid pandering meaningless sound-bite.

    it is not known that any current crypto is unbreakable by quantum computing.

    1. Re:post quantum crypto! by Anonymous Coward · · Score: 0

      But there are people developing quantum algorithms already and Shor's algorithm seems to be how they would be use them to factor large numbers quickly.

    2. Re:post quantum crypto! by Anonymous Coward · · Score: 0

      While it is true that you could probably prove that post-quantum crypto can be secure, you'd have to first demonstrate that quantum crypto cracking exists. Right now there is no such thing.

    3. Re:post quantum crypto! by micahraleigh · · Score: 1

      That's like saying first a tidal wave has to crash into the power plant to demonstrate it is defeatable.

  28. Protocols by Anonymous Coward · · Score: 0

    They forgot to include the protocol named 'GONE FISHIN'. I are being serious.

  29. Only binaries in that repo by Anonymous Coward · · Score: 0

    This repository contains only config files and DLL files. Nothing is open source. Microsoft uses github only for file hosting and nothing they share is open source.

    What a joke when M$ pretends to "contribute" to open source projects..

  30. Re:Wait! by Anonymous Coward · · Score: 0

    Sure they can release source code, but that does not help if the software binary is overwritten by force pushed updates. And people can not compile it by themselves, as MS requires system binaries to have their signature. In reality this is just a PR gig in their "MS loves open source" tour.

  31. Re: Wait! by Zero__Kelvin · · Score: 1

    You don't seem to understand how git works or any SCM tool works. It is trivially easy to see what has changed and look closely at those changes. So no they won't be "rotating" intentional flaws.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  32. Re: Wait! by Zero__Kelvin · · Score: 1

    What are you going on about? Microsoft doesn't provide the compiler unless you decide to use theirs. No self respecting security expert would use Microsoft's compiler to build secure code. It's gcc or llvm, which are also open source.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  33. Source supposedly in other repo by Mathinker · · Score: 1

    The source is supposedly in a different repo: https://github.com/Microsoft/o...

    See: https://github.com/Microsoft/P...

    OTOH, by not reading the repo README, you are supporting a long /. tradition, bravo!

  34. Backdoor! Wanna bet? by Anonymous Coward · · Score: 0

    I'd bet money that there is an underhanded NSA backdoor is this.
    And that this is something tying OpenVPN closer to Microsoft.

    It's like letting a former serial murderer who wore the skin of his victims to rape other victims write bills and have them accepted as law.
    Mind you, that that analogy is based on real actual behavior of Microsoft, and merely imagines "If Microsoft was a person".
    Yeah, such people might still have acceptable ideas here and there, but you better be *really* fuckin' wary!

  35. Combine with underhanded C: by Anonymous Coward · · Score: 1

    It doesn’t even have to be visible in the original source code.

    There was a whole contest, revolving around getting backdoors in under the radar: The Underhanded C Contest (The official perfectly innocent web page for law-abiding good guys)

    And you can bet this is serious business for any spying agency on the planet. (Would you ignore it, if you were a spying agency?)

  36. Re: Wait! by Anonymous Coward · · Score: 0

    Not so. The properties of quantum computers are well understood; you can learn about them on an undergrad CS course. It's the engineering that's a problem.

  37. Re: Wait! by NicknameUnavailable · · Score: 1

    You mean they won't do what they've done with every windows product since 95: release monthly patches for known security holes, thereby effectively creating a rotating backdoor only they have access to in a steady state manner due to obfuscation of what "bugs" exist at a given time? That's quite the prediction you've made there, contrasting to several decades of known practice by Microsoft.

  38. Re: Wait! by NicknameUnavailable · · Score: 1

    Also, on a separate note, it's not trivial to rewrite git history but you can Google can the commands for it easily (but perhaps re-read what I've written because I wasn't suggesting anything along those particular lines.) I actually do that when I pushed to GitHub to turn all commits into organizational level bot authors and remove internal email addresses from the list of committers.

  39. Re: Wait! by Gr8Apes · · Score: 1

    Not so. The properties of quantum computers are well understood; you can learn about them on an undergrad CS course. It's the engineering that's a problem.

    The properties of something we are still investigating and have no samples of are well understood?

    --
    The cesspool just got a check and balance.
  40. Re: Wait! by Gr8Apes · · Score: 1

    If my trust in Microsoft could be quantified it would be a large negative number.

    It exceeds the lower bounds of a long?

    I'm 99% sure they will try to slide something into the source. Who says all code submitted was written by MS employees?

    --
    The cesspool just got a check and balance.
  41. Probably contains... by Anonymous Coward · · Score: 0

    Deterministic random number generator recommended by NSA!

  42. Re:Wait! by Anonymous Coward · · Score: 0

    The backdoor will be in the closed source pqc.dll that they place in the System32 directory. You know they won't subject their backdoors to peer review.

  43. Re: Wait! by Anonymous Coward · · Score: 0

    You should also compile with several compilers, both different makes and old versions, and compare the output.

    I believe that is already suggested in the Ken Thompson paper referred to by GP but am uncertain since it was a while since I read it.