Better HN
topnewbestaskshowjobs
Log inSign up

drvdevd

1,178 karma · joined Oct 17, 2013 (13y ago) · 589 submissions

Submissions

comment 12y ago · link · parent

It does seem to me that the author has unfortunately encountered a more negative interpretation of the meme. Personally I've read the original RGWIB essay and took away a couple interpretations. First, a simpler implementation is generally better for developers. Second, since developers are tasked with maintaining this code, and getting a mental grasp on it, they're better off imposing their will to a certain extent on users, rather than pile on every feature requested. Now, the second point can be taken to an extreme in the market by just pushing a bunch of hacks out quickly and forcing users to deal with that. But I think that's the essential difference between HOBWIB and RGWIB: the former is about the pure imposition of one's will upon users while RGWIB is about the imposition of will in the name of simplicity. Personally, I think RGWIB is a force for good, but perhaps needs a new meme to distingiush itself.

comment 12y ago · link · parent

This is very interesting work. Thanks for publishing it. One thought experiment for you (which perhaps you've discussed already): could an attacker potentially influence and predict the state of patched software on the target system, introducing vulnerabilities which did not exist prior to patching? Also along that line, have you attempted to fuzz the input fields in scenarios such as your shellshock example?

comment 12y ago · link · parent

Yes. This point also highlights the distinction between interactive shell and system shell. You probably want a bunch of featutes in your interactive shell. You probably want a small, readable code base in your system shell. These two goals are generally at odds.

comment 12y ago · link · parent

Also, what could the U.S. government do when this knowledge is so widespread and in so many forms at this point? Take down notices to github? Cease and desist orders to Linus Torvalds? The encryption cat is out of the bag to a certain degree. Legislation along this line would simply further harm U.S. business interest in the global marketplace, even if it were desirable.

comment 12y ago · link · parent

> This Golden Key idea is one of those classic "I'm just an idea man, I don't have to figure out the nitty gritty details!" claims.

Most definitely. And even the way it was proposed at the end of the original WaPo editorial was very nonchalant:

> However, with all their wizardry, perhaps Apple and Google could invent a kind of secure golden key they would retain and use only when a court has approved a search warrant.

Let's all be sure to remind the "non-technical" public that there is no wizardry involved here. It's logic, mathematics, and science and some things are possible and some things just are not. Encryption in this sense is very black and white: either your data can be decrypted by a 3rd party or it can't. And if it can be decrypted by one 3rd party, you must assume it can be decrypted by any 3rd party.

comment 12y ago · link · parent

True. Even shells that are written with security in mind are bound to have some similar bugs, though perhaps not as easy to discover or exploit. I think the bash bugs have exposed some general flaws in the way we continue to trust input both from the internet and between processes in general.

comment 12y ago · link · parent

One of the most interesting outcomes of recent internet scale, headline creating bugs, such as heartbleed and shellshock, is what I think I'm going to start calling the "bugfud" effect. This could be either a combination of Bug and FUD or Bug and Befuddlement. This state of affairs is charactrized by the following:

1) argumentation about how best to address the issue systemically

2) argumentation about whether the issue even exists or is just being hyped, or at the very least overblown (even among people who should be qualified to understand it)

3) actual and expected hype from media outlets, usually not qualified to discuss the issues, speaking to a mostly unqualified, mostly disinterested audience

4) the blame game

And I think these states just scratch the surface of bugfud. Bugfud is a real complex social phenomena, which can be just as dangerous as the bugs themselves. It can prevent organizations and individuals from addressing these bugs in a timely, effective manner. So, bugfud is also a bug.

comment 12y ago · link · parent

I think you cannot really say who has the bug in this case, from this point of view. The problem is that in order to blame one component (e.g. Apache) over another like bash, you would have to have a "rigorous" spec of the entire stack -- from network drivers to user facing programs, in order to say either "this is doing something unspecified" or is flat out wrong. This may be possible, but it also goes somewhat against the UNIX philosophy with which all of this was built in the first place.

comment 12y ago · link · parent

Think of it this way: this doesn't just affect webservers. It affects most unpatched bash instances. The vector of attack is through environment variables in bash. You could argue that 90% of the worlds' PHP servers will probably contain bash, but that the converse is not true: 100% of the worlds' bash instances may not contain PHP. Therefore, the attack surface is much larger and the attack vector much more basic to the way the OS works. Since environment variables are so "leaky" -- they are often spread between processes without any sort of checks -- there are essentially innumerable ways for an exploit to reach a vulnerable version of bash, both remotely and offline.

comment 12y ago · link · parent

Thanks for sharing this! I've already encountered some skepticism as to the severity of the bug so information like this is very helpful.

comment 12y ago · link · parent

I already code for a living and thus my github often goes dormant for months or even years. I also code on my free time too and many of the projects I might contribute to for free (important to stress that), or otherwise become involved in, do not accept pull requests on github.

I would like to offer you some counter-advice: don't work for an employer who bases hiring decisions solely on your github activity or any other open source contributions. These are important metrics but so is your own research, your genuine enthusiasm for the field, and your personality fit.

comment 12y ago · link · parent

This is great. Thanks!

comment 12y ago · link · parent

I find the concept of "digital detox" in this situation to be interesting. The Hacker News reader in me wants to say, "But you're missing an opportunity to watch the watcher." I understand most abuse shelters aren't going to be equipped to help teach users how to, for example, monitor and modify the network traffic of background apps on their phone. Or more simply: factory reset the phone before entering the shelter, then turn off mobile networks and GPS and only use the shelter's WiFi.

I think it could be an empowering thing for people - to see that they can fight back against their abuser technically in certain circumstances.

comment 12y ago · link · parent

The "forever to be deployed" part is a crucial observation. Perhaps research into how to get the Internet community to adopt new protocols is more relevant than the protocols themselves. In other words: how can we speed up the adoption of IPv6?

comment 12y ago · link · parent

One of the most useful ideas behind rump kernels, from what I can see, is as a technique rather than an end result: it's a great example of how filesystem drivers or other typically privileged code can be reused in a lesser privileged context or even across operating systems and/or architectures, with minimal effort.

This seems like mostly speculation on a mailing list, but I believe it's worth pointing out that this speculation doesn't do justice to what rump kernels can already offer. It would be nice to see other OS developers push models like this, to facilitate code reuse in widely varying contexts, instead of just "hypervisors".

comment 12y ago · link · parent

What seems even more interesting about it, is that it's directly related to the paging structures in x64, making it potentially applicable to kernel mode exploit mitigations on any OS running there (MacOS X for example).

It's a great example of why kernel mode exploit mitigation is unlikely to ever reach the same level of effectiveness as in user mode.

comment 12y ago · link · parent

Yeah. I'm gonna have to agree with you here. I'm all for charity, but in the end, an app is an app. If we want to be truly unbiased, why should we care that the guy who wrote it was homeless? Shouldn't we focus on the quality of the app? And after enough homeless people "learn to code" at what point does this story cease to be newsworthy?

comment 13y ago · link · parent

Maybe no one person has the expertise to analyze a sample of this malware in its entirety. But treating malware samples like weapons to hide (to be even disassembled only in maximum isolation?), somehow seems similar to the line of thought taken by commercial software vendors who think distributing binaries without source makes them more secure (okay maybe that's a stretch).

But my main point is - viruses (and other forms of malware) aren't actual biological viruses necessitating strict containment. They're code and we CAN understand them. More access means publicly accessible countermeasures are likely to develop faster. And yes - some people will take advantage of this by adapting the techniques employed therein for evil. I think it's worth the risk to try to understand it.

And yeah, don't just run it on your machine directly in a debugger of course. That's likely to be containment enough.

comment 13y ago · link · parent

Strange that there seemed to be no mention of why the US government shut down in the first place: they failed to raise the debt ceiling on time, right? And who has primary interest in US debt? Other governments, like China for example.

So if Silicon Valley were to become the true seat of power in the US, how would they approach international relations? And how would they handle the military? And what would they do in the event of a war?

This does seem like an article written about an off-hand, not so serious comment. But it touches a nerve on something I hear echoing around my world (and I don't live in California) -- people believe Tech companies are the new driving direction of the economy and they think that makes them the new direction of power. I can't help but feel it's the wishful thinking of a new middle class.

1
1617181920