News for hackers. Stuff that matters.

Ask HN: Is it illegal to combat DDOS with a virus?

We have the source for the botnet that seems to have caused yesterday's internet outage: https://news.ycombinator.com/item?id=12766950

Is it illegal to use this same code to go clean up infected devices, and also change their passwords to something more secure? I imagine the changing of the password would be illegal. Is there some action such a virus could take that would fix the problem legally?

( 6 comments | 5 points | on HN )
Re:Ask HN: Is it illegal to combat DDOS with a virus? by dragonbonheur on Saturday October 22, 2016 @11:55AM (#12769165)
You're essentially appropriating other people's computing resources for your own agenda, even if it's a good one, without the owner's permission. That's a crime.

I'd just suggest using the scanning portion to identify unsecured connections that should be added to a firewall's blacklist.

Maybe that could be a good SAAS service that would provide a blacklist of all unsecured IOT devices and printers to everyone interested for blacklisting purposes.

Re:Ask HN: Is it illegal to combat DDOS with a virus? by AznHisoka on Saturday October 22, 2016 @02:28PM (#12769896)
Don't most of these devices send an unique user agent indicating what type of device it's from?

If so why not block based on that?

Re:Ask HN: Is it illegal to combat DDOS with a virus? by RandomlyGen on Sunday October 23, 2016 @01:21AM (#12772094)
You'd still need to parse the UA, which takes resources. Plus the attackers have root. What's preventing them from spoofing the UA?
Re:Ask HN: Is it illegal to combat DDOS with a virus? by dozzie on Saturday October 22, 2016 @11:20AM (#12769012)
Illegal in which country? Botnet's span is unlikely to be limited to USA only.
Re:Ask HN: Is it illegal to combat DDOS with a virus? by christophilus on Saturday October 22, 2016 @11:23AM (#12769032)
Good point. USA, specifically, as that's where I live. I wonder if I'd be prosecuted if I tried to help combat this by creating a white-hat version of the software.
Re:Ask HN: Is it illegal to combat DDOS with a virus? by wayn3 on Saturday October 22, 2016 @02:57PM (#12770046)
Uusually, crime is prosecuted based on where it happened, not where the perceived victim is located.

If you alter other peoples devices FROM the US, US law applies.