Live data from Hacker News

Ask HN: Could we use Shellshock to patch vulnerable systems?

news.ycombinator.com

1–10 of 11 posts

Ask HN: Could we use Shellshock to patch vulnerable systems?

#1
Since we know that it took weeks before most servers were fixed from the Heartbleed vulnerability, couldn't we use Shellshock to make a worm that would upgrade bash wherever it can? Are there legal issues about fixing a vulnerability in a system that doesn't belongs to you?

[edit] Ok, I guess the part about the legal issues was a bit candid. What I am really saying is wouldn't it be a good thing to have a worm closing vulnerabilities, compared to the thousands of hackers exploiting this vulnerability to steal or spy?

Re: Ask HN: Could we use Shellshock to patch vulnerable systems?

#6

It's a good idea, but I would expext most applications vulnerable to not run as root. You would need to be root to patch the bash executable.

Good point. So I guess one would have to combine that with another vulnerability to be able to get root privileges.

We could also imagine a worm contacting the owner of the server and asking her to fix it.

Re: Ask HN: Could we use Shellshock to patch vulnerable systems?

#7
It would be treated the same as exploiting a system for any other reason.

Friendly worms have been done before (welchia). The problems with friendly worms are numerous. It is more than just a legal issue. A malicious worm is looking to propagate quietly and perhaps leave some sort of backdoor control channel. A friendly worm has to propagate (faster than malicious worms), and patch (without DDoSing patching infrastructure), and self terminate (which harms it's ability to propagate). It's hard to imagine a real world scenario where a friendly worm would be effective. It would either take too long to develop, or it would do just as much damage as a regular worm.

Re: Ask HN: Could we use Shellshock to patch vulnerable systems?

#8
post #7

It would be treated the same as exploiting a system for any other reason. Friendly worms have been done before (welchia). The problems with friendly worms are numerous. It is more than just a legal issue. A malicious worm is looking to propagate quietly and perhaps leave some sort of backdoor control channel. A friendly worm has to propagate (faster than malicious worms), and patch (without DDoSing patching infrastru…

Thanks, I did not know about that kind of worms or about the Welchia worm.
Post reply on HN