Slashdot Log In
Microsoft States Full TCP/IP Too Dangerous
Posted by
Zonk
on Thu Apr 28, 2005 08:54 AM
from the don't-let-them-have-all-the-toys dept.
from the don't-let-them-have-all-the-toys dept.
daria42 writes "To fully implement the TCP/IP protocol in Windows XP would make creating denial of service attacks 'entirely too trivial', Microsoft has claimed. The company was responding to claims by Nmap author and well-known security expert Fyodor that by repeatedly disabling the ability to send TCP/IP packets via the 'raw sockets' avenue, Microsoft was asking the security community to 'pick their poison': either cripple their operating system or leave it open to hackers. Admitting that a recent security patch had intentionally disabled a community-developed workaround to Microsoft's TCP/IP changes - which were first implemented in Windows XP Service Pack 2 - the company claimed it had received little negative feedback on the issue."
This discussion has been archived.
No new comments can be posted.
Microsoft States Full TCP/IP Too Dangerous
|
Log In/Create an Account
| Top
| 575 comments
(Spill at 50!) | Index Only
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1)
|
2
(1)
|
2
News Flash: Butter is good on toast! (Score:3, Interesting)
From the Article:
Interesting that M$ sees fit to lecture us on the dangers of raw sockets now, given their prior stand on the issue. [grc.com]
Re:News Flash: Butter is good on toast! (Score:5, Insightful)
Re:Steve "Ahab" Gibson (Score:4, Insightful)
Funny...if Steve's views were so discredited, why does M$ agree with him now?
Re:Steve "Ahab" Gibson (Score:4, Interesting)
The real solution to the problem isn't breaking networking functionality depending on if you bought the cheap or expensive version of the OS.
The real solution would be to restrict raw sockets to require Administrator/root privileges, and make it harder for the averages Outlook attachment to get root privileges.
Microsoft, on the other hand, sees this as an excuse to not fix Outlook and Internet Explorer, and instead sell more of the expensive version.
Baby, meet bathwater. (Score:5, Informative)
(http://put-your-mone...r-mouth-is.com/blog/ | Last Journal: Monday January 29 2007, @02:44PM)
This is because XP is not designed right, not because the TCP/IP protocol is wrong. (just to be clear)
The quote [seclists.org] from Fyodor is:
"Pick your poison: Install MS05-019 and cripple your OS, or ignore the hotfix and remain vulnerable to remote code execution and DoS."
It's like... we just... can't... win.
Fyodor goes on to say...
"Nmap has not supported dialup nor any other non-ethernet connections
on Windows since this silly limitation was added. The new TCP
connection limit also substantially degrades connect() scan. Nmap
users should avoid thinking that all platforms are supported equally.
If you have any choice, run Nmap on Linux, Mac OS X, Open/FreeBSD, or
Solaris rather than Windows. Nmap will run faster and more reliably.
Or you can try convincing MS to fix their TCP stack. Good luck with
that."
The answer, my friend, is to drop Microsoft.
Baby, meet bathwater.
Re:Baby, meet bathwater. (Score:5, Interesting)
(http://www.myplugins.info/ | Last Journal: Tuesday January 13 2004, @08:30AM)
The same can be said for any access to hardware that could be considered unnecessary for typical applications or 'harmful' to the hardware (harmful in the sense that it is 'harmful' to the network and your connection).
I think what MS has done is quite acceptable, given the number of trojans uot there that are DoS'ing and spamming like crazy. Trojans that are on the systems often because of user stupidity rather than an insecure OS. As long as it is possible to actually write such a 'driver' (I think there is a different name for it, but I can't remmeber).
Re:Baby, meet bathwater. (Score:5, Informative)
(http://starport.dnsalias.net/ | Last Journal: Thursday February 09 2006, @11:53PM)
Quoted from there is basically. If you want to use hand-crafted TCP/UDP packets over a raw IP connection, you must enable the Internet Connection Firewall.
At least, this is for SP1, I don't know if you can get away with this in SP2.
Re:Baby, meet bathwater. (Score:4, Interesting)
I was about to reply pointing out that you had obviously meant to say, "disable the Firewall".
Then I read the Knowledgebase article.
God, that's retarded. The firewall doesn't do jack shit to block outgoing traffic anyway. Why the hell should it be safer to allow raw sockets when it's on?
Hammer, meet nail. (Score:4, Funny)
(http://sourcery.blogspot.com/ | Last Journal: Monday March 27 2006, @12:54AM)
You nailed it.
Microsoft is clearly trying to shift the blame from their dain-bramaged design to TCP/IP. How many other operating systems are there that do (more or less) fully implement TCP/IP, including raw sockets? It's almost universal.
Oh well. I guess Microsoft knows the neighborhood is safer with a crippled lunatic than healthy one.
Re:Hammer, meet nail. (Score:5, Interesting)
(http://theologyweb.com/)
The brain damaged part has nothing to do with TCP/IP, because their implementation has nothing to do with security.
Seriously? You really think it's their brain damaged TCP/IP implementation that's at fault? Think again. It may be bad, but giving every program access to raw sockets is a bit silly considering how easy it is to get programs into Windows. But this is a good move, a better one would to have been to make it so it's not as simple to get untrusted programs running in Windows but I digress.
Re:Hammer, meet nail. (Score:4, Interesting)
(http://sourcery.blogspot.com/ | Last Journal: Tuesday September 18, @11:53AM)
Microsoft is trying to blame the design of TCP/IP instead of the design of Windows. Everybody else makes it work; why can't they?
Re:Baby, meet bathwater. (Score:5, Insightful)
While this is correct, providing such justification would be like providing justification for a claim that Pintos weren't designed right and had a tendency to blow up.
There might be some who have missed that, but it's still common knowledge that doesn't bear repeating every damned time the issue comes up. I suppose we could all attach standard disclaimer files to all of our posts, but they would take up two or three library of congresses to only cover the most common of the bases.
Follow one of the links provided in subsequent posts to Steve "Foaming at the Mouth" Gibson's site to get a rundown on the issues. Note that Steve will cheer this move by MS because flaws in the OS design make it necessary.
The core issue being that XP Home Edition runs apps in administrator mode, giving all apps, like a trojan, full access to raw sockets. Most home users that use Pro are still silly enough to run in admin mode as well. But hey, at least it's hardened against trojans, eh?
Easy to infect with malicious code, malicious code runs with full privileges. That's bad design.
. .
A patch to restore what a patch took out. That alone should clue you in that something braindead is going on.
Please note that only "desktop" versions of XP are affected, so all you have to do is buy a server product from MS.
Or install BSD for free.
KFG
Re:Baby, meet bathwater. (Score:5, Insightful)
(http://bitspitter.blogspot.com/)
Which could be all but eliminated if ISPs would implement access lists in their routers to drop packets with source addresses other than those assigned to the downstream networks.
Problem solved without relying on OS vendors or end users to implement anything at all.
Ulterior motives (Score:5, Interesting)
Of course, there's always the possibility of ignorance...
Never attribute to malice that which is adequately explained by
stupidity.
but I really have to doubt that Microsoft is quite this dumb. They've got a lot of really tallented people working there so you have to think that someone would have thought about this. Then again, they have demonstrated a supreme lack of understanding when it comes to security so who knows.
Re:Ulterior motives (Score:5, Informative)
(Last Journal: Wednesday August 03 2005, @09:23AM)
Gibson points out that other operating systems do this, while Windows doesn't. The problem lies there, not in the inclusion of raw sockets API.
Re:Ulterior motives (Score:5, Insightful)
Correct URL (Score:4, Insightful)
(http://samspade.org/)
For the truth about Mr Gibson, look here [grcsucks.com]
Re:Ulterior motives (Score:5, Interesting)
Actually, I think we're seeing the maturation of a "corral the wagons" paranoia in Microsoft's culture. Lacking the ability to push any serious innovation internally (let's be serious, most of Microsoft's innovations during the past 20 years were brought in through acquisitions or copycat development ala VMS for NT, liberal borrowing from OS/2, Apple and Mach, etc). Now that antitrust severely limits acquisition growth, Microsoft is facing the same threat that broke Worldcom. Unable to make significant acquisitions, unable to meet growth internally, and now unable to cook the books like Worldcom, Microsoft's certain to get very defensive as the pressures heat up.
I thought I saw the beginnings of this phenomenon in 1998 at the IPv6 summit, where Microsoft's techs at the conference were explaining their implementation at first with great pride, only to be somewhat ashamed at how much they hadn't followed the specification very well, had numerous bugs and compatibility issues, and were clearly well behind everyone else. Nearly every other operating system had a much more mature implementation. (How long did that IPv6 stack remain a beta too?)
Amazingly, Microsoft is now attempting to patent IPv6 [zdnet.com] through a copy-cat specification (as was discussed on slashdot [slashdot.org]). Somehow it's not amusing when the kid who was not very successful in his participation in the group assignment decides to take exclusive credit for the group's effort.
So now Microsoft is blaming IPv4's engineering (when just like IPv6, everyone else seemed to understand and master the assignment EXCEPT Microsoft)?
As a teacher of mine once said to perpetual underachievers in class: Perhaps you might consider a career in food service instead?
A wise decision (Score:5, Insightful)
(http://www.jawtheshark.com/ | Last Journal: Sunday November 11, @08:53PM)
No, Microsoft... none of those support raw sockets. Oh, wait... they all do. The problem is not raw sockets, the problem are the holes in the OS in the first place. If your OS doesn't run services that can be hacked, or if the applications don't allow to execute untrusted code there is no problem. Avoiding raw sockets is treating the symptoms, not the cause.
Re:A wise decision (Score:5, Informative)
(http://theravensnest.org/ | Last Journal: Sunday October 07, @07:05AM)
Re:A wise decision (Score:5, Informative)
(http://monkeyinfinity.net/ | Last Journal: Saturday October 25 2003, @12:57AM)
runas
How do you add printers to the machine without logging out the user?
runas
Click View, Explorer Bar, go to printers control panel, add printer...
Yes, you're right, there are some things you still can't do using runas, but not many. Be creative.
Re:A wise decision (Score:5, Interesting)
(http://pdatabase.dyndns.biz/ | Last Journal: Saturday June 04 2005, @11:50AM)
What I really need, is a firefox theme that looks like IE, and a desktop theme that looks like XP. She'd never know the difference. (and when wine fails to run the dumb shareware games she tries to install, I'd be like "They must not have programmed them very well, I can't make them work!".)
Re:A wise decision (Score:5, Funny)
(http://slashdot.org/)
So you run internet explorer to add a printer. And I thought adding a printer to OS/2 was unintuitive...
Re:Ha! (Score:5, Insightful)
Ordinary users on Unix are subject to even worse limitations (which is, in fact, why ping among other utilities runs setuid root).
Has anyone found that this makes Unix unusable for them? For that matter, outside of DDoS, connection hijacking, and abusing smtp servers to cover your tracks when spamming, is there ever any need for an application programmer to falsify a source address? Doing so means you won't get a reply from whatever you're trying to do.
All that said, I imagine if MS actually put some effort into fixing the security issues with their flagship product in the first place, so it didn't get hacked (hint: disable activex by default, along with integrated vb scripting in outlook), then there'd be no hacked machines to be used in attacks.
They picked C (Score:5, Funny)
(http://www.ubuntu.com/ | Last Journal: Saturday May 13 2006, @10:28PM)
In Redmond, this is what they call a win win.
Core Routers (Score:4, Funny)
(http://www.whatismyproxy.com/)
Scary thing is, from what I've been reading Oracle will go along with this. And they can tell the future!!
Microsoft's Real Plans (Score:4, Funny)
But of course, being Microsoft, you're probably right. They'll make their own implementation of the evil bit, patent it, and charge royalties to others who want to support their new "EDDP" protocol (Evil Data Detection Protocol).
Not to mention that IIS, Exchange, IE, and Outlook will grow to require use of EDDP during transfers of data, locking Mozilla, Apple, Linux, and others from accessing much of the internet.
Finally, John C. Dvorak [dvorak.org] will boldly claim that EDDP is the wave of the future, and Apple, Linux, and Mozilla are clearly inferior for not supporting what is clearly a web standard, because if Microsoft says it is, it MUST be.
Re:Going back on their word (Score:5, Insightful)
(http://users.rcn.com/smallpond1/ | Last Journal: Wednesday April 30 2003, @11:25PM)
He then proposes a secure ID system. Gee. Maybe if every connection to the network had a unique 32-bit number that could be traced somehow? Maybe there could be a world-wide database connecting names and administrative information to these numbers? If only that were possible. Thanks, Bob.
Responding to Steve Gibson (Score:5, Interesting)
Re:Responding to Steve Gibson (Score:4, Informative)
I remember... (Score:3, Informative)
(http://www.inf.ufrgs.br/~drebes/)
raw sockets+MS?! (Score:3, Interesting)
if you are mucking with protocols by using raw sockets, are you really going to be coding it on a windows platform? i can imagine a worm or trojan doing it perhaps - in a ddos scenario - but since when has raw sockets become the red-headed stepchild implicated in this?
My TCP/IP (Score:5, Funny)
Maybe Microsoft is right. Protocols are dangerous.
Wouldn't it be safer if we all just had a My TCP/IP folder?
Re:My TCP/IP (Score:5, Funny)
Privileges anyone? (Score:5, Insightful)
It's because so many people are used to doing this by default, and so many third party apps demand Admin privileges, that Windows security is a nightmare.
There's more to the Windows security picture of course (insecure services as well) but you can prevent so many problems just by avoiding that Admin account. It's quite normal to have raw sockets via root/Administrator privileges. The problem is that all windows users (and any software they download) are Admins.
Re:Privileges anyone? (Score:4, Insightful)
FMEA (Score:5, Interesting)
(http://millahtime.blogspot.com/ | Last Journal: Friday July 15 2005, @01:00PM)
Another note from Bill Gates (Score:4, Funny)
(http://www.davidmeyer.org/ | Last Journal: Monday February 26 2007, @10:47PM)
So when... (Score:5, Interesting)
(Last Journal: Friday November 16, @03:49PM)
Try it yourself - see if you can receive more than 8K in a recv() call in Windows XP SP2. You can't.
If you do the same on Linux or OS X, you can. On Windows XP SP1, you can.
Thanks, Microsoft.
Re:So when... (Score:5, Insightful)
(Last Journal: Friday July 04 2003, @03:37PM)
Re:So when... (Score:5, Informative)
Every OS has a size for those buffers, you have just discovered the XPSP2 size, congratulations.
Every other OS has a limit on that buffer, and I guess for every OS it is configurable in some way (in Windows there is some remote key in the registry).
this wont make a bit of difference... (Score:3, Interesting)
I agree... (Score:3, Insightful)
Replacement (Score:5, Interesting)
From it:
Food for thought.The Metro of netoworking protocols (Score:5, Interesting)
Abandon the industry standard for VMs (Java) and roll your own (.Net).
Abandon the industry standard for portable documents (PDF) and roll your own (Metro).
Abandon the industry standard for networking (TCP/IP) and roll your own (???).
Each sounds more improbable than the last. Yet the first one has happened, the second is going to happen, and thus the third seems much less improbable than it would have otherwise.
I Can't Believe It... (Score:5, Funny)
As an aside, I think I'm going to take the rest of the day off, agreeing with Microsoft is mentally jarring. It has to make you question existence just a little and also make you a touch ill.
Erm, cough, cough, excuse me... (Score:5, Insightful)
I run Windows 2000 with my "secure" limited TCP/IP stack. My Windows machine has an IP address, subnet mask, gateway, etc. etc. This machine would get virii if I didn't run a virus checker, firewall, etc.
There is one difference between the two scenarios above - the operating system!
Yes, my UNIX-y boxes are subject to attacks from the Internet but not random attacks like viri and worms.
An attack on my UNIX-y boxes comes from a single, person or script trying to get into my box and trying to (probably) buffer overflow a specific application daemon like FTP, Telnet, etc (not that I run either of these on the Internet anyway!)
So let's not blame it on the "TCP/IP" stack because all attacks are as a result of attacking applications that use the stack, not the stack itself.
We'll also remind ourselves here that UNIX was built around TCP/IP 25 years ago whereas MS refused to believe TCP/IP existed until 15 years ago after Windows 3.11 came out and they had to write a limited stack to install into Windows.
Re:Erm, cough, cough, excuse me... (Score:5, Insightful)
Putting DDoS-type attacks aside, compromising a system, whether UNIX, Windows, whatever, involves attacking an application, not the stack. Therefore, whether you have a full or limited IP stack makes no difference to security - it's about what applications you're running.
If you honestly believe security is about accepting you'll be broken into but just mitigating the results of it, then it's you without the clue, my friend.
You don't run a virus scanner and never got a virus? Fine, I can believe that but then tell the whole story - you probably don't run Outlook for your email or, if you do, you're really careful about who you open emails from; you probably don't use IE and you've probably got your head screwed on properly when it comes to not downloading stuff from certain places on the Internet.
However, when most Windows users are "without-clue" Joe Sixpacks, raw-sockets and mitigation mean nothing, it's the vulnerabilities of the apps they run that are the problem.
How about you and I take a Joe Sixpack user each, put one in front of your fully secured Windows boxes and I put one in front of a fully secured Linux box? You set him up IE and Outlook, I'll give him Firefox and Thunderbird and we leave them both to it. Tell me, who's going to rife with spyware and one or two viruses after a week or two?
Like I said, it's the applications and nothing to do with lame excuses about stacks.
Translation (Score:3, Funny)
(http://nuintari.net/)
Not that this will solve anything, no raw sockets? I don't need no raw sockets, I have 48 billion bogus dns lookups!
Consider the Source (Score:3, Insightful)
(Last Journal: Tuesday June 14 2005, @01:10AM)
To quote Ted Kennedy, "Hello? Hello?!!"
Some days, life is just a little too weird to take.
MS Windows Server 2003 also has buggy TCP/IP (Score:5, Interesting)
I wrote an article about a very serious problem related to Windows Server 2003 TCP/IP.
Here's a quote : "Trying to set up a Windows Media streaming server to stream high-quality videos, I came across what I can now call a TCP/IP bug in Windows Server 2003 (Standard Edition). In some (not unusual) situations, the server simply cannot use all available bandwidth between itself and the client.
[...]
Eventually, I came to accept the idea that Windows Server 2003, an OS designed for server tasks, is not able to fill a 2Mbit/s ADSL connection. Yes I know it sounds incredible but I've been looking without success for another conclusion for the past 3 months."
Read the full technical explanation and see what Microsoft has to say about it : Microsoft Windows Server 2003 Buggy TCP/IP ? [dariospagnolo.org]
Bad Logic (Score:3, Interesting)
People who are saying the "average" user doesn't "need" raw sockets while saying that the hacker who does will use another OS ANYWAY are obviously missing the point.
Why bother disabling something that's part of a standard when it will have no effect on either the average user or the hacker?
MS is saying here that if the "average" user had raw sockets, they could program DoS code? I don't think that's gonna happen.
All disabling sockets has done is inconvenience nmap users - who just happen to be sys admins running security scans on their networks from their workstations.
Maybe MS doesn't want them to be able to run nmap? Like maybe they might find out how insecure their systems are?
Something is wrong, alright (Score:5, Interesting)
The difference with the Unix-like systems is that ordinary users don't get to poke about with dangerous stuff.
The real point is that Windows software has for too long depended on the assumption that the user has full unfettered access to every resource on the computer -- an assumption which had to cease to be true when Windows became network-aware, because in a networked environment some things are properly restricted. Yet for the best part of ten years, Windows continued to run without privilege separation; and application programmers took advantage of that, creating code which turned out to be fundamentally broken.
Face it, the bathwater is minging and the baby is dead -- there is nothing worth saving in the whole sorry mess. Whether bad water killed the baby, the dead baby made the water worse, or the two are unconnected, isn't really important right now. What is important is to get rid of them both, scrub out the bathtub and start again.
Of course, if you're going to switch to a new version of Windows -- which would have to be totally incompatible with all that sloppily-written software needing root access for no good reason -- then that would be about as big a change as switching to some other operating system. That must worry Microsoft
Security is an Illusion (and a bolt-on hack) (Score:3, Interesting)
(http://www.slashdot.com/~proudrooster)
MS is just temporarily making exploiting a machine harder, but it will ultimately be futile and lead to even more nefarious and hostile virus/worm/spyware applications. This is a bandaid at best.
Windows is architected so poorly from a security standpoint, that it's probably time to just start over. Security in Windows has always been a "bolt-on" hack. And just remember, no matter what you do, Security is an Illusion.
Is it time for developers at SlashDot provide an interface similar to GMAIL so that I don't have to put HTML tags in my comments?
Oh my god, this has been debated since 2000 (Score:5, Informative)
(http://www.mathiasschindler.de/)
There is a short audio file from Rob Rosenberg from where he repeadingly laughs at his claims.
By the way, wasn't Gibsons site defaced today by Fluffy Bunny?
http://www.farook.org/arc20010701.htm [farook.org]
http://www.vmyths.com/rant.cfm?id=335&page=4 [vmyths.com]
http://www.theregister.co.uk/2001/06/12/security_
and so on. Is there anything new that has happened in the last 4 years?
The problem lies somewhere else (Score:4, Interesting)
Pushing more people towards Linux (Score:5, Interesting)
Their response is: buy Windows Server 2003 if you want raw sockets. We asked them if there was any guarantee that they would not break the raw sockets feature in 2003, and they would not give us that guarantee. Besides, Windows Server 2003 ships with a lot of stuff we would have to disable to make the box even remotely secure.
Our CEO even registered a complaint with Microsoft, saying "We pay to use your software and you are hurting our business and hurting our customers and costing us money with this change. And you have heard our complaints and you are ignoring them." Microsoft responded that they would pass our criticism up the chain, and that's the last we heard.
That's why it irritates me to read in the article that Microsoft has had "little negative feedback" on this issue. I'm sure we're not the only paying customer of Microsoft that has been affected. And they are not telling the truth when they say that "the only thing affected by this change is fingerprinting software": port scanning is affected too.
So we have started recommending that our customers use the Linux version of our product. Now Microsoft is losing hundreds of thousands of dollars of revenue per quarter just from our company.
If the virus gets into the kernel... (Score:3, Funny)
(http://www.scarydevil.com/~peter/ | Last Journal: Monday September 26 2005, @06:53PM)
Yeh, that's why the majority of people doing this use an widely available rootkit or equivalent to do it for them.
and that if malware did make it into the kernel of a Windows machine, the user would have more serious concerns than just SYN attacks launched from their machines.
"If malware can execute code on a Windows machine, the user has more serious concerns than just SYN attacks launched from their machines. That's why Windows doesn't bother trying to close local exploits."
Windows is much more secure (Score:3, Funny)
Lack of negative feedback != no problems (Score:5, Insightful)
(http://www.hiddenglade.com/threesecond/)
In other news, a noted chemical manufacturer was found to have been dumping toxic waste products into a nearby water supply for years. In their defense, company spokesmen claims they had received little negative on the issue.
Local police have been caught on camera beating up suspected felons. When cornered on the issue, they responded by saying that there had been little negative feedback on the issue -- at least, from anyone who mattered.
In a press conference today, Bush defended his administration's handling of the war on terrorism by saying that they had little negative feedback on the issue. (Possibly because they had suppressed their own report on the issue; outside sources indicate that terrorist activity around the world is four times worse than in the previous year.)
There, three possible responses to the negative feedback defense. Pick your favorite, I need a drink after this.
so, put an ACL on it? (Score:3, Funny)
I mean, on other occasions you hear them blather about Windows' totally stellar, fine-grained security architecture, and now they want to prevent Joe Average user from accidentally using raw sockets by, uh, removing the feature altogether?
Re:So now (Score:4, Insightful)
(http://www.uptoeleven.ca/)
Microsoft is not deciding what you can do on your computer. They are deciding what you can do with a product they sell. It's a free market - if their product doesn't do what you want, buy (or download for free in many cases) a product that does.