21 ms·
Microsoft Put Off Fixing Zero Day for 2 Years
- qeternity 6y ago> Microsoft’s advisory makes no mention of security researchers having told the company about the flaw, which Microsoft acknowledged was actively being exploited. Most likely part of an ongoing campaign by a three letter agency which would have requested the delay...
- simiones 6y agoI doubt that three-letter agencies typically attack targets whose only protection is the Windows "this file may be dangerous, are you sure you want to open it?" pop-up..
- Lammy 6y agoWho said anything about "only" protection? Besides you, I mean. Real-world attacks tend to involve simultaneous exploitation of multiple vulnerabilities, like this real iOS Safari watering-hole/drive-by attack maliciously using the same exploit chains as my favorite iOS jailbreak tool: https://googleprojectzero.blogspot.com/2019/08/a-very-deep-dive-into-ios-exploit.html https://googleprojectzero.blogspot.com/2019/08/a-very-deep-d...
- imtringued 6y agoI see. If you visit a sketchy website then it is entirely possible that you won't notice anything. If a random unsigned installer nag pops up after you clicked on an ad there is a decent chance that the user closes the dialogue and "walks" away unscathed.
- ourmandave 6y agoMaybe the three-letter agency has a guy inside to click "Ok" to the pop-up.
- AnIdiotOnTheNet 6y agoUnlikely. At the scale of three-letter agencies it isn't very difficult to get hold of valid signing certs.
- jojobas 6y agoWhat exactly is the attack vector? Are the users supposed to receive an unexpected jar file and run it? Or can it pretend it's an MSI the user legitimately wanted, yet execute malicious code?
- eknkc 6y agoI guess it would not work as an MSI but would be fine as a JAR. As far as I can remember, jar is zip and zip has headers at the end of files. Making it possible to append a jar to something and disregard the first part. In this case a signed MSI. And so you have a code signed JAR from Microsoft. Then what? I don’t know.
- ComodoHacker 6y agoIt would work as an MSI, as MSI files are read from the start.
- Xylakant 6y agoHowever, from the description, it would not execute the payload as an msi either - the appended garbage would just be ignored from the installers perspective.
- ComodoHacker 6y agoJRE would execute the payload.
- jojobas 6y agoIt wouldn't, unless there's already a different exploit to do so.
- deleted 6y ago[deleted]
- llarsson 6y ago
- Lammy 6y agoIs the implication supposed to be "Microsoft finally given 'okay' to fix zero-day now that it is no longer useful to Intelligence?"
- jlgaddis 6y agoThat was my first thought as well. Why else would they leave a known vulnerability unfixed for two years!? ISTM that someone else found out about the vulnerability out ("... which Microsoft acknowledged was actively being exploited.") -- perhaps after the NSA used it against them? -- so now that the cat is out of the bag and they are at risk of compromise -- they let Microsoft know and get it fixed.
- simiones 6y agoThis doesn't seem like the kind of vulnerability a security service would really care about. It's just about whether Windows does or doesn't show a nag prompt when trying to run the malicious file. I doubt there are any real systems where the only thing standing between the system being secure or not is Windows code signing.
- Lammy 6y agoWhy wouldn't a security service care about the ability to hide malicious executable payloads in files that are presented as having a higher-than-normal level of trustworthiness?
- jlgaddis 6y ago> This doesn't seem like the kind of vulnerability a security service would really care about. It's just about whether Windows does or doesn't show a nag prompt when trying to run the malicious file. And yet, if memory serves, they went to the trouble of stealing a code-signing certificate from a software development company so that they could do exactly that in an Iranian nuclear facility! Besides, even if this one weren't all that useful on its own, we've seen time and again how a few of these these "minor" vulnerabilities can be "chained" together, eventually resulting in a full compromise.
- cpgxiii 6y agoSo if I get this right, the attack vector here is 1) Take signed .MSI 2) Add my JAR of malware to the end of it 3) Send file to target 4) Target's computer recognizes the file as a signed MSI, ignoring the extra stuff at the end that's not part of the MSI 5) Target computer calls the JRE to launch the JAR 6) JRE ignores the MSI parts at the beginning of the file because compressed JAR files are loaded back-to-front Obviously a major bug that signature validation ignores "extra" parts of the file, but a signature validation bug that (1) only affects specific types of files executed by a third-party runtime and (2) doesn't threaten system files (or any native executables at all) isn't an obviously critical vulnerability like an arbitrary "signature validation is totally broken" bug.
- Lammy 6y agoDisagree on lack of severity; this is the kind of thing that calls into question any signed MSI I've downloaded over non-TLS HTTP or even over HTTPS served from a possibly-downgrade-attacked HTTP→HTTPS redirect. e: or any signed MSI from a compromised system, like happened to Palemoon last year: https://news.ycombinator.com/item?id=20435699 https://news.ycombinator.com/item?id=20435699 Endless rabbit-hole of course but that's already a lot of low-hanging fruit
- cpgxiii 6y agoI don't think that follows from what's been disclosed. What seems to be the case, based on the disclosures, is that the signature validation code does a correct job validating the parts of the file the MSI header describes, but does not check parts of the file that aren't described in the header. As far as I'm aware, adding arbitrary anything to the end of an MSI doesn't do anything since it's not described in the headers, so you can't use this to compromise an actual MSI file. You can only use this bug to fake signing for specific other file types that are read back-to-front where the actual MSI parts will be ignored.
- Lammy 6y agoWell I guess the actual payloads would all be fairly individualized, so that makes sense.
- jl6 6y agoKolmogorov’s razor: never attribute to malice or stupidity that which can be adequately explained by uncontrolled complexity.
- elmo2you 6y ago.. but keep your eyes peeled, for cases where the latter is intentionally used as a lame excuse for any of the two former (or Kolmogorov's razor itself, for that matter).
- watt 6y agoThere is "zero day" mentioned in the title, but nothing in the article text. I am confused: what does this has to do with "zero day" now? It's not "zero day" now, is it.
- biddlesby 6y agoYeah, it’s really confusing. Unless I don’t understand the term, it hasn’t been a zero day vulnerability for the past two years...
- PeterisP 6y agoThe days are counted from the release of a fix. If something been known for two years but a fix was released on 11th August, then it was a zero-day for the two years until 11th August and it's a "day-6" vulnerability today. IIRC the term was introduced to contrast with day-1 attacks with exploits developed by reverse engineering patches on the day they are released and attempting to exploit systems in the gap until they get patched.
- biddlesby 6y agoI see. Thank you for the explanation!
- gerdesj 6y agoIt isn't zero day now but it was for at least two years. That rather stretches the definition of zero day but for two years Windows machines have been vulnerable to something nasty that was known about.
- fulafel 6y agoIt was a bug in the third party scanning products though. ("This behaviour could be used to hide and distribute malicious code in MSI signed files, in fact several security solutions rely on the output of Microsoft Windows code signing validation to avoid an in-depth scan").
- gigatexal 6y agoThat’s nothing. While nowhere near as severe there’s an ansi padding bug in SQLserver when doing replication that they refuse to fix for going on 10+ years now iirc
- temac 6y agoWell, you can just write an installer that uses an elevated cmd anyway. I think conemu does that? (not sure, maybe it is another software) Is unsigned software subject to further restrictions by default compared to signed but "unknown" software (sometimes a pain to use with Defender) And I kind of remember there was already other bugs with MS code signing checks? (not sure) I agree this bug probably breaks the (informal/perceived?) security model of some hardened configuration, but that kind of hardening should not be considered completely sound anyway. It's like the UAC that is not to be considered a security boundary, yet somehow useful against casual threats or even just errors. If you download and try to execute random code, you should consider it will be executed regardless of the expected checks and perceived hardening of your system. And you should consider that your OS is full of security bugs absolutely everywhere. Your web browser too (yep, that means JS is an insane threat now). Not really a reason to not fix that kind of things though, but nothing serious enough to loose our mind.
- TheButlerian 6y agoThis is why zero-days should be made public a week after reporting them to the company...without ANY fear of prosecution. Trust me, after the first 50 cases - the companies will have a dedicated team working on such exploits. Wow, they made this public and MS still didn't handle it...I guess it should be more widely advertised then.
- elmo2you 6y agoI fear that because of the asymmetric power/financial balance between the parties involved, such a choice could easily lead to a kind of war, in which the companies will have the upper hand. They will have may more means/resources at their disposal and when it gets ugly (out of the public eye) things could get nasty. Please, don't get me wrong. On itself I think this whole responsible disclosure culture is bullshit. It wouldn't be if more companies actually treated it more sincerely. But I have seen too many companies abuse responsible disclosure, or simply hide behind bug hunting programs to limit/squash exposure (too many times even without fixing anything), and then burn anyone who doesn't want to play by rules they themselves set. The problem is, there are far more things than just legal prosecution when this would turn into a clash between companies and security researchers. However, maybe a union or anonymous organization could level that playing field. Problem with that is that many security researchers also want recognition, at the same time as feeling safe (.. something about cake).
- TheButlerian 6y agoThey companies will still be under legal prosecution if they do something against the people that publish the leaks.
- gruez 6y agoJust publish it anonymously? Make a site called exploithub and host it as a hidden service. I'm sure most cybersecurity professionals wouldn't have problems accessing it.
- macintux 6y ago
- elmo2you 6y agoWhat about criminal liability? I know that it's highly unlikely that Microsoft will ever get what it truly deserves (at least as long as the USA remains what it is), but still. I find it rather telling, how many argue that Microsoft is (obviously) wrong in their behavior, yet I don't read much about how the company deserves severe punishment (maybe even forced break-up or having control taken away from it altogether), for knowingly not fixing a security fuck-up like this, for this long. Maybe an interesting case for anthropologists one day, to study social/cultural conditioning. I'm sure that Microsoft will have it's reasons and considerations, but that should not excuse or exclude them from liability for the consequences of their actions. Whether that will ever succeed in court, given both the reality of what Microsoft and the USA are (many other countries too, by extension), that is another story. But it should not take rocket science to figure out that it will only get worse if Microsoft gets away with this without repercussions (again). Guess, how we got here in the first place.
- cpgxiii 6y agoHow would you define criminal liability to achieve this? You have a bug that, at best allows a third-party runtime to execute a malicious program without warning the user that the program is untrusted. Practically, how would you write a statute so that this case would be different from Windows not warning about malicious file in $arbitrary third-party file format$ that exploits bug in $arbitrary third-party software$? You don't want vendors legally responsible for the behavior of third-party code on their systems, that's how you get entirely walled-garden platforms that have no user freedom.
- Retric 6y agoLaws don’t need to be that specific, that’s what the legal system is for. So instead terms like negligence are used which have very specific legal meanings, and then people consider if a Microsoft was legally negligent in their behavior. The downside is it’s more vague, but the upside is it can rapidly evolve over time as new information comes to light. https://legal-dictionary.thefreedictionary.com/negligence https://legal-dictionary.thefreedictionary.com/negligence
- ReptileMan 6y agoCalling that a zero day is a stretch since it requires a lot of user interaction and is local only. It is not that scary of a bug.
- detaro 6y agonothing in the definition of "zero day" requires a bug to be "scary".
- dumbfounder 6y agoYou are right, but to most people that term seems very scary. Most people don't know what zero day means, and so putting it in the title invokes doomsday type visions for a lot of people.
- detaro 6y agoMost people that don't know what it means also aren't reading Krebs' blog. I feel like different expectations apply here than on a mainstream publication - where not using it in the title or immediately clarifying/reiterating the definition would be appropriate.
- MatthiasP 6y agoThe Virus Total detection list is very interesting [1]. How can your antivirus-software not detect a dangerous, publicly known, two year old exploit? How can anyone take these products seriously? Of course McAfee does not detect it. [1] https://www.virustotal.com/gui/file/dd71284ac6be9758a5046740168164ae76f743579e24929e0a840afd6f2d0d8e/detection https://www.virustotal.com/gui/file/dd71284ac6be9758a5046740...
- luxuryballs 6y agoI’ve always said Java was a virus.
- ed_elliott_asc 6y agoIve used this as a feature before to add some unique data into the end of an executable after it had been signed.
- Agenttin 6y agohttps://xkcd.com/1172/ https://xkcd.com/1172/
- ck2 6y agowhich means the millions of Windows7 installs still in use are vulnerable?
- ltbarcly3 6y agoWell, its terrible they took so long to fix this, but it seems to me it was only a 0-day for one day two years ago? Do people just use 0-day as a synonym for exploit now?
- deleted 6y ago[deleted]
- rkagerer 6y agoFor anyone wondering, it looks like Windows 7 also recieved the fix.
- Ekaros 6y agoWouldn't this be more so issue with Java and not Windows? As I don't think any good program should run a file it does not completely understand?
- stjohnswarts 6y agoIf microsoft was doing their job they wouldn't ignore a mysterious blob of binary stuck to their MSI. That is HORRIBLE, even the most 101 student of security would realize that, if you've ever even done a CRC on a file you would realize why that is HORRIBLE. I'm with the others in thinking that they deliberately ignored this for some reason, possibly 3 letter agency access.
- anonu 6y agoSemantics question here: but if this was "actively exploited" for 2 years" - when do we stop calling it a zero day?
- gwillen 6y agoThis is an easy and popular bug to write. The ZIP file format (which is used for JAR files as well), which puts the header at the end, is truly the sin that keeps on giving. A consequence of this choice is that ANY file concatenated with a ZIP file is a ZIP file (and the same therefore goes for JAR files as well.) So if you concatenate an MSI file with a ZIP/JAR file, your MSI file detector will look at the file and go "yeah, looks good!", and your ZIP/JAR file detector will also say yes. (This also shows off the hazards of automatic filetype sniffing.) This is related to one of the very oldest Android rooting vulnerabilities. The update.zip files use the signed JAR file format, where the file contains a signature on its own contents. Naturally the signature can't cover the entire file; it only covers the contents referenced by the header. But the sin-that-keeps-on-giving strikes even harder here: The end-of-file ZIP header also has an end-of-header comment field, of arbitrary size! This means that a single file can actually have MULTIPLE valid ZIP headers. Which means two different tools can interpret the file as two different ZIP files (much as the bug here can interpret the same file as either a ZIP or an MSI.) Don't do drugs, kids. And don't do automatic filetype detection. And don't do ZIP/JAR files if you can avoid it. And for the love of god, don't put your header at the end.