Slashdot Mirror


Microsoft Live Account Credentials Leaking From Windows 8 And Above (hackaday.com)

An anonymous reader writes: Discovered in 1997 by Aaron Spangler and never fixed, the WinNT/Win95 Automatic Authentication Vulnerability (IE Bug #4) is certainly an excellent vintage. In Windows 8 and 10, the same bug has now been found to potentially leak the user's Microsoft Live account login and (hashed) password information, which is also used to access OneDrive, Outlook, Office, Mobile, Bing, Xbox Live, MSN and Skype (if used with a Microsoft account). The bug itself seems to be present in all Windows systems since Windows 95 / NT, although only Windows 8 and above are effectively compromised. To see if your machine is affected, you may want to check the public demonstration of the exploit, set up by the guys from [Perfect Privacy] and based on [VladikSS] original work. Basically, the default User Authentification Settings of Edge/Spartan (also Internet Explorer, Outlook) lets the browser connect to local network shares, but erroneously fail to block connections to remote shares. To exploit this, an attacker would simply set up a network share. An embedded image link that points to that network share is then sent to the victim, for example as part of an email or website. As soon as the prepped content is viewed inside a Microsoft product such as Edge/Spartan, Internet Explorer or Outlook, that software will try to connect to that share in order to download the image. Doing so, it will silently send the user's Windows login username in plaintext along with the NTLMv2 hash of the login password to the attacker's network share.

55 comments

  1. So that's what it does? by Anonymous Coward · · Score: 1

    I always found it odd when accessing network shares between users with the same name and password that it never prompted me for one.

    1. Re:So that's what it does? by netsavior · · Score: 2

      I always found it odd when accessing network shares between users with the same name and password that it never prompted me for one.

      It was a great workaround back before active directory. If you didn't have access to a share, just figure out the owner's username (pre-populated on their lock screen), and create a new local user on your machine with the same username, connect to the share as that user, done.

    2. Re:So that's what it does? by Zak3056 · · Score: 4, Insightful

      It was a great workaround back before active directory. If you didn't have access to a share, just figure out the owner's username (pre-populated on their lock screen), and create a new local user on your machine with the same username, connect to the share as that user, done.

      That workaround doesn't work... the password has to match as well.

      --
      What part of "shall not be infringed" is so hard to understand?
    3. Re:So that's what it does? by Anonymous Coward · · Score: 0

      Works if the password for all users is "password". I have worked somewhere where that was the case recently.

  2. Windows IE sucks again! by Joe_Dragon · · Score: 0

    Windows IE sucks again!

    1. Re:Windows IE sucks again! by LeadSongDog · · Score: 0

      Windows IE sucks again!

      "Now with New, New, New MS Edginess!!!"

      --
      Oh, I'm sorry sir, I thought you were referring to me, Mr. Wensleydale.
  3. n3rdspe4k by Anonymous Coward · · Score: 0

    In basic english, does it mean the attacker needs to be on the same internal network or are people open up to attack on the Internet as a whole?

    1. Re:n3rdspe4k by Sir_Eptishous · · Score: 1

      Yes, the use of the word "share" can be misconstrued in this context.
      I would assume, perhaps wrongly, that in this instance "share" means anywhere that Outlook, IE, Edge, etc can reach...
      Meaning anywhere on the internet, otherwise this vulnerability wouldn't be as big of a deal.

      --
      We play the game with the bravery of being out of range
    2. Re:n3rdspe4k by JustAnotherOldGuy · · Score: 3, Funny

      Yes, the use of the word "share" can be misconstrued in this context.

      Think of it in the context of heroin users "sharing" a needle, or when a child coughs directly into your face to "share" his cold with you.

      --
      Just cruising through this digital world at 33 1/3 rpm...
  4. glad I set up a local account for my win10 install by Anonymous Coward · · Score: 0

    one with no relation to any real accounts...

  5. Didn't MS Plan it this way? by BoRegardless · · Score: 0

    Come on!

  6. So... by The-Ixian · · Score: 2

    If I block outbound CIFS/SMB connections at the firewall, this should solve the issue, correct?

    --
    My eyes reflect the stars and a smile lights up my face.
    1. Re:So... by Anonymous Coward · · Score: 3, Informative

      Have not had a chance to confirm, but from looking at the wireshark SS I would infer blocking outbound 137-139 and 445 should work. However, if you have a webdav (or w/e MS calls it these days) plugin enabled that may be another vector in which this could be used.

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

      Microsoft's WebDAV client hasn't worked properly for several generations. Perhaps their refusal to properly-implement standards can mitigate this problem.

      CAPTCHA: defaults

  7. This just adds to that feeling of anger I have by bravecanadian · · Score: 1

    trying to navigate all of Microsoft's many convoluted username/password schemes.

    For the love of all that is holy.. consolidate some of these logins, Microsoft!

    1. Re:This just adds to that feeling of anger I have by JustAnotherOldGuy · · Score: 2

      For the love of all that is holy.. consolidate some of these logins, Microsoft!

      They did that with Microsoft Passport (also known as .NET Passport, Microsoft Passport Network, and Windows Live ID).

      I'm not sure how it fared or what the overall success rate of the consolidation was.

      --
      Just cruising through this digital world at 33 1/3 rpm...
    2. Re:This just adds to that feeling of anger I have by jonwil · · Score: 3, Informative

      Its "login consolidation" (specifically the move with Windows 8 and 10 to use your Live/Hotmail/Outlook/Microsoft/etc login as your desktop login) that is the cause of this bug in the first place.

      Thankfully I am on Windows 7 (and would use a local login rather than a cloud login in any case even on Windows 10) so this issue doesn't affect me. (no domains, VPNs or anything else involved either, its just a local login for my desktop)

  8. Re:Is this news? by Kiaser+Zohsay · · Score: 4, Informative

    If we had an article for every security vulnerability/backdoor found in a Microsoft product, it'd be impossible to find anything else on Slashdot.

    What's newsworthy in this case is that the vulnerability remains unpatched since 1997. That is older than some of my kids. That's almost old enough to drink.

    --
    I am not your blowing wind, I am the lightning.
  9. Re:Is this news? by LichtSpektren · · Score: 1

    If we had an article for every security vulnerability/backdoor found in a Microsoft product, it'd be impossible to find anything else on Slashdot.

    What's newsworthy in this case is that the vulnerability remains unpatched since 1997. That is older than some of my kids. That's almost old enough to drink.

    That's not unprecedented either: http://www.bbc.com/news/techno...

  10. Re:Is this news? by daedalus2097 · · Score: 2

    And plenty old enough to drink in Europe ;)

  11. That's the problem. It's internet, Windows thinks by raymorris · · Score: 3, Informative

    It can be over the internet.

    Confusion between the local network and the internet is the source of the problem. Windows is supposed to automatically log in to LOCAL shares. Instead it will automatically log in to shares anywhere on the internet, when it sees a link to a share.

  12. Re:That's the problem. It's internet, Windows thin by AmiMoJo · · Score: 2, Informative

    The critical thing that isn't getting enough attention here is that it requires IE to work. If you visit the test site in Chrome or Firefox it tells you to come back in IE. So it's not nearly as bad as it first appears.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  13. Credentials are of value? by Anonymous Coward · · Score: 0

    Mint live CD's Firefox shows many having expired in 2014, addons.mozilla.org 2011, yet haven't had any problems. They worth much?
    Options/Advanced/Certs/servers.

    -trax3001bbs

    1. Re: Credentials are of value? by Anonymous Coward · · Score: 0

      Mint live CD's Firefox shows many having expired in 2014, addons.mozilla.org 2011, yet haven't had any problems. They worth much?
      Options/Advanced/Certs/servers.

      -trax3001bbs

      My bad was on Win7, been installing (or trying) many versions of Mint (your flavor here) and did think I was on it.

      Done with windows, it's time to move on.

      -trax3001bbs

  14. Microsoft Live? by Anonymous Coward · · Score: 0

    You mean that thing windows setup tried to trick me into creating so it could target ads at me and try to rent me cloud space?

  15. It seems to also leak Windows Domain credentials by Truist · · Score: 1

    (Per the results I saw with the testing tool.) That means they could get e.g. VPN or email credentials, too.

  16. Re:That's the problem. It's internet, Windows thin by NotInHere · · Score: 3, Insightful

    I'd prefer if it didn't do much distinction. One compromised device inside a local network shouldn't be enough to escalate it to control every device inside. If you trust devices on a basis "its in our network", then you are doing something wrong.

  17. This IS configurable by Anonymous Coward · · Score: 1

    and the defaults are horrible.

    To protect yourself, goto Internet Options -> Security Tab
    "Custom level...." -> scroll to bottom, change "User Authentication - Logon" setting from "Automatic login only in Intranet zone" to "Prompt for user name and password".

    Repeat for all four zones. Your Internet Explorer install will no longer leak password hashes.

    Then do yourself a favor and use another browser for daily browsing.

    1. Re:This IS configurable by Anonymous Coward · · Score: 0

      "Automatic login only in Intranet zone" IS the default.
      The bug is that IE ignores that setting and attempts to login anyway even for shares in the Internet Zone.

  18. Re:Is this news? by Bob+the+Super+Hamste · · Score: 1

    That's almost old enough to drink.

    And now you've made me feel old.

    --
    Time to offend someone
  19. Why are firewalls not blocking this today? by geekmux · · Score: 3, Interesting

    I'm not sure what's more pathetic here, the age of this Microsoft bug, or the fact that so many firewalls do NOT block the relevant outbound TCP ports by default.

    Seems both are equally as culpable.

    1. Re: Why are firewalls not blocking this today? by Anonymous Coward · · Score: 0

      It seems a little overkill to block outbound connections to ports 80 and 443 just to prevent yourself from making a login attempt.

      Further, if you don't allow ports 80 & 443 to initiate your connection, you'd have no idea if a site returned a 401 'authentication required'.
      Your solution would block services that don't even need a login.

      Lastly, with or without the NTLM password hash being sent, the next step for the system is to look for login credentials saved by the user to send, and finally if those aren't found or don't work either, the last step is to prompt for a user/pass to login with.

      Blocking ports 80 and 443 would prevent all forms of login as well as not logging in.

      You could just turn off NTLM auto so Windows won't send the pass hash but can still resort to allowing sites that don't need passwords, or to prompt the user for credentials to send.

      Besides, it's always felt strange to me to use the built in firewall for outbound connections.
      Think about it, such rules are only put in place because you dont trust the system itself and whatever connections it is trying to make.
      Yet you rely on the same untrusted systems firewall to protect itself...

      You really need to block the traffic upstream from the untrusted PC, but still downstream from your Internet router/cpe.

      Most people don't have any network infrastructure at home to do that.
      But even for those of us that do, we realize just how bad our network would be blocking all traffic for web browsers and smb for everything on your lan!
      I guess if you only had a single win10 PC to block it wouldn't be too bad. But the more and more win10 systems getti firewall rules and needing to whitelist all of your other devices.
      It just sounds like an unworkable painfully manageable solution that basically removes "Internet access" from your users (without web that is how your users will see your firewall setup as)

    2. Re: Why are firewalls not blocking this today? by geekmux · · Score: 1

      It seems a little overkill to block outbound connections to ports 80 and 443 just to prevent yourself from making a login attempt.

      Further, if you don't allow ports 80 & 443 to initiate your connection, you'd have no idea if a site returned a 401 'authentication required'...It just sounds like an unworkable painfully manageable solution that basically removes "Internet access" from your users (without web that is how your users will see your firewall setup as)

      I would agree with you.

      Perhaps that is why the internet-facing ports I was referring to are 137-139 and 445, which hardly is an unworkable solution.

  20. Re:Is this news? by Anonymous Coward · · Score: 0

    Well, it sure can drive you to drink...

  21. Re:That's the problem. It's internet, Windows thin by Anonymous Coward · · Score: 0

    The good (?) news is,

    * Most consumer ISPs filter the ports necessary to make the exploit possible over the internet

    * Most larger companies have at least one competent administrator who has enforced similar blocks

    * Some SOHO routers will block this traffic in their default configuration

    So the exploit is still critical, but thanks to network administrators and some hardware manufacturers, the footprint isn't nearly as large as it could be.

  22. Use local account by Anonymous Coward · · Score: 0

    One reason I always use a local account on my PC's. This is the main problem having one sign in for all Microsoft services. Actually this is what is the problem with Apple, Google and any other ecosystem sign in.

  23. Re:That's the problem. It's internet, Windows thin by sexconker · · Score: 1

    Most companies let people reach out to wherever they want.
    The vast majority of filtering/firewalling is done for the opposite direction - blocking shit coming in that doesn't already have an established connection.

  24. Re:Is this news? by The-Ixian · · Score: 1

    I can see how this is one of those "it's not a bug, it's a feature" arguments.

    Probably "unpatched" because some big customer of MS is using this "feature".

    Though, why they wouldn't just determine the internal vs. external links by using site-and-services and/or IE zone profiles... I don't know.

    --
    My eyes reflect the stars and a smile lights up my face.
  25. Re:Is this news? by tlhIngan · · Score: 1

    Probably "unpatched" because some big customer of MS is using this "feature".

    Though, why they wouldn't just determine the internal vs. external links by using site-and-services and/or IE zone profiles... I don't know.

    You just answered the question. Probably the same big company using the bug is probably the same one that has many internal sites marked as external sites for whatever reason.

  26. computerphile by spongman · · Score: 1

    here's an amusing video showing how simple it is to crack password hashes. teh NTLMv2 hash is only about 4 times slower than the hash he uses in the video.

    1. Re:computerphile by Unordained · · Score: 1

      Wasn't part of the point of NTLMv2 (vs. NTLMv1) that it required a challenge/response with the server, to make stolen hashes less useful?

    2. Re:computerphile by spongman · · Score: 1

      i think you're right: you can't replay the hashes. but the point of the video is that it's now almost trivial to brute-force the cleartext passwords from the hashes, especially if you have a huge corpus of harvested hashes. actually, the main point of the video is that generally people think their passwords are much more secure than they actually are.

  27. Re:Is this news? by Anonymous Coward · · Score: 0

    Why was this modded down? It's absolutely correct.

  28. Bug is bigger as described by Anonymous Coward · · Score: 0

    They said Windows 8 or Windows 10 and Windows Live Login creds. are exposed. But its far more worse.

    I tried the bug from Windows 7 (fully patched) while logged in to internal corp. network backed by Active Directory. Then I visited this website https://msleak.perfect-privacy.com and pressed the test button. After some seconds I saw:

    - my internal username
    - my domain
    - my password hash

    And, after 30 seconds, my (for testing purposes willful insecure) password. That is not THAT critical because an attacker must be inhouse to gain access to the network. Bat the credentials are also used for Office 356. And here we are busted. So my recommendation: if you don't have already set up 2-factor auth for Office 365, do it NOW.

    1. Re:Bug is bigger as described by Anonymous Coward · · Score: 0

      Small stupid thing with Linux Mint :

      - launch the IRC client
      - it auto-connects to some IRC server (spotchats) and joins two support channels
      - your local username is leaked to the internet publicly, with your external IP address attached and it's all too easily logged somewhere

  29. Re:Is this news? by Big+Hairy+Ian · · Score: 1

    Looks like they missed this in regression testing then

    --

    Build a Man a Fire, and He'll Be Warm for a Day. Set a Man on Fire, and He'll Be Warm for the Rest of His Life.

  30. Re:Is this news? by Anonymous Coward · · Score: 0

    Microsoft should make this an option and set its default to DO NOT CONNECT. That "big customer" can then use GPEto set their workstations to DO CONNECT and most of the world is safe. This is the problem with Microsoft's security stance: they never make the decisions based upon security. Instead, they decide defaults based upon the laziness of the user.

  31. NEVER USE MICROSOFT OFFICE IT IS SPYWARE TOO by Anonymous Coward · · Score: 0

    https://www.libreoffice.org/

    http://portableapps.com/apps/office/libreoffice_portable

    Home users all you will ever need is the libreoffice portable. Run it's self extracting package. After extraction there is just a folder. Put it wherever you want and create a shortcut to the executable on your desktop. It leaves your registry alone. If you want filetypes to be associated just associate them manually with Windows filetype association wizard.

    Better than that is just use Linux. opensuse, arch linux, or mint from distrowatch.com are great.

  32. Re:That's the problem. It's internet, Windows thin by I4ko · · Score: 1

    Or you know.. go to any Starbucks, label your machine "free movies" or make a battery powered hotspot with a captive portal page that sends them to the cifs share and start collecting hashes.