Microsoft's "Dead Cow" Patch Was 7 Years In the Making
narramissic writes "Back in March 2001, a hacker named Josh Buchbinder (a.k.a Sir Dystic) published code showing how an attack on a flaw in Microsoft's SMB (Server Message Block) service worked. Or maybe the flaw was first disclosed at Defcon 2000, by Veracode Chief Scientist Christien Rioux (a.k.a. Dildog). It was so long ago, memory is dim. Either way, it has taken Microsoft an unusually long time to fix. Now, a mere seven and a half years later, Microsoft has released a patch. 'I've been holding my breath since 2001 for this patch,' said Shavlik Technologies CTO Eric Schultze, in an e-mailed statement. Buchbinder's attack, called a SMB relay attack, 'showed how easy it was to take control of a remote machine without knowing the password,' he said."
So that's how they came up with the name 'Windows 7'
MG
...and boy are my arms tired.
P.S. I'm dead.
When did Hobbit write his paper about CIFS (Common Insecurities Fail Scrutiny)?
-jcr
The only title of honor that a tyrant can grant is "Enemy of the State."
I mean, seriously, most of us have written it off, and it makes bad business sense too.
At work we've cancelled plans to use Win7 and WinVista and are moving to all Linux where we can, just from a staffing level perspective.
-- Tigger warning: This post may contain tiggers! --
Seven years ago, The Register devastated me with this terrible news:
Finally, I can use my favorite thrilling NTLM features without giving in and using NTLMv2!
10 PRINT CHR$(205.5+RND(1)); : GOTO 10
Could a Windows Server Admin worth his/her salt please explain to us what SMB is, who would use it, and if there was a workaround that made the vulnerability a non-issue?
Hmm - there was an attack called C2MyAzz that was even simpler than the man in the middle attack. It would just spoof the handshake between client and server. The attacking workstation would watch for client->server message requesting authentication. The attacking workstation would send a packet back to the client before the server, asking the client to send back a clear-text password. Much easier than a man-in-the-middle attack, and it worked well. When it was released, Microsoft's official response was "most organizations use switches and routers, so this is not a problem". Originally released in 2001, IIRC.
Oh well, I guess I'd better block incoming public Internet traffic on port 139 then. That's a shame because it's been so very useful to have an Internet facing SMB share.
Like any windows server admin reads slashdot.... And the ones that do aren't going to stick their hands up and say "Oh, pick me" so we can all berate them for their choice in closed source server operating systems.
It's always been easy to take control of a machine without the password. Sit down in front of the computer. Now the only thing stopping you is yourself. Oddly enough, that's what keeps most systems up... The fact that the vast majority of people are honest, decent folk. That, and they don't know what a null pointer is.
#fuckbeta #iamslashdot #dicemustdie
I do.
You can make fun of me :)
That said, if you have a Linksys firewall in place, it usually takes care of the issue. Granted the attacks you'll get internally *can* happen, but we have managed to circumvent SMB exploitation via policy settings in Windows. It works fine for us, nice to see they finally patched it though.
The price is always right if someone else is paying.
You're getting nostalgic / introspective / retrospective over a 7 year old bug?
Call me when they patch a PDP-11 bug. __m_(^,^)_m__
"I've been holding my breath since 2001 for this patch"
With lungs like that he should try free-diving!
This is not a bug but a fundamental design flaw.
aka "a feature"
What made it worse? Taking 8 years to fix it or disclosing it before the patch was released?
Further it is not a bug at all. It is essentially badly designed protocol having a hole and instead of abandoning it and making users upgrade, MSFT left this hole open for 8 years. All the in the name of backward compatibility. Why has backward compatibility trumped security for 8 years? It not surprising no one takes MSFT's statements about its commitment to security seriously?
sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
How many people were actually a victim of this exploit? Is there one documented case of an electronic break-in because of this exploit?
So does that mean we can expect a Dead Cow Level to be hidden in an included Windows 7 app, a la Flight Sim hidden in Excel 97.
yep, march 2001
had my abitur exams, my girlfriend just dumped me, i finally gave up on os/2 and started to become a fatty i am now.
and about your partitioning problems: back then partition magic was still great.
"It's such a fine line between stupid and clever" -- David St. Hubbins, Spinal Tap
None, none, none, none, none, none, none.
I guess I should get out more...
a.
Now you deserve to be made fun of.
"I use a Mac because I'm just better than you are."
Well at least they're fixing things...eventually...
Guess they just keep trying and trying until we have no idea what it is anymore.
Wonder how many decades it'll be until Vista is fixed.
So, if I patch my XP workstations, will I still be able to talk SMB to Win98?
(Stop laughing you bastards, I was being serious...)
I read /. and I admin windows and linux servers.
I agree with your post about SMB and would like to add to it....
Even then, I doubt any business would have any box with smb/samba enabled without a firewall preventing internet based or external smb connections.
The modern computing environment is complicated by laptops that travel outside the corporate network firewall. Users frequently enable SMB on their company laptop when at home or at coffee shops, airports, etc. to transfer files between machines. A (computer) member of a zombie bot herd can then exploit a weakness like this to take control of the laptop and add it to the zombie herd. When the laptop returns to the corporate network, it becomes a zombie recruiter.
This is probably how the Obama campaign was compromised.
Seth
$5 / month hosted VPS on linux = awesome!
Has it anything got to do with the cult of the dead cow? www.cultdeadcow.com ? They got some internetattention for their BackOrifice stuff waaay back, AFAIK.
All those moments will be lost in time, like tears in rain. Time to die.
yep, march 2001
had my abitur exams, my girlfriend just dumped me, i finally gave up on os/2 and started to become a fatty i am now.
and about your partitioning problems: back then partition magic was still great.
Ye gods, you're right! I've stayed away from that program like the plague for years now, and hey, GParted does everything Partition Magic did but more reliably than even those old versions were . . . but yes, Partition Magic used to get the job done like nothing else at the time could. Wow, it's been ages since I thought of that. PM went downhill while this bug sat unfixed? Yikes.
Actually, for the fun of it I remember exploiting this bug back when I lived in University Residence. I remember, among other things, mentioning to a floormate that kept having virus problems that he should probably at least add a password to his user account, since I knew it was a blank password. I quickly got a (probably undeserved, since this was script-kiddy stuff) reputation as the computer-hacker guy, heh.
I remember sigs. Oh, a simpler time!
It wasn't meant in seriousness, but if you want to take it and run, feel free.
Just meant that any port blocking software or hardware (as simple AS a Linksys firewall) prevents this from being anything of an issue.
Hell, even Windows built-in firewall will do the trick.
The price is always right if someone else is paying.
Why has backward compatibility trumped security for 8 years?
Well, if you look at the original notice you'll see it ends this way:
Perhaps Microsoft decided to hold off publication of the exploit code until none of their valued customers were using the service. B-)
Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
I just assumed that you eat free at Pancake-Hut on Tuesdays. Senior Discount Day FTW!
http://support.microsoft.com/kb/q147706/
You will see that the affected operating systems are old and that Microsoft long ago told people how to configure their systems to avoid this issue.
Why has backward compatibility trumped security for 8 years?
"Microsoft: putting the 'backwards' into 'backward compatibility'."
When Microsoft abandons ActiveX and other technologies that run unsandboxed binaries from random websites, then I'll start taking their claim that they care about security seriously.
I've posted on the Veracode Blog about this issue for clarification purposes.
Here's the content:
With regard to the recent Patch Tuesday fix, there has been an issue fixed regarding NTLM Relaying, that has been around for more than eight years.
In 2000, I wrote an advisory about NTLM relaying (CVE-2000-0834). The problem turned out to be significantly larger than I originally suggested in the advisory. The attack extended to other NTLM-based authentications on other protocols and allowed general-purpose credential theft via a man-in-the-middle attack.
The SMBRelay tool was published in 2001 by Sir Dystic of Cult Of The Dead Cow, and that really took it to the next level. The protocol completely fell apart. It kicked off a number of other analyses of the NTLM protocol that finally resulted in this patch. Eight years after itâ(TM)s discovery.
At least they got around to it. Thanks!
--chris
(Buy my house! http://tinyurl.com/dilshouse)
My #1 beef with Microsoft is that they market it so that every small to medium business owner thinks that everything will all run together happily on one box all "plug-n-play" and snuggly whirring away on the floor of their office closet.
I have the hardest time convincing users that they cannot run their 20-user network on one SBS 2003 server, with Exchange (running OWA and OMA), running their heavily-accessed SQL database, sharepoint, anti-virus server software, backup software, and company file and printer sharing to 5 multi-function copiers and expect 5 9's of freaking uptime.
This is how it is marketed. This is what the end user expects when shopping for a Microsoft solution. You tell them that they'll need at least 3 separate boxes, Server, Exchange, SQL, etc all separate, RAID and ideally a failover system and an excellent firewall for the remote access they look at you like you're nuts. So they buy it and have it set up their way, it works like hell for a year, then they end up paying in the end to have it done again the right way (and more this time, because they have to now migrate off of their old system).
And the Microsoft money machine chugs on.
Just disrupt the deflector shield with a tachyon burst.
"Microsoft has released the specifications for the binary file formats used by pre-2007 Microsoft Office applications"
And we all know how well Microsoft maintains backwards compatibility with its office file formats...
Ofcourse, if you're using IE then someone could construct a malicious site that redirects to an smb address, IE will dutifully try to connect to the share and send the authentication details that you are currently logged on with.
http://spamdecoy.net - free throwaway anonymous email - avoid spam!
The difference is, known PDP-11 bugs are not being carried forward into current systems.
http://spamdecoy.net - free throwaway anonymous email - avoid spam!
P.S. I'm dead.
Dead Cow? Is that you?
Am I eval()? - http://www.monst3r.com.br
Yes, I also know that some newer Linksys firewalls actually do SPI, but apparently that fact glossed over you.
You just need something to do port blocking. But feel free to stay on your high horse. It's an attitude that keeps *nix relegated to geeks and not go mainstream because of the same type of attitude the admins convey.
The price is always right if someone else is paying.
Whoever modded you funny must think they are clever. It appeared to me that you asked an honest question. Here is the best answer I can give you (2 hrs. of your time, tops, for years of stable and faster uptime for years into the distance, by following a guide, an automated tool for security of PC/Server evaluation from a free and reputable security audit tool, some registry hacks (automated via .reg files that are fully internally documented no less with sources), and instructions on how to use layered security in detail, with tools/tips/tricks/techniques that really work, if you can follow/take direction, use common-sense, & adhere to some simple rules (and, of course, it depends on if you can read english or not))
A good overall security guide is here:
HOW TO SECURE Windows 2000/XP/Server 2003, & even VISTA, + make it "fun-to-do", via CIS Tool Guidance (& beyond):
http://www.tcmagazine.com/forums/index.php?showtopic=2662 [tcmagazine.com]
It shows you how to config NTLMv2 for instance to be 'proofed' vs. this form of attack this thread on this website is noting today, and the techniques been known for the better part of a decade.
If you are a standalone machine (single machine not on a LAN at home or LAN/WAN on the job for instance on a network there) it goes into far more that is effective vs. this, and other attacks possible on a Windows NT-based OS.
By following both the CIS Tool and this guide's points, You also go faster online as a bonus ontop of being far more secure (91/100 on Windows XP, and 86/100 on Windows Server 2003 scores are quantified for viewers from CIS Tool evaluation (a multiplatform benchmark of security based on industry best practices for securing PC's and Servers that was well noted by sources such as COMPUTERWORLD)).
It'll only auto-login if you let it. There is a reason that anyone with half a clue disables that.
Yeah, but it's turned on by default which means that millions of people will have it turned on...
People who have a clue are more likely to be using other browsers too, and i don't believe any others have such a ridiculous "feature".
http://spamdecoy.net - free throwaway anonymous email - avoid spam!
You do know that the core devs for NT came from DEC, right? And NTFS is suspiciously like Files-11?
I know tobacco is bad for you, so I smoke weed with crack.
This topic was discussed on March 31 2001 at @lanta.con in Atlanta, Georgia.
Yes, but the SMB protocol predates NT by some margin...
http://spamdecoy.net - free throwaway anonymous email - avoid spam!