Stories
Slash Boxes
Comments

News for nerds, stuff that matters

How Do You Handle New MS Word Vulnerabilities?

Posted by Cliff on Friday December 15, @03:35PM
from the it-maybe-time-to-look-into-a-new-word-processor dept.
chipperdog asks: "With yet another zero-day exploit of MS-Word document files, what are fellow system admins doing to protect themselves against these threats? I have been blocking all .doc and .dot at the mail and proxy servers until malware scanners have signatures to detect and block the malicious files. Of course, this caused a uproar with the users, as there were continuous calls like: 'When can I send and receive Word files again' and 'I can't get anything done if I can't send/receive Word files'. Any suggestion of sending documents in different formats (like rtf, html, txt, or pdf) results in even more creative user 'feedback'. Has anyone done anything creative in their handling of word files — like having qmail-scanner pipe all .doc attachments through something such as wv to convert them to a less exploitable format?"
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • You can't...

    (Score:5, Insightful)
    by Otter (3800) on Friday December 15, @03:39PM (#17260856)
    (Last Journal: Friday December 22, @03:24PM)
    You can't suddenly cut off the exchange of Word documents in any modern business. Unless you can justify bringing your company to a halt over some vulnerabilities with no real-world risk, you just can't do it.
  • At least for now we filter...

    (Score:3, Informative)
    by Jhon (241832) * on Friday December 15, @03:40PM (#17260874)
    (http://www.whitehouse.gov/ | Last Journal: Monday January 17, @01:55AM)
    All attached DOC files are filtered and placed in to a users quarnetine folder (which they have access via a web browser). Simple permissions keep them from accessing the file itself until it can be checked. Once checked, permissions are changed and the user can pull the document.

    It's frustrating for the end user as they don't have instant access to their attachment (sometimes there's a 4-hour delay before the file can be manually inspected -- still waiting for some def-files!) and it's taxing my staff time-wise to do this (we've got better things to do than check for any monkey-business in word documents). We've suggested everyone convert to PDFs and send THOSE and it's been working but it's still a disruption.

  • strings

    (Score:2)
    by TheGratefulNet (143330) on Friday December 15, @03:40PM (#17260890)
    % strings $1 | less

    (I'm almost serious).
  • Tell the users to rename the files to .dat. That's what we do for sending files around that our mail server blocks. The content of the e-mail would tell the user to rename the file back to .doc. We often send vbs scripts around that we rename to .txt to get around our mail server.
  • Open Office

    (Score:4, Interesting)
    by Scott Lockwood (218839) * on Friday December 15, @03:43PM (#17260932)
    (http://www.lrsehosting.com/ | Last Journal: Monday December 25, @04:05PM)
    It's amazing how, we've been fighting this uphill battle to get our users to use Open Office, and now all of the sudden, managers are calling us to make sure all of their users have it. :-) Some days, I like my job. :-)
  • The stick.

    (Score:2)
    by SatanicPuppy (611928) * <Satanicpuppy@ g m a i l .com> on Friday December 15, @03:43PM (#17260936)
    (Last Journal: Tuesday December 19, @05:12PM)
    Coworker of mine has a sawed off hoe handle, which he maintains was useful for maintenance on an obscure now-obsolete color proofer. Routine application of this to users is beneficial in stopping the spread of these documents.

    Heh.

    The bulk of our traffic here is excel and powerpoint, so limiting word documents hasn't been a real problem. Additionally, corporate used to require stupidly high end router hardware in all parts of the building which was abusive on the budget, but, at times like this, comes in handy.
  • Wow... glad you don't work for me.

    (Score:5, Insightful)
    by everphilski (877346) on Friday December 15, @03:43PM (#17260940)
    (Last Journal: Tuesday June 06, @01:50PM)
    Killing your company's productivity by not allowing the exchange of information? A big no-no. Plus it is all-to-easy to get around (rename the extention, zip the file, etc).

    A better solution is to educate the users - send out a mass email explaining the vulnurability, that you shouldn't be opening and doc's you aren't expecting. If you do it is your own damn fault and the timeliness of the fixing of your machine can not be guaranteed. There is no reason to choke business as you have and quite frankly the users have every reason to be upset.
  • "Zero-day"

    (Score:1, Informative)
    by Anonymous Coward on Friday December 15, @03:46PM (#17260980)
    Does "zero-day" still mean what it once meant? People are calling exploits "zero-day" weeks after they are available.

    "Zero-day" means it was released today. Every exploit was "zero-day" sometime, but ceased to be the next day.
    • Re:"Zero-day" by tchuladdiass (Score:3) Friday December 15, @04:00PM
  • Zip the files

    (Score:2)
    by Matt Perry (793115) on Friday December 15, @03:50PM (#17261040)
    Any suggestion of sending documents in different formats (like rtf, html, txt, or pdf) results in even more creative user 'feedback'.
    Then tell them to zip the files and then they'll get through the filter. Problem solved.
  • Its pays to be thorough

    (Score:5, Funny)
    by PingSpike (947548) on Friday December 15, @03:51PM (#17261050)
    We nuked the site from orbit. It was the only way to be sure.
  • The simplest way.

    (Score:4, Insightful)
    OpenOffice.org.
  • Quarantine

    (Score:3, Insightful)
    by Knara (9377) <.nijyo. .at. .nerp.net.> on Friday December 15, @04:01PM (#17261182)

    When we have viruses exploiting Word files, part of our security team sends out a notice that says we're temporarily quarantining the files until we can have them cleared. But really, you can't indefinitely stop word files from coming in.

    I'll admit I'm too lazy to read the exact detail of the exploit, but shouldn't this whole situation be alleviated by good, layered network security anyway?

    • Re:Quarantine by CerebusUS (Score:2) Friday December 15, @04:30PM
  • Why not...

    (Score:1, Informative)
    by Anonymous Coward on Friday December 15, @04:06PM (#17261272)
    ...turn off word macros for the majority of your users who do not need them. For those who do give them an hour long or so seminar on the safe way to work with word macros, including opening (or not) files from unknown/untrusted sources. I'm astounded at the level of ignorance many people claiming to be knowledgable UNIX/Linux admins have with regards to running what they consider to be a little kiddie playground of a server OS yet they seem to have all sorts of trouble. If the OS is for idiots as you claim then you should have no trouble using group policies to enforce these rules. If you cannot enforce these group policies then perhaps it is you who is the idiot and not the OS.
    • Re:Why not... by CerebusUS (Score:3) Friday December 15, @04:33PM
  • Honestly

    (Score:1)
    by dawhippersnapper (861941) on Friday December 15, @04:08PM (#17261302)
    (http://ardmoreforum.com/)
    I'm a windows network admin, and I made a group policy to deny people downloading new word format files, atleast until they put a good patch out.
  • by mythosaz (572040) on Friday December 15, @04:09PM (#17261310)
    We keep the AV scanner at the gateway up. We keep the spam filter at the gateway up. We keep the AV on the desktop up-to-date.

    Right now there's no good RPC-exploitable worm for Windows. Any word-based infection is going to be localized to a single machine (or, at most, to those machines a user has remote local administrative rights on). So, we watch. We stay at yellow allert, and we don't panic. Because right now, there's nothing to panic about. The ability to spread a virus/worm/mal* to a single machine isn't exactly a huge danger. We already have that every time someone sends us an URL.

    Panic on your own time.
  • stripping macros

    (Score:2)
    by TheSHAD0W (258774) on Friday December 15, @04:10PM (#17261322)
    (http://www.shambala.net)
    Wouldn't it be possible to automatically strip all macros from the documents? Of course, some documents wouldn't survive the alteration unscathed, but for most of the documents I don't think the end users would even notice a difference.
    • easy by oohshiny (Score:2) Friday December 15, @06:32PM
  • Sir, You Are A....

    (Score:1, Troll)
    by moehoward (668736) on Friday December 15, @04:11PM (#17261330)

    Blocking all doc files? Too funny. What a jerky self-important moron of an admin. Learn how to weigh risk and reward, dude. You clearly have no clue. Sounds like you have a hard-on for Microsoft and are trying to make a point.

    Good luck with that and your next job, which is right around the corner. Maybe you can refuse to flip any burgers that have trans fat in them.

    I'm just shaking my head and rolling my eyes. BOFH indeed.
  • docs.google.com

    (Score:1, Informative)
    by Anonymous Coward on Friday December 15, @04:12PM (#17261344)
    upoad to docs.google.com then download from docs.google.com
  • by jayjay_1978 (1040480) on Friday December 15, @04:18PM (#17261446)
    Setup MIMEDefang to convert M$ word attachments to PDF using openoffice.
    Any attachments with a .doc extension or a mimetype of application/msword go through this process.
    Also to reduce the overhead, get the sha1sum for the word document, and save the pdf to .pdf
    Before any documents are converted with openoffice, get the sha1sum. if a .pdf already exists, use that file.

    This stills allows people to get the content, which is most of the time, all they want.

    There is also a program called antiword that will convert ms word documents to text, PDF, or PostScript.
    But openoffice does a better job.

  • Re: Antiword or Catdoc

    (Score:2, Informative)
    by lky (246353) on Friday December 15, @04:24PM (#17261554)
    Well I use Linux so I dont have MS Office but I extract the text from MS Word documents using Antiword or Catdoc and then read them in Vim.

    Antiword: http://www.winfield.demon.nl/ [demon.nl]
    Catdoc: http://www.45.free.net/~vitus/software/catdoc/ [free.net]

    Add this to your .vimrc to make it automagic:

    autocmd BufReadPre *.doc set filetype="msword"
    autocmd BufReadPost *.doc silent %!antiword "%"
    autocmd Filetype msword call s:MyMSWordSettings()

    function! s:MyMSWordSettings()
            set readonly
            set hlsearch!
    endfunction

    For RTF documents, check out UnRTF: http://www.gnu.org/software/unrtf/unrtf.html [gnu.org]
  • Nothing.

    (Score:1)
    by Threni (635302) on Friday December 15, @04:28PM (#17261616)
    I only use Word at work, so it's not my problem. You can't just stop using Word without possibly losing money, so it's worth the risk. It's not like I'm going to open any emails from people I don't know anyway.

  • by Yeechang Lee (3429) on Friday December 15, @04:38PM (#17261764)
    (http://www.pobox.com/~ylee/)
    With yet another zero-day exploit of MS-Word document files, what are fellow system admins doing to protect themselves against these threats?

    Yet more evidence of the truth and beauty of the Church of Emacs [dina.kvl.dk].

    Or, if one is into truly antediluvian forms of worship, Ed, man! !man ed [gnu.org].
  • by Colin Smith (2679) on Friday December 15, @04:41PM (#17261788)

    It's quite big but it'll solve your MS Office security problems.

    http://download.openoffice.org/2.1.0/index.html [openoffice.org]
     
  • What about using the Word Viewer [microsoft.com]?
  • Simple

    (Score:2)
    by NineNine (235196) on Friday December 15, @05:05PM (#17262126)
    (http://ninenine.com/)
    Simple. My employees know not to open any file that they don't know what it is. I really don't know how you can get any simpler or more effective than that.
    • Re:Simple by aminorex (Score:2) Sunday December 17, @05:29PM
  • Easily

    (Score:1, Offtopic)
    by dangitman (862676) on Friday December 15, @05:09PM (#17262180)
    It's a simple process:

    • Buy a fat cigar and smoke it
    • Hire a hooker
    • Snort cocaine off her ass
    • Play a game of blackjack with her
    • Take some horse tranquilizers
    • Sit in the corner crying at how futile life is
    • Try to ignore the insects crawling under my skin
  • 'When can I send and receive Word files again' and 'I can't get anything done if I can't send/receive Word files'.

    If your users need to send/receive executable code from/to strangers (which is essentially what they're asking for) then you're in a nasty situation.

    If you're the boss, one obvious thing to do is to make them sign something to the effect that the cost of cleaning up after their willful unsafe practices, will come out of their own paychecks.

    Let's assume you're not the boss.

    You can't trust scanners anyway; it's not a matter of today's particular 0-day-exploit, because there will always be exploits. You must assume that hostile code will be running (probably with full admin privileges) on those users' machines. Sandbox as much as they'll allow you to. Run MS Word itself inside a dedicated virtual machine if you can. If you can't, then run the Windows session itself inside one. Put those boxes on their own network, etc. The key is to accept the destruction, but also try to limit it to the people who are asking for it. It's ok if your company loses a few thousand dollars of work every week or so from a few bad users -- you need to keep from losing millions, and hopefully in such a way that when the boss comes screaming about the thousands, you have something positive to point to.

    And, if you can, keep memos about complaints (or prohibitions from above) as a record to show that you were not allowed to really fix the problem: you don't just want credit for preventing the big disaster; you want absolution from blame for the little disaster.

  • by slamb (119285) * on Friday December 15, @05:38PM (#17262540)
    (http://www.slamb.org/)
    Even ignoring viruses/worms altogether, it's not a good idea for users to be exchanging .DOC, .XLS, and .PPT files through email. People do this for two reasons:
    1. Exchanging finished documents for reading. PDF is better:
      1. It can reproduce the results exactly.
      2. It doesn't include Word's "change tracking" information which can cause embarrassing leaks.
      3. It's a standard with many interoperable implementations.
    2. Exchanging in-progress documents for revision. At least for stuff limited to your company, a version control server (like Subversion [tigris.org] with friendly TortoiseSVN [tigris.org] clients) is better:
      1. Doesn't cause email storage to grow enormously. Instead, a server actually meant for this kind of thing stores only deltas. And only one copy of each document - on most mailservers, the disk space consumed by an attachment is proportional to the number of recipients.
      2. Lets you easily find the latest version of a document. ("Did he send me another copy after this? I'm not sure.")
      3. Lets you easily retrieve any previous version, see changes/authors/checkin comments. (I don't trust Word's built-in change tracking, and you shouldn't either. Its security model is flawed, and I don't think it's reliable to begin with.)
      4. Supports locking/unlocking documents to prevent conflicting changes.
      5. With some setup, supports diffing and merging [tigris.org] office documents. You can maintain branches!
      6. Supports searching - where I work, we've plugged in swish-e [swish-e.org] for full-text searching over our documentation repository.
    I wish my company would just block all .DOC and .XLS files sent from one employee to another. It'd force them to use the documentation repository and save us all a tremendous amount of pain trying to dig through email for the right version of some Product Requirements Document. It'd also stop the whining from people complaining about hitting their email storage limits all the time.
  • by Dorceon (928997) on Friday December 15, @05:57PM (#17262766)
    I only run MS Word in my hermetically sealed house, which I never leave.
  • I've got an idea

    (Score:1)
    by devhen (593554) on Friday December 15, @06:19PM (#17263018)
    (http://www.devhen.com/)
    Let your users send and receive .doc's and therefore get their jobs done. Explain to them (maybe through a corporate memo?) the risks with .doc files and not to open any .doc files that they don't know for certain are from reliable sources. Eh?

    I for one make my company's employees and their ability to get their jobs done quickly and effectively my first priority. Forget about the exploits. Don't let M$'s insecure software make your workers less effective!!

    IMO blocking .doc's altogether while you wait for your malware filter to be able to catch the exploit is obviously overkill.
  • Remove the root cause

    (Score:3, Insightful)
    We do not use Microsoft Word at my place of business. This is therefore no longer a concern. If any sysadmin thinks this is a problem, it's clearly time to approach the PHB with it in terms that they will understand. Something along the lines of, "Yes, I'd love to tackle that super-urgent issue of yours, but I'm too busy fighting these n MS Word vulnerabilities" where n is greater than zero. That ought to do it.
  • Remember, everyone in your company has a job to do; your job is to help them do their jobs. Sometimes employees will be impacted by security issues; but when their time is spent primarily working around your paranoid security restrictions, then you're hurting your business. Right now, you're more likely to either 1: Get fired, 2: insult an important business client, 3: piss off a valuable employee who will decide to move to a company who doesn't have an @$$h0l3 running their network...

    It's good that you can disable word documents from email in the event of an outbreak; if, and only if an outbreak does occur, then disabling word documents from email might be your only option.

    The other thing to consider is that, if a virus starts spreading though word documents in email attachments, you're going to start seeing a lot of SPAM with word documents attached. Consider being more restrictive to SPAM with regard to attachments.

  • by LoudMusic (199347) on Friday December 15, @09:05PM (#17264516)
    Either be very diligent with your backups (which you should be anyway) or just don't use it. "Viruses" and general issues with computers (MS products specifically) are the counter part to 'other people on the road' when driving your car. You either put up with the dangers and prepair yourself for the pain or simply don't get involved.

    Fortunately with computers you can just make backups and only loose a day or two of production if everything goes to shit. Not so possible with a head on collision at 50mph.
  • How do I handle it? Use OpenOffice.
  • I still use WordPerfect for my WP ...
  • by Nishi-no-wan (146508) on Saturday December 16, @03:53AM (#17266912)

    I stopped using Word back in 1997 when I couldn't get a simple (C) to not be turned into a copyright symbol in a document. After several hours of searching help and disabling what seemed like hundreds of preferences that began with "auto," I pasted the document text into Netscape Gold's HTML editor and never looked back.

    I've given the PHBs plenty of trouble since then by not accepting DOC files (or later on Excel files either). They can't figure out how to save in any other format (which was my suggestion the first few years).

    To make a long story short, they've finally taken to just printing the document for me and e-mailing it to everyone else.

    I sincerely hope that this rash of zero-day viruses will finally get them to consider ODF, but it'll probably take another 3-5 years before that epiphany hits any of them.

  • Risk

    (Score:2)
    by martin (1336) <maxsec@dsl[ ]pex.com ['.pi' in gap]> on Saturday December 16, @08:36AM (#17267996)
    (Last Journal: Saturday May 06, @06:40AM)
    Apply the the standard, Threat/Likelihood/Impact risk model before you start on these things.

    So you block Ms-Word, what's the threat (and it exploited yet which is Likelihood) and finally what's the impact of the threat. Now apply this your actions. ...

    Another thing I'd say various IE issues are more of a risk than little exploited (to date) in Word.

    Given the time you are spending, the impact you're having on the business, is your 'fix' worth it?
    • Re:Risk by aminorex (Score:2) Sunday December 17, @05:45PM
  • The trouble with trying to filter, is that the word format is a binary blob without any documentation...
    It's quite easy to filter out things like the jpeg exploit, just try opening it with a jpeg library on the filter server, the exploit jpegs won't load properly and error, or you can convert them on the fly to another image format.
    Ofcourse this brings up a risk to your server, but the risk is much smaller, the server is likely to be hardened, could be running many different os's on several different hardware platforms, won't be running the code as a privileged user, and could easily be running it inside of a chroot. If you were to use something like grsecurity on linux, you could make sure the risky parsing code ran inside of a chroot, did not have the ability to write anywhere (except its input/output pipes) and did not have the ability to open sockets or execute any additional programs.
    When you know the format, you can cut out a large percentage of exploits by validating the contents of the format against what the specs say it should contain, you can then sanitise parts of the file if necessary, or convert it into another (compatible) format.
    Ofcourse it's not foolproof, but it raises the bar much higher.
    This is a very good reason not to allow unknown binary data to be transferred in/out of your network.
  • What I do...

    (Score:2)
    by Niet3sche (534663) on Wednesday December 20, @05:16PM (#17318632)

    Well, I typically Wazoo worry about it. I mean, hey, Wazoo someone wants to cause harm to my Wazoo documents, then clearly that's Wazoo issue, not mine.

    I mean, hey, Wazoo security isn't my job ... Wazoo?

    Signed, N

  • Re:Simple:

    (Score:2)
    by Carbonite (183181) on Friday December 15, @03:46PM (#17260992)
    Yeah, OK. Now, does anyone have a reasonable solution?
    • Re:Simple: by Anonymous Coward (Score:2) Friday December 15, @03:55PM
    • Re:Simple: by creimer (Score:2) Friday December 15, @03:56PM
    • Re:Simple: by CerebusUS (Score:3) Friday December 15, @04:17PM
    • Re:Simple: by Tore S B (Score:2) Saturday December 16, @05:12PM
    • 1 reply beneath your current threshold.
  • Re:I don't

    (Score:1)
    by creimer (824291) on Friday December 15, @03:54PM (#17261086)
    (http://www.creimer.ws/ | Last Journal: Sunday November 26, @06:51PM)
    Yeah, get a Mac to run Word on. :P
    • Re:I don't by Anonymous Coward (Score:1) Friday December 15, @04:12PM
    • Re:I don't

      (Score:4, Interesting)
      by CerebusUS (21051) on Friday December 15, @04:14PM (#17261372)
      At least one of the three recent Word exploits affects Word for Mac as well.

      Also, to the original question:

      Scanning .doc and .dot files does little to no good for the most recent vulnerability. Windows is coded to open correctly formatted documents with unknown extensions with Word. So all I'd have to do to get around your filter is rename the document to: Exploit!.iamnotavir.us0 and if someone is silly enough to double-click it, they'll be subject to whatever maliciousness I can inflict on them.

      From the e-week article:
      "Do not rely on file-name extension filtering. In most cases, Windows will call Word to open a document even if the document has an unknown file extension. For example, if document.qwer contains the correct file header information, Windows will open document.qwer with Word. Filtering for common extensions such as .doc, and .dot will not detect all Word documents."
    • Bad for Economy by soloport (Score:1) Friday December 15, @04:36PM
  • Re:I don't

    (Score:2, Insightful)
    by Praedon (707326) on Friday December 15, @04:55PM (#17261960)
    (http://www.geekalize.com/richardseese)

    Being an ex-network administrator, I have come to the conclusion that it is us who save the company tons of money by keeping it safe from exploits. By practicing good security measures, anti-virus installations, ad-ware remover, etc, it usually cuts down considerably on the amount of work it takes to keep the network infrastructure free of viruses and spyware, allowing time to focus on other important factors, such as Word exploits, migration from windows to a linux OS if all it requires is word processing, etc.

    Here's hoping Vista lives up to the hype that under good security measures, it will be somewhat secure. Otherwise, there are alternatives such as migration to linux and OpenOffice and such, which does not suffer from as many exploits that Windows and Office does.

  • 7 replies beneath your current threshold.