5 ms·
The speculative execution stuff is fascinating and a little terrifying but, for the most part, has been of little practical impact so far, at least after the fi
by tptacek 7y ago
The speculative execution stuff is fascinating and a little terrifying but, for the most part, has been of little practical impact so far, at least after the first round of Meltdown/Spectre fixes.
Attacks on various hash functions are not really a thing. We've known not to use SHA-1 for over a decade, and cryptographers working in the space have started saying we may never find a viable preimage attack on MD5, let alone SHA-1. We are on pretty sound footing with hash functions; what you were doing in a competent system 10 years ago (using SHA-2) is still the right thing today.
I've been a vulnerability researcher since around 1995. I feel significantly better about security today than I have at any point in the past. We've been doing an imperfect but steady job of shutting down bug classes for decades, with the obvious and most important factor being the deprecation of insecure systems languages.
- aidenn0 7y agoFrom my point of view, the proliferation of so many new classes of network connected devices has offset much of the gains in better practices. With enough systems being designed, the odds of a single system being both incompetently designed and widely deployed approaches unity. I think I'll call this the "lightbulb effect" since in 1995 the lightbulbs in everyone's home were secure against all RCE vulnerabilities, while in 2020, this is no longer true.
- pixelpoet 7y agoThere was a related blog post from 2016 about a guy who managed to hack his hotel's "smart" lights/curtains/etc system. Unfortunately the images no longer work, but they're not essential anyway: https://mjg59.dreamwidth.org/40505.html https://mjg59.dreamwidth.org/40505.html
- tptacek 7y agoThis is a reason not to buy lightbulbs with Internet connections, but not a good reason to despair about the state of overall software and hardware security.
- pixelpoet 7y agoHow many people (even very computer savvy) expected their somewhat standard keyboard to contain firmware that can support keylogging? https://www.blackhat.com/presentations/bh-usa-09/CHEN/BHUSA09-Chen-RevAppleFirm-PAPER.pdf https://www.blackhat.com/presentations/bh-usa-09/CHEN/BHUSA0... Do you know for sure your mouse is safe from this kind of thing? What about your monitor? Even things like sticks of memory and case fans have little controllers now to do some kind of programmable RGB lighting; everything is getting filled with relatively small amounts of computing power for no good reason, and it seems to be an accelerating trend.
- tedunangst 7y agoThis seems to be another example of something theoretically possible that an actuary would tell you to ignore.
- nitrogen 7y agoMaybe, but there are online storea full of the stuff.
- senderista 7y agoI don't see C anywhere near being "deprecated" in general. Usage of Rust/Zig/ATS/whatever is a rounding error by comparison to C/C++, even for new projects. Anecdotally, I've been interviewing with a few startups building ambitious infrastructure-level projects, and none of them are using Rust. C/C++ is still the only game in town outside the HN bubble.
- big_chungus 7y agoThis is true, largely because no one outside the HN bubble knows Rust/Zig/ATS/whatever. Most companies and people want to get stuff done, and a new language can get in the way of that. It'll take a while for those newer languages to pick up main-stream traction, and by a while I mean a few years of pushy college grads who used it in CS 101, 202, or 303.
- jupp0r 7y agoDon’t be so sure about that. I don’t know any C++ dev who hasn’t heard (good things) about Rust. It’s definitely well known in the systems programming community at this point. That’s different from using it in production though.
- alfalfasprout 7y agoAnd that's precisely the point. You don't use C++ because it's the best thing since sliced bread. You use it because you want to easily use decades of optimized libraries and get a result that's highly performant without spending a long time creating wrappers in Rust (that may not even be easy to do w/ libraries that rely on a lot of templating).
- vardump 7y agoA lot of C++ projects (not all!) have relatively few dependencies. I think this "decades of optimized libraries" is a bit hyperbole. Besides, libraries that were optimized for HW 20-30 years ago don't age all that well and are far from optimal these days. They also tend to still have a ton of bugs. Now, I'm not saying there aren't cases where you really need to build on legacy library base. Merely that it's a bit rare case.
- SahAssar 7y ago> I've been a vulnerability researcher since around 1995. I feel significantly better about security today than I have at any point in the past. Do you really feel that way considering what is internet (or other accessible networks) connected today compared to 1995? Personally I feel the opposite (although I haven't been in the game as long) because of a lot of critical infrastructure is getting connected without a lot of security. A lot of surveillance cameras, door stations, networks that in 1995 would be localized failures are now national or global. People find open, password-less VNC into control panels for powerplants just by scanning the internet. Equifax, Turkeys MERNIS and on and on and on. I don't get the sentiment that things are getting better in this area.
- kickling 7y agoThe security is definitely better than in the 90s, for what I've heard. The impact of an attack is however greater. You can literally shut down an entire country today, something you could not do back then.
- tptacek 7y agoDocumented state-level kinetic computer security attacks go back a lot further than you think they do.
- math_and_stuff 7y agoIs there prior art before alleged sabotage leading to pipeline explosion in 1982? [1] Zetter's Countdown to Zero Day points to that with skepticism and also talks about Kosovo as one of earliest cases, as does Sandworm. Do you think this is roughly correct? [1] https://en.m.wikipedia.org/wiki/At_the_Abyss https://en.m.wikipedia.org/wiki/At_the_Abyss
- tptacek 7y agoI'm thinking about Kosovo.
- 7y ago
- Ackshully 7y ago> I've been a vulnerability researcher since around 1995. I feel significantly better about security today than I have at any point in the past. If you're as right about this as you were about Assange's extradition, we might be in trouble. I say that because you've been extremely vocal about Assange and Snowden the last 7 years here - :and extremely wrong:. I do not accept your argument from authority.
- brokenmachine 7y agoAll he/she said was that he/she felt better about security today. You don't accept that argument?