GithubHelp home page GithubHelp logo

webvictim / antissh Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kaniini/antissh

0.0 2.0 2.0 55 KB

An IRC bot which monitors for compromised embedded devices being used as proxies.

License: Other

Python 100.00%

antissh's Introduction

antissh

An IRC bot which monitors for compromised embedded devices being used as proxies.

background

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 the direct-tcpip subsystem.

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 proxies.

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.'

usage

$ 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.

known issues

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.

antissh's People

Contributors

bogu5 avatar cronus89 avatar jlu5 avatar kaniini avatar kellerfuchs avatar mweinelt avatar pastly avatar throwawayyeet avatar tundra60 avatar webvictim avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.