Slashdot Mirror


Windows XP Flaw 'Extremely Serious'

scottott wrote to mention a Washington Post article with the news that the security hole we mentioned on Wednesday has widened. Computers can now be infected just by visiting infected web sites, or looking at images in the preview panel of older versions of Outlook. From the article: "At first, the vulnerability was exploited by just a few dozen Web sites. Programming code embedded in these pages would install a program that warned victims their machines were infested with spyware, then prompted them to pay $40 to remove the supposed pests. Since then, however, hundreds of sites have begun using the flaw to install a broad range of malicious software. SANS has received several reports of attackers blasting out spam e-mails containing links that lead to malicious sites exploiting the new flaw, Ullrich said."

64 of 630 comments (clear)

  1. Late breaking news from the article: by Anonymous Coward · · Score: 5, Funny

    "Mac and Linux computer users are not at risk with this attack, even if their computers run Microsoft programs such as Office or the Internet Explorer Web browser."

    Amazing!

    1. Re:Late breaking news from the article: by operagost · · Score: 3, Funny

      I'm a cat, you insensitive clod! *cough*

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    2. Re:Late breaking news from the article: by $RANDOMLUSER · · Score: 5, Informative
      At the risk of getting cluelessly flamed again:

      1) Yes, Virtual PC and WINE allow you to run Microsoft programs like Internet Explorer and Office.
      2) The vulnerability is in the Microsoft Windows Graphics Rendering Engine, which is a part of the Windows kernel, and is why the exploit affects Windows versions from Win98 to WinXP.
      3) Virtual PC and WINE running under Linux do not use the Microsoft Graphics Rendering Engine.
      4) Even if they did, a Windows program trying to run in a Linux environment is a fish out of water, and can't do much besides SEGFAULT and exit.
      5) Therefore, Linux (and Mac) users are safe, even if they are running IE or Office - just like the article said.

      --
      No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    3. Re:Late breaking news from the article: by bushidocoder · · Score: 5, Informative
      Not to be nitpicky, but the graphics rendering engine is not entirely in the kernel on 2000/XP/2003. Most of it is in the Win32 subsystem which runs in userspace.

      The graphics rendering engine is divided between the Win32 subsystem which is a user process (csrss.exe), and the Win32 executive (Win32.sys) which actually runs in kernel space. The portion of the graphics system in the executive is limitted almost exclusively to the actual displaying of images and direct interaction with the drivers that interface with the display hardware. I'm not 100% sure, but I can't ever recall there being a vulnerability found in this part of the executive.

      This specific vulnerability, like almost all image processing vulnerabilities, occurs in the image format parser, which is in the Win32 subsystem. As such its not in the kernel and runs in standard user scope. I know this doesn't change the point you were trying to make, which was the vulnerability doesn't occur on other systems. I just wanted to correct the statement about it being a kernel vulnerability.

    4. Re:Late breaking news from the article: by $RANDOMLUSER · · Score: 4, Informative
      I agree with all of that. Hell, I still tend to think of it as gdi.exe, which is about the last time I cared what Windows internals really looked like. But this "bug" is even better than that - it's not in the image format parser, it's in the freakin' WMF API!!! Believe it or not, WMF files are allowed to have callback functions (user or kernel mode unknown by me) in them - in other words a (picture) data file can contain executable code to "help" Windows display it!! <drools, whaps forehead> It gets better: change the file extension to "jgp" or "gif" or another image type, hell, probably any file type that has a custom icon/is previewable, and Windows will look at the file and go "oh - that's really a WMF file - I know what to do..." (I'm dyin' here). Even Windows Explorer (with thumbnails enabled) will execute the code if you look at a directory that contains one of these files.

      If there ever was a smoking-gun lead-pipe indictment of Microsoft's sloppy love of whizzo features, security, stability, maintainability, administerability be damned; this has GOT to be it. If the filetype API is that flawed, we need to just get rid of .WMF files, period.

      --
      No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    5. Re:Late breaking news from the article: by temcat · · Score: 3, Funny

      Did you mean: kernel cough

    6. Re:Late breaking news from the article: by Cyberax · · Score: 3, Informative

      That's because Windows understands structered storage format natively and owner application's GUID is stored as the first entry.

    7. Re:Late breaking news from the article: by jasen666 · · Score: 3, Informative

      Same as IE. It's in the way Windows processes and displays this type of image file, so it doesn't matter what program is displaying the image.
      At least in Firefox, you will get a prompt asking you to run the script before it executes. So as long as you always remember to click on "Hell NO", you should be pretty safe.

    8. Re:Late breaking news from the article: by bushidocoder · · Score: 3, Informative

      Actually, there's a fantastic book about the Windows internals called Microsoft Windows Internals, Fourth Edition by Mark Russinovich. Every Windows programmer should have this book. Even if your work is entirely in .NET, its important to know why some of the decisions in .NET were made as they were, and its also vitally important to know exactly how Windows handles process security.

  2. Another /. dupe by Anonymous Coward · · Score: 5, Funny

    Guys, you keep posting that same story about a serious security flaw in Windows.

    1. Re:Another /. dupe by Anonymous Coward · · Score: 3, Informative

      Since last time it has been reportet that this can also be exploited by renaming infected wmf files to other image formats like jpg, gif and tif:
      http://www.securityfocus.com/archive/1/420378/30/0 /threaded

  3. Browser appliance by QuaintRealist · · Score: 5, Informative

    If you use Windows, go get the vmware browser appliance and use it - connecting to the internet through a virtual machine is like wearing gloves in the OR - it's just common sense.

    http://www.vmware.com/vmtn/vm/browserapp.html

    --
    Using plain ol' text since 1968
    1. Re:Browser appliance by juhaz · · Score: 4, Informative

      Too bad there was VMWare vulnerability just a week ago that allows guest to execute abritrary code on host system.

  4. Temporary Solution by Hank+Chinaski · · Score: 5, Informative
    run
    regsvr32 -u %windir%\system32\shimgvw.dll
    until a patch is released.
    --
    IAAL
    1. Re:Temporary Solution by TrueBuckeye · · Score: 4, Informative

      Keep in mind that this will disable thumbnail previews. Some have experienced problems opening any image file after unregistering this dll.

      It isn't a bad idea to do, but before you do it in an enterprise environment, be sure you test it and are ready for the calls it will cause.

      --
      Was that night on the marge of Lake LaBarge I cremated Sam McGee...
    2. Re:Temporary Solution by Utopia · · Score: 4, Informative

      Even better permanent solution. Turn ON DEP on all programs.

      From http://www.microsoft.com/technet/security/advisory /912840.mspx

      I have software DEP enabled on my system, does this help mitigate the vulnerability?
      Yes. Windows XP Service Pack 2 also includes software-enforced DEP that is designed to reduce exploits of exception handling mechanisms in Windows. By default software-enforced DEP applies to core operating system components and services. This vulnerability can be mitigated by enabling DEP for all programs on your computer.


    3. Re:Temporary Solution by pete-classic · · Score: 3, Informative

      A more useful link.

      -Peter

  5. Well, Duh... by __aaclcg7560 · · Score: 4, Funny

    When is a Windows flaw ever not extremely serious?

    1. Re:Well, Duh... by COMON$ · · Score: 4, Insightful

      You must be one of those people who dont believe that the outside world affects you. What you do doesnt make much difference, it is the other 10 billion idiots out there, having linux at home and in your business doesnt help you much when 80% of the world is down.

      --
      CS: It is all sink or swim...oh and did I mention there are sharks in that water?
    2. Re:Well, Duh... by Foofoobar · · Score: 5, Funny

      When is a Windows flaw ever not extremely serious?

      Oh wait... I know this joke...

      When it's a feature :)

      --
      This is my sig. There are many like it but this one is mine.
  6. at work on a M$ machine by Alchemar · · Score: 5, Funny

    Would someone tell me if the "just by visiting an infected site" link, is a link to an infected site, or an article about the infected sites?

    1. Re:at work on a M$ machine by J0nne · · Score: 4, Funny

      Call me a pedantic bastard...

      Pedantic Bastard!

      Is there anything else you want me to call you?

    2. Re:at work on a M$ machine by Imsdal · · Score: 3, Funny

      Your sarcasm detector is broken. Please replace it immediately. Thanks!

  7. Real easy (temp) fix. by Murphy+Murph · · Score: 3, Informative

    Start-->Run-->regsvr32 /u shimgvw.dll

    You lose thumbnail view, and a few other (minor) built-in-Windows-picture-viewing tools break, but you use IrfanView anyway, don't you?

    --
    I dub thee... Sir Phobos, Knight of Mars, Beater of Ass.
    1. Re:Real easy (temp) fix. by value_added · · Score: 5, Informative
      Start-->Run-->regsvr32 /u shimgvw.dll

      Good idea. But how do you "reactivate" this feature once a patch is released? I use Ifranview, but I also depend heavily on the thumbnail feature in explorer.


      Sigh. I do wish people would offer some information with their click here/type-this instructions so people would understand WTF they're doing.
      regsvr32 - This command-line tool registers .dll files as command components in the registry.
       
      regsvr32 /u /s /n /i[:cmdline] dllname
       
      /u unregister server
      /s silent
      /i call DllInstall passing it an optional cmdline, when
              used with /u calls dll uninstall
      /n do not call DllRegisterServer; this option must be used
              with /i
      To register (or re-register) the dll:
      regsvr32 shimgvw.dll
      To run the command, you can use a console window (cmd.exe), or the Run dialog box (accessible from the Start Menu).
  8. Sorry to say it got me by aka_big_wurm · · Score: 5, Interesting

    I needed a bit of underground info(cd key) and went to the best site for that and with out thinking I used IE -- couldent have shut my browser down fast enough.

    Spent the next few hours removing all the junk that installed, I was lucky no root kits were installed.

    1. Re:Sorry to say it got me by molnarcs · · Score: 4, Informative

      Never ever visit astalavista from windows, not even in Firefox - even using firefox, free-av catched ~10 viruses that tried to execute while only visiting the site, and searching for my lost cd key (well, lost CD to be precise, taht came with my TV card, with the only app that worked for me).

  9. Gotta love it... by Chmcginn · · Score: 5, Insightful
    From the article:
    Reavey encouraged users to update their anti-virus software, ensure all Windows security patches are installed, avoid visiting unfamiliar Web sites, and refrain from clicking on links that arrive via e-mail or instant message.
    (Emphasis added by me) Three good pieces of advice, and... I mean, seriously, avoid visiting unfamiliar web sites? That's like saying "There's been lots of credit card scams recently, you shouldn't go into any store you haven't been to before."
    --
    Have you been touched by his noodly appendage?
  10. This week's Windows security hole article... by digitaldc · · Score: 4, Insightful

    ...is brought to you by http://update.microsoft.com/

    Programming code embedded in these pages would install a program that warned victims their machines were infested with spyware, then prompted them to pay $40 to remove the supposed pests.

    Where do you send the money? And they aren't afraid of getting caught?

    --
    He who knows best knows how little he knows. - Thomas Jefferson
  11. Come on, "editors", let's try to edit properly by Anonymous Coward · · Score: 5, Informative

    scottott wrote to mention a Washington Post article with the news that the security hole we mentioned on Wednesday has widened. Computers can now be infected just by visiting infected web sites, or looking at images in the preview panel of older versions of Outlook.

    There are two major factual errors here. One, the security hole has not "widened" - the scope of exposure is exactly what we read about Wednesday. Using shimgvw.dll to view a specially constructed WMF file results in system compromise (web site viewing of malicious WMF, previewing, opening w/MS picture and fax viewer, etc). The hole is exactly the same - exposure has increased, but the hole has not widened. Two: the web sites are not infected, they are malicious. The system is infected after visiting a malicious web site.

    The full (well, as full as it is now) MS advisory is here. I'm not very pleased with how MS is handling this at all, but that does not excuse this shoddy "journalism". How hard is it to state facts correctly? All you had to do was change a few words, and it would have read much more accurately:

    scottott wrote to mention a Washington Post article with the news that the security hole we mentioned on Wednesday is now affecting many more users. Computers can now be infected just by visiting malicious web sites, which are now rapidly increasing in number, or looking at images in the preview panel of older versions of Outlook.

    For the last sentence, note that I sent mysefl WMF files win Outlook 2000 and 2003 while running Sysinternals process explorer and never saw shimgvw.dll called. Opening a WMF attachment called it, but not previewing, so there might be three errors, but I didn't test all versions that way, so I don't know...

  12. What's the real lesson here? by Ed+Avis · · Score: 4, Insightful

    Those of us who use free operating systems shouldn't be too complacent. This exploit is serious because the WMF rendering library has full access to the user's data, and (at least on a 'home' setup where it's a single-user machine) access to the whole PC.

    But it was really just bad luck that the bug happened to be found in the Windows WMF library and not, say, its Unix/X11 equivalent. Or libpng, or zlib, or whatever. Anyone who thinks otherwise is deluded. All software has bugs, and even if the quality of the free libraries is ten times higher (unlikely) there will still be plenty of memory tramplings and buffer overruns.

    So, when the next vulnerability is found in a commonly used Unix library, will we be in any better position? Not really. Still the library is linked into the application and runs in the application's address space. It has access to all the files the app does, and traditionally on Unix that means everything the user has access too. Your email application may only need to read ~/.mail_settings and connect via IMAP to some host, but it runs with permission to overwrite any file owned by you and connect on any TCP/IP port it wants.

    Why does the WMF rendering code need to run with any more permissions than: read a block of memory with the WMF file, and write a block with the rendered bitmap? (Or perhaps make display / GDI calls, if performance is a concern.)

    What support is there in Unix operating systems for running common library code with only the privileges it needs? As far as I know Linux has no simple way to run a dynamically-linked library (.so file) in its own address space or without permitting it to make system calls. So when the next exploit is found in a common Linux library - and it will be found - the situation will be just as embarassing.

    --
    -- Ed Avis ed@membled.com
    1. Re:What's the real lesson here? by G+Money · · Score: 4, Informative

      What we have in the Linux and BSD world at least are very good Mandatory Access Control systems that help mitigate some of this risk. In the Linux world you can use SELinux (shudder) or use something even easier, AppArmor. If you properly profile an application to determine what it should and should not do you'll be in much better shape when new exploits like this come out. It won't save you from everything since they can still get access to anything the program could legitimately access in the first place but it's much more efficient than setting up sandboxes for everything like chroot and much more secure.

    2. Re:What's the real lesson here? by julesh · · Score: 3, Informative

      Why does the WMF rendering code need to run with any more permissions than: read a block of memory with the WMF file, and write a block with the rendered bitmap? (Or perhaps make display / GDI calls, if performance is a concern.)

      Because the WMF rendering code *is* GDI. Seriously - a WMF file is basically a list of GDI functions to call in order, along with the parameters to pass to them.

    3. Re:What's the real lesson here? by NullProg · · Score: 4, Informative

      The real lesson is of course that once again mr buffer overflow strikes (don't implement anything in C if it needs to be secure). This time it's on windows.

      This isn't a buffer overflow, its a design flaw that allows metafiles to register callbacks with GDI32. And I fail to see what language a programmer uses has anything to do with it. Bad programmers are bad programmers reguardless of the language used. To the CPU its all instructions, it doesn't care if its issued by the crt or the java_vm.

      Enjoy,

      --
      It's just the normal noises in here.
  13. Not a total solution... by Chmcginn · · Score: 4, Informative
    Because the vulnerability exists within a faulty Windows component, security experts warn that Windows users who eschew Internet Explorer in favor of alternative Web browsers, such as older versions of Firefox and Opera, can still get their PCs infected if they agree to download a file from a site taking advantage of the flaw.
    Agreeably, you shouldn't be downloading from websites you don't trust anyway... but as anyone who's ever had a computer-illiterate relative or spouse can tell you, sometimes... "But, I really wanted to play that 87th degree derivation of breakout!"

    Okay, really, she said Arkanoid, but you get my point.

    --
    Have you been touched by his noodly appendage?
    1. Re:Not a total solution... by jafiwam · · Score: 5, Informative

      That's not enough.

      The flaw can be used with a JPG file (read; the image of the button, or the site seal, or the photo) in the web page.

      And since the flaw is in data in the header of the WMF file type, it can be executed even if the file extension is not WMF.

      In other words, if you are seeing images on web pages with Windows, you can get this. No downloading is necessary even in other browsers. Until it's patched, the only true safe method is unregister the DLL or don't get on the internet with Windows at all.

      As an FYI, I had to deal with this thing several weeks back when it was rare. (The bimbo doesn't remember what web site did it.) IF you do, just pull the drive, mount it on another machine, get your data, and wipe the damn thing. It's a really really tough infection to clean. It screwed the OS more ways than Courtney Love and ate so much CPU it was unusable. PLUS it downloaded other stuff and started to try to infect other machines on the network.

      Shoot to kill this one guys, the patient is already dead.

  14. Re:Is it IE or Windows? by a_n_d_e_r_s · · Score: 3, Informative

    Its in one of Windows standard libraries - but using IE makes it more dangerous.

    Using Firefox with Adblock installed one can stop all files of this dangerous type by adblocking them until a patch is available.

    --
    Just saying it like it are.
  15. MOD PARENT UP by brunes69 · · Score: 4, Informative

    If all you are doing is browsing the web, there is absolutely no reason to not do it in a sandbox. In fact, I don't get why all browsers run in sandboxes. Why do they *ever* need access to the host OS? If they need to save downloaded files, they can do so via a mounted share. At least in a sandbox they cannot execute privilidged code, at most they could infect executabes on said share.

    1. Re:MOD PARENT UP by peragrin · · Score: 3, Insightful

      Well if you run a real OS, then the browser runs only with the permissions of a particular user. Windows which has some security is designed to bypass that secuirty to give users an edge. So your screwed.

      Take the number of *Nix viruses (included, BSD's, Linux, Unix, etc) and compare that to the number of windows viruses that showed up in the past 2 years alone.

      MSFT doesn't care about security. Vista is a step in the right direction but they are keep way to much of the old code base for it to be useful for this decade.

      --
      i thought once I was found, but it was only a dream.
    2. Re:MOD PARENT UP by ReTay · · Score: 4, Insightful

      That would prove nothing as Unix OS's don't have near the Desktop marketshare of Windows, not do they have the same type of userbase.

      Bull if that tired old BS was true then would you care to compare IIS to Apache?
      Using the same criteria of course. Apache the market giant VS IIS the positions are almost reversed. But once again MS winds up with the lions share of the remote root exploits. Now how does that figure with the claim that market share = number of exploits?

    3. Re:MOD PARENT UP by Aglassis · · Score: 3, Informative

      Use

      runas /user:root_user "Whatever command goes here"

      Note: 'root_user' is whatever you have renamed your 'Administrator' account. You have renamed your 'Administrator' account, right?

      If you need a command prompt use

      runas /user:root_user cmd

      If you need IE for a Windows update use

      runas /user:root_user "C:\program files\internet explorer\iexplore.exe"

      and then go to the Windows Update site. If you need to do filebrowsing as a superuser use the same command, but then type "c:" in the address box.

      There is almost nothing that you can't do with runas. Additionally, XP makes it easier for most programs with "Run As" being a left-click item. While there are some programs that you need to log in to install (itunes was one for me), and there are some minor config issues to get certain applications to work (the ones that assume you are an Administrator). Nonetheless, I haven't used the Administrator account for normal user operations for about 7 years.

      --
      Suddenly, the hairy finger of a familiar monkey tapped me on the shoulder. It was time.--G. T.
    4. Re:MOD PARENT UP by PenguiN42 · · Score: 3, Interesting

      Yes, seriously. That old knee-jerk meme of "IIS vs Apache disproves the myth of exploits due to install base" has to die. Yet someone invariably posts it, and they invariably get modded up. I just hope a few rational mods find your post quickly.

      Not to mention that the OP seems to have confused the issue of "exploits" with the issue of "user permissions" which is what was actually being talked about.

      --
      The following sentence is true. The preceding sentence was false.
    5. Re:MOD PARENT UP by bushidocoder · · Score: 4, Insightful
      Windows which has some security is designed to bypass that secuirty to give users an edge.

      What the hell are you talking about? If you're referring to the fact that default home users run as a Administrator or Poweruser by default, you're right, that's a mistake, but its a policy mistake, not a technology mistake. Windows lets you run as a lesser user, its just that by default you don't. Internet Explorer runs 100% in userland. There is no part of Internet Explorer which runs in the kernel. None. Although Internet Explorer certainly has more holes than Firefox, they are both limitted to the same order of magnitude of potential damage. The same as on other "real OSes".

  16. Re:Solution by KilobyteKnight · · Score: 5, Informative
    Get another browser, such as Opera of Firefox.

    This is not an ie flaw. This is a Windows flaw. You can still be affected with other browsers, you just have to try harder. Anything using the Windows DLL that does the WMF processing will be affected.
    --
    When will Windows be ready for the desktop?
  17. RootKit Revealer by aka_big_wurm · · Score: 3, Informative
    1. Re:RootKit Revealer by GigsVT · · Score: 5, Informative

      You can't prove a rootkit doesn't exist on your system, unless you have a checksum database on read only media, and some sort of hardware (not firmware) method of computing those checksums.

      You can't even be reasonably sure of it without at least some checksumming system like tripwire.

      All you are doing is scanning for certain known rootkits. That's a weak strategy that's reactive and guaranteed to fail some of the time.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
  18. Re:Is it IE or Windows? by WhoDey · · Score: 3, Informative

    It's an exploit of functionality built into Windows (it allows you to view thumbnails in folders full of pictures, for example). The reason it's more dangerous with IE is that IE by default will open these files, while Firefox (or some other browsers) will give you the good old Open/Save box first. If you open at this point, you're still screwed.

  19. Re:Solution by blowdart · · Score: 3, Interesting
    Except FireFox 1.0 also opens the files automatically, by default, in the vunerable application.

    In 1.5 the behaviour changed, and for some reason .WMF was associated in FireFox with Windows Media Player. So 1.5 is secure against this flaw, by lucky accident.

  20. Uploads by jaredmauch · · Score: 4, Insightful
    Well, ideally the browser has some hooks in place to protect the user somewhat, but the challenge becomes when you have a few million users where they want to upload digitial pics to granny and don't understand what a "share" is. There's also all those java apps that actually do fancy things. You really need to make it consumer friendly. That's what the Mozilla teams have done with their auto-importing of IE favorites, etc..

    My browser touches all sorts of things in the host OS, from the sound card to files that I upload and download. Luckily when I get AIM spam for foo.exe or some other sillyness I don't get far unless I type 'wine foo.exe', then even then ;-)

    The true challenge is how to dial in the security to a reasonable level. Problem is getting all the millions of programmers to adopt more secure standards combined with the users, IT managers, etc.. that deploy the apps on desktops. Then, getting that out across the millions of home users too. Daunting task.

  21. Windows Major Foul-Up by spellraiser · · Score: 5, Insightful
    Larry Seltzer has a concise column about this exploit, where he doesn't exactly pull the punches on Microsoft. The most interesting piece of information there is this:

    The problem with the WMF (Windows Metafile) file format turns out to be one of those careless things Microsoft did years ago with little or no consideration for the security consequences.

    Almost all exploits you read about are buffer overflows of some kind, but not this one. WMF files are allowed to register a callback function, meaning that they are allowed to execute code, and this is what is being exploited in the WMF bug.

    I find this mind-boggling to the point of absurdity. Regardless of any supposed benefit gained by this, allowing a data file to execute arbitrary code upon it being viewed is simply begging for an exploit like this. No matter whan spin Microsoft will try to put on this one, it makes them look bad. Extremely bad.

    --
    I hear there's rumors on the Slashdots
  22. IDS signatures by Cally · · Score: 5, Informative
    The Microsoft advisory says:
    ** Are there any third party Intrusion Detection Systems (IDS) that would help protect against attempts to exploit this vulnerability?

    While we don't know of specific products or services that currently scan or detect for attempts to render specially crafted WMF files, we are working with our partners through industry programs like VIA to provide information as we have it. . Customers should contact their IDS provider to determine if it offers protection from this vulnerability.

    Snort sigs have been available from BleedingSnort for some time now; I pushed them out to our corporate IDS yesterday morning.

    (Warning, mangled by Slashcode - remove newlines)

    #by mmlange alert tcp any any -> $HOME_NET any (msg:"BLEEDING-EDGE CURRENT WMF Exploit"; flow:established; content:"|01 00 09 00 00 03 52 1f 00 00 06 00 3d 00 00 00|"; content:"|00 26 06 0f 00 08 00 ff ff ff ff 01 00 00 00 03 00 00 00 00 00|"; reference: url,www.frsirt.com/exploits/20051228.ie_xp_pfv_met afile.pm.php; classtype:attempted-user; sid:2002734; rev:1;)

    # By Frank Knobbe, 2005-12-28 alert tcp $EXTERNAL_NET any -> $HOME_NET any (msg:"BLEEDING-EDGE EXPLOIT WMF Escape Record Exploit"; flow:established,from_server; content:"|01 00 09 00 00 03|"; depth:500; content:"|00 00|"; distance:10; within:12; content:"|26 06 09 00|"; within:5000; classtype:attempted-user; reference:url,www.frsirt.com/english/advisories/20 05/3086; sid:2002733; rev:1;)

    Once again it looks like Microsoft are going to escape the 'perfect exploit' meltdown by the skin of their teeth. This is exploitable remotely, but Dr Evil can't sit at a console typing in arbitrary IP addresses to 0wn with the exploit. On the other hand you can get close to that sort of thing using Metasploit Framework.

    --
    "None are more hopelessly enslaved than those who falsely believe they are free." -- Goethe
  23. Firefox? by freg · · Score: 5, Interesting

    Could someone please elaborate on whether using Firefox browser will help avoid this security hole.

    1. Re:Firefox? by 99BottlesOfBeerInMyF · · Score: 5, Informative

      You can be infected whenever Windows uses its default image viewer to display certain image types. This means there is a long list of applications that are vulnerable that rely upon the image viewer code, but as far as I know no one has yet compiled that list. Windows uses this code when previewing images (for example). The current way this is being exploited is to tell your web browser to open an image (wmf and jpg that I have heard about) in the picture viewer. On IE, this behavior defaults to happening automatically. That means you go to a page and it installs whatever code it wants. With Firefox, you go to a page and a dialogue asks to open a .jpg or .wmf file. If you agree, it installs whatever, but if you decline you're in the clear.

  24. Missing Option by $RANDOMLUSER · · Score: 3, Funny

    Windows XP Flaw 'Extremely Comical'

    --
    No folly is more costly than the folly of intolerant idealism. - Winston Churchill
  25. more serious by spacemky · · Score: 5, Informative

    And not only does the exploit work with .WMF (Windows MetaFile), but if the attacker renames it to, say, .JPG, Windows will detect this a really being a .WMF, and STILL execute it. Pretty serious stuff. See this bugtraq link for details.

    --
    640YB ought to be enough for anybody.
  26. The time has come.. by wraith0x29a · · Score: 5, Funny

    ..to add a new mime-type definition to the Windows defaults..

    Identifier: X-Application/WinTrojan
    Name: Windows Trojan File
    File Extension Pattern: *.wtf

    --
    ~ Better a freak than a sheep. ~
  27. What about Microsoft's Nov 8 patch? by Kurt+Gray · · Score: 3, Informative

    Didn't Microsoft already release a patch for this on Nov 8th? According to Symantec's info page on this attack directs you to this Microsoft bulletin links to patches for each Windows release.

  28. Re:If Windows Were Open Sourced by Frank+T.+Lofaro+Jr. · · Score: 4, Informative

    Games should not be doing the kind of things that need Administrator privilege to do!

    They have no business doing that, people without Admininstrator should be able to play, anything running as Administrator (or in that group) can do great damage (e.g. virus infections, file deletion, even destroy the BIOS), and doing things that require Administrator wrongly can also trash the system (accidently corrupting a DLL, locking up hardware, etc).

    There is a RunAs on Windows, and it is useful for doing sys admin stuff only when needed. It would be nice if it could be configured that a browser run by Administrator (lets say to need to Google for a solution to a problem you are working on) would drop privs (but even Linux doesn't do that).

    But my main point is games and other user programs should need Administrator.

    --
    Just because it CAN be done, doesn't mean it should!
  29. Windows development culture is insecure by ChaosDiscord · · Score: 4, Insightful
    Games should not be doing the kind of things that need Administrator privilege to do!

    It's the core security problem of Windows: the development culture doesn't respect security. Developers went for decades of DOS and Windows 3.1/9x without needing to worry about users and permissions. So they got used to assuming they could write whereever they wanted. When real user seperation and permissions became mainstream with Windows 2000 and XP, they weren't prepared to change. Because so much software required full access the easiest way to get stuff running is to run in an Administrator account. And since so many people (developers included) run as Administrator, why bother doing the right thing? Games are usually guilty, but there are piles of business and research software that is equally guilty. My brother is a sysadmin for a research lab. To keep Administrator access out of users hands, he has to bend of backwards to get the machines running the software his users need. A 2005 release of a $3,000 package that refuses to be placed in a directory with whitespace or a tilde, meaning it can't be installed in C:\Program Files. A $500 package that demands write access to a file in the C:\Windows directory.

    This is one case where backward compatibility came at the expense of security. The development culture is moving too slowly. Bigger companies are starting to do the right thing and you get the occasional smaller development house following the rules. The killer is that huge mass of more specialized software. Apple bit the bullet when they cut over to Mac OS X; software had to do the right thing or it stopped working. Microsoft needs to make such a dramatic change or we'll be putting up with this bullshit for at least another five years.

  30. Re:Question by shis-ka-bob · · Score: 3, Interesting

    If the image is a jpeg format, then no. If the file is a WMF file with a JPG extension, then I think the answer is Yes. Firefox 1.5 will ask you if you want to view the WMF file (at which point you had better say 'No'). With IE and Firefox 1.0, my understanding is that the wmf file (regardless of its extension) will be automatically viewed and this is enough to get your Windows PC infected.

    --
    Think global, act loco
  31. What I'd like to know ... by cpu_fusion · · Score: 3, Interesting

    What I'd like to know is -- how long has this exploit been "in the wild?"

    If it has been there since WMFs began, that's a long, long time. We're talking Windows '95 or earlier. It all depends when the GDI callbacks feature was added.

    So here's what you need to consider: since this exploitable code first "shipped" with Windows, anyone "in the know", e.g. potentially FOLKS AT MICROSOFT, the NSA, your neighbor, whomever ... they could have EASILY breached your Windows box, done whatever the hell they wanted, erased all their tracks ... and you'd have to convince a judge and jury it wasn't you.

    If I build and sell a car that is advertised as having a security system, but that security system is defeatable by running a magnet over the car lock, and that information is "out in the wild" for years and years, maybe even by folks in my company... what is the legal liability?

    The only three external things that will adjust Microsoft's behavior regarding security are: (1) customers switching to other products, (2) criminal justice investigations, and (3) lawsuits. I don't see #1 happening so long as customers remain locked in, #2 is a joke as we know, but #3 ... ?

  32. Updates via home page by Eminor · · Score: 3, Funny

    Sys Admins have a new way to keep their users' windows machines up to date. Simply enocde your updates into a WMF file and place it on the intranet home page.

  33. Proxomitron Workaround by Kye-U · · Score: 3, Informative

    Please read: http://kyeu.info/proxo/forums/viewtopic.php?t=699 I have created a filter that would kill any WMF-Exploit file, regardless of file extension. This is due to a new matching method I've discovered in Proxomitron, where it matches the magic bytes of known exploit files. Most people don't know Proxomitron can serve as a workaround to this issue. In my opinion, it serves the same protection as an antivirus in this case, as it's basically matching hex values and killing the connection upon a successful match.

  34. I developed a fix for it by ilfak · · Score: 3, Informative

    After some hours looking at WMF file format I developed a fix for it:

    http://www.hexblog.com/

    My fix works for Windows XP systems. I have tested it on my machines.