Tuesday, February 16, 2010

Security, Stability and Microsoft

After 10 years of being serious about security, why does Windows still suck?

On January 12, 2010, Google announced via a blog posting that it had been the victim of a targeted, large scale, serious and successful set of Internet based attacks. The same blog posting also revealed that similar attacks had been successfully carried out against "at least 20" other companies. Underlying the "Aurora" attacks was a vulnerability in Internet Explorer that allowed remote code execution. The hole, CVE-2010-0249 had apparently been known to Microsoft for five months before the Aurora attacks were made public. Microsoft released security advisory 979352 to address the vulnerability two days later, on January 14th. Why did this problem go so long without being addressed by Microsoft? Why is Windows still vulnerable to these sorts of problems after 15 years of a commercialized Internet?

No Dummies

I doubt Microsoft is holding back creating the most secure and stable operating system on Earth because they are too dumb to know what that would look like. Microsoft hires brilliant engineers. I think they would deliver on security and stability if they could. But I think those folks are hampered in building a better quality OS for two main reasons.

Legacy

First, there's still a mile high rotting pile of stinking fish and compost bearing down on those engineers. This is the legacy of an earlier Microsoft that didn't understand that a network was more than a way to print and share files. The rot pile was thickened by a long series of marketing decisions that ignored stability and security in favor of short term market advantage. (In other words, they may have gotten a clue about networks and security, but management didn't care.) Since about 2000, Microsoft has been trying to undo the damage their first two decades wrought on the pockmarked face of the PC industry. They have had mixed success. Knocking DOS on the head helped. They also released a series of increasingly stable versions of NT with Win2K and XP plus service packs. But we all know how successful those were in the face of a rising tide of cybercrime, espionage and hooliganism through the first decade of the 21st century. Important advances were made with Windows Vista, but the disaster that occurred with that OS was partly due to those very changes, underscoring the difficulties Microsoft still faces trying to overcome its legacy. Windows 7 is a better try, but has still has problems. It is still a (growing) piece of the biggest virus target in the universe. And it it is still a relatively soft target too. The applications running on top of Windows frequently fall victim, even if the core OS doesn't. In the Aurora case, the hole was in multiple versions of Internet Explorer, including IE8 on Windows 7.

Too Much Success

So that's the legacy problem. The second big issue is that trying to appease thousands of interest groups around Windows is very, very hard. Hardware and (especially) software vendors deliver solutions that vary in quality to an absurd degree. Windows, the biggest software market on Earth, welcomes this menagerie. Architectural improvements in development technologies like .net and the CLR help some, but they are no panacea. Another challenge for Microsoft is the relatively open Wintel hardware platform. Wintel isn't open in the sense that open source software is, but it's accessible to most companies wanting to design hardware to fit in, so many do just that. But drivers for the hundreds of thousands of hardware offerings for Wintel are an important source of Windows insecurity and (especially) instability. Altogether, these partners make demands on Microsoft that are no doubt hard to reconcile. But the real problem is that making changes to the OS, such as patches to security holes, is very, very, very hard. Can you imagine the testing nightmare that Microsoft must face when confronted with a tricky security hole? But that still doesn't excuse the more egregious examples of neglect, such as the Aurora fiasco.

Other Platforms

Other operating systems exist for PCs. They are in the minority, and so enjoy less intense scrutiny from the low-life scum that write malware and crack systems. But that's not the only advantage these alternatives have. Gnu/Linux and MacOS have an easier time with all this partly because they aren't saddled with a bad legacy. MacOS also has the advantage that the hardware platform is closely coupled to the OS, reducing or eliminating an important source of instability. The Linux kernel lacks this advantage, but shares with MacOS a set of rational architectures descended from its Unix forebears, and a commitment to security and stability. The Linux kernel adds transparent development to its list of advantages over Windows. The kernel team can turn on a dime with security problems because of good architectures, and because security and stability come first for them. Gnu/Linux applications vary widely in quality in this regard, but again, the Unix derived architectures mitigate most of the problems with bad apps.

Who is Hurting?

Microsoft faces a unique set of challenges that their current success and questionable legacy place on them. Though I often applaud people making money from imagination, after three decades of watching the clowns in Redmond, I have to say that the problems couldn't happen to a nicer bunch. But my glee at seeing the carrion crows coming home to roost on the house that Gates built is tempered by concern for the hundreds of millions of users of Microsoft software. So on balance, I wish the current group good luck in taming the hydra headed beast that is Windows.

Friday, September 25, 2009

This may be old school

Hello, darling

Have you harvested the bits you needed
to fill the holes in your bodymind?
Did you storm out, irrational and angry
or are the new patterns calm and cool?

Have you been blowing in the internetworked wind
roiled by resonant transforms, exchanging viral codes?
Are you home now, disconnected
safe from the malware and the glory?

Can you fill me with your data
lovingly yielding your substance?
Can I give you a piece of my mind,
mixing my endocrine soul
with your unbound discretion?

Saturday, August 15, 2009

Microsoft Word: an Anger Factory

Originally posted on September 6th 2007

This is almost unfair, though really, it isn't. It seems like Microsoft Word has received at least as much abuse as Windows itself over the years. After all, you are more or less forced to use both if you want to get work done in corporate America. A fine recipe for anger is this: force a user to put up with stupid, time wasting behavior. Then make sure, through myriad snares and traps, that there is no way to avoid said stupidities. This engenders a feeling of powerlessness, that often turns into anger. Such is the experiential and emotional path I followed about an hour ago trying to collaborate with a business partner on a document we need to present to our customer.

The document was in .doc format, of course. I'm using Windows XP on my company supplied laptop, with whatever version of Office that shipped with the platform, patched up to fairly recent vintage. Word had no trouble opening the document at first, but at some point it crashed. Thereafter it would crash on each attempt to load the benighted thing. Now, I don't necessarily hold the crash against Word. Applications crash on Linux too. Although subjectively, it seems like they crash more frequently on Windows than on Linux. They are certainly much more prone to bringing down the whole system on XP, which is an improvement in this regard over Win2K, and that OS over NT 3.51 and so on. (Vista has improved system stability quite a bit. But it is a performance pig among other things. Apps seem to crash just as much on Vista, too.)

But how was I supposed to deal with this crash? I don't have another copy of Word around my home network. I do have Open Office in several flavors. So I tunneled in to my home network (running NoMachine NX over SSH) and ran OO writer 2.0 on the problem file. It loaded just fine., which let me at least read the thing in advance of a conference call later today.

But here is the thing that really twists my tail: there is no way re-saving the document with OO and reimporting it into Word is going to result in an acceptable copy for collaboration with my business partner. Doing a "round trip" through OO from Word always results in a broken .doc at the end. This is not an accident. As many are aware, (through Groklaw's excellent coverage of the OOXML vs ODF standardization war, among many other sources) Microsoft wields the Office document formats as a weapon to keep users dependent on Office, and therefore Windows. (Number one and number two Microsoft cash cows. Coincidence? Chyah, right.)

So here is the last roadblock to me solving this little problem for myself. I'll have to go back to my partner and work out what feature is actually crashing my copy of Word. Or perhaps a reboot of the platform will fix things, or deleting Word's temp files if I can find them. Yet another roadblock: nothing I do will be based on what is actually wrong. My attempts will all be stabs in the dark because the internals of Word are secret. Bah!

Windows Anger

Originally posted on October 17th, 2005

After all this time, I haven't once whined about Windows in these pages. Well, that's about to change. Here's something I sent at work today. I've removed material that could identify the workplace, or my colleagues. If this ticks you off, try replacing all the blanks with random obscenities, and odds are you'll feel better about it.

Working on this document has made me exercise Word, Visio and Windows generally far more than I ever have before. This is a particular form of hell for a Unix geek. (Dante didn't know about Unix geeks or else he would have added a whole circle for us. It would be full of NT4 boxes, of course.) I have found many new ways to make Windows lock up for ten minutes, or forever. I've learned how to desperately guess which duration I'm faced with in a given situation, and to balance that guess against the certainty of a 20 minute reboot cycle, All of this under deadline pressure, of course.

Just now, I thought I had discovered a new way to make Windows stop doing my bidding. I had been cutting and pasting multiple large blocks of Word data between various versions of the ____ draft. I was on IM with R____, letting him know I had at last succeeded in uploading this version of the document. I went to paste the title of the document, into the chat window. Windows froze when I did that. I suddenly got the horrible idea that I had just pasted the entire ____ section into the chat session!

It turned out the collaboration software had Windows' undivided attention while uploading the doc to the ____, and my title appeared in the chat window directly. I hadn't pasted megabytes of data into the IM session. But it made me realize that I had never made that particular mistake in my career before, and still hadn't. I think that's due less to my skill, or even luck, than to the enormous range of possible screw-ups available to us at any given moment.

I am convinced however that Windows expands the already limitless range of such errors more than any computing environment I'm aware of.

Old Friends

Originally posted on August 6th, 2003

I just had lunch with three old friends from my days working at Octel. One was a good friend and colleague with whom I had been in touch off and on via telephone, email and chat, but had not met face-to-face since 1996.

He recently moved back to the Bay Area, and we decided to meet up at the Empress of India, in Santa Clara. This is a small, and very good Indian restaurant that was a frequent meeting place for the old Octel crew that I worked with. When I showed up at noon, my friend was there, and so was the boss of that old crew. She had introduced most of the shop to this restaurant, and her being there was a coincidence, made a little less amazing by the fact that she frequently has lunch there. She let slip that my first friend had invited a second old friend that I hadn't seen in many years. It turns out that he is now a V.P. of Product Management at a startup. He's a very busy guy, so he was late. My first friend and I started in on our first course. After a while, the second friend showed up. We had very pleasant conversation over the glow of truly excellent chicken curry. My ex-boss was with the party she had come with, so she didn't get involved in the conversation, but her presence made the meal seem all the more nostalgic. I felt a warm glow that was only partly due to the curry.

With some exceptions, I've been hiding out from humanity ever since my ex-wife died in December 1999. In most things, I'm self sufficient. I do well on my own. But reconnecting with this group reminds me strongly of how much I miss human company. Electronic interactions with friends fill some of my need for this sort of thing. But sitting in an old familiar place, sharing pleasures like a good meal, and watching a friend's face as he tells a joke or lets you know about a fear isn't something that translates well over email. I enjoyed this lunch an awful lot.

A Salute and a River Basin

Originally posted on May 23rd, 2003

I
love computer language translation. It can be so eerily inept.
I received some spam today with a probably virus laden attachment from "stella@email.it" The body of the message had this:
--------------------------- * * * E N G L I S H * * * --------------------------- Watched the demonstrative preview of the scherzetto " Spiral-fantastic " then you start the application that virtually you distoglie the sight from the images common in order to deform all I have there that watched subsequently for 1-2 min. Truly fantastic, it sure deserves to make to turn the knowing friends and. You do not have fear, is only an innocent game that has but its unexpected implications. Yeah, I'll bet! - ed. A salute and a river basin from Stella.

Masterful Brushoff

Originally posted on May 18th, 2003

I received the following chain letter on a mailing list I belong to. I liked it so much, I wrote the reply that follows. Then a friend posted a reply, and I responded again.


Dear Mastercard, What can I say? We've been through alot together. I remember meeting you when I was only 19. You were sitting there, all discretly in the post, with those gleaming rates peeping out from your foggy envelope window. You were smitten, you told me how responsible I seemed, what a great fit we'd be, and you were willing to go all the way right away. I've never been so caught off guard, and yet so comfortable. And you treated me right. You bought me a nice new bed, and didn't mind if I saw other girls. God, I loved that space. You were so reliable, like a regular booty call. But we both know it was more, so much more. I became dependent on you. And you never let me down. You even bought meals and drinks for my other dates. Steadfastly knowing that I'd be back, usually by the end of the month. I love you MasterCard. You took me to Europe and Mexico. You took me to concerts, and bought me cds and clothes, I didn't even have to ask. Just a glance and you were there. But then you became testy, and then down right obsessed. Your notes, while seemingly charming, were unsettling. I sent my regards whenever I could, but you always wanted more. And you'd throw it back in my face. I couldn't do for you they way you did for me. Rather, you wanted more. And you never let up. Well MasterCard, I want you to know that I wrote you AGAIN today- and this was the last time. We're even now, I don't owe you a thing. And having achieved this balance, I think its best we see other people. You've been great, just not what I need or am looking for at this time. I hope you understand, I'm sure you'll be okay, but you just want too much. I can walk away, now, knowing I did you right. I'll miss you, but there just no good reason to continue. Goodbye, MasterCard. Thanks for understanding.

Your friend,
Brian

Dear Brian, Honey, how can you treat me this way? After all we've been through, you brush me off with a check and a Dear John! Despite everything, I want you to know it was NEVER about the money. (I know I said so. Please forgive me. I was upset.) You ARE the most responsible consumer I've ever known. I understand about being late. I FORGIVE you. Please don't dump me like this! I don't want to put any more pressure on you, but the bank says I'm pregnant. How am I supposed to take care of a litter of little smart as^H^Hcards without those interest payments? Please take me back. Only 9% for the first three months, Darling!

Your Mistress
Mastercard

From the comments section (ljl), Brian responds


Dear Mastercard, No, darling, it's over. I've taken up with Visa, but only as a flirtation with her check card business. When you started flirting and playing with those collectors like RMA, it was over between us.

Brian

And a final(?) response from Mastercard

Dear Brian,

VISA!!? That, that .. BITCH! How could you let yourself be fooled by her come-on?? Brian, she's a cheap, no-good whore. I mean it! She's been in more ATMs than a banker's got points. Besides that, her introductory rates are only good for six weeks! I give you a whole three months, baby! Listen, I can make it last longer if I try hard enough. How does six whole months of, I don't know, 8% sound? Drop that tawdry bit of plastic and come home to ME!

It'll be .. priceless!