Slashdot Mirror


Windows Update Can Hurt Security

An anonymous reader writes "Researchers at Carnegie Mellon University have shown that given a buggy program with an unknown vulnerability, and a patch, it is possible automatically to create an exploit for unpatched systems. They demonstrate this by showing automatic patch-based exploit generation for several Windows vulnerabilities and patches can be achieved within a few minutes of when a patch is first released. From the article: 'One important security implication is that current patch distribution schemes which stagger patch distribution over long time periods, such as Windows Update... can detract from overall security, and should be redesigned.' The full paper is available as PDF, and will appear at the IEEE Security and Privacy Symposium in May."

51 of 220 comments (clear)

  1. Quiz by Lord+Grey · · Score: 5, Funny
    Fill in the blank:

    Windows _____________ Can Hurt Security
    1. 1) "Applications"
    2. 2) "Network Connectivity"
    3. 3) "Update"
    4. 4) "Users"
    5. 5) ""
    --
    // Beyond Here Lie Dragons
    1. Re:Quiz by 4D6963 · · Score: 5, Funny

      Fill in the blank:

      Windows _____________ Can Hurt Security

      1. 1) "Applications"
      2. 2) "Network Connectivity"
      3. 3) "Update"
      4. 4) "Users"
      5. 5) ""

      1. 6) "Profit"?
      --
      You just got troll'd!
    2. Re:Quiz by Cairnarvon · · Score: 2, Insightful

      You don't have any e-mail addresses? Where do you think most spam comes from?
      Windows' crap security affects everyone.

    3. Re:Quiz by Gewalt · · Score: 2, Funny

      I think FTA is wrong Here, Here! I am also a firm believer that F'ng T A is just plain wrong. No one should do that.
      --
      Modding Trolls +1 inciteful since 1999
    4. Re:Quiz by Sneftel · · Score: 3, Insightful

      I think you mean "__________ ___________ Can Hurt Security". There's nothing Windows-specific about this approach. It would work just as well with apt-get.

      --
      The opinions stated herein do not necessarily represent those of anybody at all. Deal with it.
  2. Doesn't matter by Z00L00K · · Score: 4, Insightful
    You can never distribute patches synchronously to all the PC:s in the world. And you can't hide what the patch fixes.

    You are damned either way. The only way to avoid complete damnation from security vulnerabilities is to run a large number of different operating systems, but then you are damned to live a life in complete confusion about system maintenance instead.

    The onion principle is a general security term that has been defined a long time ago, but the fact that we are all online in some way or another all the time means that the onion is rotten.

    --
    If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    1. Re:Doesn't matter by Loether · · Score: 4, Insightful

      I admit I didn't rtfa. however if you use bittorrent or a similar system everyone downloading at the same moment would work better and faster. Everyone would have the patches very close to the same time. At the very least that would decrease the amount of time a potential attacker has to attempt this.

      --
      TODO create witty sig.
    2. Re:Doesn't matter by Anonymous Coward · · Score: 5, Insightful

      You can never distribute patches synchronously to all the PC:s in the world. True enough.

      And you can't hide what the patch fixes. Wrong. You can encrypt the patch.

      Steam has no problem distributing games to players so that they can all unlock them on release day. All you have to do is preload the patch with staggered downloads but not send out the key until the same time. Then all machines can decrypt and patch and install them at roughly the same time, helping to greatly cut down on the time between when the patch can be figured out and the time that machines are still vulnerable.

      Not fool-proof, of course, but it seems like something Microsoft should seriously consider doing.
    3. Re:Doesn't matter by Nos. · · Score: 2, Insightful

      Its not that simple. My parent's turn their computer on maybe twice a week. Other's don't have constant net connections.

    4. Re:Doesn't matter by piojo · · Score: 2, Informative

      And you can't hide what the patch fixes. Actually, I disagree. What if Microsoft obfuscated or encrypted executables the same way that (I've heard) Apple does? Then, any vulnerable executable could be fixed and re-encrypted, and the diff between the two versions would just look like garbage. To get the real data, one would need to break the (obfuscation-based) encryption, but that would take a few weeks (plenty of time for everyone that cares to patch themselves). This depends on Microsoft changing the encryption scheme frequently, like Apple does with iTunes.
      --
      A cat can't teach a dog to bark.
    5. Re:Doesn't matter by Ed+Avis · · Score: 2, Interesting

      You can certainly distribute the patch synchronously to 99% of the PCs (the other 1% being those not connected to the Internet or with broken auto-update). Distribute an encrypted patch, and then once all clients have downloaded it reveal the key, which is short and can be sent in a single network packet. Clients could even distribute the key among themselves peer-to-peer. The bigger problem is the timelag between the patch being revealed to the world and the machine starting to run the upgraded version of the software (which often requires a reboot). It might be necessary for patches to contain instructions saying to stop the vulnerable service immediately and not bring it back up until the new code is installed.

      However, would such a scheme be compatible with free software? Under the GPL, would a Linux distributor be permitted to send out encrypted binary patches and only reveal the decryption key later?

      --
      -- Ed Avis ed@membled.com
    6. Re:Doesn't matter by Jarjarthejedi · · Score: 2, Insightful

      Which does nothing to help out those who either can't (insert system admin worries here) or don't patch their machines.

      The current system works fine for those people who autopatch. It takes only a very short time to get the latest patch, shorter than it takes to get the bug, find a good page to work it onto, build up enough trust to get people there, and then deploy it. All this really affects is those users who don't patch their machines.

      --
      There are two kinds of fool One says 'This is old therefore good' Another says 'This is new therefore better'- Dean Ing
    7. Re:Doesn't matter by OzPeter · · Score: 2, Insightful

      How about image fresh system, apply patches, compare result with fresh system? No need to break encryption at all.

      The only way you can stop this is if all system data was encrypted and the user was not trusted with the keys to decrypt.

      Now where have I heard that before??? Hmmm .. TPM anyone?

      --
      I am Slashdot. Are you Slashdot as well?
    8. Re:Doesn't matter by Sancho · · Score: 5, Insightful

      You can't overwrite a file that's in use by Windows. You can overwrite a file that's in use by Linux. The old image is still there. Any new processes loading the file will get the new version, and any old processes which still have a file handle to the old file get to use the old image.
      I don't know if that's the whole reason, but I bet that it's part of it.

    9. Re:Doesn't matter by legirons · · Score: 3, Insightful

      Or distribute encrypted patches over the course of a day, then when you publish the key everyone can update

    10. Re:Doesn't matter by blacklint · · Score: 2, Informative

      Theoretically that would work, but my oh my that would be complicated.

      One real world example of essentially the same thing: FIRST Robotics wants to make sure that everyone has access to the game manual at the same time at the start of the build season without creating a massive load on their servers, and to make it available for those who don't have internet access where they watch the kickoff. They begin distributing an encrypted version of the manual a week in advance, then release the decryption key during the kickoff video.

      It works fairly well, but this is a very special case where not releasing early is the primary concern. A cool idea, but I don't see it working (or helping) for updates, especially for small updates that may not be much larger than the key to begin with. It may be more effective for large updates (iPhone firmware updates, for example) where the download size can be prohibitive.

    11. Re:Doesn't matter by Ahnteis · · Score: 4, Insightful

      99% of PCs are NOT:
      1) Turned on
      AND
      2) Connected to the internet
      at the ANY one time. It doesn't matter if it's 1 packet or 150 packets if the computer is off or not currently connected.

    12. Re:Doesn't matter by Vellmont · · Score: 4, Insightful


      are you 100% sure you're not still running some vulnerable code?

      If I've restarted the server process, yes.

      What if bash had a vulnerability, and you installed the new version but old bash processes were still running?

      I'd kill all bash processes.

      if you're really lucky then the package manager will know to restart the service after installing a new version.

      That's been quite standard for a long time. I know Redhat includes that in their RHEL distribution. So I wouldn't exactly call that "really lucky"

      But how confident are you that everything is covered?

      Unless it's something critical like a shared library vulnerability, very confident. In the case of a shared lib, it might be easier to just reboot the machine than restarting all the various processes. But at least you have a choice in the matter, which 9/10 of the time you simply don't with Windows.

      --
      AccountKiller
    13. Re:Doesn't matter by Aram+Fingal · · Score: 2, Insightful

      If you encrypt with a new salt value each time an update is performed, that makes the process much more difficult to work around.

    14. Re:Doesn't matter by RiotingPacifist · · Score: 2, Insightful

      No it doesnt hes got around all the encryption by taking the end points, no encryption can help here.

      end - start = patch

      As he pointed out the only way to keep the patch safe is to encyrpt the program and hide the keys.

      --
      IranAir Flight 655 never forget!
    15. Re:Doesn't matter by Bazar · · Score: 2, Interesting

      Thats a poorly implemented encryption if it was cracked so easily, and its not obfuscation.

      There are plenty of ways to do encryption, ultimately you'd need some form of DRM to make it work. Because at some point, it'd need to be decrypted into memory on the client's machine, and without DRM, there is nothing to stop a 3rd party app from retrieving it from memory.

      Obfuscation however could work pretty well, because if they patched not just the exploit, but shuffled everything around in the process, they couldn't just do a diff to find out what they changed, as everything would of changed.

      They'd need to create a tool to unobfuscate the differences, and highlight what has been patched.

      The problem being it becomes an arms race in the same way DRM is an arms race. Microsoft would have to keep inventing new obfuscating logarithms, and the crackers would have to keep working out how the current logarithm obfuscates.

      Not to mention, the potential for obfuscation to introduce bugs could be very problematic.

      --
      To avoid criticism; Say nothing, Do nothing, Be nothing.
    16. Re:Doesn't matter by Aliencow · · Score: 2, Insightful

      Well, this is called Network Access Control, or NAP in Windows 2008.

      The day my ISP starts controlling wether my machine is "up to date" enough to use it is the day I get a new ISP.

      Plus, it would be over-estimating end-users to think they'd get some fancy router because it lets them wait a bit longer before using their computers....

    17. Re:Doesn't matter by gmack · · Score: 2, Insightful

      This is actually a good argument for package updates rather than security patches. With a package update several other bugs could have been fixed so it should be at least harder to find out what bugs were exploitable.

      Also has the advantage of the first security update moving everything to the latest version instead of needing 30 patches to get there.

  3. No prob... by Last_Available_Usern · · Score: 2, Funny

    Just roll the entire i386 directory into every patch.

  4. Worst possible way to critize Windows Updates by pembo13 · · Score: 4, Insightful

    There is no good solution to this problem -- that fixing something makes it easier to find old problems. At some point, users need to be responsible enough to apply updates.

    --
    "Thanks for all the money you paid to us. We've used it to buy off ISO among other things" -Microsoft
    1. Re:Worst possible way to critize Windows Updates by realthing02 · · Score: 5, Insightful

      I think you actually missed the worst part about this summary (not the article...)

      From the summary: "Such as Windows Update... can detract from overall security, and should be redesigned."

      The ellipse represents 14 pages of information in this sentence. And the Actual PDF doesn't say it detracts from security, but rather that the scheme is insecure. Which is quite a difference. Normally I don't do this, but the quote is really stupid when put the way the contributor or editor put in there. The article was interesting enough on its own accord (automatic patch-exploit generation) without having to throw your own personal cracks in there.

      Let's grow up, people.

  5. update this, fuckers by Anonymous Coward · · Score: 5, Insightful

    Profitability is key, not security. Think of sysadmins as janitors. We pay you to wipe up the mess. It's not worth our while to invest in systems that don't create a mess as long as janitors are cheap enough to come with their electronic mops and buckets.

    And you are.

    Sorry.

    1. Re:update this, fuckers by somersault · · Score: 4, Insightful

      Meh, don't come crying to me when some guy in [insert-evil-country-here] steals your identity, uses it to buy a few Porsche's and setup illegal goat kid porn themed websites in your name. You keep making your messes, I'm happy to make $50000 a year cleaning them up as long as it doesn't happen more than two or three times a year..

      --
      which is totally what she said
  6. Windows bashing aside ... by utnapistim · · Score: 4, Insightful

    ... patch based security is also the model linux uses (as far as I understand).

    Furthermore, for Linux access to the unpatched code is also easy to obtain.

    Somebody please correct me if I'm mistaken.

    --
    Tie two birds together: although they have four wings, they cannot fly. (The blind man)
    1. Re:Windows bashing aside ... by Kjella · · Score: 2, Insightful

      Right, in fact this probably indicates that patch tuesday may not be a bad thing because then at least every admin worth his salt knows that's the time to update the systems. With patches coming in almost daily on Linux, you either have constant patch duty or it's a lot more staggered already. That's assuming you actually do something with the patches and don't just auto-apply everything, in which case I guess it doesn't matter. But, let's try to make everything with an anti-microsoft spin shall we?

      --
      Live today, because you never know what tomorrow brings
    2. Re:Windows bashing aside ... by phantomfive · · Score: 2, Insightful

      Kernels are usually distributed as binaries, but in general other software is distributed by source. Of course, different distros do it differently.

      However, the fact that you can obtain the code makes no difference, and may even be a hinderance, since an exploit can be created here in as little as a minute just from the binaries.

      The major difference here between Windows and Linux is that Windows is a lot more of a mono-culture. In the linux world, there is no guarantee that an exploit will be available the same way. It is also unlikely that two different distributions have the same binaries. In fact, different computers using the same distro can end up with different binaries.

      Realistically, an exploit is bad. This research is just a way to make a bad thing worse.

      --
      Qxe4
  7. Instant patching is never going to happen. by Vellmont · · Score: 3, Informative

    If it's possible to generate an exploit that quickly, we need to completely abandon the current "patch it and hope no one broke in" approach to security. It's never been a good approach, but if any idiot can generate exploits via a point-and-click program, that's obviously a big problem. This problem isn't limited to Windows, and most operating systems aren't patched within even a few hours of a patch release. There's good reasons for this, and bad ones. But no one really wants to trust their critical systems to be patched (and possibly go down and become unworkable) to an instant patch system.

    The fundamental problem here is that a lot of security depends on single points of failure. A real security system relies on the "defense in depth" approach.

    --
    AccountKiller
  8. How is this limited to Windows? by analog_line · · Score: 4, Insightful

    Couldn't this process (modified of course) do the same thing to any update for any software at all?

    How exactly is this news? I mean, I should update my software when there's a new patch anyway, but now that THIS has been developed I...need to update my software when there's a new patch... Automating it is a pretty neat trick, and it pretty much destroys any argument for security through obscurity, since it means you couldn't patch any hole to maintain the obscurity, but it's not like security through obscurity in the computer software realm has that amazing a track record in any case.

  9. From the PDF: by TripMaster+Monkey · · Score: 4, Informative

    The PDF outlines three methods of alleviating the problem of staggered patch distribution:

    1) Patch Obfuscation: basically an attempt to hide exactly what the patch fixes by padding out the patch with a lot of lines of nonsense. While this might prove effective, it would only be effective until an improved algorithm for discerning the true reason for the patch is found, and in the meantime, it would create its own set of problems, particularly if the level of obfuscation required balloons the size of the patch to an unmanageable degree.

    2) Patch Encryption: basically distributing the patch in an encrypted format, waiting until it is reasonable to assume that everyone has the patch, and then transmitting a decryption key to decrypt and apply the patch more or less "simultaneously". Problems: this only pushes the problem back one level; meaning the same method of exploitation is just as possible, while this also creates an unacceptable time lag for patches to be applied, which hackers who write exploits the old-fashioned way can exploit to their considerable benefit.

    3) Fast Patch Distribution: basically leveraging technologies like P2P to insure that patches are rolled out...well...fast. Problems again include off-line hoists, as well as hosts who have the misfortune of being on ISPs that take a dim view of P2P.

    In summary, none of the methods outlined have much of a chance to combat this new threat.

    --
    ____

    ~ |rip/\/\aster /\/\onkey

    1. Re:From the PDF: by Seth+Kriticos · · Score: 2, Funny

      Fast Patch Distribution: basically leveraging technologies like P2P to insure that patches are rolled out...well...fast. Problems again include off-line hoists, as well as hosts who have the misfortune of being on ISPs that take a dim view of P2P.

      Why not use the bot nets for this kind of stuff? I mean, previous article today already showed, that they have a quite effective way of patching arbitrary systems and distribute mass content.

  10. No fix feasible by Todd+Knarr · · Score: 4, Interesting

    Unfortunately, no fix is feasible. The basic problem is twofold:

    • If you tell someone how to fix a problem, you tell them what the problem was.
    • It's not possible to push updates to all affected systems simultaneously.
    That the first is true should be obvious if you think about it for a minute. As for the second, that comes from the fact that the affected systems are owned by different entities with different requirements and different environments. A fix for a problem affects more than just the fixed software, especially when the fix is in the operating system on which other business-critical software runs. Any fix has to be checked for compatibility with that entity's specific environment, this checking can't start until after the entity has gotten the fix, and everybody's going to take a different amount of time to check and get clearance to deploy.

    The only "fix" would be a mandatory push to all systems at one time, and that won't be accepted by the people who own the systems unless Microsoft or someone else accepts complete 100% liability for all costs associated with any failure. And I just don't see that happening.

  11. This article is dumb. by Mongoose+Disciple · · Score: 3, Interesting

    Not to be inflammatory, but it really is.

    Essentially, these people wrote a paper which says that hackers can analyze Windows Updates and figure out how to attack systems that aren't patched yet thereby. It goes into theory and proofs of that. Thanks, everyone else knew this about Windows Update years ago, probably for about as long as there's been a Windows Update.

    It then proposes some solutions which are all, on the whole, worse than the status quo for various reasons. For example, forcing all Windows machines, whether they're turned on or connected to the internet or not, to patch at the very same instant is not realistic.

    They should've called this thing: "Windows Update has problems. Magic can fix them."

    1. Re:This article is dumb. by TripMaster+Monkey · · Score: 2, Informative

      Didn't actually RTFA, did you?

      If you had, you'd know that this paper did not say that "hackers can analyze Windows Updates and figure out how to attack systems that aren't patched yet thereby". What it did say was that it is possible to write software that can analyze the update for you and churn out an exploit for the security issue identified thereby...in a matter of seconds.

      --
      ____

      ~ |rip/\/\aster /\/\onkey

  12. Automatically deriving exploits by theorem proving by Animats · · Score: 5, Informative

    This is fascinating. As someone who's worked with automatic theorem proving and proof of correctness techniques, I'd never thought of using them in this way.

    What they're doing works like a proof of correctness system in reverse. They difference executables before and after the patch (which in itself is impressive), then, having isolated the patch, analyze it automatically. Security patches usually consist of adding a test which constrains the valid inputs at some point. So they use a symbolic decision procedure, which is part of a theorem prover, to work back through the code and automatically derive a set of inputs that would be caught by the new test.

    This is more than just an attack on Windows Update. It's true automated exploit generation.

    This is potentially applicable to any security-critical code that changes over time. One could, for example, have something that watched check-ins to the Linux kernel tree and developed new exploits to current stable releases from them.

  13. Re:Where's the WellDuh Tag by Bacon+Bits · · Score: 2, Informative

    Yeah, exactly. If this is a problem with Windows, then it's a worse problem with Linux!

    Not only can you reverse engineer the binary, but you have access to the source code and it's modifications. If you read bug trackers or dev mailing lists, you can even pick up security vulnerabilities before the patch is even released just by looking at bugs and diff files.

    You can't put the toothpaste back in the tube, people. Arguing that that means you shouldn't brush your teeth is ridiculous.

    --
    The road to tyranny has always been paved with claims of necessity.
  14. Ok, it's bad. Got any better ideas? by Opportunist · · Score: 4, Insightful

    If you have a patch, you can diff the original and the patched file and find out what got fixed. No secret here.

    So how can you close the gap between fixing and exploiting? That's nothing MS could fix. You have to. Patch early, patch often.

    If any message is contained here, it's that if there is a patch out and you didn't use it, you're extremely vulnerable. That's pretty much it, nothing really new here.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  15. 2 points by v(*_*)vvvv · · Score: 2, Insightful

    1) Isn't this an old problem? Not only is this old, but it applies to any computer system, so to single out Windows Update seems naive (as others have said).

    2) I think we are forgetting that the exploits still need to be distributed, and the article refers to worms, but how is this different from any other worm/virus?

    Smarter viruses will attack weaknesses that are yet widely known or patched, so those that use exploits based on public patches are 1) stupider and 2) more predictable.

    So this is less of an "update how" problem, and rather more of an antivirus problem. The previous might be impossible to solve, but the latter we have solutions for.

  16. Liability problem? by bkaul01 · · Score: 2, Insightful

    And what happens when someone who has downloaded the encrypted patch has his system compromised because you're waiting for some idiot who hasn't to do so before you'll release the key that unlocks it? In a worst case scenario, you could end up facing a class action suit for not enabling the patch. I don't know if such a suit could be successful, but I'd bet someone would try it. At present, if someone has failed to update his system with the latest patch, it's not Microsoft's fault. Under this system, if Microsoft was refusing to actually make the patch available to one until others have it, that poses ethical and legal questions. I'm not a lawyer, and can't say what the legal answer would be, but I'm sure the question would arise.

  17. Which just shifts the problem. by Ungrounded+Lightning · · Score: 4, Interesting

    Or distribute encrypted patches over the course of a day, then when you publish the key everyone can update

    Which shifts the problem from distributing the update to distributing the key.

    Of course this does have another advantage: Distributing the encrypted update also distributes notification that there WILL be a key, and can tell the users when. Then it becomes a race to get the key and apply the patch before the bad guys can get the key, generate, and deploy an exploit.

    And the downside: The bad guys also know the patch is coming, and when. So they can use their existing botnet(s) to grab a key as soon as possible, then DDOS the key distribution mechanism while they generate and deploy the exploit. This makes things WORSE: A much larger fraction of the machines are vulnerable when the exploit deploys.

    Still worse: If the bad guys crack the encryption, or manage to break in and grab the key early, they get to automatically generate and deploy an exploit while NOBODY has the fix. Oops!

    Ditto even if they don't crack the patch - but the patches exposes that a vulnerability exists and perhaps what module has it, and they find and exploit the vulnerability before the key deploys.

    = = = =

    In a battle between weapons and armor, weapons eventually win.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
    1. Re:Which just shifts the problem. by mysidia · · Score: 2, Interesting

      To prevent unpatched (non-internet-connected) systems from being a danger; 'WGA notification' and 'Windows activation' should be expanded to 'Patch notification' and 'Patch activation'. Failure to activate the patch in X days will result in special restrictions imposed on network connectivity.

      I.E. All operations disabled except for patch download. Meaning you can reconnect to the internet, but you must download and activate the patch, before Windows will re-enable surfing.

      The key distribution mechanism can be designed to be resilient. Use 128-bit keys -- just large enough to make cracking hard. Due to the small size of the keys, this should be very easy. Give every patch a unique ID and put something like a SHA256 hash of the legitimate key in the header (so any system seeing the key can easily pick it up and inexpensively see if it is the legitimate key, and which version of the patchset it unlocks)

      MS could utilize an ad-hoc peer to peer network. Windows systems will share the key. Once a machine knows the key it will transmit to some of its buddies in the form of a datagram.

      The key should actually decrypt a file that contains the _real_ encryption key for the relevant patch, as well as the keys to all prior-released patches. That way the latest 'key' is all you ever need, when applying many updates later on (for example, to a newly installed system).

      Utilize local-subnet broadcast or a special IPv6 multicast address for each specific patch. When a windows box is waiting for the key, it will join that multicast group. When a windows box on a LAN finally gets the latest patchset key, it will send the key out as a small packet to that multicast address.

      Utilize default-domain records.. I.E. ISPs can publish the key using a DNS TXT record ._windows.defaultdomain IN TXT "key here"

  18. Which just shifts the problem. by Ungrounded+Lightning · · Score: 3, Insightful

    Distribute an encrypted patch, and then once all clients have downloaded it reveal the key, which is short and can be sent in a single network packet.

    Which shifts the problem from distributing the update to distributing the key.

    Of course this does have another advantage: Distributing the encrypted update also distributes notification that there WILL be a key, and can tell the users when. Then it becomes a race to get the key and apply the patch before the bad guys can get the key, generate, and deploy an exploit.

    And the downside: The bad guys also know the patch is coming, and when. So they can use their existing botnet(s) to grab a key as soon as possible, then (or simultaneously) DDOS the key distribution mechanism while they generate and deploy the exploit. This makes things WORSE: A much larger fraction of the machines are vulnerable when the exploit deploys.

    Still worse: If the bad guys crack the encryption, or manage to break in and grab the key early, they get to automatically generate and deploy an exploit while NOBODY has the fix. Oops!

    Ditto even if they don't crack the patch - but the patche exposes that a vulnerability exists and perhaps what module has it, and they find and exploit the vulnerability before the key deploys.

    = = = =

    In a battle between weapons and armor, weapons eventually win.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  19. Which only works for small messes by Ungrounded+Lightning · · Score: 3, Insightful

    Think of sysadmins as janitors. We pay you to wipe up the mess. It's not worth our while to invest in systems that don't create a mess as long as janitors are cheap enough to come with their electronic mops and buckets.

    That works for small messes.

    It doesn't work for somebody getting hold of the company's trade secrets, client list, bidding information, road map, and headhuntable employee names and pay scale.

    It doesn't work for somebody cracking the information on the company accounts and transferring the cash reserves to themselves via untraceable paths.

    It doesn't work for somebody destroying or corrupting the IT infrastructure - especially the databases - and taking the company out of business for days or forever, causing key employees to quit or be fired, etc.

    It doesn't work for somebody corrupting industrial process control infrastructure and literally destroy plants and kill employees, or cause the company to build and ship defective products.

    I could go on.

    Cleaning up IT graffiti is one thing. Cleaning up IT nuclear strikes is quite another.

    IMHO any corporate IT exec who treats malware like graffiti, rather than an early warning of something more serious, is negligent in his fiduciary duty to the shareholders and perhaps criminally negligent in his duty to protect the lives and health of the employees. (Pity that most of 'em do treat the threat in this way. B-( )

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  20. What's important about this: by Ungrounded+Lightning · · Score: 3, Insightful

    What's important about this is that it can quickly and automatically generate exploits given only OBJECT code - faster even than a good programmer could do it from source.

    This negates the claim that hiding the source code increases security.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  21. It's impressive by bmajik · · Score: 3, Interesting

    But based on my reading of the paper, it isn't 100% there. You don't get "sploit.exe" dumped onto your disk when the thing is all done. Their stuff only works backwards to a certain point.

    For instance, when they come up with the exploit for WMF reader vulnerability, they're not making you a new WMF file (as I understand, anyway).

    One thing that interested me is the model they invented. The binary differencing was off-the-shelf stuff from eEye. But their model of the x86 machine (cpu, instruction side effects, registers, and memory) is new, and that seems like something that could have been written previously.. I'm surprised they needed to do this. They also define a space of functions that examine the model to determine if badness has happened, for each specific kindof badness they're interested in, i.e. return address changes during execution of call.

    They also appear to require execution traces of P (or P') to run under a machine monitor; I don't think from the instructions in P they work backwards from P/P' difference lines and construct initial conditions of the machine state. Even if that _is_ what they were doing, they only model the salient portions of the binary, not the outside system.

    Even so, what they're doing here is fantastic. The things they're not doing (automatically creating files that trigger the exploit) are all possible offshoots from this paper, if one were to have sufficient computing power and time to create models of the salient portions of the system. For each different data flow into the instruction/memory space, the model would need to describe the line of demarcation. In the case of the WMF/PNG vulnerabilities, that line is on the other side of readfile or mmap or whatever. (i.e. the bytes that trigger the exploit come from the disk). Building a file on disk in a certain way to cause a sequence of x86 instructions to produce the desired memory is a hard problem in and of itself, although I perhaps possible with the tools and techniques they've already got.

    The same would be true of the ASP.NET vulnerability. I beleive they can work backwards from exploit to the in-memory representation of a URL request. At that point, knowing that URLs come from the outside hostile internet, through IIS, etc etc etc, is vuln-specific domain expertise. However, a library of injection points (file on dist, URL request from network, packet from network, etc) could be built around the analysis model. The analysis engine works backwards until it says "here is the memory precondition that leads to an exploit, now i rely on an injection plugin to acheive that memory state."

    --
    My opinions are my own, and do not necessarily represent those of my employer.
  22. Re:Nope. That's a logic error. by RiotingPacifist · · Score: 4, Insightful

    Nope. If that were correct, then Apple would see 5% (or so) of the "virus" development out there. You have to put alot of work into making an exploit, do you choose to put that work into something that gives you 90% or 5% returns. Its not like if there were 100 hackers and they all decide to pick on 100 machines at random, no they all try to infect the most machines possible (you need to infect 6% of Windows machines to have the same effect as writing an exploit so good it infects every mac machine), and that means all 100 hackers will go for windows!

    While Apple may be more secure, until you get 50% market share your not going to get 50% of the effort put into attacking you.

    --
    IranAir Flight 655 never forget!
  23. No hash can be guaranteed secure forever by SEMW · · Score: 3, Interesting

    If you find a way to connect to your peers and ask them for some footprint of their patch (MD5, CRC, whatever), you can validate whether the fix you get is good or bad. MD5 has been cracked. That is to say, there are known methods of creating a file with a high probability of having the same MD5 as some original file.
    And CRC was never designed to be in the least secure against that sort of thing in the first place. It's a good error checker, but it's not secure.

    Yes, there are newer hashes that don't currently have any known vulnerability. But none of which you can be confident that they'll still have no vulnerability in half a decade's time. And if Microsoft were to build what you're suggesting into Windows, a vulnerability beign discovered in whatever hash they used would be a death-knell. How could Microsoft possibly fix it? Distribute a patch to change the hash -- over the compromised patch distribution network?
    --
    What's purple and commutes? An Abelian grape.