Endlessh: An SSH Tarpit
github.com
Endlessh: An SSH Tarpit
1–10 of 107 posts
Re: Endlessh: An SSH Tarpit
#2I'm not sure we should be writing new network connected daemons in C though.
Re: Endlessh: An SSH Tarpit
#3Re: Endlessh: An SSH Tarpit
#4Re: Endlessh: An SSH Tarpit
#5This is like a self-administered "slow lori attack" then - making it easier for an attacker to keep connections up until things start getting tight on port 443.
Re: Endlessh: An SSH Tarpit
#6This is like a self-administered "slow lori attack" then - making it easier for an attacker to keep connections up until things start getting tight on port 443.
I can imagine this is so easily overcome by the attacker. Why would they even need machines that take 10 seconds to return a single line over SSH?
Re: Endlessh: An SSH Tarpit
#7Great idea! I'm not sure we should be writing new network connected daemons in C though.
In general, yes. However, in this case--no, that's not helpful advice--because this program doesn't actually receive input from clients! Kind of hard to trigger exploitable behavior on a program that only sends output.
Re: Endlessh: An SSH Tarpit
#8For individuals and smaller orgs I've sort of felt like keeping your head down, running a wg/ssh bastion with a non-standard port maybe along with single packet auth or even plain old port knocking to reduce log spam from random drive-by is more effective and attainable for places without any sort of dedicated security or even constant in-house IT staff. Running a tarpit on a VPS seems like it'd fail to bother most these days, and running it on an actual IP seems like at best it'd have no effect and at worst if it ever actually held up a scanner and the operator noticed they might decide to direct some actual attention to that IP, or at least throw a mild ddos at it for a bit. Am I wrong or out of date on that? I'm all for sticking it to bad actors and efforts to reduce the economic incentives, but in 2020 tarpits strike me as kind of obsolete with some risk to boot.
Re: Endlessh: An SSH Tarpit
#9Re: Endlessh: An SSH Tarpit
#10Reminds me of the dungeon I built for web crawlers to have fun collecting email addresses at https://darkwiiplayer.com/bot-dungeon xD