|William Pitcock 345a88d8bc add support for submitting to DroneBL and dnsbl.im DNSBLs||2 years ago|
|.gitignore||2 years ago|
|.gitmodules||2 years ago|
|LICENSE||2 years ago|
|README.md||2 years ago|
|antissh.conf.example||2 years ago|
|antissh.py||2 years ago|
|requirements.txt||2 years ago|
An IRC bot which monitors for compromised embedded devices being used as proxies.
In 2018, there was a resurgence of IRC spam attacks that were undetected by traditional
proxy scanning methods. This is because the attackers were using vulnerable SSH daemons
running on routers, IPMI devices and other embedded devices to proxy the connections, using
antissh is a bot which scans incoming IRC connections for this vulnerability, and bans
hosts which have it from your network, similar to how HOPM does this for normal
antissh is sufficiently capable of stopping the IRC spam bots that they IRC spam bots,
themselves, have been advertising it, in an attempt to prolong the life of their 'botnet.'
$ pip3 install -r requirements.txt $ cp antissh.conf.example antissh.conf $ vi antissh.conf $ python3.6 antissh.py antissh.conf
You should probably use this under a supervisor such as OpenRC's supervise-daemon(8), systemd, s6, runit, etc.
asyncssh is kind of slow, would be nice to write an implementation of this bot in C, Go,
Elixir or something faster. But, I will leave that to somebody else.