Slashdot Mirror


Australian PLAID Crypto, ISO Conspiracies, and German Tanks

New submitter Gaglia writes: PLAID, the Australian 'unbreakable' smart card identification protocol has been recently analyzed in this scientific paper (disclaimer: I am one of the authors, and this is a personal statement.)

Technically, the protocol is a disaster. In addition to many questionable design choices, we found ways for tracing user identities and recover card access capabilities. The attacks are efficient (few seconds on 'home' hardware in some cases), and involve funny techniques such as RSA moduli fingerprinting and... German tanks. See this entry on Matt Green's crypto blog for a pleasant-to-read explanation.

But the story behind PLAID's standardization is possibly even more disturbing. PLAID was pushed into ISO with a so-called "fast track" procedure. Technical loopholes made it possible to cut off from any discussion the ISO groups responsible for crypto and security analysis. Concerns from tech-savvy experts in the other national panels were dismissed or ignored. We contacted ISO and CERT Australia before going public with our paper, but all we got was a questionable and somewhat irate response (PDF) by PLAID's project editor (our reply here). Despite every possible evidence of bad design, PLAID is now approved as ISO standard, and is coming to you very soon inside security products which will advertise non-existing privacy capabilities.

The detailed story of PLAID in the paper is worth a read, and casts many doubts on the efficacy of the most important standardizing body in the world. It is interesting to see how a "cryptography" product can be approved at ISO without undergoing any real security scrutiny.

On a related note, the enthusiastic comments to PLAID's design made by a few readers in the old Slashdot story reminds us as a cautionary tale that you need cryptographers to assess the security of cryptography. Quoting Bruce Schneier: amateurs produce amateur cryptography.

17 of 62 comments (clear)

  1. PLAID must be fast! by greenwow · · Score: 5, Funny

    Even faster than LUDICROUS.

    1. Re:PLAID must be fast! by Carewolf · · Score: 2

      Uhh, why was this moderated down? The mods haven't see Spaceballs?

      Somebody switched the mods to blow.

    2. Re:PLAID must be fast! by chilenexus · · Score: 3, Funny

      They're Assholes, sir.

  2. ISO corruption by Anonymous Coward · · Score: 5, Insightful

    The detailed story of PLAID in the paper is worth a read, and casts many doubts on the efficacy of the most important standardizing body in the world. It is interesting to see how a "cryptography" product can be approved at ISO without undergoing any real security scrutiny.

    Not really surprising given the Microsoft OOXML standard controversy a few years ago. I suppose the ISO could always have been susceptible to influence peddling in the past, but the OOXML thing was the first time I, and a lot of others, became aware of it.

    1. Re:ISO corruption by arglebargle_xiv · · Score: 2

      Like OOXML, it is a good example of how politics can override the standards process. In the case of PLAID, they needed something that complied to an international standard. They already had their own homebrew system, so they got that made an international standard, a case of the tail wagging the dog.

      ISO 24727 (aka '747, due to its elephantine size) is another example of this, and in the same general area as LUDICROUS... uhh, PLAID. The whole thing is, and I'm not making this up, over six thousand pages long. Guess how much independent review that one got?

      The practice isn't limited to ISO though, you can buy yourself IETF standards just as easily. What you do is, if you're a government organisation that needs a standard (and it seems to be almost exclusively government bodies that do this), you pay a standards consluttant to write you one and shepherd it through the process of becoming an RFC. Then once it's published you can point to it and say "Look, we comply with this industry standard".

  3. Re:Australians lost a long time ago by hawguy · · Score: 5, Insightful

    Australians have been selling their freedom for security for years. Socialized society, insane gun control, and their crypto attitude is just horrible.

    With a firearm related homicide rate 1/30th that of the USA (and firearm related deaths due to all causes about 1/12th that of the USA), maybe their gun control isn't so insane.

  4. Response to criticism by myrdos2 · · Score: 5, Interesting

    Here's the meat of the "questionable and somewhat irate" response:

    The following are factual and editorial errors in the document:

    1. Abstract – States that for AS 5185-2010 "we show that the privacy properties of PLAID are significantly weaker than claimed" but in fact the report shows that the privacy properties of PLAID are unbroken by the attack and in fact unbreakable by the attack. The report actually shows that the "ID Leakage" properties of the protocol (as defined in AS 5185-2010) could be better implemented in the 2010 version of the reference implementation by implementing the fake "ShillKey" better - see further discussion in section 6.2.

    2. Abstract – states that it will be ...." reporting a number of undesirable cryptographic features of the protocol" This is however unargued and not actualised. The reference appears to logically means section 5.3 of the Unpicking PLAID paper however, as shown in section 7 of this discussion these are either not claims of the protocol or are not shown to be weaknesses by any argument presented by the Researchers - see further discussion in section 7.

    3. History in Introduction is not 100% correct – the Public Consultation process included additional workshops and stages – see section 4 "History" above

    4. P3, Last paragraph, the words "added for privacy reasons" is incorrect, the ShillKey was added to delay and distract an atacker, privacy was never an issue and is not stated as a design requirement.

    5. P4, last paragraph, P5 first paragraph – Not clear what point is being made – OPACITY is a completely different protocol based on Eliptic Curve technology. Last sentence seems to mix this Paper on PLAID up with a completely seperate report on OPACITY.

    6. P3 2nd last paragraph the Researchers state "Even though the encryption key in RSA is usually public, in PLAID it is kept secret to enhance privacy". This is an incorrect representation of PLAID, the reason for both keys being kept secret is in fact to prevent any leakage to an attacker of the AES diversification seed in order to enhance security. Note that PLAID is not a PKI, and the use of public and private key concepts is not relevant, ALL keys are secured in (preferably) hardware crypto devices.

    I'm no crypto expert - can anyone explain to me why these points aren't valid? Especially points 1 and 4.

    1. Re:Response to criticism by suutar · · Score: 4, Informative

      1 and 4 together make me think that the author is saying that shill is completely irrelevant to privacy and the rest of plaid is just as private as advertised. The problem is that while shill may have been intended as a bolt-on to distract and slow attackers, it apparently also can be used to do the tracking that the rest of plaid was designed to avoid. The author claims that's not a problem because it wasn't designed to be private, but the end effect seems to be that the card is more trackable than intended. A better implementation of the shillkey could help with this, but is not required by the standard nor implemented by the reference, so how many commodity hardware makers are going to bother?

    2. Re:Response to criticism by Anonymous Coward · · Score: 5, Insightful

      Part of the argument the PLAID designers are making boils down to "well it's theoretically possible to implement it securely even if the standard doesn't warn you about that risk, nobody does it right, and even the reference implementation got it wrong".

      For examples of how well that works out in real life, see:

      * WiFi WPS pins - just search the web for "WiFi WPS pin attack" - most WiFi routers were vulnerable
      * DNS source port randomisation - http://www.kb.cert.org/vuls/id/800113 - most DNS resolvers were vulnerable
      * PKCS#1 signature validation - https://www.imperialviolet.org/2014/09/26/pkcs1.html - most browsers were vulnerable
      * Many others

    3. Re:Response to criticism by plover · · Score: 2

      I think the most dangerous aspect is that this protocol has no way to revoke keys. That means "break once, profit everywhere."

      If one terminal is successfully compromised and its private key is lost, every card with a lost key is subject to the compromise of all traffic, past, present, and future. That means if you are using it to guard an access door to a venereal disease clinic in some small town in the outback, it may contain the private key granting access to a central building guarding all national health data. Now you have to protect each and every reader as if it's made out of pure gold, even if it is only guarding Crocodile Dundee's urine samples.

      Cryptographic protocol development needs to be an iterative process, because flaws are so difficult to find, yet can have devastating impact. The ISO is stuck in the old world of civil engineering, where "if it works today, it's good enough for tomorrow." That fails utterly for security engineering.

      --
      John
  5. Re:ISO is still useful by ronan7853 · · Score: 2

    I would be surprised if there are any products out there using PLAID, given that it is still flagged as "under development". If it's been shot down at this stage, then no harm has been done, and basically the standards process is functioning as it should.

    --
    This sig consists of eleven words, twenty syllables, and sixty-one letters.
  6. Re:ISO Meeting by Infiniti2000 · · Score: 2

    They should have put it on the calendar then.

  7. Re:Australians lost a long time ago by BadDreamer · · Score: 5, Informative

    Australia is at about 1 homicide per 100,000 inhabitants per year. The rate has been steadily declining since 1990. In the US it's at around 4.5 homicides per 100,000 inhabitants per year.

    Robberies are at around half the rate of what they are in the US. Sexual assault is about equivalent, though it used to be higher before the new gun legislation.

  8. Shocking by ThatsNotPudding · · Score: 2

    This is so unlike the trustworthy NSA and their rock-solid, shenanigan-free encryption wares.

  9. Re:Australians lost a long time ago by hawguy · · Score: 3, Informative

    Here, now you know how to fish.

    Australia's robbery rate is about half (55%) that of the US, overall murder rate is about 1/4.

            http://www.nationmaster.com/co...

    And I'll just throw this out there, last night in my town, someone not only managed to shoot himself in the foot, but the same bullet seriously injured a 9 year old neighbor:

            http://abc7news.com/news/san-j...

  10. amateur hour at the crypto factory.... by xeno · · Score: 4, Insightful

    It's irrelevant to the core logic of the issue, but misspellings and grammar errors are a pretty good indicator of the quality of a piece of work.
    A "mute" item would be "(1) refraining from making sound or (2) silent" -- one that does not make an actual audible sound.
    A "moot" item is one that is "(1) of no importance or (2) merely hypothetical."
    There are many other errors that seem to indicate this whole document was whipped up in a hurry by a pissed off individual without review, but the high-school-level error "mute point" sticks out like a sore thumb.

    Seeing this kind of minor but highly-visible mistake in the headings and TOC of a formal document... does not lend credibility to the whole.

    --
    I think not...(*poof*)
  11. Evolving protocol more than ten years old by Stonefish · · Score: 2

    Hi, as someone who also worked for a company which was working for Centrelink at the time (Not involved in PLAID) I have to admit that I admire the development of PLAID because the commercial products available were rubbish and "Security agencies" such as NSA and DSD were not helpful in this regard. A significant gap in the way that smart-cards which were being used for access control such as building security worked was found and an attempt was made to re-mediate this.
    Protocols evolve over time to either become better or reveal the fact that they are fundamentally flawed. SSL was not written by cryptographic experts it was created by Netscape and it has evolved over time to secure a significant percentage of Internet transactions. PLAID exists because all of the available security products in this space were fundamentally broken and PLAID was an attempted to fix this problem. During the time since this protocol was created I've watch the various debacles with a number of propriety commercial smart card products used in public transport. I would hope that PLAID will evolve over time with the assistance of interested parties to be an open protocol which provides a solution in this problem space.
    One criticism of this appears to be that a department which spends billions of dollars on ICT infrastructure should engage in the development of a product when there is an identified gap identified in the market. The spend in total was in the hundred thousand dollars so in reality the project was done on a shoestring is it's not surprising that there are flaws.