Slashdot Mirror


Why One-time Passwords Suck For MITM Attacks

whitehartstag writes "Black Hat 08 disclosed several SSL VPN and DNS vulnerabilities that caused several people to sit up and take notice. Some of these new exploits performed a brilliant Man-In-The-Middle attack on SSL VPN tunnels. This article walks you through how using certificates, instead of OTP tokens, for second-factor authentication can increase the security of your SSL VPN against these new types of attacks."

138 comments

  1. The Love Triangle... by kcbanner · · Score: 5, Funny

    Alice and Bob's relationship will be at stake when an unknown interloper...Larry...arrives on the scene. Is this love line segment about to become a love triangle? Will the self-signed certs be accepted?

    Coming to you this fall...Larry is...The Man in the Middle.

    --
    Obligatory blog plug: http://www.caseybanner.ca/
    1. Re:The Love Triangle... by Anonymous Coward · · Score: 1, Funny

      Coming to you this fall...Larry is...The Man in the Middle.

      Not sure Larry is the best name, how about Malcolm?

  2. Trout-based VPN has none of these problems by Anonymous Coward · · Score: 0

    I am a FISH!

    1. Re:Trout-based VPN has none of these problems by Anonymous Coward · · Score: 0

      *sigh* Rimmer, please just sit for your Astronavigation First Class exam and shut UP ABOUT THE FISH ALREADY. Gah!

    2. Re:Trout-based VPN has none of these problems by geminidomino · · Score: 2, Interesting

      We need more Red Dwarf references...

    3. Re:Trout-based VPN has none of these problems by Architect_sasyr · · Score: 2, Funny

      We need more Red Dwarf references...

      A superlative suggestion sir, with only two minor drawbacks: one, we don't have enough boys from the dwarf and two, we don't have enough boys from the dwarf. I know that technically that's only one drawback, but I thought it was such a big one it was worth mentioning twice.

      --
      Me failed English...
      FreeBSD over Linux. If my comments seem odd, this may explain...
  3. xkcd comic by khasim · · Score: 3, Funny
    1. Re:xkcd comic by Anonymous Coward · · Score: 2, Insightful

      Is anyone else on the Internet SICK TO FUCKING DEATH of every story/article/anything having a XKCD comic posted as a link in it?

      Yes, it's funny.
      Yes, we all read it and like it.
      No, we don't need you to post a fucking link to it EVERY FUCKING TIME.

      Posting as anon because obviously a lot of people are going to think this is a Troll. It's not. I like XKCD. I'm just sick of the 5th comment down every time linking to one of his comics...

      Sigh

    2. Re:xkcd comic by Anonymous Coward · · Score: 4, Insightful

      You do know that you don't have to click on every link that you see on a web page, right?

    3. Re:xkcd comic by Anonymous Coward · · Score: 0

      You must be new here... ;)

    4. Re:xkcd comic by eln · · Score: 4, Funny
    5. Re:xkcd comic by Chyeld · · Score: 5, Funny

      Is anyone else on the Internet SICK TO FUCKING DEATH of every story/article/anything having a XKCD comic posted as a link in it?

      No.
       
      Summer Glau

    6. Re:xkcd comic by kcbanner · · Score: 2, Interesting

      To answer your question, I though the link was quite appropriate, it was an xkcd that I had missed, and quite enjoyed it.

      Also, do you think you own this space or something? I mean your post sure took up alot of room with 0 useful content, while the parents one-liner was a much better use of space.

      --
      Obligatory blog plug: http://www.caseybanner.ca/
    7. Re:xkcd comic by Anonymous Coward · · Score: 5, Funny

      Well just in case he doesn't know...

      Knowing is half the battle.

    8. Re:xkcd comic by Tacvek · · Score: 1

      That is no-where near an exhaustively-researched word-by-word rebuttal.

      --
      Stylish sheet to fix many problems in Slashdot's D3: https://gist.github.com/801524
    9. Re:xkcd comic by Kent+Recal · · Score: 1

      Hm. That comic was about as exciting as watching bubbles.

    10. Re:xkcd comic by eln · · Score: 1

      Well, I thought it would be funny to post an xkcd comment in response to the rant about xkcd. Unfortunately, I wasn't dedicated enough to the joke to go searching for something really appropriate, so I just posted the first tangentially related one I came across.

    11. Re:xkcd comic by Chyeld · · Score: 2, Insightful

      Then, I must be the real one and not that poser from xkcd.

    12. Re:xkcd comic by Firehed · · Score: 2, Funny

      Which, I take it, is why your post was not signed "Summer Glau".

      --
      How are sites slashdotted when nobody reads TFAs?
    13. Re:xkcd comic by smallfries · · Score: 3, Funny

      Is anyone else on the Internet SICK TO FUCKING DEATH of every story/article/anything having a XKCD comic posted as a link in it?

      My hobby:

      I like to post an xkcd link into every story I come across...

      --
      Slashdot: where don knuth is an idiot because he cant grasp the awesome power of php
    14. Re:xkcd comic by Culture20 · · Score: 3, Funny

      That is no-where near an exhaustively-researched word-by-word rebuttal.

      OK...

      Is

      Isn't

      anyone

      everyone

      else

      this

      on

      off

      the

      Um... you win.

    15. Re:xkcd comic by geminidomino · · Score: 2, Informative

      It frightens me that you got modded "insightful"

    16. Re:xkcd comic by bigstrat2003 · · Score: 2, Informative

      To be fair, that video is fuckin' awesome, if not particularly action-packed.

      --
      "16MB (fuck off, MiB fascists)" - The Mighty Buzzard
    17. Re:xkcd comic by ZorbaTHut · · Score: 2, Informative

      He's not a dick, he's an asshole.

      You should get your eyes checked.

      --
      Breaking Into the Industry - A development log about starting a game studio.
    18. Re:xkcd comic by Anonymous Coward · · Score: 0

      I concur

  4. frequency in the wild ? by jacquesm · · Score: 4, Interesting

    I know that there are some people that are very clever at doing these man in the middle attacks, but they usually happen in an academic setting as proof of concept.

    Have there been documented cases of (successful) mitm attacks on banks or other high profile targets ?

    1. Re:frequency in the wild ? by Shade+of+Pyrrhus · · Score: 1

      Yeah, just check the attacker's bank statement - you'll see whether or not his attacks have succeeded!

    2. Re:frequency in the wild ? by Intron · · Score: 2, Funny

      http://www.imdb.com/title/tt0212671/

      Yes. The above link was successful for 6 years.

      --
      Intron: the portion of DNA which expresses nothing useful.
    3. Re:frequency in the wild ? by Anonymous Coward · · Score: 1, Insightful

      One place where these attacks actually happen is in hosting facilities. Often the switches are not configured properly and without ARP monitoring MITM attacks are trivial. With unencrypted protocols like FTP still in use, attackers don't even have to work that hard.

    4. Re:frequency in the wild ? by maxume · · Score: 1

      Confusing Frankie Muniz with a man is a rookie mistake.

      --
      Nerd rage is the funniest rage.
    5. Re:frequency in the wild ? by Anonymous Coward · · Score: 0

      Why does it have to be high profile? Why couldn't it just be a successful attack in the wild?

      I've seen fallout from DNS poisoning first hand, both on my DNS server, and on my employer's DNS server (which I do not manage.) That's the hardest step to completing MITM when you aren't on a wireless network.

    6. Re:frequency in the wild ? by Anonymous Coward · · Score: 1, Insightful

      ...OTP subject to MITM? ...speechless... your kidding me... ... can't be... oh wait we all knew that for over a decade now.

      Just because you heard it at defcon does not make it something new or novel but its still a great excuse to party :)

      The latest and greatest authentication algorithms support crypto bindings of the authentication system to encryption key production to prevent these sorts of layered attacks from working.

    7. Re:frequency in the wild ? by jacquesm · · Score: 1

      I've done a demo of such an attack *long* ago, but I've never actually seen one in the wild. High profile because that means it would have likely been documented in the media.

      Banks and such are notoriously tight lipped about their breaches, if one got mentioned at all it would likely be a serious breach.

      A prime candidate to me would seem to be the ATM machines that are sitting in stores, they're much less secured than the bank variety and it would not be too hard to replace their innards with something 'custom made', but that's not on the web, so it does not really qualify.

      More and more people do their banking online, that's a pretty hot target.

    8. Re:frequency in the wild ? by cjl224 · · Score: 0
      Avaya posted a known exploit earlier this year, I think, to Cisco's high level folks. They used a MITM attack to siphon off voice traffic (G711, IIRC) and record it without DG or host seeing anything untoward.

      That's fairly serious but I believe this is mitigated with DHCP Snooping and other methods.

    9. Re:frequency in the wild ? by amazon10x · · Score: 1

      Yes.

      "How a Classic Man-in-the-Middle Attack Saved Colombian Hostages"
      http://www.wired.com/politics/security/commentary/securitymatters/2008/07/securitymatters_0710

  5. Slashdot Sing Along Hour: +1, PatRIOTic by Anonymous Coward · · Score: 0

    ( sung to the tune of Bobby Brown by Frank Zappa )

    Hey, there, people I'm Vladimir Putin
    Bush is a creep - I'm not just tootin
    His car is fast, his teeth is shiney
    He tells the coalition they can kiss his heinie

    Here he is at a famous school
    He's dressin sharp n he's
    Actin cool
    He's got his country there wants help with their paper
    Let her do all the work while he covertly rapes her

    Oh God he is the american dream
    The rest of the world thinks he's too extreme
    An he's a handsome sonofabitch
    Got a political job n be real rich

    (get a good
    Get a good
    Get a good
    Get a good job)

    Fake republican democracy
    Came creepin across his nation
    I tell you people it was more than an orgy
    The U.S. Constitution was fucked by this guy named Georgie

    He made a little speech then,
    Aw, I tried to make him say when
    I had his past in a vice, but I left the grades
    There still in the records while his memory fades

    Oh God he thinks he's the american dream
    But now he smells like vaseline
    An he's a miserable sonofabitch
    He's a president AND criminal æ it's not just WHICH

    (I wonder wonder
    Wonder wonder)

    So he went out n bought a leisure suit
    He jingles his change, but he's still kinda cute
    Got a job doin Republican shows
    Basically, all my friends that's how he goes

    Eventually George and a friend
    Sorta drifted along into s&m
    He can take about an hour with Cheney in the shower
    Then discovers it pushes his ratings even lower.

    Oh God he is the american dream
    With a spindle up his butt till it makes him scream
    He'll do anything that would make most people sick
    He lays awake nights sayin Ãoethank you, Dick!Ã

    Oh god, oh god, he's so fantastic!
    Thanks to Cheney, he's a politcal spastic
    And my name is Vladimir Putin
    Watch me now, Im not just tootin,
    And my name is Vladimir Putin
    Watch me now, Im not tootin.

    1. Re:Slashdot Sing Along Hour: +1, PatRIOTic by Anonymous Coward · · Score: 0

      Okay, no more bitching about /.'s (lack of) charset support. It has its uses, after all: It makes it really obvious when some luser is copying/pasting from a M$ Word doc (obvious "smart quotes" getting turned into garbage).

  6. This is NOT an attack on SSL VPN by ugen · · Score: 5, Interesting

    This isn't an attack on anything, really.

    Here is what the article says:
    "They will then go to all of the trusted CAâ(TM)s and try to get them to issue them a valid âoeinternal onlyâ certificate with the FQDN of a target sslvpn URL. As soon as they get a success, that company now becomes their target of choice. Remember, the certificate they need can be issued from any trusted CA in the browser and does not need to match the CA that the SSLVPN gateway is using."

    Now, may be I am not understanding the purpose of SSL certificates and the PKI infrastructure in general, but I was under distinct impression that the whole reason those authorities exist is to verify who they give the certificate to, and in such a way that we, users, can trust these certificates.

    If this is not correct, and anyone can with relatively minor effort get certificate for a random domain name from one of recognized cert. authorities - game over, none of this matters, the entire PKI infrastructure is in the crapper.

    So, either we have to deal with cert. authorities signing things they should not or this is not an attack that is worth discussing. Everything else is a half-measure.

    1. Re:This is NOT an attack on SSL VPN by Diss+Champ · · Score: 5, Funny

      Cert authorities are notorious for poor checking. The main thing they check is that they are getting paid. There are things certificates are good for- knowing for sure the first time you see one for a site that they are who they claim they are without further checking is not one of them.

    2. Re:This is NOT an attack on SSL VPN by Anonymous Coward · · Score: 0

      The control mechanism is liability and browser CA selection. If a CA signs a bogus certificate, the actual owner of the domain/common name can cause the CA quite a bit of trouble. If a CA signed too many fraudulent certificates, it would also risk losing its privileged root CA status in common browsers. All that doesn't protect your little shop as well as a big company, but rest assured that certificates for the big names are checked. Nobody wants to be the next CA who gives a microsoft.com certificate to a hacker.

    3. Re:This is NOT an attack on SSL VPN by defaria · · Score: 1

      I hear tell there's a "CA" called the Hong Kong Post Office. Now tell me - do *YOU* trust the Hong Kong Post Office?

      Any chain is only as strong as it's weakest link. Given this attack, checking the big boys "CA" is relatively irrelevant!

    4. Re:This is NOT an attack on SSL VPN by Sloppy · · Score: 4, Insightful

      Authority is subjective. Once everyone realizes this, they might as well switch to the OpenPGP trust model, which acknowledges it, instead of trying to hide this inescapable truth from the user.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    5. Re:This is NOT an attack on SSL VPN by tgd · · Score: 4, Informative

      You miss the point -- they are issuing a valid cert for an internal address.

      "intranet" would be an example. Not intranet.mydomain.com.

      Since your DNS will append mydomain.com automatically, it leaves you vulnerable to anyone who installs an "intranet" cert on a server they have spoofed into your DNS if you the browse to "intranet".

      If "intranet" is an SSL VPN, then they can get in the middle and get your OTP.

    6. Re:This is NOT an attack on SSL VPN by sonamchauhan · · Score: 1

      As far as CAs are concerned, it's a list, not a chain!

      A user can always choose to *remove* 'Hong Kong Post Office' from his list of trusted CAs.

    7. Re:This is NOT an attack on SSL VPN by Bert64 · · Score: 1

      Actually, SSL certificate signing is more about making money than security...
      It's a way for a few select players to create an artificial market and keep their monopoly cartel in the name of "security".

      Most of their checks are as rudimentary as "do you have an email at the domain? yes? ok then you can have a cert".

      What would be better, is if organizations you do business with (banks especially) issue you a certificate out of band (ie they give you it on physical media when you go to a branch or when they send your cc), that way you can be certain that cert is owned by the bank.

      Banks are also giving out little keypads these days to be used in conjunction with your card to identify you, couldn't they also be used to identify the bank so that users can be certain they're dealing with the correct organization?

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  7. long story short... by brunascle · · Score: 5, Interesting

    The guy was able to buy a certificate for Microsoft's login.live.com, from an undisclosed CA that's trusted by IE by default, because he checked a box saying it was only going to be used for internal use.

    Please reveal the CA. They need to be shut down.

    1. Re:long story short... by jacquesm · · Score: 5, Insightful

      Shutting them down is stopping short, all the certificates issued by them need to be revoked as well and reissued by another CA after thorough checking.

      If there is one documented case there are likely to be many more undocumented cases.

    2. Re:long story short... by QuoteMstr · · Score: 5, Insightful

      Somebody, preferably a government agency, should be in charge of testing CAs. CAs have very strong economic incentives to loosen verification rules in order to compete and sell more certificates. When one CA loosens its rules a little bit, all the others are compelled to do the same to stay competitive. It's a race to the bottom.

      Market forces cannot solve the problem because there's a fundamental information asymmetry. Joe Myspace isn't going to understand what a root CA is, much less manually remove it from his browser. And even if he did understand what that meant, would he lose access to his favorite SSL-protected sites for some egghead's paranoid security fears?

      We need regulation, and we need it now. We need several free, worldwide certificate revocation lists, and we need agencies running these lists to randomly and anonymous ensure CAs are following the verification rules.

      Having just one CRL gives too much power to one authority, which is especially dangerous if these authorities are organs of government. Browsers should check all CRLs and consider a certificate invalid if, say, two-thirds of the CRLs say to do so.

      In any case, the current situation is untenable.

    3. Re:long story short... by ACMENEWSLLC · · Score: 1

      Agreed. Doesn't revoking the signing root certificate then revoke all certificates signed by them? That's what needs to happen.

    4. Re:long story short... by Fulcrum+of+Evil · · Score: 1

      I don't know about you, but I remember enough of the history of the FBI and CIA to know that's a terrible idea. Anyway, the intarweb is international - which government?

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
    5. Re:long story short... by QuoteMstr · · Score: 1

      You misunderstand my proposal. The FBI and CIA abused special investigatory powers. On the other hand, these bodies I'm proposing only need the power any private citizen would have. They're only likely to be government organizations because there's no profit in them.

      And the whole reason for having multiple organizations here is to avoid any one of them being made into a DoS-a-matic.

      Each organization only has the "power" to state "this certificate is invalid" or "this CA's certificates are invalid." It's up to each browser to choose how to apply that knowledge.

    6. Re:long story short... by Anonymous Coward · · Score: 0

      Even if all of the real CAs are fixed, how long before the blackhats start selling certs that are signed by their CA, whose certificate is added to people's trusted cert list by their trojan?

    7. Re:long story short... by Anonymous Coward · · Score: 0

      Somebody, preferably a government agency, should be in charge of testing CAs.

      It's striking how similar this statement is to the cries that airport security needed to be federalized after 9/11. The internet works well because it's been organized by technically savvy people for the sake of the technology. If you introduce a government bureaucracy, then you necessarily introduce government bureaucrats, some of whom will be incompetent political appointees with no greater goal than to expand their own power and no real accountability. Please, please, keep your government, the EU government, and the government of Sudan out of my internet.

    8. Re:long story short... by QuoteMstr · · Score: 1

      You misunderstand me. The TSA is a different beast, with real power. The organizations I'm talking about have purely an advisory role. They would be able to do nothing a private citizen couldn't. They'd could nonprofits. I only imagine them being organs of government because these organizations couldn't (legitimately) turn a profit.

      It'd be up to browsers to consult them.

      Of course, you can do the same thing with browser updates, albeit with a much larger latency.

    9. Re:long story short... by Hyppy · · Score: 1

      Even if all of the real CAs are fixed, how long before the blackhats start selling certs that are signed by their CA, whose certificate is added to people's trusted cert list by their trojan?

      If a user's computer is zombified by a trojan, then the list of trusted root CA's in it's browser is far, FAR down on the list of concerns.

    10. Re:long story short... by dkf · · Score: 1

      Even if all of the real CAs are fixed, how long before the blackhats start selling certs that are signed by their CA, whose certificate is added to people's trusted cert list by their trojan?

      That's a real weakness. But you have to start somewhere. The only workaround for this is to burn in a master "CA of CAs" certificate into the software in such a way that trojan's can't interfere with this. But I'm not sure that that's a great solution, even with the assistance of something like Trusted Computing, because it is too easy to use to lock out genuine small operators.

      Bleah. I don't have a solution to the combined power of stupidity and cute kitten screensavers. Best we can hope for is to be able to keep the blackhats out of our own systems.

      --
      "Little does he know, but there is no 'I' in 'Idiot'!"
    11. Re:long story short... by catxk · · Score: 1

      Uh, say what?

      --
      Don't be crazy anymore!
    12. Re:long story short... by mi · · Score: 1

      You misunderstand my proposal. The FBI and CIA abused special investigatory powers. On the other hand, these bodies I'm proposing only need the power any private citizen would have.

      If they are part of the government, they will be even more likely to cooperate with a warrant-less "search". Here is an example:

      1. A foreign company (example.co.bz) sets up a web-site and buys a certificate from this agency you are suggesting.
      2. You wish to buy something from them: a hotel room, a flight to Lahore — anything that does not arrive to your home in the US anyway, where the FBI agents busy with your dirty laundry can look at it anyway.
      3. Trusting their certificate, you are confident, nobody is going to know, what you are buying.
      4. Because FBI was able to secure a certificate from the US-government agency, you transaction is open to them: they intercept your traffic, pretend to be example.co.bz to you, decrypt your data, read it, and pass it on to the real example.co.bz.

      I think, this is a scenario, the GP had in mind. And even if the company you deal with buys a certificate from their government's agency, the US law enforcement may find it easier to get their cooperation than that of an American company.

      --
      In Soviet Washington the swamp drains you.
    13. Re:long story short... by QuoteMstr · · Score: 1

      You don't buy certificates from these agencies. You buy them from CAs.

      What these agencies would also do is attempt to buy certificates from these CAs as well, except they'd try to obtain certificates they weren't supposed to. When they did, they'd update their CRLs and shame the companies with lax verification.

    14. Re:long story short... by Fulcrum+of+Evil · · Score: 1

      How can IP address allocation lead to security breaches?

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
    15. Re:long story short... by silas_moeckel · · Score: 2, Interesting

      Replace "attempt to buy" with a "get a court order" (or whatever flimsy paperwork the FBI is giving out because our fearless leader says it's good thats an entirely different point) throw in a gag order. Hell simplify the whole process and have them sign a signing cert to make a NSA CA legit in most browsers.

      The SSL cert process is broken by design because stopping MITM attacks is hard. It's also only a tech good for commercial encryption if a power government wants to subvert it it will. Military grade encryption still involves layers of guys with guns to move the keys around and protect them. If a company wants something better than commercial grade it needs to run it's own chain of CA's. It's never going to stop a governmental attack as only guns or obscurity and the people willing to use them can do that.

      --
      No sir I dont like it.
    16. Re:long story short... by psyclone · · Score: 1

      The CA just signs your cert. Only you hold the private key.

    17. Re:long story short... by mi · · Score: 1

      You don't buy certificates from these agencies. You buy them from CAs.

      We are discussing a (hypothetical) government agency in charge of issuing certificates (a CA). My point was, such an agency will be more cooperative with FBI, than a non-governmental entity.

      --
      In Soviet Washington the swamp drains you.
    18. Re:long story short... by mi · · Score: 1

      The CA just signs your cert. Only you hold the private key.

      That's good, if I trust, that I obtained the matching public key via a reliable source — the key needs to be signed. Certificate Authorities are in charge of signing these keys — this way a browser needs only to know a handful of CAs and be able to use SSL with countless thousands of the CAs' customers.

      If a CA issues a certificate for "Example, Inc." and, they can issue another one (with the same company name and domain), and give it to FBI. FBI can then pretend to be example.co.bz to my browser, and I will not know.

      If this is still unclear, please, learn, how SSL in particular and private/public cryptography in general work.

      --
      In Soviet Washington the swamp drains you.
    19. Re:long story short... by QuoteMstr · · Score: 1

      No, we are discussing a consumer watchdog agency that issues nothing except warnings. You don't buy certificates from this hypothetical organization.

    20. Re:long story short... by Anonymous Coward · · Score: 0

      That can happen now, with the existing infrastructure.

    21. Re:long story short... by jacquesm · · Score: 1

      Yes, it does, but without checking all the certificates that were signed with that root we have no idea how many (and which!) other certificates they issued were bogus and that is very important information.

      It will give people that were using these certificates a chance to review their records to see if anything bad happened to them.

      The only other alternative is to mark all the parties that bought their certificates there as untrustworthy, but since there is probably nothing wrong with 99 % of the parties that would be using too broad a brush. The remaining 1% (probably much less, but it *could* be 1%!) will need very thorough inspection indeed, and if you've ever used any of them you know your data has probably been compromised. That would be an excellent time to order new credit cards and such.

      The costs of this verification process should be borne by the - now presumably defunct - CA that messed up.

    22. Re:long story short... by Sloppy · · Score: 1

      Somebody, preferably a government agency, should be in charge of testing CAs.

      I think this is bad idea, and here's why.

      First, government regulation is going to add an air of trustworthiness to something we should already be increasingly skeptical of.

      Second, letting them certify the certifiers, gives them a way to impose political agendas. We have already seen governments, when unable to attack a server directly, attack their DNS records. Now they'll make CAs revoke certs for whomever they don't like, regardless of the cert's authenticity. Sure, they can maybe already do that with a court order (can a court order you to sign a revocation?), but a regulatory agency would be able to do that without one, since the CA is basically constantly indebted to them. "Do it, or we will withdraw our certification that you are a legit CA."

      Third, related to that: it is easy, in fact expected, that conditions for being a government-approved CA will require that the CA be deliberately not trustworthy, and be required to participate in MitM attacks. Government gave us CALEA precisely because of this, and it hasn't been repealed yet. You would have to be crazy to trust a government-approved CA because you'd never know if you really have the other party's key, or the FBI's key instead.

      Fourth, I worry that legislation that requires identity-attesters to follow some particular rules, could be too broad. Will the rules that Verisign is required to follow, also apply to me when I sign someone's OpenPGP key?

      And fifth and biggest: you're trying to fix the wrong problem. We don't need to come up with a way to pretend that CAs are more trustworthy; we need to acknowledge that there are sometimes (often? usually. almost always!) limits to how much you can trust any CA. Regulating X.509 is just a hack to keep us from doing the really obvious thing: switching to OpenPGP. If we switch to OpenPGP, then instead of putting all our eggs in one basket and having to completely trust of distrust a CA, we can marginally trust several CAs. Trust is usually marginal anyway, and our software merely pretends that it isn't, because this obsolete PKI model doesn't have a way to account for that. OpenPGP can handle this inevitable reality.

      Joe Myspace isn't going to understand what a root CA is, much less manually remove it from his browser

      Joe Myspace can't be helped, except through education. He either has to learn how things work, or accept that he'll never really know for sure who his computer is talking to. I understand you want to help him, but you're just going to give him illusory trust. I know: you want to tell him that the government has set some standards for CAs, and the CA who asserts this identity has met those standards, and therefore he can be sure that the URL in his browser bar is a fair representation of who he is transacting with. And that's fine, except for one problem: it will be a lie. He still can't be sure, or he'll be sure unjustifiably.

      Browsers should check all CRLs and consider a certificate invalid if, say, two-thirds of the CRLs say to do so.

      Checking CRLs: good idea. Counting revocations: bad idea. The way to measure trust, is to measure the combined trust of the remaining unrevoked certs. Revoked certs are meaningless, and not any sort of negative attestation. Revoking a cert is merely a withdrawal of the statement "this key belongs to ___" and not a statement "this key does not belong to ____."

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  8. Use IPs instead of DNS.... by Anonymous Coward · · Score: 0

    I may have missed something since I only skimmed the article, but it seems like configuring clients to use IPs instead of DNS names for your VPN server works around this. That may be a pain for you if you want to move to a new IP, but if your VPN server is behind a NATd firewall anyways, this isn't that much of a limitation...

    1. Re:Use IPs instead of DNS.... by brunascle · · Score: 1

      Even if you used IPs, you could still be vulnerable to ARP cache poisoning. But ARP poisoning is more difficult, because I think the attacker needs to be on the same LAN as the victim or the server.

    2. Re:Use IPs instead of DNS.... by Anonymous Coward · · Score: 0

      Generally yes, but it is possible to "bounce" arp requests via a mis-configured piece of equipment such as a router or even firewall and generate the necessary "local" arp request. It is possible to do arp spoofing remotely, but it's tricky.

  9. Hmm, it is and it isn't... by nweaver · · Score: 1

    A client cert, stored on the computer, should NOT be considered one factor in a two factor scheme, because the client computer is far too easy to compromise.

    OTOH, it makes a good point that a client cert (OR, hell, just caching the server cert and complaining when it changes!) should be used because its too easy to social engineer a valid cert from a CA

    --
    Test your net with Netalyzr
    1. Re:Hmm, it is and it isn't... by kcbanner · · Score: 1

      I agree. This is what SSH does, just cache the server's key and complain when it changes...this system works well (as long as your certain who your talking to on the first connection).

      --
      Obligatory blog plug: http://www.caseybanner.ca/
    2. Re:Hmm, it is and it isn't... by ToasterMonkey · · Score: 1

      Likewise, an OTP doesn't answer "who you are". I'm not really sure what this headline is about.
      I get the gist of the journalism industry, with catchy headlines and so-so content, and the is Slashdot after all, but
      "One-time Passwords Suck For MITM Attacks" implies an awful lot.

      What does a OTP have to do with MITM anyway? I can't see how it can suck any more than normal password authentication and MITM attacks.
      Is there some delusion that OTPs establish identity?? It's just a password you carry in your pocket instead of your brain. It was not meant to solve MITM problems, PKI is.

    3. Re:Hmm, it is and it isn't... by rgmoore · · Score: 1

      (as long as your certain who your talking to on the first connection).

      Which you can be with a little bit of effort. Every SSH implementation I've used asks you to verify the key fingerprint of the server before it accepts it as valid. If you send people the key fingerprint through a separate channel- like sending it to them on the same document that includes their original username and password- it will be very difficult for anyone to interfere.

      A bank could do essentially the same thing by printing the fingerprint for their SSL certificate on the back of their ATM cards. Then they could deliberately not use a certificate that was signed by a trusted CA, and force users to check the certificate against the number on the back of their card. It's not completely secure, since stupid users can always fail to check, but it's probably better than relying on unreliable CAs.

      --

      There's no point in questioning authority if you aren't going to listen to the answers.

    4. Re:Hmm, it is and it isn't... by nine-times · · Score: 1

      A client cert, stored on the computer, should NOT be considered one factor in a two factor scheme, because the client computer is far too easy to compromise.

      Well insofar as the client is who you're trying to protect, if the client computer is compromised, then you're already f*$ked. From the client-end of things, it should be sufficient to know, "if I'm not already compromised, then I won't become compromised by doing this."

      So client-end root certificates serve a very important function in the security system. If the client is good, and the trusted root server is giving good information, then the subsequent certs should all be good too. The problem here is what happens when the trusted root servers are giving bad information. The problem, in that case, is not that the scheme is bad, but that the trusted root servers are not doing their job because they aren't trustworthy.

    5. Re:Hmm, it is and it isn't... by lgw · · Score: 1

      Interfering with email - especially if you're already faking certs or attacking DNS through it's recent vulnerability - isn't that hard. Two factors sent over the same pipe (at diffeent times) is better than nothing, but hardly a reliable defense.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    6. Re:Hmm, it is and it isn't... by profplump · · Score: 1

      If you're worried about the client machine being compromised you can't trust passwords, certificates, one-time passwords, or anything else attached to or entered into the client system other than isolated computing environments in a challenge-response configuration (i.e. smartcards, etc.). If your authentication system uses any data that is ever stored in the client RAM, it is possible to obtain that data if the client system is compromised.

      You might not consider a host certificate plus a user password sufficient authentication, but it is definitely two-factor by any reasonable definition, and a VPN system using a client certificate followed by a one-time password would be pretty secure from a bi-directional authentication, MiM standpoint -- even if you tricked a legitimate client into exposing their password you wouldn't be able to complete your own VPN connection without the private client certificate, nor would you have the user's password for services that don't require the certificate.

    7. Re:Hmm, it is and it isn't... by Sloppy · · Score: 1

      Then they could deliberately not use a certificate that was signed by a trusted CA, and force users to check the certificate against the number on the back of their card.

      I wholehearted agree. Banks shouldn't be using CAs at all, since everyone (at least at some point) physically meets their bank. In that kind of situation, introducers are just solutions looking for problems.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    8. Re:Hmm, it is and it isn't... by Sloppy · · Score: 1

      A client cert, stored on the computer, should NOT be considered one factor in a two factor scheme, because the client computer is far too easy to compromise.

      If the client computer is compromised, then you have already lost everything. There is no authentication solution which can sustain that.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    9. Re:Hmm, it is and it isn't... by rgmoore · · Score: 1

      I think you're missing a point. No system can ever be more secure than the method used to distribute security credentials, so you're not losing anything by distributing something like a SSH key fingerprint (which, when you think about it, is just another security credential) at the same time. Either I can send those credentials securely or I can't. If I can, I can send the SSH key fingerprint using the same secure method and I'm safe. If I can't, you can intercept my other credentials the same way you intercepted the SSH key fingerprint, and you can pwn me without needing a fancy man-in-the-middle attack.

      --

      There's no point in questioning authority if you aren't going to listen to the answers.

    10. Re:Hmm, it is and it isn't... by lgw · · Score: 1

      All encryption is about sending the data split two (or more) ways. Sending the pieces on the same pipe is bad. Sending them on different pipes is good. CAs should use physical mail or phone calls (though the latter is increasingly becoming the same pipe) to validate the identity of a company before re-issuing a cert, but instead they use email, which is a substantial vulnerability, for wich exploits are known.

      --
      Socialism: a lie told by totalitarians and believed by fools.
  10. Why go halfway? by zooblethorpe · · Score: 2

    Please reveal the CA. They need to be shut down.

    ... and then the execs need to be drawn and quartered.

    Only partly joking. This is such a flaming case of massive malfeasance that impacts **SO** much more than your run-of-the-mill corruption and other shenanigans. As other posters have noted, this shadiness means certs like this are, in general, complete crap, and given the extent to which many very vital businesses conduct online operations on the basis of these certs, a simple slap on the hand -- or even forcing the CA out of business -- is far too limited a repercussion.

    Cheers,

    --
    "What in the name of Fats Waller is that?"
    "A four-foot prune."
    1. Re:Why go halfway? by kcbanner · · Score: 2, Funny

      ...they were then fired for their incompetence.
      ...then they were taken out and beaten to a pulp.
      ...then they were ground up into this powder!

      --
      Obligatory blog plug: http://www.caseybanner.ca/
    2. Re:Why go halfway? by Anonymous Coward · · Score: 0

      Only partly joking? Should the execs be halved then?

  11. Thawte by an.echte.trilingue · · Score: 4, Informative

    Thawte does this; look about halfway down the page

    I must say that in general I have been unsatisfied with thawte. They gave me a hard time about re-issuing my cert after the debian-ssl debacle and in general their tech support people don't know anything beyond what is already on their site.

    Seriously, I pay over a hundred clams a year just to so that I can have ssl communication without the "OMFG THIS SITE IS GONNA HAXOR YOU" dialog box pop up in user's browsers, and they pull all kinds of monkey business.

    But since verisign owns them, I wouldn't hold my breath for them to be shut down. My guess is the other CAs do this, too.

    --
    weirdest thing I ever saw: scientology advertising on slashdot.
    1. Re:Thawte by brunascle · · Score: 1

      It doesnt necessarily mean it was Thawte, though. From an earlier article:

      he simply checked the box that stated that the certificate was not going to be used on the internet and was for internal testing only. Luckily, Michael also stated that most CA's rejected his requests.

      It's a little vague, but it might mean that a lot of CAs have this checkbox.

    2. Re:Thawte by Anonymous Coward · · Score: 0

      Heh, if Verising owns them, then, Verising is responsible... It's nice for Verising if the offensive CA is not Thawte (see post below).

  12. OTP - Depends what you are using by Identita · · Score: 1

    OTP can work effectively and does thwart MITM attacks if implemented properly. Using counter-based algorithms obviously is useless in my opinion but products based on time-based algorithms with effective end user policies are more than effective in doing the job. I'd like to see one person show me an attack public or otherwise that is able to counter an OTP that has a lifespan of 20 seconds and is implemented properly with account lockout policies. Add to that end-user certificates and you have extremely effective security. While there are several vendors with time-based OTP like RSA, Vasco, Identita, the OATH consortium is an open source vendor sposored forum that also has code for producing time-based OTP. See Oath @ http://www.openauthentication.org/

    1. Re:OTP - Depends what you are using by Anonymous Coward · · Score: 0

      Time-based OTP systems have their vulnerabilities too. Since there is absolutely no way of creating a trusted source of time you can carry in your pocket, a vector of attack is to run the clock faster than it truly is and squeeze all future OTPs out of a token.

      Implementing account lockout policies is a good step from a security point of view but will lock out so many users that the costs in customer care are likely to dwarf the benefits. The trade-off is not at all obvious here.

  13. your comment by circletimessquare · · Score: 1

    would make good fodder for an xkcd comic

    perhaps someone already has the relevant comic to paste under your comment?

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
  14. has anyone experienced the following: by roman_mir · · Score: 1

    My wife has shown something to me today that really has been bugging me for the entire day, she connected to her work via VPN with a security token, a number generator that is given to her that is synchronized against a server number list I suppose and when she ran a search on something she mistyped, our provider, Rogers Canada, was able to get the mistyped word and injected their own search frame into the HTML that returned to her browser.

    Now, I am not sure how this happened, I was under the impression that VPN encrypts all requests and responses. Maybe the search string from the browser was sent out as clear text but this seems counterintuitive to me, I believed all communications on VPN channel are encrypted. I know that this article is not really about MIT attack, but I was wondering if anyone else had a similar experience with Rogers or any other provider or even if it sounds at all even remotely possible and I am missing some key point here.

    I checked that her computer was only on one network card, the wireless was disabled, the VPN was on, it was a wired connection and the search was done through FF search bar aimed at Google.

    Thanks.

    1. Re:has anyone experienced the following: by carleton · · Score: 2, Informative

      Most VPN Clients I've used support a split tunnel mode... the idea being that data going to your company's internal LAN goes through the VPN tunnel ; data going elsewhere goes outside the tunnel. The idea here is that if you're trying to do stuff on the public network (that's assumed to be less sensitive to begin with), you don't have to wait for the traffic to flow from your computer to your company and then to the site you want (worst case being if you wanted to say stream music off your music server on your home LAN)

      That would be my guess.

    2. Re:has anyone experienced the following: by Anonymous Coward · · Score: 1, Interesting

      VPN may encrypt between her computer and the end point; but if she uses the endpoint connection to surf the web, then that activity may be unencrypted.

      Does her company have the same service provider as you do at home?

    3. Re:has anyone experienced the following: by roman_mir · · Score: 1

      You are probably correct, I am going to check that client. I wonder how it decides what is split, just by filtering out anything that is directed at an IP not within the company subnet or maybe there are lists of IPs that go through encrypted channel. Thanks.

    4. Re:has anyone experienced the following: by zAPPzAPP · · Score: 1

      Uhm... if she was doing a search at Google, she was most likely not using the VPN connection, unless your wives employer happens to be Google and you're talking about their internal search mask or something...well I'm no Google insider. ;) Or maybe she used a client on the other side to access Google and your employer happens to be with the same provider?

    5. Re:has anyone experienced the following: by zonky · · Score: 1

      Depends how the VPN is setup, and whether or not it sets itself as the default IP gateway. It could be that it's only routing VPN destined traffic across it. Presumably when she mis-typed, she was routing across her normal gateway, which Rogers then 'improved'.

    6. Re:has anyone experienced the following: by Fulcrum+of+Evil · · Score: 1

      VPNs are generally set up to route only a specific network's traffic - for instance, if your internal stuff is on 10.0.0.0/8, there's a rule routing 10/8 to the vpn, while the regular stuff (giggle) goes out into the big bad world.

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
    7. Re:has anyone experienced the following: by Anonymous Coward · · Score: 0

      Do you know if the Internet provider for your wife's employer is Rogers Canada?

    8. Re:has anyone experienced the following: by roman_mir · · Score: 1

      that is the most likely possibility, I thought at first maybe her work uses Rogers as an ISP, but then I checked and it doesn't

    9. Re:has anyone experienced the following: by Anonymous Coward · · Score: 0

      I believe you can route traffic differently within a VPN depending on it's destination with something called split tunnelling. Here
      Here is a good explanation.

    10. Re:has anyone experienced the following: by Fulcrum+of+Evil · · Score: 1

      No, your ISP is rogers, and the giggle traffic never even hits her work.

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
  15. too bad for the new blizzard authenticators by poetmatt · · Score: 2, Interesting

    Too bad that the new authenticators from blizzard are OTP's and people are convinced that it is 100% foolproof, as this article tends to prove otherwise.

    1. Re:too bad for the new blizzard authenticators by _Sprocket_ · · Score: 1

      The people who believe that probably also believe that they're getting keyloggers from addons. Or that copy-and-pasting your credentials will defeat a keylogger. Or one of many other numerous ill-conceived notions.

    2. Re:too bad for the new blizzard authenticators by poetmatt · · Score: 1

      Yep.

      I trashed the authenticators on wowinsider and got flamed to hell by people going "this thing is foolproof zomg how dare you doubt blizzard"

    3. Re:too bad for the new blizzard authenticators by maxume · · Score: 1

      It's much less of a problem for Blizzard than it is for any corporation worried about their extremely-valuable-data.

      Blizzard is using OTPs to lower their support costs, not to prop up their business model (as far as I can tell, plenty of people could give a shit if their account is secure, because they have no idea what that even means.)

      If some yahoo really trusts the authenticator and then, by way of an internets miracle, their 3 year old account gets hijacked, Blizzard can give the guy $1,000 and go on their way. If super-awesome-ip-company loses their ip to super-hacker-mega-stealers-that-need-info-more-than-implementation (can you tell that I am being sarcastic here? Information is often valuable, but almost never as valuable as whatever it is being used to actually *do*), they are out thousands of dollars.

      --
      Nerd rage is the funniest rage.
    4. Re:too bad for the new blizzard authenticators by _Sprocket_ · · Score: 1

      Hehe. Really? I probably read your posting.

      For what it's worth... I think the tokens are a good step. They're probably better than the weak passwords and low-hanging-fruit desktops that make up the current environment. But people should understand their limitations and that they aren't invincible.

    5. Re:too bad for the new blizzard authenticators by Anonymous Coward · · Score: 1, Informative

      Not necessarily, the Blizz client can rely on a single CA for it certs from the server. The key to the success of this exploit is that there are several CAs that the browsers accept.

  16. Roll yer own... IPCop and Zerina OpenVPN by Anonymous Coward · · Score: 3, Interesting

    I made a VPN server using IPCop and added the Zerina OpenVPN package to it. Simple plug and play. It has it's own internal certificate authority, and issues it's own client certificates for each road warrior client you set up to be an OpenVPN client under the Zerina webgui. Very secure, since it will only accept the client certificates that were generated locally to the machine. The cost for the software, is of course FREE. The old AMD Athlon 2400 Compaq PC upon which I'm running it, is worth maybe $200 tops, including the second NIC card I had to put into it to make it a true dual-homed Linux firewall. It supports 15-20 concurrent roadwarrior connections easily, then my single T-1 line is saturated long before the IPCop box reaches any significant load.

  17. What do they look like? by Zaffle · · Score: 1

    Can anyone verify what, if any, difference these "testing ony" certificates are?

    Do they come up with the name "TESTING ONLY - Mozilla corporation", or it it more like the sub-root key is named "Strictly testing only", which requires you to inspect the certificate fully for every connection?

    Fortunately we've used client-side certificates for our 2 factor authentication for years. Its cheaper than tokens, and easier too.

    --

    I use to have a funny sig, but slash cut it off, and I forgot what the punchline was.
  18. My thoughts exactly -- it's a bad headline. by reiisi · · Score: 1

    This is not about one time passwords, it's about misusing them.

    And, while it is about poor practices issuing certs, it is more about the inherent weakness of trying to do it all with a single browser. And about the inherent weakness in using certificates issued by the public CAs.

    With the current tools, requiring the client to have a cert, too, mitigates things a bit, but the client should never have been allowed to connect without a cert anyway, and neither the client nor the server should be using certificates issued by the public CAs for their VPN anyway. If you need security, you have to be willing to issue your own certs for day-to-day operations.

    Secure connections need a dedicated browser that only connects to known IPs. And if the connection really needs to be secure, the client needs to be able to check the IP she is connecting to against two other servers' opinions of what the IP is.

    Too much half-baked security stuff, people who seem to think that if half the security is good enough for them, all they have to do is implement half the spec.

    --
    Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
    1. Re:My thoughts exactly -- it's a bad headline. by lgw · · Score: 1

      If you need security, you have to be willing to issue your own certs for day-to-day operations.

      Today this is the main factor that distinguishes real security from pretend security in practice. I think banks and other financial institutions have to do this internally to meet auditing requirements - at least, the market for expensive boxes that do nothing but act as an automated internal CA is bigger than you'd think.

      I can't think of any other way to validate that endpoints' identities without providing your own CA, and all the crypto in the world won't help if one endpoint is the attacker (MITM or otherwise).

      Since we don't have a trustworthy public CA, we're basically boned.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    2. Re:My thoughts exactly -- it's a bad headline. by reiisi · · Score: 1

      With dedicated browsers, we don't even need the root to be issued by a public CA.

      --
      Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
  19. I don't see how this is much better? by JSBiff · · Score: 3, Interesting

    I might be missing something here, but this article proposes, as a way of trying to make the management of keys/certs easier (which is necessary to implement the client-side certs), to use this "SecureAuth" system. . . which downloads an SSL cert to your computer. So. . . uhh, why can't an attacker intercept this? Well, the answer seems to be (maybe I'm misunderstanding here) that before the SecureAuth system will download the cert to you, it sends you some sort of one-time-password via phone or SMS, which you must enter to get the key . . . but once you've typed in this one time password you got by phone, what prevents the MITM from intercepting that passsword the exact same way it would have been attacking the other one-time-password generated by the keychain fob, and therefor be able to impersonate you to the SecureAuth server and get the client cert which should have been sent to you?

    1. Re:I don't see how this is much better? by Anonymous Coward · · Score: 0

      RTFA & then read more on PKI:

      "Once registration authorization is complete the client system generates the public/private key pair, sends a signing request and then installs the completed certificate. Here are some screenshots of the SecureAuth process."

      PKI uses cert-requests; the private cert is never passed from server to client. You generate your own key pair and are asking for the server (SecureAuth) to sign the public one. (The server is using another method to validate that it can sign that cert, by asking you over the phone or sms. That OTP/phone code cannot be used to sign another request(your cert-request is already on the server waiting to be signed.) Now if MITM is there and you try and complete a cert-request you didn't initiate, you might have something(a dumb user), but I doubt it. (time race, you both(user and MITM) issue cert requests, and you get two SMS codes... OooOoo.. I can play the game this FA plays too.

      C. Roady

  20. Security token for phones by caluml · · Score: 1

    Sort of on-topic: I'd just like to say that recently I decided to code a Java app for Smartphones that is a token generator (MD5 of minutes since 1970 and known string appended) - it works pretty well. I'm sure all you bastards will find some flaws in it though.

    1. Re:Security token for phones by setagllib · · Score: 1

      The idea is cute, but if you're going to rely even partly on a hash, you should at least use a reasonably strong hash. Base it on HMAC(SHA-256), where the secret code is stored as a 256-bit hash and used as the key for the HMAC, hashing the minutes.

      --
      Sam ty sig.
    2. Re:Security token for phones by Anonymous Coward · · Score: 0

      Say I borrow your phone for a couple of hours, move the clock to one week in the future, generate some OTPs and move the clock back before handing it back to you?

    3. Re:Security token for phones by caluml · · Score: 1

      It really doesn't matter. If you don't know the key, you can't work out what the md5 hash will be.

    4. Re:Security token for phones by caluml · · Score: 1

      Say I borrow your phone for a couple of hours

      Well, if you can get hold of my phone, all bets are off, of course. You'd still need to know my username and password too though.

    5. Re:Security token for phones by setagllib · · Score: 1

      If it was that simple, you'd just use + as your hash function. No.

      The minutes are well-known so that is already a lot of entropy you're giving the attacker for free. They don't know the string, but if they intercept the hash, they can work it out almost trivially because of how broken MD5 is. At least using HMAC and SHA256 (or better) will insulate the key from hash reversal.

      --
      Sam ty sig.
  21. This just in: OTPs useless against MIM attacks! by Anonymous Coward · · Score: 0

    In other news, padlocks prove ineffective at stopping muggings, and bank vaults useless in preventing armored car hijackings. Industry expert Joe Schmoe quoted as saying "padlocks and bank vaults are really just security theater, and have no place in a legitimate security system".

  22. Gawd !! I'm NOT NERD ENUF !! by Anonymous Coward · · Score: 0

    I needs more nerd schoolin'

  23. Huh? by geminidomino · · Score: 1

    Forgive my squirrelly ignorance, but is using an OTP even supposed to be a counter to a MITM attack? I that they were used so that there was no one password to be compromised, prevent "replay" attacks, that sort of thing...

    1. Re:Huh? by gujo-odori · · Score: 1

      Precisely. OTP is supposed to be a protection against password compromise. "Got my password? No prob! The one you got will never work again anyway."

      I was at a security conference last fall where a seen-in-the-wild MITM attack against a bank in Europe that used OTP was discussed. That OTP isn't secure against MITM is hardly news.

    2. Re:Huh? by huge · · Score: 1

      Precisely. OTP is supposed to be a protection against password compromise. "Got my password? No prob! The one you got will never work again anyway."

      That's only true for eavesdropping, not MITM. In case of MITM password doesn't make it to the destination server and thus doesn't get removed from the list of valid passwords. MITM attacker could just show you forged "Login failed" page and use the password later on.

      OTP passwords aren't usually time limited; you can use them whenever you choose to do so.

      Properly implemented secure tokens (SecurID and such) dish out passwords that are valid only at certain moment and are also single use. If the captured password is received by the legimate server it becomes useless. Only thing attacker could do is to stage a MITM, capture the password and prevent it from being delivered to server and then use it immediately for his own purposes.

      --
      -- Reality checks don't bounce.
    3. Re:Huh? by gujo-odori · · Score: 1

      Good point. The attack that was presented would more properly be described as eavesdropping + MITM. The attacker was intercepting the entire session, including the password, and passing the information along to the real site. Also intercepted was the other two-factor authentication information (IIRC it was using an image as a site key). The attacker kept the session open and was free to plunder the account after the victim thought he had logged off.

  24. bizarre by speedtux · · Score: 1

    OTPs are meant to help against eavesdropping.

    Anybody who feels the need to point out that they don't protect against MITM hasn't been paying attention somewhere in Security 101.

  25. Not all OTP's are vulnerable to MITM! by freaker_TuC · · Score: 2, Interesting

    Not all OTP's are prone to MITM attacks; the Yubikey for example has a (8hz) timer built in, initialized to a random value on connection. Next time a OTP gets generated the timestamp moves up too with a maximal difference of 10%. This timer prevents MITM attacks; without the use of a battery. Read more on their website.

    I'm currently writing an authentication platform working with Yubico's demo and reprogrammed Yubikeys.
    I'm not affiliated with Yubico, just a user of their product ; although I can tell this key has it done right!

    They also seem to have a nice mindset allowing a large suite of usages with their product by focussing on the hardware only, leaving the software with 3rd party developers.
    Oh, and did I mention it was open source?

    --
    --- I am known for the ones who want to find me on the net. Is that a privacy risk or a privilege? One might wonder..
    1. Re:Not all OTP's are vulnerable to MITM! by Anonymous Coward · · Score: 0

      Yubikey security relies on a secure connection to Yubico's web site, a condition that is not easy to fulfil.

      First: establishing a connection to an outside web site may not be an option for a number of authentication servers, often hidden within the deepest layers of your IT.

      Second: Yubico's security is just as good as the http connection you have to their web site, which has its own MITM issues too like certificate revocation and DNS poisoning attacks.

      In general you want to avoid authenticating your users against a server you do not control. Access to your resources is now bound to a third-party's uptime and connection availability.

    2. Re:Not all OTP's are vulnerable to MITM! by Forseti · · Score: 1

      SecurID tokens are also time-sensitive to prevent against MitM attacks, but they have no choice but to give you a little leeway. The question is: how long is that delay? For RSA, it can be as much as 3 minutes. For Yubikey, you say 10%. 10% of what? How many seconds does that amount to, because a few milliseconds would be enough for this attack to work...

      --
      Delay is preferable to error. (Thomas Jefferson)
    3. Re:Not all OTP's are vulnerable to MITM! by freaker_TuC · · Score: 1

      Q. There are several types of OTP tokens out there. Which is the YubiKey?
      A. Many OTP solutions today depend on time-synchronized tokens and verification service. Since each OTP is valid for only a limited time, this solution adds higher protection against phishing. Unfortunately the synchronization process is difficult to administer and out-of-synch tokens add frustration for users.

      Other OTP solutions depend on a incremental internal sequence counter as the basis for the OTP generation. In this case an OTP does not expire, and thus the risks are higher, but at the same time it is generally an easier system to administer than time-based tokens.

      YubiKeys combine the best of these two approaches. There is no need for the YubiKey tokens to be synchronized to a common server time. Each token has an internal sequence counter that is partly driven by its internal clock. YubiKey's unique design ensures that this counter is part of the generated OTP, so the system in effect lets the service check synchronization at the OTP validation time.

      This might give you the answer to this question;

      Also explained here is:

      Another feature to prevent OTP harvesting and Phishing is to use the timestamp field to calculate the delta between two generated OTPs. In a scenario where a bigger stake is at risk, the server would typically ask for one OTP when the user logs on and a second when "checking out". The server knows the exact time delta between the OTPs but the Phisher doesn't.

      --
      --- I am known for the ones who want to find me on the net. Is that a privacy risk or a privilege? One might wonder..
    4. Re:Not all OTP's are vulnerable to MITM! by Anonymous Coward · · Score: 0

      I have to think you are wrong about this. Generation of the of the OTP has nothing to do with preventing a MITM attack. To prevent a MITM attack, you need to do strong mutual authentication (wikipedia).

  26. Language nitpick by jonaskoelker · · Score: 1

    <nazism type="grammar">
    The headline says "IT: Why One-time Passwords Suck For MITM Attacks", and the body says "
    This article walks you through how using certificates, instead of OTP tokens [...] can increase the security of your SSL VPN [...]."

    I'm "huh?", right now. If use of OTPs is the MITM problem and certificates is the solution, then surely OTPs are good for MITM attacks, in that they make them easier to execute and are well-liked by the perpetrators, while certificates are bad for MITM attacks.

    (Oh, and OTPs are bad because of the MITM they are good for).
    </nazism>

  27. Rofl by X.25 · · Score: 1

    From the article: ...he didn't disclose the CA that issued it to him but it was one that was trusted in IE by default.

    Hey, let's blame the SSL, and not the retarded cert authority.

  28. You're getting it wrong here ... by freaker_TuC · · Score: 1

    You are not obliged to use their authentication server. As a matter of fact, I'm writing my own (distributed) authentication platform for that one reason.

    You don't have to use their server to be authenticated; as long as you keep the counters and timers synchronized with your own database.
    Since the Yubikey is open-source, you could decrypt the key in no-time without even needing a remote connection to anywhere.

    Whenever using a keyfob, yubikey or rsa one time pad; you will always have to store your variables for the next generation; Yubico's server is more of a demo working with pre-programmed keys; although; these keys do have one major drawback: I hope there will never be a virus disabling all these Yubikeys all together just because they have NO PIN CODE pre-programmed and these devices are reprogrammable by the use of ActiveX.

    --
    --- I am known for the ones who want to find me on the net. Is that a privacy risk or a privilege? One might wonder..