17 ms·
IOHIDeous OS X Local Kernel Vulnerability
- mappu 9y agoResponsible disclosure would have been to product-security@apple.com. Do apple have a bug-bounty program?
- deleted 9y ago[deleted]
- q3k 9y agoThey don't for macOS. And the iOS one is invite-only.
- j1vms 9y ago> They don't for macOS. And the iOS one is invite-only. Which may, unfortunately, speak to what management thinks about the security/quality of the macOS codebase. I wouldn't be surprised the recent and upcoming exploits lead Apple to increase iOS dominance over its future product pipeline.
- infamouscow 9y agoApple's financial reports and behavior the last few years make it clear their priorities are not with the Mac, but with iOS. For better or worse, Apple is a smartphone company that happens to make computers on the side.
- yeukhon 9y ago> For better or worse, Apple is a smartphone company that happens to make computers on the side. Apple makes computer and operating system way before it entered the mobile market. The first part is right, but your second part is inaccurate historically.
- apecat 9y agoYeah but to phrase it pointedly, to what degree does Apple consider Macs to be basically development kits for iOS apps? It's very clear that iPhones make the big cash.
- baq 9y agoIt's not even an electronics company anymore, is a luxury goods company.
- yeukhon 9y agoThis is stupid though. macOS is the operating system for its flagship desktop/laptop devices. The lack of bug bounty on macOS (or even an invite one) seems really bizarre.
- gok 9y agoWhy do that when you can wreck a security engineer’s vacation?
- mtgx 9y agoOn the other hand, it could teach a good lesson on technical debt?
- ajmurmann 9y agoI would claim that there is a very high likelihood that the person having to work all night to fix this on new years Eve is not the same person who prioritizes tech debt pay off vs. new features.
- floatingatoll 9y agoWhy would your security engineer take CVE-2008-0001 as a holiday?
- Narkov 9y agoCan a company the size of Apple not afford 24x7 security resources? For their installed user-base, I don't think this is unreasonable. Security doesn't have a holiday.
- aNoob7000 9y agoI don't understand why Apple doesn't have a well-funded bug bounty program. You would think that companies would welcome people finding bugs in their software. Hell, they could give away free MacBook Pro laptops, phones, and IPads along with CASH!!!
- bardworx 9y agoI agree. Considering that giving away a dev style laptop would be a nice reward, it’s weird that they do not leverage their products as reward. High spec MBP + some cash goes a long way. Even engrave the freaking laptop to make it “sough after”.
- mwfunk 9y agoThey do have a well-funded and well-publicized bounty program for security exploits.
- caio1982 9y agoWould you agree that if it were really well known and earned a fair amount to hackers people would not end up throwing this stuff online (even on Twitter) because their PR team is the only one that gets affected in these cases?
- mappu 9y agoApple's bug bounty program does not cover macOS.
- GordonS 9y ago... for iOS
- emmelaich 9y agoNo mention of disclosure, reporting, or CVE in the entire article :-(
- abhorrence 9y agoThat's why they're calling it a 0day, because they haven't done any of those things.
- newfoundglory 9y agoNo, but it's in the thread https://news.ycombinator.com/item?id=16044060 https://news.ycombinator.com/item?id=16044060
- tptacek 9y ago"Responsible Disclosure" is an Orwellian term concocted by vendors to control the actions of independent vulnerability researchers who work without real compensation, using information freely available to consumers, in competition with malicious attackers. The term you're looking for is "Coordinated Disclosure". Yes, Coordinated Disclosure would involve sending the bug to Apple and waiting for them to publish it. If you'd like to complain that this disclosure is irresponsible, fine. But try not to do it using the vendor's marketing term, because it's not up to them to decide what is and isn't "responsible". Other reasonable people --- myself included --- will probably disagree with you, and say that getting information out to people as comprehensively as possible is usually the most responsible thing you can do with a security bug.
- jph 9y agoCoordinated disclosure information is here, and edits/suggestions/feedback are welcome: http://github.com/joelparkerhenderson/coordinated_disclosure http://github.com/joelparkerhenderson/coordinated_disclosure
- gok 9y agoSo a disclosure can be irresponsible but don’t call it an irresponsible disclosure?
- dpwm 9y agoThe "responsible" disclosure term is a pretty devious piece of marketing, because it creates situations such as this very thread. Its use carries an implicit catch that anything that does not meet the narrow definitions of "responsible" is the opposite. Without naming names there are vendors that have been pretty terrible at handling their end of "responsible" disclosure and appear to be getting worse, down to not even acknowledging there is a problem or even that they have been notified of a problem. The alternative to disclosing a vulnerability is non-disclosure and, frankly, that's what some vendors mean when they say "responsible".
- tensor 9y agoI don't like the term you made up. But fine, I think this is "Irresponsible Disclosure." Is that better? Did anything change? Vendors and non-vendors alike are all responsible for good security, and that includes working together to make this happen. If you are working against vendors because of some preconceived notion that they are "evil," that's not a good thing. If it turns out that the author did submit to the vendor and worked together to minimize damage then I'll retract my statement. Until then I think it's irresponsible, not just "uncoordinated".
- bangonkeyboard 9y ago"...turned out Apple PR channel is much more responsive than product security [...] No wonder nowadays people just throw security issues on Twitter right? What a world we live in." — https://medium.com/@khaost/your-home-was-not-so-secure-after-all-af52fbd6777c https://medium.com/@khaost/your-home-was-not-so-secure-after...
- tzahola 9y agoMaybe if more people would disclose such vulnerabilities “irresponsibly”, vendors would develop their software more responsibly. Just my 2 cents ¯\_(ツ)_/¯
- azinman2 9y agoUnlikely. Security is hard, and a complex product like an OS and all it’s support programs creates a ton of surface area for attack.
- FRex 9y agoComments like these really rub me the wrong way. If it were some other company that actually has such a program or isn't as evil and uncooperative in so many aspects as Apple I could even agree to the sentiment (but not the wording). But as noted in the comments - they do fucking not for Mac OS. As noted in other comments - they knew about this bug anyway for a while now and it requires local code execution first to do anything anyway. They deny problems until a shit tornado actually starts somewhere and they absolutely love to control the narrative. They are clearly PR first, lobby and fight against right-to-repair efforts because they want to "guarantee the quality of authorized repair", sell expensive proprietary software on proprietary hardware (ostensibly to provide absolute perfection by controlling the entire stack), have slogans like "it just works", "light years ahead", "touch of genius", "say hello to the future", care enough about current social outrages (USA specific ones that is..) to do truly silly crap like water pistol emoji or removing a historic game that featured a confederate flag. They are also secretive as hell (i.e. 0 social media presence/interaction, YouTube comments off on their channel to prevent criticism, engineers under stricter NDA compared to Google, Microsoft, etc.), instantly fired an engineer for a mere iPhone X video her daughter filmed in Cupertino Campus, actually sent police to raid a house of a Gizmodo reporter and confiscate his stuff (which apparently breaks journalist protection laws both federal and state but oh well, it's USA and Apple, money talks, bullshit walks) when they wrote about a leaked iPhone 4G prototype, ran idiotic misinforming (but funny, so apparently it's okay!) ads in the past like the "Macs don't get viruses" one but still managed to have bugs like infamous "goto fail" or "password got stored in hint" (which are frankly insane to me). If they cared they could do as much as silently toss a few thousand dollars per big bug, make sentimental/bragging right's rewards (like Knuth's cheques), etc. but chose not to. They should be thankful that between "sell 0 days on the dark net", "do what Apple says for free" and "post online for cred" actual security hackers pick the last and not the first (I mean, I also would out of principle of not being a criminal, but there is clearly something wrong with a company's image if we have to fall back to a person's moral compass or even criminal justice system for any choice). To add to the problem a lot of their fans are outright rabid, instantly plunder the Apple stores at each product release and criticizing Apple anywhere near them online results in being called a Microsoft/Android shill, hater, poor, fucker, faggot and such, and Apple's PR fluff being regurgitated at you. If someone lives lavishly in a multi-billion ivory tower that also has a diamond mine under it while surrounded by their cultists and won't even toss you leftovers when you help them out, what do they expect? They are a crazily rich, global and long established company and they should stop being excused. They are the world pinnacle of technology business in every sense and if they can't deliver they deserve the criticism. The poor guys working for free on OpenSSL for a bazillion platforms for single digit k of donations per year (and 0 compensation from all the corporate freeloaders from Fortune 500) got torn a new asshole the size of La Manche for HeartBleed but Apple keeps getting excused for not being able to get their shit together (by their own wish, like not having a bug bounty after all the bugs that happened in 2017) while they have the opinion of saints and geniuses and control everything to the tiniest details - shops, repairs, hardware, software, components and information.
- contras1970 9y agothat would have been a withholder, not disclosure. you need to disclose the vulnerability to those who are vulnerable for it to be disclosure, and nothing else is responsible.
- st3fan 9y agoThere are two pieces here that I find really impressive: First, the skills and persistence to get all these moving parts going. This must have been weeks of tiring work and exploration. Second, the fact that the author wrote an incredibly detailed posting with a lot of detail and background information. Wonderful work.
- stevemk14ebr 9y agoOh my I feel so sorry for apple security engineer's right now. I'm curious the motivations to release such a serious, and complex, 0day on new years eve!? Makes me wonder who brushed this guy the wrong way, or if he just wants to watch the world burn. That said, seriously impressive work and I give him props.
- x0x0 9y ago> Siguza, 01. Dec 2017 (published 31. Dec 2017) If I had to guess, he waited a month, got blown off, and said, "Fuck it." Also -- I feel like the underlying bug, ie relying on values in a volatile variable that is shared -- are the sort of thing that source code could be systematically tested for, both mechanically and by humans. But my strong impression is that Apple doesn't care about MacOS and definitely doesn't put the A team on it. Or even the B team.
- Siguza 9y agoI had actually submitted to the ZDI, but had written the exploit & write-up in the first place mainly because I like hacking rather than for money. I figured I'd see what offers I'd get anyway, but once I had spent all the time on the write-up, I mainly wanted people to see that, and the amount offered wasn't enough to convince me otherwise. I might've published this earlier even, but my December was kinda busy, first with the v0rtex exploit and then with 34C3. And an engineer from Apple's security team contacted me a bit after releasing - they had found the bug a while ago, but hadn't verified the subsequent patch which actually didn't fix it. And a while ago I tweeted this https://twitter.com/s1guza/status/921889566549831680 https://twitter.com/s1guza/status/921889566549831680 (try diff'ing sources to find it :P). So they do have people on it. I also told that person to extend my condolences to whoever has to come in and fix that now, but they basically said that there's nothing to apologise for and that they (the team) really like such write-ups. So... I guess I'm not that evil? And I neither wanna watch the world burn nor did anyone brush me the wrong way - I didn't publish this out of hate, but out of love for hacking. If you're concerned about skids hacking you now, they need to get code execution first on your machine. If you're concerned about people who can do that, then those can also get kernel r/w without me, so... nothing really changed for the average user. PS: Yes, it's really me. Will add keybase proof if my karma gets >= 2. Edit: done, see my profile.
- userbinator 9y agoI'm actually not too surprised. I briefly delved into Mac kernel programming in the early days of Hackintoshing (in an attempt to write some missing device drivers), and the amount of complexity there seemed excessive --- to someone who had done previous kernel work in Windows and Linux. The overall impression I had was "far too many moving pieces". And as everyone should know, complexity hides bugs.
- jrcii 9y agoSharing my screen with my browser when I saw this headline was my terminal with the output of: /usr/bin/mdfind 'kMDItemFSName=*.kext' I was JUST exploring the design of OS X, as I am wont to do, and looking at these OS X kernel extensions with a suspicious eye. It's some kind of surreal cosmic joke that this headline appeared #1 on Hacker News as I was looking at that.
- lopatin 9y agoTo all the kernel programmers out there, can we get a HN-level ELI5 for this? It looks like a total system compromise is possible. Under what conditions? Any ways to ensure we don't get pwned?
- Siguza 9y agoNeeds to be running on the host already (nothing remote), achieves full system compromise by itself, but logs you out in the process. Can wait for logout though and is fast enough to run on shutdown/reboot until 10.13.1. On 10.13.2 it takes a fair bit longer (maybe half a minute) after logging out, so if your OS logs you out unexpectedly... maybe pull the plug? And maybe don't download & run untrusted software until the bug is patched (or, you know, ever)? Also, any decent antivirus shouldn't take long to add this to their malware definitions. Not sure if this is HN-level, but... I hope it's understandable.
- geekamongus 9y ago> Also, any decent antivirus shouldn't take long to add this to their malware definitions. Have Mac users finally started running antivirus?
- Siguza 9y agoWell, that I don't know...
- j0hnml 9y agoApple actually creates some signatures in house with “XProtect”, but I’m not sure they do the same for raw privesc exploits. I’m also not sure how thorough they are with their signature creation...
- biehl 9y agoNo
- oneplane 9y agoSome of them. But mostly of prevent forwarding windows-malware. Most corporate-managed stuff has endpoint protection, and most end-users are covered by GateKeeper, XProtect and the standard Google safe browse whatever it's called thing. And since most of the basic users simply use webmail, that vector is covered as well. It's not as bad as it once was.
- ngcc_hk 9y agoThe article is really eye opening for non-os guy. Love mac and worry. But sometimes you do appreciate in a sense Darth xxxxx.
- sprite 9y agoAmazing writeup.
- Maryaki 9y agogreat post
- Maryaki 9y agoVisit our website: https://goo.gl/FFfdtf https://goo.gl/FFfdtf
- Girlang 9y agoI am so glad I run Windows 10.