News for hackers. Stuff that matters.
Re:Spoilerwall: Respond to port scanning requests with movie... by dsl on Monday June 26, 2017 @11:42PM (#14642408)
You have to be very careful when running this on the telnet port.

I had a server set to spew a full color ANSI Nyancat at you when you telneted in. When the Mirai botnet was in full swing, I was pushing 5+ Mbps of Nyancat down to peoples infected webcams and killing my servers CPU.

Re:Spoilerwall: Respond to port scanning requests with movie... by adrianN on Tuesday June 27, 2017 @03:21AM (#14643146)
Surely some enterprising hacker can optimize Nyancat so that a normal server can saturate a gigabit connection without killing the CPU.
Re:Spoilerwall: Respond to port scanning requests with movie... by dsl on Tuesday June 27, 2017 @01:40PM (#14647487)
I can't seem to edit my post anymore, but the machine in question was a tiny little VM used as an SSH jump host. The specs were minimal. It was the only machine that wasn't firewalled to hell and back, which is why I did the Nyancat there.

I'm working on deploying an enterprise grade NaaS solution across a large cluster of servers, stay tuned!

Re:Spoilerwall: Respond to port scanning requests with movie... by swiley on Tuesday June 27, 2017 @09:38AM (#14645240)
"Line Rate Nyan via Direct Networking"
Re:Spoilerwall: Respond to port scanning requests with movie... by jwilk on Tuesday June 27, 2017 @12:44PM (#14646954)

  ncfd = open("/dev/nyancat", O_RDONLY);
  while (...) {
    sendfile(sockfd, ncfd, ...);
  }
Re:Spoilerwall: Respond to port scanning requests with movie... by nobodyorother on Tuesday June 27, 2017 @05:25PM (#14649601)
No way you can open the nyancat device as read-only. Clearly, it only opens as O_ORLY.
Re:Spoilerwall: Respond to port scanning requests with movie... by Overtonwindow on Monday June 26, 2017 @11:55PM (#14642464)
I'm sorry, that's terrible, but this sounds hilarious
Re:Spoilerwall: Respond to port scanning requests with movie... by ChuckMcM on Tuesday June 27, 2017 @01:19AM (#14642755)
ok, I've stopped laughing now and and cleaned up the spilled drink. This is brilliant. You need to team up with a CDN and get them supply cats from the nearest available node.

"Unleash the Nyancat!" as they say...

Re:Spoilerwall: Respond to port scanning requests with movie... by mattstreet on Tuesday June 27, 2017 @11:54AM (#14646544)
Basically don't offer hackers any data amplification attacks, never respond with more data than it took for the attack to make the request.
Re:Spoilerwall: Respond to port scanning requests with movie... by Franciscouzo on Tuesday June 27, 2017 @01:00PM (#14647090)
What? For data amplification attacks to work you need to spoof IP addresses, which is almost impossible with TCP (telnet uses it), GP was a victim of a plain old DDoS.
Re:Spoilerwall: Respond to port scanning requests with movie... by dcousens on Tuesday June 27, 2017 @03:39AM (#14643228)
Maybe the data usage would have alerted the infected.
Re:Spoilerwall: Respond to port scanning requests with movie... by IshKebab on Tuesday June 27, 2017 @07:53AM (#14644484)
Someone with a cheap infected webcam is not going to notice 1 kB of extra data. Nobody would.
Re:Spoilerwall: Respond to port scanning requests with movie... by batrat on Tuesday June 27, 2017 @12:25AM (#14642573)
I laughed so hard. Sorry...