The First Windows 7 Zero-Day Exploit
xploraiswakco writes with the first Microsoft-confirmed Windows 7 zero-day vulnerability, with a demonstration exploit publicly available. The problem is in SMBv2 and SMBv1 and affects Windows 7 and Windows Server 2008 R2, but not Vista, XP, or Windows Server 2003. A maliciously crafted URI could hard-crash affected machines beyond any remedy besides pushing the white button. "Microsoft said it may patch the problem, but didn't spell out a timetable or commit to an out-of-cycle update before the next regularly-scheduled Patch Tuesday of December 8. Instead, the company suggested users block TCP ports 139 and 445 at the firewall." Reader xploraiswakco adds, "As important as this the mentioned article is, it should also be pointed out that any IT staff worth their pay packet should already have port 139 blocked at the firewall, and probably port 445, too."
What are my options? New computer?
OK the exploit is almost a week old already. How is this "zero-day"? In the immortal words of Inigo Montoya: "You keep using that word. I do not think it means what you think it means."
Shutting down free speech with violence isn't fighting fascism. It IS fascism!
I remember once trying to see what it takes to make Windows not have any ports open and it resulted in severely reduced access to just about anything that wasn't local. Why is it that these ports are necessary? Why is NETBIOS necessary?
Don't they do code reviews at Microsoft? Loops 101: prove that the loop terminates under all conditions, even and especially when passed garbage.
Seriously, that's the difference between a hacker and a software engineer right there. If you don't take the time to fix it early, you'll just have to fix it later.
If you were blocking sigs, you wouldn't have to read this.
No remote code execution? Boring. Let's see if some people out there could weaponize it and throw it into a metasploit module. Then it's interesting.
From the article:
"Instead, the company suggested users block TCP ports 139 and 445 at the firewall. Doing so, however, would disable browsers as well as a host of critical services, including network file-sharing and IT group policies."
Good to know that blocking ports 139 and 445 will block browsers, we wouldn't want people actually doing that, after all!
Public networks have all inbound ports blocked by default. Changing a network type to anything other than public requires admin rights, so this would have to be an internal DOS attack realistically.
throw new NoSignatureException();
The zero-day vulnerability was first reported by Canadian researcher Laurent Gaffie last Wednesday, when he revealed the bug and posted proof-of-concept attack code to the Full Disclosure security mailing list and his blog.
Quote whole sentences...
The summary states "A maliciously crafted URI could hard-crash affected machines beyond any remedy besides pushing the white button."
I checked all the Windows machines here. None of them have a white button on them anywhere. What does this mean? Does the poster just mean powering the machine off and then on again?
Too many times on Slashdot, when people should be informative, they obfuscate the information it in failed attempts at being clever.
I read Slashdot for the headlines, because the headlines, unlike the articles, are usually original and never duplicated
I don't have Windows 7, but maybe its some UI component?
from 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
to 45 2F 6E 40 3C DF 10 71 4E 41 DF AA 25 7D 31 3F
A maliciously crafted URI could hard-crash affected machines beyond any remedy
Oh no! A PC-killer!
besides pushing the white button
A reboot? Well, it's an unorthodox and extreme solution to a machine crashing, we'll have a hard time convincing Windows users to do that.
No kidding!!! What do you say at this point?
In my ignorance, I have to ask: What's so special about 139 and 445? What do they do normally, and why would blocking them help? No, I didn't RTFA. I'm too tired for this :P
Admit it. You post strawman arguments as AC so you get modded Insightful for refuting them, rather than Troll
I'm OK then, my power button is beige.
yeah I'm sure he/she's referring to the power or reset button. maybe the poster was having a nostalgic day about old white desktop cases
The only white button here is the buzzer on my front door. But I don't see how ringing the bell will solve that problem.
I've got better things to do tonight than die.
aren't those two ports necessary for 'file and print sharing'/SAMBA? the computers at work are almost useless without that.
Old desktops weren't white, they were beige, so it still doesn't make any sense.
... they're all black ... you insensitive clod.
now we need to go OSS in diesel cars
I decided that unlike Vista, I would beta Windows 7 and be ahead of the curve by the time it came out. I've been running it for roughly a year now (midnight snacktime is not condusive to memory) . Overall I am actually quite impressed (gasp! shoot me now). One thing I really like is the granular firewall abilities, which has clearly defined and seperate inbound/outbound rules. I currently have both set to a PIX style ACL type deny all except ports I explicitly state. Now this can be a pain to evaluate a new program to figure out which ports it needs open for proper function, but is definitely something that should be done ona group policy level at the domain, just because you have a supertight internet facing firewall, you still need to prevent LAN and VPN security issues as well.
"It's ok, I'm completely secure as long as my iron is off"
Oh come on! That is seriously funny whomever voted this flamebait. It right up there with "Where is the any key!?!?!"
Seven Days with Ubuntu Unity
Simply use Wite-Out, or Liquid Cover-Up, doesn't matter what button, as long as it's white.
From the infallible wikipedia:
A "zero day" attack occurs on or before the first or "zeroth" day of vendor awareness, meaning the vendor has not had any opportunity to disseminate a security fix to users of the software. (In computer science, numbering often starts at zero instead of one.)
nothing to do with us, of course?
starving? one would think we could do better, as there are really no shortages of anything...yet, perhaps besides compassion/responsibility.
who is to tell those starving kids that they've made their own mess, & will have to 'get busy' or else they'll starve to death, which sometimes takes many months due to the occasional discovery of something digestible?
as is stated in ALL of the manuals; the innocents will be protected. if not by us,.....?
What's so special about 139 and 445? What do they do normally, and why would blocking them help?
Here's a list of assigned port numbers: https://www.arin.net/knowledge/rfc/rfc1700.txt
Those who can make you believe absurdities can make you commit atrocities. - Voltaire
I didnt know we were now officially referring to the power button as "the white button"
or maybe everyone has a white button and i dont?
Good people go to bed earlier.
#3043-001 USB White Button Kit........34.99 + Shipping
Ideal for computers not shipped by the manufacturer with a White Button pre-installed.
A White Button is essential for all Windows Users. Upon a system failure, Denial of Service attack or crash, pressing the White Button releases a scientifically-formulated, airborne scent of soothing essential oil fragrances, including: Verbena, Sweet Orange, Roman Camomile and Ylang Ylag.
At the same time, one of a number of pre-programmed actions are triggered while you listen to a random selection of 10 relaxing 'mood music' tracks.
Basic actions include:
1) Reboot
2) Call my IT Support department
3) Call the manufacturer's support department and cancel my evening dinner arrangements
4) Reinstall current OS
5) Reinstall current OS after backing up all user data
6) Wipe and install CentOS
7) Wipe and install Ubuntu
8) Order me a Mac
9) Order me a Big Mac, fries and a Coke
Secondary actions can also be triggered from:
A) Call Microsoft HQ every 'x' minutes and shout 'Fuck it' down the line.
B) Post my CV to Linux-only job sites
C) Rub my shoulders (Requires optional add-on #RS01)
D) Dial local suicide help line
A deluxe version of this item is available (#3043-002, 139.99 + Shipping). This model includes an external 10" LCD panel that can display random pages from a number of Web sites (slashdot.org, fark.com, silicon.com, cloudappreciationsociety.org and todaysbigfail.com)
Extras and consumables:
* #3043-S01 Replacement aromatherapy scent cartridge - pack of 12
* #3043-S02 Replacement mustard gas scent cartridge sold singly, no returns
* #3043-M01 Extended play music ROM - an extra 4 hours of music (for Dell Support customers)
* #3043-P01 Enlarged White Button with face of Steve Ballmer on top. Comes complete with real wood mini hammer and elastic band-powered mini crossbox with safe-tip(TM) arrows (pack of 12 buttons)
AT&ROFLMAO
Mine turned out to be maliciously crafted.
Village idiot in some extremely smart villages.
that one day all (buttons) will be just by the content of their character and not by the color of their skin.
Obi-Wan: "I felt a great disturbance in the Force, as if millions of voices suddenly cried out in terror and were sudden
I believe that, in a company with OS rollout cycles of 2 years or more like Microsoft, 1 week is considered 0-day, given the frequency with which the average home user updates their OS with patches.
:)
I am not here to troll/bash in general, but I quite like Windows 7. So far IMHO its the best Windows version released to date, and I haven't heard of many bugs and crashes and vulnerabilities, besides this one.
Windows Vista is to Windows 2000 as Windows Me is to Windows 98. Windows 7 <3
Wait! EA has been doing the same thing to my computer every time I double click to launch on of their games!
I hate Microsoft with the best of them, but give their software engineers credit where it's due: how often have you delivered completely bugfree networking software?
From scarped cliff or quarried stone she cries "A thousand types are gone, I care for nothing, no not one."
Since the exploit is possible without any user interaction all it takes to bring down a corporate network is one single machine running the xploit locally. A simple broadcast and every machine running w2kr2 or Vista7 will be dead until someone pulls the plug.
Im also very surprised that Micorosft didnt audit the code properly after the last hole. You would think that the former xploit would ring a couple of bells since it was big enough for a truck to run through. Im beginning to suspect all the talk about SDL, reviews and stuff are nothing but PR.
HTTP/1.1 400
I just blocked those ports, now my users say that they can't access file-services on the server.
Well, this may be the first "zero day" exploit, but this one ("Windows Vista/7 : SMB2.0 NEGOTIATE PROTOCOL REQUEST Remote B.S.O.D.") was around for much longer, and it's truly amazing that it still works on a majority of machines I try it out on.
The very idea of undoing your own powerful moderation use -- even if (especially if) you used it mistakenly is very un-slashdot of you. You're supposed to stay completely anonymous in your abusive mistake, and use those points to call all opinions you don't agree with either redundant or flamebait. Didn't you read the destructions the first time you got mod points?
The problem with quotes on the internet, is that nobody bothers to check their veracity. -- Abraham Lincoln
"As important as this the mentioned article is, it should also be pointed out that any IT staff worth their pay packet should already have port 139 blocked at the firewall, and probably port 445. too."
I respectfully disagree.
Any IT staff worth their pay packet should have EVERYTHING blocked at the firewall, then open holes for things that you can be certain you need. Ideally, those holes don't go direct to systems on the company LAN but instead to a DMZ.
Calm down, everybody.
This bug cannot be exploited from the outside without user interaction.
It can only be exploited from the outside *if* the user clicks a malicious link (like \\12.34.56.78\crash) for example in a browser.
I'm on a macbook! All my buttons are white!
...but what about home users?
This reminds me of the days of "winnuke" and blue screening IRC users back in the dialup days. Port 139 is probably already blocked at the firewall on even most of the most trivial configurations. But attack vectors aren't always direct. At times attacks are relayed through a malware infected machine giving a remote attacker local, "behind the router/firewall" access to all the other machines on the network.
Comment removed based on user account deletion
The article and summary are not clear, but you need to block *outoing* ports 139 and 445 at the firewall to help protect against this issue. The vulnerability is triggered by the system attempting to make an SMB connection to a malicious server. This can happen in a number of ways, such as viewing a web page in IE or viewing an email message in Outlook or Outlook Express.
If your firewall blocks outgoing 139 and 445, then the SMB connection attempt fails.
See my comment above:
http://it.slashdot.org/comments.pl?sid=1444692&cid=30114230
--(PP sig)
If there is anyone here who believes they have telekinetic abilities, would they please raise my hand.
A man that was sitting in the other side of the room stands up, goes next to the speaker, grabs his arm, pronounces the words "^W^W^W^W^W^W^W^W^W^W^W and raises the speakers' hand.
See, it's not fun when YOU have the vulnerability.
Has there ever been a version of Windows since 1995 that did NOT require blocking ports 139 and 445?
Will Microsoft ever get it right?
This was my idea.
If you don't know what AltaVista is (was), get off my lawn.
Loops 101: prove that the loop terminates under all conditions
That one's gonna prove to be just a little difficult.
This god damned code of windows sharing keeps bugging us for years! I've been 10 years net admin at a university with over 25K connected computers, and as long as I remember, port 445 and 139, 137 are always the target!
How bad a code can be??????
Reader xploraiswakco adds, "As important as this the mentioned article is, it should also be pointed out that any IT staff worth their pay packet should already have port 139 blocked at the firewall, and probably port 445. too."
The reader xploraiswakco needs to pull his head out of that dark place and realize that my wife doesn't have an IT staff (I refuse to do Windows). I would even dare to say that most people don't have an IT staff at home. It's a stretch, I know, But I'm the kind of guy that takes chances like that.
Does reader xploraiswakco carry an IT staff with him in case he needs to use a wifi hotspot some place?
Aah, change is good. -- Rafiki
Yeah, but it ain't easy. -- Simba
No - no white button in Win 7, and even if there were, if the machine has locked-up a UI component wouldn't do much good.
GP is correct, the submitter is trying to be clever.
It's official. Most of you are morons.
Does an OS really need to be so complicated? ReactOS, for example, provides a significant proportion of the functionality of Windows in a fraction of the size.
Surely fewer lines of code mean a smaller attack surface for exploits and vulnerabilities.
If windows were simple and clean then WINE or other simliar reimplementations would be working perfectly and MS would be out of business by now.
From NT, XP, Vista, Windows 7 ...
When are they going to learn that EVERY port from 0 - 65535 should be disabled by default, and only enabled if the user chooses ?
kdawson is colorblind, man. Don't be such a dick. You and I both know he meant "red button," but he doesn't actually know the difference. There's no reason to get all passive-aggressive Slashdot literalist on him.
Not only is the guy the worst, most inattentive and ill-informed editor on staff but he's visually disabled! Cut the guy a break!
"As important as this the mentioned article is, it should also be pointed out that any IT staff worth their pay packet should already have port 139 blocked at the firewall, and probably port 445. too."
That is awesome advice if you _have_ an IT staff. People with Windows 7 at home who don't have one of those are SOL I suppose.
Display some adaptability.
Your ideas intrigue me and I wish to subscribe to your catalogue.
and the Linux Kernel SMB support? If it does, we've got a major problem as they now have a method of taking a whole batch of sites down.
Mod me up/Mod me down: I wont frown as I've no crown
I know several civil engineers, and I can tell you your response is rubbish. This exploit requires a reboot. That is a temporary interruption of service. How often do bridges have to be closed because of unforeseen weather conditions, cracking, design errors (London Millennium bridge an example of that)? The answer is, of course, all the time. The closures are needed because of the likelihood of collapse or severe structural damage. A friend of mine is currently sorting out a major dispute between two engineering companies and a government over alleged design errors in a major infrastructure project. I think, to be honest, you are the one who sounds stupid - sounding off with a counter example from an industry you know nothing at all about.
From scarped cliff or quarried stone she cries "A thousand types are gone, I care for nothing, no not one."
I protest this wanton racial discrimination! After all, turning off a windows box can only be described as an "affirmative action"!
War as we knew it was obsolete
Nothing could beat complete denial
- Emily Haines
Zero-day means just that.
What's that? An exploit released today? I couldn't find a single source backing up that definition.
However, there's two definitions I found googling zero day exploit:
A zero-day exploit is one that takes advantage of a security vulnerability on the same day that the vulnerability becomes generally known.
An exploit of a vulnerability for which a security update does not exist.
The exploit was released when the flaw was revealed and there's no fix, so both definitions apply. Perhaps you have some alternate definition of zero-day exploit I haven't heard yet.
Buy an Apple... Sort of solves two problems, doesn't it?
The White Button is next to the Any Key...
Excuse me, but please get off my Pennisetum Clandestinum, eh!
...but what about home users?
It's an admission that home users should not be running WIndows. You'd think a few decades would have been enough to figure that out...
"There is more worth loving than we have strength to love." - Brian Jay Stanley
* #3043-P01 Enlarged White Button with face of Steve Ballmer on top. Comes complete with real wood mini hammer and elastic band-powered mini crossbox with safe-tip(TM) arrows (pack of 12 buttons)
Typical Microsoft gotcha. The throwing chairs are sold separately.
I was pretty sure this bug made it into the RTM version of Windows 7 because it was reported so late. In fact, unless they have patched it then it is also a Vista, Server 2k8, and Server 2k8 R2 bug.
http://jpocas.blogspot.com/2009/10/crash-windows-vista-and-later-remotely.html
>GO NORTH
I kind of miss the Big Red Switch. A friend would sometimes say "Oh, that's a BRS error," when describing bugs for which the only solution involved said switch.
any IT staff worth their pay packet should already have port 139 blocked at the firewall, and probably port 445. too.
I've always believed that a policy of blocking all traffic except what you explicitly trust is the best policy. Isn't that the policy held most security engineers? When did it change? Anyway. Explicitly trusting UDP 137-139 and TCP 445 traffic to a DMZ is as far as I can go. IMHO 25, 53, 123, 80, 443, 7070, 1935, 554, and 1194 are the only important ones to allow without explicit source/destinations these days. I'm talking about traffic originating from the internal network of course. Inbound traffic should always be restricted to specific destinations or has that changed too?
Having to work for a living is the root of all evil.
And the exploit is unpatched on release, therefore it is a zero-day exploit. It will ALWAYS be a zero-day exploit since at its release it was unpatched and that will remain true for as long as the exploit lives. Just like a boy will remain born a boy for the rest of his life.
At some point the boy will become a man and in the same way this zero day exploit will have been patched.
But it will always remain a zero day exploit no matter what it's age. The zero day exploit is its status at "birth".
"Nowadays, security guys break the Mac every single day. Every single day, they come out with a total exploit, your machine can be taken over totally. I dare anybody to do that once a month on the Windows machine." -Bill Gates, 2007
"It won't have any problems my previous OS had!" -- 'PC guy' on latest 'Get a Mac' ad
I'm pretty sure the whole "year of the linux desktop" will never happen (which is too bad for me, because I'm a professional Linux developer). Although a year of Linux phones is coming pretty quickly, if it's not here already.
“Common sense is not so common.” — Voltaire
Close to 20 years of this shit, 10 years of focus on it, and they're still spewing out servers that don't do bounds checking on input...
use it on the physical button on your case though, not on the button on the screen.
Three, if you include keeping the doctor away.
There are no karma whores, only moderation johns
A zero day exploit is a surprise for your security administrator, one that might just ruin his/her day.
Once it has been deployed (and studied) it is no longer zero day.
Once it has been discussed in open forum (like slashdot) it is no longer zero day.
keyword - Surprise!
Perhaps the "white button" is a reference to bowling. On every bowling return I've ever seen, the pin "reset" button is white.
Hello, This advisory had been published at the 9th of September http://g-laurent.blogspot.com/2009/09/windows-vista7-smb20-negotiate-protocol.html, about a Kernel Crush made by specially crafted SMB packet to port 445. This advisory were published in the begining as Denial-Of-Service but soon people found that it was exploitable! Soon lots of people tried to be the first to create working exploit for the MS09-050 (SMB2). Till then, Microsoft told that un-till an update will be available you can disable SMB2 and not ports 445/139.
Also, CoreImpact had first published an remote exploit PoC to their members at the 17th of Septemeber. Which means that an exploit had been found to subscribers at 17/9!!.
So this article is basically wrong. Anyways, more researchers still tried to create public exploit for it such as http://blog.metasploit.com/2009/10/smb2-351-packets-from-trampoline.html which describes what his way of exploiting this using 351 packets to achieve jump to his code (remote code execution).
So... This article has more than a few points which are not accurate including the "The first windows 7 zero day exploit" title.
Cheers.
Zuk
Read and Comment at my BLOG
!!!
I seem to have this issue with Win 7 and Windows Home Server. My machine simply locks up hard when transferring files from the server to computer or from computer to server! They say server 2003 is not affected yet home server is 2003 server modified and producing the exact same issue as described here.. Any other takers on that?
Do they make a model covered in rich Corinthian leather?
I'm going to start marketing "White Buttons" online, for a small price of $19.95 AUD. If you DO NOT have a "White Button", please contact me for details on how to pre-order your own, personalised and customisable "White Button". I've also applied for a patent and copyright on "White Button", as per M$ standards - so getting a "White Button" from anyone other than myself will result in patent infringement and copyright violation. Even mentioning "White Button" outside of MY context is grounds for legal action. How many "White Buttons" would you care to order today? (Oh yeah, and next week, "White Button v.1.1" will be out and you can upgrade from "White Button v.1" for a small licensing fee of $19.95 AUD)
YankDownUnder Veni, Vidi, volo in domum redire
You are an idiot.
What are my options? New computer?
Clearly if it hasn't got a white button and it crashes, it is beyond repair and you will have to buy a new one.
These posts express my own personal views, not those of my employer
Finally a useful feature in Windows 7. Just wait and see Microsoft refuse to back port this to XP , thus taking the next step in the forced upgrade cycle.
Is there anybody else who's really tired of hearing everything on Slashdot get labelled a "zero-day exploit?" Correct me if I'm wrong, but by my understanding *most* exploits are zero-day, which basically means "they haven't fixed it yet." The alternative being bugs that have been fixed but are being exploited on machines that haven't been patched yet?
If this is correct (or close), why do we need to label everything "zero-day?" Can't we just assume that unless stated otherwise?"
Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
"sc config start=disabled server"
The 'server' service is a Win32 service which provides sharing of files, printers, and CPU registers on port 139. The best solution, beyond firewalling the port in question, is to disable this service unless it is being used. The service itself consumes resources even when not in use, requires a small amount of time during boot-up, etc.
Most home users do not use windows file-sharing or printer-sharing because they are justifiably concerned with the security risks. These uses should disable the "server" service.
This comment is worded exactly as intended. Any witty "Fixed that for you" jokes will be modded into oblivion.
Fixed that for you. ...and since it was your sig, and not your comment, I'll expect the mods to shower points upon me. Probably negative, but you take what you can get.
Sure I'm paranoid, but am I paranoid enough?
The problem is in SMBv2 and SMBv1
A shame, really. And I suppose it'll only be a matter of time before they find a zero-day exploit for Super Mario Bros. v3...
Maybe he's a Mac user?
See, that is the thing about the web that kind of gets to me. Nobody looks methodically at everywhere certain things *can* be used. They only look at where they "should" be used. ... frames, Ajax call, redirect, etc.; and that means any protocol schem
Here's a shortened list but the thing to really do is just RTFM HTTP & HTML(etc.) specs., for starters, at the grammar/syntax level not "here is how you" level:
- URLs: any URL can be stuck anywhere - IMG tag, A tag, object/embed,
- MIMETypes: HTTP headers, etc.
- Content: server can send back anything and call it any mime type
And multipart MIME responses are just crazy. Very cautiously look at (as TEXT not HTML or email!!) the contents of a spammed HTML email that contains viruses, and you just want to claw your eyes out afterward Whoever writes some of those really "gets" what the problem is. Unfortunately, they kind of take advantage....
Sometimes web browsers and their interface to the environment seems like the *least* tested part of the computer.
A lot of what is wrong with the web in terms of safety is symptomatic of being non-systematic.
Lots of people have been using the web since 1993 when Mosaic came out but here we are 16 years later still waiting for browsers (and systems they run on, and apps configured as external viewers) to be gone over with a fine tooth comb.
A simple web page can contain that evil URI. And as it already in on the *inside* of the firewall, it is guaranteed to crash the system. With a bit of luck, one can stumble on a site that got some XSS infection, and that thing scans the whole subnet for crashable computers.
Then again, what is the point of simple crashes? No cracker is interested in them. They bring no benefits. They rather want one that acts as if *nothing at all* happened, while being infected.
Any sufficiently advanced intelligence is indistinguishable from stupidity.