Badlock Vulnerability Falls Flat Against Hype (threatpost.com)
msm1267 quotes a report from Threatpost: Weeks of anxiety and concern over the Badlock vulnerability ended today with an anticlimactic thud. Badlock was the security boogeyman since the appearance three weeks ago of a website and logo branding the bug as something serious in Samba, an open source implementation of the server message block (SMB) protocol that provides file and print services for Windows clients. As it turns out, Badlock was hardly the remote code execution monster many anticipated. Instead, it's a man-in-the-middle and denial-of-service bug, allowing an attacker to elevate privileges or crash a Windows machine running Samba services. SerNet, a German consultancy behind the discovery of Badlock, fueled the hype at the outset with a number of since-deleted tweets that said any marketing boost as a result of its branding and private disclosure of the bug to Microsoft was a bonus for its business. For its part, Microsoft refused to join the hype machine and today in MS16-047 issued a security update it rated 'Important' for the Windows Security Account Manager (SAM) and Local Security Authority (Domain Policy) (LSAD). The bulletin patches one vulnerability (CVE-2016-0128), an elevation of privilege bug in both SAM and LSAD that could be exploited in a man-in-the-middle attack, forcing a downgrade of the authentication level of both channels, Microsoft said. An attacker could then impersonate an authenticated user.
Was the "lack of hype" because if you're talking Microsoft protocols to any particular machine it's already "game over" because you're probably already behind all their defenses?
I was anticipating the worst and so it's good that we can just continue with our normal patch cycle.
Shame on SerNet for causing undue stress in Windows admins everywhere... jerks
My eyes reflect the stars and a smile lights up my face.
Unless I'm misunderstanding something here, the "thud" mean "who would open a SMB service to the internet anyway?" That's why some security people were confused why they were making such a big deal over a SMB vulnerability. Needs to be fixed, yes, but not a huge deal, since that's typically a service only exposed to your own intranet.
Irony: Agile development has too much intertia to be abandoned now.
It's not an SMB protocol bug. It's a generic flaw in the DCE RPC protocol used for all RPC services on Windows and specifically to administer Active Directory Domain Controllers. That's why we really want people to patch (both Samba *and* Windows users).
This is not a minor bug. Exploiting this bug allows you to impersonate the domain administrator. That then allows you to extract all passwords for all users in the domain.
How? Domain admins cannot extract users' passwords. The encryption isn't reversible (by default, unless you foolishly tell it you want it to be). Potentially as a domain admin you could disable password lockouts and try massive brute force attacks but surely someone else would notice the billions of failed logins in the logs?
No matter which way you cut it, you need to be inside the domain, already, to start exploiting this. If you're already in the domain, then the victim already has problems. Not saying this isn't real - but it's just another headache for the victim, not the original attack vector.
You can not extract the users plaintext passwords. But you can most definitely extract the kerberos secrets for the users which is just as good as the plaintext passwords themselves.
ktexport.exe for example.
See here for more tools to dump the secrets for all users from DC/ADS. You have to be domain admin though.
Samba also has their own tools to dump all the secrets to a keytab so that it can be imported into wireshark.
It is VERY useful to be able to decrypt kerberos protected DCE/RPC traffic when debugging or testing.
(I wrote the kerberos decryption code for wireshark.)
Nice, thanks.
Read up on Golden Ticket and Pass-the-Hash. It works. Been there, done that.
Fantastic article from Alexander Bokovoy on
how this thing was found and fixed !
http://rhelblog.redhat.com/201...