Slashdot Mirror


Delayed Password Disclosure

ET_Fleshy writes "Markus Jakobsson has an interesting article discussing a promising new security protocol called "Delayed Password Disclosure" that can validate a computers authenticity before exchanging passwords/keys. While nothing is ever truly secure, this seems to show promise in protecting users from a wide variety of stealth attacks (pdf) used today, specifically man in the middle (pdf) attacks."

163 comments

  1. And this is new how??? by SeanTobin · · Score: 4, Insightful

    Forgive me for not reading my latest issue of Cryptographer weekly but how on earth is this any different than RSA fingerprints? It looks like the "envelope" and "carbon paper" are just elements of a pre-shared key anyway.

    If you know the fingerprint of the host you are connecting to, you are more or less immune from man-in-the-middle attacks. If you have never communicated with the host before, nothing is going to stop a man-in-the-middle - especially if you have to magically share locations of "carbon paper" without the man-in-the-middle knowing about it.

    --
    Karma: SELECT `karma` FROM `users` WHERE `userid`=138474;
    1. Re:And this is new how??? by mboverload · · Score: 0

      I almost had a joke...but no.

    2. Re:And this is new how??? by Profane+MuthaFucka · · Score: 1

      It's different because it's less secure than a public key signing system. Oh wait, that's not good.

      It's different because it uses a carbon paper template. I suppose that to authenticate an e-mail, you'd put the thing on your computer screen. What if it's not the right size? Oops, that's not good either. False negative authentication makes it impossible to trust. That's not good either.

      Maybe this is yet another invention just waiting to be patented, since only unoriginal inventions can get a patent these days.

      --
      Fascism trolls keeping me up every night. When I starts a preachin', he HITS ME WITH HIS REICH!
    3. Re:And this is new how??? by GreyPoopon · · Score: 5, Informative
      If you know the fingerprint of the host you are connecting to, you are more or less immune from man-in-the-middle attacks. If you have never communicated with the host before, nothing is going to stop a man-in-the-middle - especially if you have to magically share locations of "carbon paper" without the man-in-the-middle knowing about it.

      It actually provides a technique of verifying th authenticity of a host with whom your computer has never communicated. The host, presumably, knows your password (or a salted-hash representation). The host either obtained this via connection with another computer at some time in the past, or by some information that you provided when signing up for whatever the service is (think bank). The host uses what it knows about your password to send you specially encoded information that, in combination with what *you* also know about your password can be used to verify that at the very least you aren't giving your password to a system that doesn't already have that information. You can also think of this method as a decent way to validate RSA fingerprints by a system that hasn't already been seeded with pre-shared keys.

      --

      GreyPoopon
      --
      Why is it I can write insightful comments but can't come up with a clever signature?

    4. Re:And this is new how??? by Anonymous Coward · · Score: 0

      Indeed, almost any kind of mutual authentication with pre-shared secrets eliminates the man-in-the-middle (unless of course the attacker has the secret).

      I guess this just has the advantage of computationally inexpensive authentication (whatever that's worth these days).

    5. Re:And this is new how??? by Dwonis · · Score: 1

      Ah, so it's no different than Kerberos? (Disclaimer: I haven't RTFA.)

    6. Re:And this is new how??? by Goaway · · Score: 1

      And why wouldn't I just encrypt my traffic with the password both the server and I know, thus eliminating both man-in-the-middle attacks, and establishing trust, without ever exchanging keys?

    7. Re:And this is new how??? by Anonymous Coward · · Score: 0

      Hmmm, so if I understood right, it is a real implementation of zero-knowledge protocols, isn't it?

    8. Re:And this is new how??? by 0x20 · · Score: 2, Funny

      mmm.... salted hash.

    9. Re:And this is new how??? by Anonymous Coward · · Score: 0

      Yes :) Thank-you... that is exactly correct. No way I could have made that point so perfectly...

    10. Re:And this is new how??? by LnxAddct · · Score: 2, Interesting

      First of all, if you can securely communicate with the server at some point (which is required for this to work - the bank needs your hash already) then you can simply use one time pads with rotating keys from that point forth... much more secure. Second of all, I don't know if his analogy to envelopes was just vague or if it really did accurately describe the protocol. If it did describe it accurately then what exactly stops me from standing in between the alice and her bank. Alice hands me her signed envelope, I hand it to the bank, the bank hands me the envelope with the magic numbers that sum to 0, I hand it back to alice. It doesn't matter if I ever knew what was in the envelope, Alice only knows that the authenticated envelope came from my hands. She now believes that I'm the bank. Another possibility is that perhaps by choosing numbers deliberately you could increase the probability that any summation will equal zero (or some predefined number), although I haven't verified that, its just one more thing to think about. I do believe this man just committed academic suicide if that paper is the only he has going.
      Regards,
      Steve

    11. Re:And this is new how??? by tricorn · · Score: 1

      SRP would do this (although normally with SRP you don't want the host to ever have your password, for an initial contact this could work - then you change your password securely to something else that the host doesn't know). With SRP, if the host can validate your password, that validates the host as well. Since the real host doesn't get any information about the password when you authenticate, neither does a hostile system that hijacks the authentication.

    12. Re:And this is new how??? by Anonymous Coward · · Score: 0

      Because the more often you re-use the same key, the weaker it gets, because the bad guys have more time to work on the problem.

      Besides, I /highly/ doubt you're using a cryptographically secure 1024 bit password.

    13. Re:And this is new how??? by GreyPoopon · · Score: 1
      mmm.... salted hash.

      Personally, I thought it tasted better with a little curry powder. ;)

      --

      GreyPoopon
      --
      Why is it I can write insightful comments but can't come up with a clever signature?

  2. Bigger problem is... by fembots · · Score: 5, Interesting

    There are enough people who will give away plain-text password unsuspiciously over the phone or internet.

    My bank (and probably many others) will block an account after three consecutive failed authentication, so any guesswork is going to be hard for the bad guys.

    1. Re:Bigger problem is... by AviLazar · · Score: 2, Insightful

      You gotta love the banks that utilize a person's social, followed by a four digit pin, and unlimited tries.

      --

      I mod down so you can mod up. Your welcome.
  3. Word by Anonymous Coward · · Score: 0
    <html xmlns:v="urn:schemas-microsoft-com:vml"
    xmlns:o=" urn:schemas-microsoft-com:office:office"
    xmlns:w= "urn:schemas-microsoft-com:office:word"
    xmlns="ht tp://www.w3.org/TR/REC-html40">
    Does it delay macro viruses?
  4. An okay article, I guess.... by aendeuryu · · Score: 5, Funny

    It'd be better if the font weren't so small, though...

    1. Re:An okay article, I guess.... by mrnobo1024 · · Score: 1, Informative

      In IE and Firefox, you can hold down ctrl and move the mouse wheel to change the font size.

    2. Re:An okay article, I guess.... by athakur999 · · Score: 4, Funny

      No kidding. He's just asking for Slashdotting since his server has transfer all those big characters.

      --
      "People that quote themselves in their signatures bother me" - athakur999
    3. Re:An okay article, I guess.... by bow · · Score: 1

      <meta name=Generator content="Microsoft Word 11">

      Well, using MS Word for html authoring might not be the best idea :)
    4. Re:An okay article, I guess.... by Anonymous Coward · · Score: 0

      Hot damn, that is totally cool! Never knew this.

    5. Re:An okay article, I guess.... by Taladar · · Score: 1

      Works in Opera too although here it simply changes the Zoom Factor (size of everything, not just font-size).

    6. Re:An okay article, I guess.... by s88 · · Score: 1

      I agree. Also, why pick a name like "ÒDelayed Password DisclosureÓ", and use example with names like "AliceÕs"? I like the irish as much as the next guy, but come on.

    7. Re:An okay article, I guess.... by DavidTC · · Score: 1

      In Firefox, you can use Ctrl + and Ctrl - to change the size also.

      --
      If corporations are people, aren't stockholders guilty of slavery?
    8. Re:An okay article, I guess.... by Novus · · Score: 1

      Character set of article is "MacRoman", MS Word is specifying it as "macintosh", which Mozilla doesn't recognise. This messes up Word's silly left/right quotation marks and apostrophes. Switching character set manually cleans things up.

    9. Re:An okay article, I guess.... by kc2005 · · Score: 1

      You can also hit Ctrl+"+" or Ctrl+"-" as an alternative to using the mouse.

  5. Nothing new to see here. Move on. by TechyImmigrant · · Score: 5, Interesting

    Mutual authentication is nothing new. There exist many mutual authentication schemes that are resistant to man in the middle attacks and also ensure liveness of the exchanges.

    The one described here looks to be a simple shared secret method. In may situations, certificate based methods are used in order to avoid the need to securely distribute a shared secret ahead of time.

    For a shared secret based mutual auth, why not do the normal thing and pass random numbers and their hashes back and forth, mixed in with the challenge-response sequences needed to establish an authenticated identity, a shared session secret and liveness? Read various EAP drafts or 802.11i or recent 802.16e drafts for real world examples of how to do this. The details necessarily change with the context.

    These methods have the benefit of lots of analysis by the crypto community. This delayed password disclosure scheme doesn't seem to have the same benefit.

    --
    Evil people are out to get you.
    1. Re:Nothing new to see here. Move on. by MarkLewis · · Score: 1

      There actually seems to be something valuable in this delayed password disclosure scheme, although I think it has been overhyped a bit.

      This is a shared secret key authentication mechanism, but it is not just a boilerplate shared key scheme. The difference is that prior to the standard authentication step, the client can send a challenge to the server which the server can only correctly respond to if it knows the password, and the server's response can only be deciphered by a client who knows the password.

      The advantage that this scheme has is that you can authenticate to a remote server using only your password, without having previously exchanged certificates in a mutual-authentication scheme, but still retain the MITM-resistant advantages of a mutal-authentication scheme.

      So it could be easier to use but still roughly as secure (at least, if you have a sufficiently hard to guess password).

      I agree with you however that I wouldn't use it for anything important until it's been properly vetted by the paranoid crypto community.

  6. Sharing keys? by nizo · · Score: 4, Insightful
    Thus spake the article:
    Note that use of encryption software, such as SSH, does not address this problem, since the attacker simply can replace the public keys of the two parties with public keys for which it knows the secret keys. This results in the two parties sharing keys with the attacker, as opposed to with each other; as a consequence, the attacker will be able to read (and even modify) all traffic before re-encrypting it and forwarding it.

    And this is why you always share public keys via some other secure means (USB drive, cd, floppy), at least in an ideal world. The article talks about this in regards to someone transmitting data to their bank, however if I am not mistaken SSL(not mentioned in the article) already takes care of this kind of attack. Somehow I doubt any joe user is using SSH to authenticate with their bank :-)

    1. Re:Sharing keys? by slavemowgli · · Score: 5, Interesting

      SSL (ideally) gives you the ability to do that, at least. I had one professor (giving network engineering / security classes) who said that at times, he actually called banks etc. whose websites he'd used and asked them to confirm the SSL certificate fingerprints etc. It always confused the hell out of them, but it worked. :)

      --
      quidquid latine dictum sit altum videtur.
    2. Re:Sharing keys? by ticktockticktock · · Score: 1

      Bank employees know what SSL is?

    3. Re:Sharing keys? by slavemowgli · · Score: 1

      Not all, I guess, but if you get to the right person...

      --
      quidquid latine dictum sit altum videtur.
    4. Re:Sharing keys? by Anonymous Coward · · Score: 0

      And this is why you always share public keys via some other secure means[...]

      A public key is a public key.

    5. Re:Sharing keys? by Rich0 · · Score: 1

      The only problem with this is that it only works if you remove all the CAs from your web-browser and only import certificates for the sites you visit.

      Otherwise, unless you check that fingerprint every time you visit the bank you won't know if the page hasn't been replaced by another site that has a Verisign-signed SSL cert. In theory Verisign doesn't just had those out to anybody, but if you trusted them you wouldn't need to verify all those fingerprints in the first place...

    6. Re:Sharing keys? by Anonymous Coward · · Score: 0

      at times, he actually called banks etc. whose websites he'd used and asked them to confirm the SSL certificate fingerprints etc.

      You do realise that the person on the other end of the phone will probably just have pulled up the website, clicked the lock, and read out what it said to him, right?

    7. Re:Sharing keys? by cryptic · · Score: 1

      Well, what the article claims about SSH is only partly true. The ssh client remembers the host-key of any host it ever connectedto. So man-in-the-middle attacks would only work the first time a connection is made. After that the client has a means of identifying the host it connects to.

  7. HTML versions... by Mr.+Capris · · Score: 5, Funny

    Me, i hate pdf...so here's HTML versions, courtesy of Google: man in the middle attack
    stealth attacks

    --
    Have you seen the arrow?
  8. Repeat after me: by Anonymous Coward · · Score: 0, Offtopic

    "One time pads are not the answer."

  9. "new"? really? by prurientknave · · Score: 1

    I wonder if the type of people that came up with 'blink' are now writing new crypto protocols.

    I think I'll just withdraw my deposit in gold bricks and sleep on it.

  10. This sounds pretty interesting. by Sheetrock · · Score: 5, Funny

    The only part I can't figure out is how they're going to send the carbon paper and envelopes across the Internet. I can't find the protocol for that.

    --

    Try not. Do or do not, there is no try.
    -- Dr. Spock, stardate 2822-3.




    1. Re:This sounds pretty interesting. by IMarvinTPA · · Score: 1

      I'm not certain, but I'm sure CPIP may help.

      IMarv

    2. Re:This sounds pretty interesting. by the+pickle · · Score: 1

      RFC 1149, man.

      p

    3. Re:This sounds pretty interesting. by ajs · · Score: 1
    4. Re:This sounds pretty interesting. by Anonymous Coward · · Score: 0
      Try not. Do or do not, there is no try.
      -- Dr. Spock, stardate 2822-3.

      Dude... that's Yoda, not Spock.

    5. Re:This sounds pretty interesting. by Anonymous Coward · · Score: 0

      No shit...and it's MR. Spock! Dr. Spock was a child psychologist or something!

  11. Re:Quick Question by wfberg · · Score: 4, Funny

    Why is it called Man-in-the-middle?

    Isn't it better if it were called Woman-in-the-middle? It would atleast not make us geeks seem so gay.


    Well, feminist do-gooders, in an effort to de-genderify the term whilst keeping the acronym MITM beat you to it, by redefining MITM as "Meet-In-The-Middle".

    It was a quite popular term in academia, until it was discovered that "Meat-In-The-Middle" in the context of a three-party situation sounds a lot more gay even.

    --
    SCO employee? Check out the bounty
  12. And how is this better than existing tech? by Aaron+Denney · · Score: 1

    such as SRP?

  13. Breakdown by MasTRE · · Score: 3, Interesting

    This basically verifies that the party you are conversing with knows your password, or something about it (i.e. has a salted hash of your password), _before_ you input your password. One could argue that this is more secure than (poorly-implemented) channel security via PKI as a man-in-the-middle would not have access to the accounts hash table unless the target system was compromised.

    Interesting, but there are probably a million such things you can do to further tighten security.

    --
    Must-not-watch TV!
    1. Re:Breakdown by Anonymous Coward · · Score: 0

      Couldn't eve, after recieving many (say 100) 'magic envolopes' almost trivially open them, read alice's hash, crack it, and have alice's pasword?

  14. I don't see how this could work... by smug_lisp_weenie · · Score: 2, Insightful

    I'm no cryptography expert, but the secret positions of the carbon paper need to go into "an envelope only Alice can open"- Nowhere in this essay is it explained how this "envelope" is created technologically or how the recipient can interact with it, making the analogy pretty useless (unless I'm missing something). Also, it says that SSH doesn't help with man-in-the-middle attacks, but a third party signing agency, I believe, solves that problem, from what I understand. This "envelope" sounds suspiciously how quantum cryptography works- Is this just an explanation of "quantum cryptography" without mentioning "quantum cryptography"? I'm confused...

    1. Re:I don't see how this could work... by Sheetrock · · Score: 3, Informative
      I have not seen the implementation, so I am only speculating.

      I believe that, in this case, Alice could generate the contents of said envelope with her public key, then send both the envelope and the key to the remote host. That host would respond with its positions, encrypt those with Alice's public key as well, and return the whole bunch to Alice who then decrypts everything with her private key.

      There's something missing in my speculation -- why does Alice need to send anything but her public key?

      --

      Try not. Do or do not, there is no try.
      -- Dr. Spock, stardate 2822-3.




    2. Re:I don't see how this could work... by haagmm · · Score: 1

      The key to the whole thing is the carbon paper only shows the numbers written over the password.

      yes this does sound similar to quantum encription, however it is possible with non quantum technology, "an envelope only Alice can open" is as the above said encripted with Alice's public key. However, no one is looking at how the carbon paper is in the computer world.

      actually, if you think of say an array of as many longs as the pasword has bits, and for each pasword bit you know to look at the two Most Signigant Bytes or the two least signifigant bytes. this can be encripted with alice's public key and sent back to her. She then decripts it with her private key, since she knows her password she knows to look at the proper "half" of each array eliment, and ensure they add to 0.

      stop me if that sounds crazy

    3. Re:I don't see how this could work... by smug_lisp_weenie · · Score: 1

      Well, let's say Alice gives the other her public key- Why not just have them send her the full password encrypted in her public key and she can check if it's the correct password? What is the checkerboard of carbon paper needed for, then?

      As for mentioning quantum, I agree words like "quantum" and "relativity" are often used more for effect than substance, but if you read an intro on quantum cryptography, it reads almost exactly like this story- see for yourself:

      here

    4. Re:I don't see how this could work... by Anonymous Coward · · Score: 0

      I don't know. I didn't read the article, or even the summary. And I am posting anonymously because my karma is so bad I can't post logged in anymore today.
      -grennis

    5. Re:I don't see how this could work... by LnxAddct · · Score: 1

      But if the bank already has her password and the bank can't read whatever she sends them, why would she send them her password encrypted? It does them no good. She should just contact the bank, most likely giving them only her public key, and then the bank already knows the password and format of the envelope as well as the number to sum to. They can then create an "envelope" and sign it with her key. Although the whole system is stupid in that it presumes that the key was somehow transmitted securely to the bank beforehand and it does nothing to address that issue. There are already plenty of secure algorithms with verification if both parties share a secret. This guy's method is not only insecure, but just plain stupid and addresses no concerns in the crypto community. I can't believe he teaches students.
      Regards,
      Steve

    6. Re:I don't see how this could work... by Sheetrock · · Score: 1
      This guy's method is not only insecure, but just plain stupid and addresses no concerns in the crypto community.

      I would at least request and review the actual implementation before making this judgement. It is quite possible the analogy -- not to mention my interpretation -- does not do his system justice.

      --

      Try not. Do or do not, there is no try.
      -- Dr. Spock, stardate 2822-3.




    7. Re:I don't see how this could work... by Anonymous Coward · · Score: 0

      >There's something missing in my speculation

      i was wondering about that. could it be that alice creates an envelope so that it contains her 'hidden' details - if intersected the envelope contains no obvious direct reference to herself (1). the bank needs to decode it to work out who it is - But if so - it would have to do this by applying the decode work for potentially all users ie. create envelopes till it gets a match.

      (1) take the analogy a step further - affect the data with timestamp info - thus each envelope would be different.

  15. Your sig by Anonymous Coward · · Score: 0

    Joined the Rock Paper Scissors Tournament yet?

    Too complicated, let's just play.

    Rock.

    1. Re:Your sig by Mr.+Capris · · Score: 1

      Paper! I win!

      --
      Have you seen the arrow?
    2. Re:Your sig by mboverload · · Score: 0, Offtopic

      Just so people know Wikipedia and its projects are back up. However, I'm gettin alot of server errors and its really slow =(

    3. Re:Your sig by Anonymous Coward · · Score: 0
      Scissors.

      Aw, crap.

    4. Re:Your sig by tdelaney · · Score: 1

      Paperless! I win!

  16. Lockout after failed auths is a DoS by tepples · · Score: 3, Insightful

    My bank (and probably many others) will block an account after three consecutive failed authentication

    This is a big hole for denial of service. Try purposely logging into the bank CEO's account with a bad password, and see how quickly the policy is changed.

    1. Re:Lockout after failed auths is a DoS by the+pickle · · Score: 2, Interesting

      Not if they block an IP rather than a login name, which is the smart thing to do (and the way it's been implemented where I've seen it).

      p

    2. Re:Lockout after failed auths is a DoS by modecx · · Score: 2, Interesting

      And just how would you guess/know anyones' usernames , especially without also knowing their passwords?

      Personally, my bank usernames look like a chunk taken out of some top-secret military encoded spy message--pretty much like the password that goes with it... I think it's a good practice to obfuscate usernames as much as passwords. It's about as likely that stream of space born gamma rays would trigger my account as it is that an actual person or computer would.

      --
      Constitutional rights may be respected, repealed, or modified; but they must never be ignored.
    3. Re:Lockout after failed auths is a DoS by thedustbustr · · Score: 1

      Even better would be to simply enforce a 3 second delay between login attempts... as is mainstream in practically any nix box, and winXP to a certain extent. WinXP is more like 3 instant attempts with an 8 second delay.

      --
      This sig is false.
    4. Re:Lockout after failed auths is a DoS by nbert · · Score: 1

      That's obviously not the smart way to do it. Just use a high number of proxies and switch to the next one after 2 attempts failed.

      And now guess how programs like wwwhack work since about a decade...

    5. Re:Lockout after failed auths is a DoS by jacksonj04 · · Score: 2, Interesting

      WinXP (depending on configuration) will get continually longer lockouts, exponentially increasing. After 3 or 4 bad logins it's bearable but after 6 or 7 you're looking at 5 minute waits.

      --
      How many people can read hex if only you and dead people can read hex?
    6. Re:Lockout after failed auths is a DoS by Taladar · · Score: 1

      Actually it is a bad idea as customers are more likely to save those names in a file to copy&paste them if they are totally unreadable.

    7. Re:Lockout after failed auths is a DoS by alpha_foobar · · Score: 1


      I thought the parent was referring to the username being encrypted? Just like the password.

      I mean, if his password looked like some huge chunk of encoded text... how on earth would anybody remember it?? I presume his bank does this client side, then transports it via https?

      This way the bank users only have to remember stuff that is possible for joe blogs to remember... but a level of hightened security is still achieved.

    8. Re:Lockout after failed auths is a DoS by tepples · · Score: 1

      Personally, my bank usernames look like a chunk taken out of some top-secret military encoded spy message--pretty much like the password that goes with it

      So what happens when you want someone to send you money? I thought part of the definition of "username" was that it is the public token for others who want to interact with you to identify you.

    9. Re:Lockout after failed auths is a DoS by DavidTC · · Score: 1
      A funnier gag was that some one figured out the ATM network did that. Give an invalid account number and PIN, get locked out of that account for X amount of time.

      So they just used one PIN and brute forced the account numbers that used it.

      --
      If corporations are people, aren't stockholders guilty of slavery?
    10. Re:Lockout after failed auths is a DoS by Anonymous Coward · · Score: 0

      So modecx isn't your AIM name, your login name at the bank, and your email addy? For most people it is.

    11. Re:Lockout after failed auths is a DoS by modecx · · Score: 2, Funny

      Actually, I write my user names and passwords down. Then I put them in my depleted uranium and lead lined concrete and hardened steel reinforced vault with biometric and timed locks. Then I kick the pair of radioactive lava spewing mutant doberman pinschers that guard the door to wake them up.

      It's hell trying to figure out what my balance is.

      --
      Constitutional rights may be respected, repealed, or modified; but they must never be ignored.
    12. Re:Lockout after failed auths is a DoS by modecx · · Score: 1

      They can send it to my bank account number, give me a check, send me US Postal money orders, give me a credit card number (and appropriate data) that I may use, or give me cash.

      None of the above require that I divulge a name to my bank and credit card user accounts... And frankly, there's nothing that they could do with said names that would allow them to send money. The only account that I should ever need anyone to know to send me money is my PayPal account... Frankly, I'm no more trusting of PayPal with my money than I am of a random bum on the street.

      --
      Constitutional rights may be respected, repealed, or modified; but they must never be ignored.
    13. Re:Lockout after failed auths is a DoS by Threni · · Score: 1

      My online bank (cahoot) requires a user name and some other id before proceeding to the password page so perhaps if you were required to get those right before anything got locked out it would be a solution. Another solution would be to make the delay between attempting logins exponentially larger (10 secs, 10 mins, 10 hours, something like that).

  17. An Opportunity to Rant. by TechyImmigrant · · Score: 5, Interesting

    What the world does not need is another generalized mutual authentication method. These are used to place a veneer of security on a generally insecure thing.

    E.G. Credit card transactions over the internet. These are protected by SSL/TLS. This is somewhat removed from the credit card transaction itself, instead protecting the link rather than the transaction. So you log onto vendorX's web site and use certs with SSL/TLS to protect the link. You feel conforted by the little lock icon in the corner of your screen and proceed to hand VendorX all the details needed to drain arbitary amounts of money from your credit card.

    Instead.. Protect the transaction directly, with something like a secure credit card transaction protocol. VendorX doesn't need your credit card details, he needs your money. The security protocols should run between you and the vendor to establish a transaction and the vendor's identity, between you and your credit card company to authorize a payment against the transaction to VendorX and between the credit card company and VendorX to transfer the payment.

    VendorX gets the money, not a blank, signed cheque.

    Repeat exercise for all activities you need to secure, applying appropriate measures for the situation. Leave SSL/TLS for securing the link, not the application.

    --
    Evil people are out to get you.
    1. Re:An Opportunity to Rant. by Wesley+Felter · · Score: 3, Informative

      Instead.. Protect the transaction directly, with something like a secure credit card transaction protocol.

      That was called SET. It failed because it was expensive and credit card fraud is already pretty low.

    2. Re:An Opportunity to Rant. by notsoanonymouscoward · · Score: 1

      this can also be accomplished w/ virtual CC numbers.

      --
      I ate my sig.
    3. Re:An Opportunity to Rant. by ajs · · Score: 2, Interesting
      Of course, what you suggest could be done without having to introduce special transaction elements between the customer and credit card vendor. You can simply use encryption here.
      encrypt(Kvendor, "Authorize $20 to [vendor] from account 000001 at bank foo")
      encrypt(Kvendor, encrypt(Kbankfoo, sign(Kself, "Authorize $20 to [vendor] from account 000001 at bank foo")))
      SSL can easily serve all of these purposes. Of course, you would not send exactly the same message to both (this makes a known-plaintext attack possible).
    4. Re:An Opportunity to Rant. by droopycom · · Score: 1

      I assume that then the vendor would send:

      encrypt(Kbankfoo, sign(Kself, "Authorize $20 to [vendor] from account 000001 at bank foo"))

      to the bank...

      But how does the vendor knows that you didnt sent him:
      encrypt(Kbankfoo, sign(Kself, "Authorize $2 to [vendor] from account 000001 at bank foo"))

      ?

      And why would you not just send:

      encrypt(Kvendor, sign(Kself, "Authorize $20 to [vendor] from account 000001 at bank foo"))

      And let the vendor send :
      encrypt(Kbankfoo, sign(Kself, "Authorize $20 to [vendor] from account 000001 at bank foo"))
      to the bank ?

    5. Re:An Opportunity to Rant. by Mr.+Slippery · · Score: 1
      But how does the vendor knows that you didnt sent him: encrypt(Kbankfoo, sign(Kself, "Authorize $2 to [vendor] from account 000001 at bank foo"))

      Cryptographic cut-and-choose protocols.

      Bascially, you send 100 sealed (encrypted), but unsigned, money orders to the vendor. The vendor picks 99 of them, and says "Open these". You do (you provide the decryption keys), he sees that they're all for $200, so he has a pretty good assurance that the 100th is also for $200. You sign the 100th.

      You're sort of signing through the envelope, so the metaphor breaks down (I guess you can imagine a piece of carbon paper in there)...actually what's involved are, IIRC, "blinded" crytographic signatures. See Schneider's Applied Cryptography for the gory details.

      --
      Tom Swiss | the infamous tms | my blog
      You cannot wash away blood with blood
    6. Re:An Opportunity to Rant. by ajs · · Score: 1

      You could do it either way, but the vendor is going to get confirmation of the transaction from the bank. If the bank comes back and says, ok, self told me to give you $2, then vendor is going to report that you had insufficient funds and fail the transaction.

      The reason to hide the information you're sending to the bank is that you might include other details in that request that the vendor should not see. If not, then it does not matter which path you choose.

    7. Re:An Opportunity to Rant. by ajs · · Score: 1

      There's no need to do that, and it presents an opportunity for abuse (gives you a chance of defauding the vendor, though a small one).

      This is "authorization", not "payment". The vendor will still submit a normal credit card transaction with the amount, and if the authroization does not match the amount, then the normal exception handling processes involved in insufficient funds transpire. None of that has to be new technology, and there's no reason to throw out working code.

      The point is that without users having to communicate with banks directly, a simple browser plugin could make all online transactions totally secure, even in the face of a vendor who is out to cheat the customer. The vendor can still cheat after-the-fact (e.g. not send the goods), but the transaction itself is assured in so far as our cryptographic protocols are.

      We just choose not to do this.

  18. I don't get it by lampajoo · · Score: 3, Interesting

    Could someone explain to me how you implement carbon paper, "magic envelopes" and invisible ink inside of a computer? seriously...

    Also, it seems like you could come up with an algorithm to make password guesses based upon the numbers that were returned...trying different values that add up to zero. Or would this take too long?

    1. Re:I don't get it by 0123456 · · Score: 2, Interesting

      "Could someone explain to me how you implement carbon paper, "magic envelopes" and invisible ink inside of a computer?"

      It's a metaphor. As far as I can see, the bank would calculate a matrix of numbers and send that to Alice, who would use the bit-pattern from her password to find the correct numbers to use for the key.

      However, as has been pointed out, if the bank knows her password, it can simply send her the session key encrypted with her password, which will be impossible for the man-in-the-middle to crack (otherwise they could just use the password to log in!). So it's a bit of a pointless exercise.

    2. Re:I don't get it by lampajoo · · Score: 1

      lol, yeah I got that it was a metaphor. So Alice sending the magic envelope with carbon paper in it to the bank was pointless? Why did he include all that junk about the envelope and the invisible ink then?

    3. Re:I don't get it by marcosdumay · · Score: 2, Insightful

      Worse yet, as I undertood, the gay is trusting his magic envelopes to block the man in the middle attacks. There is no other place where he verifies that there is nobody on the line (sinmply, the man in the middle can receive the sent menssage, retransmit, receive the password and retransmit, as men in the middle do).

    4. Re:I don't get it by Anonymous Coward · · Score: 0

      I assume the author thought he was making the material more accessible to a general audience.

      Not to say he was successful. I'm not much of a crypto geek, but I thought the metaphor was more confusing than a straight explanation with one-way hashes and encryption and digital signatures would have been.

  19. X.509 Certificates? by Anonymous Coward · · Score: 3, Insightful

    X.509 Certificates have been known for ages. There's nothing to see here. Please move along.

  20. Re:I have met the man in the middle. by billimad · · Score: 2, Interesting

    And he is me, appearently

    You take it in both ends then AC? I respect your i/o capabilities ;-)

  21. Huge text by hab136 · · Score: 0, Redundant

    Holy crap that is some seriously large text!

    1. Re:Huge text by Anonymous Coward · · Score: 0

      HOLY CRAP IS THAT A LARGE GOATSE RIGHT IN YOUR SHITFUCKING FACE!

      And I fucking goddammmm yell alll the time SLASHDOT. Jewish bastards y'all. Who was the guy that invented the earthquake-machine, huh? Who the fuck rocks all muslim countries with quakes? Who kills 200k Indonesians, 20k Iranians with a seemingly innocent quake? Who's nexz? North Korea?

  22. Best two out of three? by Anonymous Coward · · Score: 0
  23. Challenge-response for mutual authentication by MobyDisk · · Score: 1

    The article describes a (new?) challenge-response authentication algorithm.

  24. Similar to interlock protocol by dmiller · · Score: 4, Interesting

    This is a little like the interlock protocol, without the public-key cryptography. But this instance has the serious disadvantage that the server side must know the user's unencrypted password (or equivalent) to play the game. That is a very bad thing - it has been empirically demonstrated that users will resue their passwords, so any authentication database that keeps them in the clear is a high-value target for attackers.

    BTW You are quite safe from MITM attacks when using SSH if you use ssh protocol 2 and public key authentication. The public key signature checks are bound to the results of the Diffie-Hellman key exchange that occurs at the start of the protocol. In the case of a MITM, these DH results will be different for the client->MITM and the MITM->server legs, so the real server will refuse to accept the signature that the client presented to the MITM and the authentication will fail.

    1. Re:Similar to interlock protocol by etnoy · · Score: 0
      But this instance has the serious disadvantage that the server side must know the user's unencrypted password (or equivalent) to play the game.
      Never thought of hashes?
      --
      Quantum hacker.
    2. Re:Similar to interlock protocol by dmiller · · Score: 1

      A hashed password is a password equivalent, which i mentioned in parentheses. This scheme can't use salted hashes (which are not password equivalents) unless it reveals the salt so the client can check whether the server really does have the password. If you reveal the salt, then you subject yourself to offline attacks.

  25. This method is flawed by Anonymous Coward · · Score: 1, Interesting

    This proposed scheme does nothing to prevent a man in the middle attack. For example, if a person is trying to log in to a server, they would wait for the server to prove it knows their password before actually sending the password. But the man in the middle attaker could obviously just start a login attempt at the real server to get the appropriate hash of the user's password. But since anyone can get this hash, where is the security?

  26. My second Rant of the Day by TechyImmigrant · · Score: 3, Interesting

    Mutual authentication sounds safe and warm. Alice know Bob is at the other end Bob knows Alice is at the other end.

    However this is the situation after you have performed the mutual authentication, not before. In all protocols I have seen, this takes place in some order. In order for Alice to authenticate Bob's identity and the other way around, with both exchanges bound together (so differentiating from bilateral authentication), Either Alice or Bob has to first reveal their identity so it can be authenticated. This includes the proposed scheme.

    This asks the question "Who goes first". Usually the protocol forces this issue and leaves one side or the other in the disavantageous position of identifying themselves first. This is analagous to the gatekeeper shouting "Halt! Who goes there?" to someone trying to enter. The person trying to enter is forced to go first and reveal themselves.

    I may not want to reveal my identity to anyone, especially when it comes to say, wandering around in public with a wireless device. All sorts of tracking mechanisms become possible.

    What we want is a "Who goes first protocol" so I can enforce my own policy on revealing my identity. If someone wants to sell to me, they had better go first. If I'm trying to get through a door, the building owner can reasonably expect me to go first. There are plenty of situations where a network may want to only reveal its identity to people who are allowed to know its identity, and noone else.

    We already have the algorithms, but the protocols are stuck in the mud and prevent us from moving forward with security that offers more than what SSL gives us.

    --
    Evil people are out to get you.
    1. Re:My second Rant of the Day by MikeBabcock · · Score: 1

      If I'm going through a door, to follow your actual logic, I expect the building to identify itself first.

      I identify myself by passing through said door.

      Wireless trasponders on buildings, etc. should identify themselves before I decide to respond or not.

      An SSL handshake should begin with the server proving who it is before asking me to prove who I am, etc.

      --
      - Michael T. Babcock (Yes, I blog)
  27. redundant and over-simplified by smakx · · Score: 0, Redundant

    This article looks like the paper you would find on your desk the first day of 'security 101' class. As others have stated, nothing new is offered here, the conceptual model presented is not detailed yet flawed none the less, and the font size is the icing on the cake of annoyance.

    1. Re:redundant and over-simplified by izomiac · · Score: 1

      No kidding. Come to think of it, didn't he just describe a variation of Diffie-Hellman key exchange? And wasn't that ARP cache poisoning that he was describing with "It is not known how to protect against routing based stealth attacks. In fact, it has been shown in a recent publication that one cannot eradicate such attacks without introducing other vulnerabilities in the system."? Come to think of it, isn't there a program called anti-spoof which does protect against this type of attack?

    2. Re:redundant and over-simplified by mattpalmer1086 · · Score: 1

      Actually, Diffie Hellman is a key exchange protocol, not an authentication protocol. It's also vulnerable to a Man in the Middle attack, since it doesn't perform any authentication at all.

      The Station-to-Station protocol was derived later from Diffie Hellman key exchange to add authentication to the key exchange and thus avoid the MITM attack, using digital signatures to authenticate the identities of the parties concerned.

      Here's a link that explains more:

      http://www.rsasecurity.com/rsalabs/node.asp?id=2 24 8

    3. Re:redundant and over-simplified by mattpalmer1086 · · Score: 1

      I don't get it - slashdot keeps taking the final 8 off the URL, whether I format it as HTML or plaintext...

      http://www.rsasecurity.com/rsalabs/node.asp?id=2 24 8

      Oh well...

  28. I... can't keep. Reading. by StikyPad · · Score: 5, Funny

    By then, it may be too late, as in the meantime, the attacker may collect and even modify information that was not intended for him.

    Damnit, Bones I, can't figure out how to, place commas in, my, sentences I know they, should go somewhere I'm. Just not sure where.

  29. Re:I have met the man in the middle. by Anonymous Coward · · Score: 0

    I believe it is called "Pegging".

    http://en.wikipedia.org/wiki/Pegging_(sexual_pract ice).

  30. Cutesy Layperson Explanations instead of math by billstewart · · Score: 2, Interesting
    Has anybody bothered getting the actual paper from these people instead of the cutesy descriptions of envelopes, red/green ink, and carbon paper? The authors go out of their way to write a cutesy layperson's description of their work, but they've obfuscated the real math inside envelopes full of carbon paper (assuming that some of their readers are old enough to remember using carbon paper), instead of just giving us the math.

    So nobody technical can tell if they've really done anything new or interesting, or if they've just done Yet Another Variant on mutual authentication that doesn't offer any advantages over existing techniques. MITM attacks aren't new, and needing twoway authentication for some applications isn't new, and using stolen passwords to crack machines isn't new, and using cracked machines to do Bad Things with isn't too new, though the popular approaches to cracking Windows machines don't usually bother with MITMing passwords because there are so many other back doors available. So what's new here?

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  31. Secure Remote Password by Gollum · · Score: 5, Informative

    ... has solved this problem more than 6 years ago. And it does not require the password to be stored in clear-text by the server. (although, "with a little thought", according to the article, neither does this scheme. BAH! Proof is left as an excercise for the reader)

    Stick with something that has been rigorously reviewed, and proven over a period of time. And something that can be explained simply, in terms of the actual technology, rather than resorting to pathetic analogies that do not explain anything!

    SRP

    1. Re:Secure Remote Password by virtual_mps · · Score: 1

      And yet for all its potential benefits, SRP was crippled by patent licensing that made people reluctant to implement it. What a shame.

    2. Re:Secure Remote Password by dmiller · · Score: 1

      Pity Wu went and broke it by whacking a minefield of patents around it. Now hardly anyone wants to touch it and those that are interested are scared off by the other sharks who are circling that pond. So another potentially interesting protocol becomes unusable for 20+ years because of simple greed.

  32. Re:Quick Question by Anonymous Coward · · Score: 0

    I realize this is a joke, but people reading should know that meet-in-the-middle is indeed a type of cryptographic attack. It has nothing to do with man-in-the-middle, which attacks a protocol instead of a cryptographic algorithm.

  33. in other news... by Anonymous Coward · · Score: 0

    Microsoft files patent application for delayed password protection. Company then decided not allow anyone to use this patent and support bill gates plan to end use of passwords with biometrics.

  34. This approach works in theory but... by Spy+der+Mann · · Score: 2, Interesting

    the problem here is that a webpage is not data but also program (i.e. javascript).

    Alice could log in to the fake bank, and not realize that instead of doing the magic password trick, she's sending her password in plain text. Why? Because at the moment, the password encryption is (putting SSL aside) implemented by javascript!

    To be safe, a key encryption algorithm would need an established software running it (in this case, the web browser).

    This means:

    a) having a W3-approved algorithm to be implemented in browsers, or
    b) Having downloaded specific software by the bank (i.e. bankOnline browser(TM) or something).

  35. Quite huge. by game+kid · · Score: 0

    Now even the nearsighted can learn about securing their Beowulf Clusters! (I'm myopic too so don't hurt me now.)

    Seriously, even after RTFA, especially the last part that actually describes the proc in the first place, it's a bit hard for me to understand. I know it involves the server knowing what places the actual password resides within the user's "password" transmission...right?

    --
    You can hold down the "B" button for continuous firing.
  36. Actually Pretty Vulnerable by Effugas · · Score: 5, Informative

    So I actually got this sent to me this morning, accompanied with some nice snarkiness about "known plaintext handouts".

    http://www.eurekalert.org/pub_releases/2005-02/a af t-ncs021405.php

    Hmm. It's basically Kerberos, except totally broken.

    So we don't actually know how this protocol works, but the description at the above link is vastly more coherent. (Anything with "magic envelope" and "this is a metaphor" really shouldn't be taken as a protocol specification.)

    ===
    CUSTOMER: Bank, I will send you some information that is encrypted. You can only decrypt it if you know my password. If you don't know the password, you could of course try all possible passwords (although that is a lot of work!), but you would never know from my message if you picked the right one. Once you have decrypted the message, I want you to send it to me. If it is correctly decrypted, I will know that you know my password already. Once I know that you know my password, I will send it to you so that you can verify that I also know it. Of course, if I am lying about my identity and don't know the password in the first place, then I will not learn anything about the password from your message, so it is safe in both directions.
    ===

    It's also wildly exploitable. Here's how:

    First of all, password brute forcing? Alot of work? Only if there's no way to execute an offline attack, i.e. you can run attempts as fast as your own computer can calculate them. What we need is an offline attack -- something that lets us try to try as many attempts as possible. The most important thing is verifiability -- we need to know when we guessed the actual password.

    Can we possibly verify our guess? Well, Alice sends the bank some random data, which is dutifully returned to Eve. Eve sniffs this traffic, and now has a very simple task:

    Guess all possible passwords the bank could have used to decrypt the password. When the content from Alice, decrypted with the guess, equals what came back from the Bank, Eve has found the password.

    But then there's Eve's friend Mallory, who thinks Eve isn't ambitious enough and wants to steal anyone's password at the bank, not just Alice's. Suppose Bob has angered her somehow. Mallory can't sniff Bob's traffic, but then, she doesn't actually need to. Mallory can simply blindly provide some arbitrary data to the bank. It's garbage going out, but even garbage will decrypt into something. Unless the bank specifically has users provide some known plaintext in the outgoing data, it's going to "decrypt" that noise, using the password, into more noise.

    Once again, outgoing data + bank password = incoming data. Mallory gets to do offline attacks too -- but against any user she wants.

    Of course, the bank *could* put some sort of verifier in the message that Alice sends to it. But then Eve has an even easier time guessing passwords, since she just tries random passwords until the verifier is unveiled. No need to sniff the traffic back from the Bank (which is actually significant -- it means Mallory could firewall off the bank and still successfully participate in the auth protocol, with no way for the bank to find out.)

    Anyway, long story short, broken. Really, really broken.

    --Dan

    1. Re:Actually Pretty Vulnerable by Too+Much+Noise · · Score: 1

      Hmm. It's basically Kerberos, except totally broken.

      My thoughts exactly - I was hoping to see more details on how it is different in a better way from Kerberos, but there's nothing (well, except "patent pending" which is hardly an improvement)

      (Anything with "magic envelope" and "this is a metaphor" really shouldn't be taken as a protocol specification.)

      Indeed. Maybe it was taken from the patent application? (can't tell, as there's nothing on uspto.gov so far)

    2. Re:Actually Pretty Vulnerable by jemfinch · · Score: 1

      Yeah, too bad the protocol in that link has absolutely nothing to do with the actual protocol, as described in the article.

      Which do you think is more likely, that some security researchers at IU are not at least as smart as you are, or that the description you got from that website, written by a probably clueless reporter, is just plain inaccurate?

      Jeremy

    3. Re:Actually Pretty Vulnerable by Effugas · · Score: 2, Interesting

      I've worked with a fair number of reporters; they're not coming up with something that complicated on their own. Hell, you're lucky if you can get like two sentences correctly quoted :) Only time you get that much technical writing in a row is if it's straight from the interview, and generally copied word for word from email.

      Now, you're right. I could have taken that metaphor seriously. I could have gone ahead and pointed out, gee, they're basically describing a protocol in which the server XOR's arbitrary content from the client against the password (look real close at the "zero" and "more than zero" math. In bitspace, that's XOR). In this case, I can derive any password just by XORing two Bank->Alice/Bank->Mallory communications against one another.

      But XOR is a simple encryption system, probably the only one you could hope to describe in the space alloted. So I gave them the benefit of the doubt; they weren't actually using a wildly broken cipher, just a seriously broken architecture.

    4. Re:Actually Pretty Vulnerable by Dulimano · · Score: 1

      I'd like to moderate parent "Don't read any other posts on this thread, this is the only important one".

  37. easier to prevent man in the middle for ssh? by planckscale · · Score: 1

    I'm a novice ssh user, and I'm a little unclear on man in the middle and if this carbon-copy technique will benefit? For example, my debian box got a new dhcp address after being powered off from a power outage, I ssh'd into it and Putty alerted me that it had a new signature (I assumed because of the new IP address). Will this technique benefit me by creating a carbon copy in addition to looking at the signature before I log in? It's probably my own fault because I never created and shared my own keys; I recall something about creating my own key, then entering that key into Putty, but it's escaped me. Does anyone have a good easy procedure to run if I ever get a notification that my hash signature has changed? A little extra protection sounds good especially if I'm connecting outside the confines of my LAN.

    --
    Namaste
  38. please help me understand by Anonymous Coward · · Score: 0

    Hello,

    I came across this posting and thought it was very interesting. I have a question about it though (I'm not a security expert so please forgive my ignorance if the answer escapes me).

    It seems that an intruder can still impersonate the bank if he carefully selects the numbers. If he can correctly select a set of numbers such that they add up to zero, then Alice will believe he is the bank. So it seems the problem is selecting a set of zero-summed numbers, right?
    What if the intruder were to select all 0's in every position of the "letter" except one, the last column? In the last column, the intruder places a 1 in the "top" position and sends the letter back. If the last digit is a 1, then the set of numbers (0+0+0+...+0+0) will not include the 1 and they will sum to 0 implying that this is the bank. Alice will willingly give her password away then, correct?. However, if the last digit is a 0, then Alice does not give her password, in which case the intruder can place a 1 in the "bottom" position and send the letter back. This time, Alice will not include the 1 in the top position and the set of numbers will sum to 0, making Alice believe the intruder is the bank.

    Does that all seem to make sense? Where does my understanding depart from the truth?

    Your help appreciated,
    Kane

  39. NAK by Anonymous Coward · · Score: 0

    The proposed solution does not really differ from exchanging hashes of challenges and preshared secrets. Further, the article is badly written; e.g. it explains (or tries to explain) how a standard denial of service attacks requires the attacker to establish a very large number of connections to the victim even though this is totally irrelevant to MITM attacks discussed throughout the reminder of the article. Author confuses SSH with SSL/TLS (on purpose?) then goes on to say that MITM attacks can be used to [...] disrupt key exchange operations. I don't understand how authenticated Diffie-Hellman key agreement or SSL/TLS pre-master secrets fail to deliver key exchanges in this context. Anyone?

  40. I RTFA and I'm not impressed by elronxenu · · Score: 2, Insightful
    I don't know much about crypto but this paper strikes me as both original and insightful - the insightful parts are not original, and the original parts are not insightful.

    First of all, we already have protection in protocols such as SSH and SSL against man-in-the-middle attacks. Thus, the paper's whole reason for existence disappears.

    Secondly, the security of this "masking" technique depends upon the randomness of the numbers chosen by the server (and, by implication, any man-in-the-middle). I could send a packet containing all zeroes and it would guarantee to sum to zero after applying any mask at all. How does the receiver judge whether the numbers passed are sufficiently random?

    1. Re:I RTFA and I'm not impressed by elronxenu · · Score: 1
      Actually the masking thing probably lessens security a fair bit. It would be possible to iterate through just one of these masking packets to find potential passwords. If the password were english text you could apply letter analysis to quickly find synonyms - words which "could" be the password because they fit the random data supplied.

      Then if you had another masking packet, you can check all your first words against the second masking packet and eliminate 99% of the incorrect words.

      Basically these masking packets permit the attacker to verify correctness of password guesses themselves - and if I had to guess, I'd say that was very, very bad for security. That's probably easier to crack than DES.

  41. Emails from the dead by bolix · · Score: 1

    Before i rtfa, i thought this had links to the MS UndeadTAPI "PASSPORT for the beyond" i.e. a triggered email discloses your passwords in order to circumvent your family having to sue for disclosure. Next up in UndeadTAPI is auto-distruct pr0n (in XML).

  42. Shout it from the rooftops! by phliar · · Score: 1

    I guess his Mom never told him it was rude to shout, or to use MS-Word for editing HTML.

    --
    Unlimited growth == Cancer.
  43. Re:Quick Question by tyler_larson · · Score: 1
    Well, feminist do-gooders, in an effort to de-genderify the term whilst keeping the acronym MITM beat you to it, by redefining MITM as "Meet-In-The-Middle".

    It was a quite popular term in academia, until it was discovered that "Meat-In-The-Middle" in the context of a three-party situation sounds a lot more gay even.

    There's another rendering of MITM that gets thrown around occasionally: "Monkey in the Middle".

    It doesn't sound gay.. but it does sound a bit, um, different.

    --
    "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea...."
    RFC 1925
  44. Proof of MITM attacks on HTTP/HTML by Anonymous Coward · · Score: 0

    You know you're a victim of a MITM attack, if

    a. Font size dramatically increased
    b. Article content turned into nonsense
    c. Both

  45. How often does it happen? by misleb · · Score: 2

    Can anyone give an idea how often things like man in the middle attacks actually happen? I know it is possible, but it seems quite unlikely that anyone would go through the trouble when there are so many easily hacked things out there whether it is known exploits or just unencrypted links. The only way I can see it happening is if you were a target for a particular reason such as corporate espionage.

    Has anyone here at slashdot actually been the victim of a hack as sophisticated as man-in-the-middle on an otherwise encrypted link? I'm curious.

    -matthew

    --
    "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    1. Re:How often does it happen? by Fuzzums · · Score: 1

      think fbi? think homeland intrusion?

      --
      Privacy is terrorism.
    2. Re:How often does it happen? by Eivind · · Score: 1
      Happens regularily. But rarely with crypto.

      For example many phishers set up a web-site which will ask for your account-nr and pin. And then when you provide it, they store them and *also* forward you to the real banksite.

      So, you'll really be logged in at your real bank. And quite likely you'll never notice that someone was sitting inbetween and storing a copy of your pin.

    3. Re:How often does it happen? by misleb · · Score: 1

      Well, that is a bit different. I was wondering about crypto in particular. Has it ever happened to you?

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
  46. Why include zombies in that? by khasim · · Score: 1

    I'm suspicious of this just because they lump so many different scenarios into one category.

    #1. Zombies

    #2. Man in the middle

    #3. Traffic analysis

    #4. "email-cluster-bomb attack"

    #5. "incorrectly update routing tables"

    And so forth. Of what possible use would authentication be with a bunch of zombies? If a zombie is an example of a "stealth" attack, then what would be an example of a non-stealth attack?

    Anyway, if Alice and Bob (might as well use the common ID's) both have access to the password, why not simply use authentication and encryption as Bruce Schneier covers in "Practical Cryptography"?

    Authentication and cryptography aren't that difficult to understand.

    In fact, in his scenario (Alice and Bob both have the password and it hasn't been compromised), encryption/authentication is super easy. Again, it's covered in Bruce Schneier's book "Practical Cryptography".

  47. Obvious Flaw: Attacker can send constructed resps. by wazerface · · Score: 1

    I see one obvious and major flaw to this approach. A 'man in the middle' can easily respond to the client (Alice) with all 0's. Regardless of the 'carbon paper' mask that is used, all 0's always add up to 0 (which will make the imposter appear valid).

    Alice seems pretty gullible.

    ps. I developed a little encryption scheme to be used between a hardware firewall and client a little while back (the hardware firebox is called a 'WazerBox'). It has since been altered but this paper describes the basics. I believe it is relatively secure but would love someone to prove me wrong.

  48. Host Authentication. by jd · · Score: 1
    IPSec does this just fine. Any other system that involves host fingerprints or (better yet) both client and server certificates will acieve this.


    Of course, you could always use S/Key or OPIE and have what is essentially a one-time password system.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  49. Homomorphic public key cryptography? by Anonymous Coward · · Score: 0

    I'm guessing that it relies on some kind of homomorphic public-key cryptosystem (homomorphism: when Encrypt(t1) op Encrypt(t2) == Encrypt(t1 op t2)).

    Ergo, Alice (customer) sends Bob (bank) a public key and some kind of nonce encrypted with said public key. Bob performs some kind of homomorphic operation involving the hash of Alice's password, and returns the result (ie Bob does some kind of mathematical operation on Alice's nonce without actually needing to decrypt it in the first place).

    Using some kinda expansion function (each bit of the hashed password is substituted by a number of random bits) would probably combat any kind of adaptive attack against the server.

    (And can everyone stop nominating SSL as a 'better' solution: SSL relies on PKI (which is about as safe as DNS when it comes to 'authenticating' the other end)).

  50. How do you deposit a check? by tepples · · Score: 1

    They can send it to my bank account number

    And if they know your bank's routing number (public information; just ask the bank) and your account number, not only can they direct deposit, but they can also take arbitrary money from your bank account using a fraudulent direct debit. I have had this happen to a family member twice; after the second incident, she canceled her checking account and got a new one with a different number.

    give me a check, send me US Postal money orders ... or give me cash

    What happens when the only bank with branches in town isn't your bank? Then how do you deposit your cash, check, or money order in your bank account? For example, I lived in Terre Haute, Indiana, for four years when I was in college, and during those four years, First Financial Bank was the only bank in town. I didn't set up an account with First because their web site worked only with IE, while Bank One (the bank I had used back home) had no problem with Mozilla even pre-1.0. Besides, to send you a check, the sender still needs an address.

    give me a credit card number (and appropriate data) that I may use

    How much does a merchant account cost again? Are they even available to individuals?

    The only account that I should ever need anyone to know to send me money is my PayPal account...

    The PayPal public/private model is the model I was considering. Someone with your PayPal account name can only push money to a PayPal account; only someone with both name and password can pull it.

    1. Re:How do you deposit a check? by modecx · · Score: 1

      You're absolutely right regarding the bank number+routing number, and everything else... Anything is only secure as it's weakest link. Banks are pretty weak, but at least they do try and help in the event that you get frauded. I'd only use this method with someone that I implicitly trust, and or I know where to find them/their orginazation so I can recover the value, or at the very least I know what to burn down :)

      Regarding depositing money in an account from another bank in the event that my bank didn't have a local branch... I think I'd get a free account from a bank wherever I was (almost all banks have 'em anymore.. I'd keep whatever minimum I needed in that account and use it to transfer funds to my main account. I do basically the same with my business account.

      I got a pretty good deal on my merchant account. It's $8 monthly, 3.4% for visa+MC, 3.7% for Discover and American Express (IIRC) + $0.32 per transaction... Miles above and beyond what the banks offer, in terms of price and service. All I had to do was buy the machine for a slightly inflated price ($450, 50 of that went to another person as a referrral), and pass the credit stuff. I'm a registered business, but I'd bet an individual could get one just as easily. All you need is a checking account and good credit, the guy tells me. Obviously, it's not a deal for someone who only deals with such things every now and then. However, since I've been able to process cards, my sales have gone up quite a bit (impulse buyers I'd imagine). I've got bitten on an international deal, so I won't be accepting credit internationally from now on, you've got practically no recourse. It dosen't help that there's a covert band of gypsies in Italy buying everything they can find with stolen cards and information...

      PayPal is a great thing, in thoery, I think. Lots of people have had problems with them, fortunately, I've faired much better, but I haven't dealt with them as much as some people. I honestly can't say I've got a personal problem against them, the only time I've had a problem was when my verified account was barfed all over and forgotten by their system. It didn't do anything to my account, but I spent a 45 minutes on the phone trying to get it resolved so I could get my money deposited. Honestly, if they got their banking credentials and operated like a bank I'd be much more confident to deal with them. Even if it meant that I had to pay more.

      That said, there is no single good solution for accepting funds, electronically or not. I sure wish there were, because it would make life a helluva lot easier. You can get screwed over with checks, cashiers checks (there's some good forged and stolen checks running around from various banks), credit cards, cash, PayPal, and pretty much anything just the same.

      If there's one thing that I've learned since I got into all this money stuff it's that if there's money or anything of value to be had, someone's gonna try and get it no matter what--and that your best defenses are your instincts and common sense.

      --
      Constitutional rights may be respected, repealed, or modified; but they must never be ignored.
    2. Re:How do you deposit a check? by tepples · · Score: 1

      Regarding depositing money in an account from another bank in the event that my bank didn't have a local branch... I think I'd get a free account from a bank wherever I was

      That's been my pet peeve. Any IE-only bank does not offer free checking accounts to users of GNU/Linux, such as people who bought a computer preloaded with Linspire OS; users have to pony up $200 for the client software (IE under Windows) and possibly even more for an emulator if they don't have an x86 machine sitting around. Thankfully, more and more banks have since responded positively to Mozilla evangelism.

    3. Re:How do you deposit a check? by statusbar · · Score: 1
      What happens when the only bank with branches in town isn't your bank? Then how do you deposit your cash, check, or money order in your bank account?


      A related situation: I needed to deposit some money into my friend's companies account which is in a bank branch in a different city. I had done this before with no problems. However last time I tried, they couldn't do it because you need to swipe your bank card at the human teller wicket - and I am not a customer of that bank. They had no clue how to handle me since their first request is for me to swipe my card and enter my pin. They ended up having to courier my cheque to the bank in the other city!!!


      --jeff++

      --
      ipv6 is my vpn
    4. Re:How do you deposit a check? by modecx · · Score: 1

      Oh yeah, I did miss that small bit of your point. If one of your banks' sites dosen't support IE you're SOL in doing transfers electronically.

      What I'm wondering is if the bank was simply rejecting non-IE user-agents, my understanding is that most of the IE only bank sites will actually work with a Mozilla that reports itself as IE. Thankfully my banks work fine with Moz :D With Firefox going so big, I certianly can see that banks will be forced to ditch the IE only crap, as you note.

      --
      Constitutional rights may be respected, repealed, or modified; but they must never be ignored.
    5. Re:How do you deposit a check? by modecx · · Score: 1

      Wow... That's pretty crazy. The day is at hand where people don't know what to do unless the computer tells them. Cashiers can't make change, and Tellers are better off automatic.

      Someday soon, I suspect someone will jump from a bridge because their computer had a grudge on 'em. (eek)

      --
      Constitutional rights may be respected, repealed, or modified; but they must never be ignored.
  51. Strong Password Authentication by Orasis · · Score: 2, Informative

    Use SRP, B-SPEKE, or any of the other hundreds of variations of secure password authentication that have been invented.

  52. More work than necessary by Anonymous Coward · · Score: 0

    According to the metaphor, we have a magic envelope that only one person can open. Forget the rest of the scheme - just use the magic envelopes.

    1. Re:More work than necessary by Anonymous Coward · · Score: 0

      The problem here is the metaphor of the 'magic envelope' has nothing to do with the actual scheme they have patented.

      I actually bothered to contact them for more information and got a copy of their public description of the technique. This yields two interesting things:

      1) As stated above it has nothing to do with envelopes, carbon paper. It actually works by you sending the first letter of your password and the host (bank) will then send you an image based on something unique to your account (random number) and the letter you sent (based on a pool of milions of images). If you recognise the image sent you continue with the 2nd letter, and receive the 2nd image. At any point you don't recognise the image you stop entering your password. Images are sent, aparently, using something like 'oblivious transfer'.

      2) The paper I received, from the horses mouth, admits it isn't actually protection against a man-in-the-middle attack - but that is deemed OK as any large scale usage of such an attack would lead to a lot of fraudulent transactions from the same IP address - which would be spotted by the bank - yeah!

      I leave you to draw your own conclusions as to how seriously I now take this new and wondrerful scheme, not coming to a bank near you soon!

  53. Elementary paper written by an amateur: C- by Anonymous Coward · · Score: 0

    There is absolutely no worthwhile content in this article. It begins by spreading FUD about using HTTPS. It then creates a metaphor of a very basic challenge-response method. The author writes as though s/he has never heard of CRAM-MD5.

    I found the article's lack of a byline or references to prior papers published on the topic of so-called "stealth attacks" quite telling. This is an elementary paper written by an amateur.

    Grade: C-

  54. Geez, take a writing class! by idlake · · Score: 1

    That web page is a rambling, disorganized mess--the author should take a writing class.

  55. after reading the article by hendrix69 · · Score: 1

    Can't the impersonator just pass all zeros, so that any summation would yield 0, or something similar?

    --
    The power of Christ compiles you!
  56. Why so complicated? by Anonymous Coward · · Score: 0

    Sorry if I'm being totally naive about cryptography. But if I wanted to verify a host's identity by whether he knows my password or not, why can't I do something like this:

    Alice: Hi! I'm Alice.
    Bob: Hi! Here take this randomly created key that will be used to encrypt our session. This key is encrypted by your password. For the remainder of the session you will need this key to successfully communicate with me.
    Alice: Thank you. I will now decrypt this key and use it. If either one of us didn't know the password this will not result in successful communication.

    Apart from being very polite ;) this seems rather simple to implement and as far as I can tell addresses most of the possible attacks, no? An attacker that would try to guess Alice's password using the encrypted key would have to contact Bob a lot to verify if the key is correct which could be dectected I think.

    To prevent an attacker from guessing the password by trying to decrypt some captured traffic whose plaintext content is at least partially known (if this is email-traffic look for HELO or some other known part of the protocol) you just add another step where the first thing you do is a Diffie-Helman exchange encrypted by the session key and then us that key to actually encrypt you traffic.

    Did I miss something? Why would you not want to do it like that?

  57. He is about Anonymity, not just security by MS_leases_my_soul · · Score: 1

    If you read the other papers this professor has written, a lot of his stuff is about being anonymous. Look at his e-commerce/e-cash stuff and you will see. I get the impression that he has more in mind for this than just banks and its customers. I think he is looking for ideas on how you can trust someone you have never "met".

    1. Re:He is about Anonymity, not just security by Anonymous Coward · · Score: 0

      This may be the case, but in this instance he, rather they, are trying to address the problem of phishing (and their example uses banking, ie someone you already have a relationship with) at the expense of man-in-the-middle attacks.

      With the area given in all examples relating to their work being the problems with connecting to an unknown network access point (wireless); it strikes me that both phishing and man-in-the-middle are equally important to protect against. Thus any scheme that protects one, at the expense of the other, is of little use.

  58. I found exploit (may be) by Perlover · · Score: 1

    Hello!

    I found exploit of this auth method.
    Sorry for my English. Here i will try to describe how a hacker can feign a realy host. It's easy...

    For example. Host A - real site which knows a password. Host B - user. Host C - faked host. User B connects to host C thinking that he connects as to host A. What is host C doing? It gets a crypted phrase from host B and forwards it to host A as a client B. Host A gets a phrase and thinking that phrase was gotten from B. It can decrypt it and sends a decrypted phrase to user (faked host C). Host C gets a decrypted phrase and forward it to host B. The host B gets a decrypted phrase and thinks that host C real authorized host A (bank for example).
    The END. The faked session between host B (user) and host C (hacker site) is opened.
    If i don't understand the idea of authors please correct me. But i think that this will work.

    Best regards, Alexey Zvyagin aka Perlover