• Stars
    star
    127
  • Rank 281,063 (Top 6 %)
  • Language
    Python
  • License
    Other
  • Created about 6 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.

More Repositories

1

libucontext

ucontext implementation featuring glibc-compatible ABI
Assembly
77
star
2

win32-fork

working fork() on windows vista and newer
C
47
star
3

libguess

character set guessing library
C
28
star
4

jejune

no-nonsense activitypub implementation
Python
25
star
5

feather

facebook/diaspora-like frontend to the pleroma social streams server
JavaScript
18
star
6

ecdsatool

ECDSA-CHALLENGE keypair manipulation tools and library
C
13
star
7

envsubst

C
11
star
8

ignore-together

distributed ignore lists for IRC
Python
7
star
9

jejune-client

Vue
5
star
10

abuildd

parallel abuild job orchestrator
Python
4
star
11

apk-gtk

Gtk+ frontend for apk transactions
C
4
star
12

irker-cia-proxy

simple proxy server to translate CIA.vc commit notifications into irker notifications
Python
3
star
13

command-not-found

apk-based friendly command not found handler
Shell
3
star
14

eshu

work in progress activitypub server
Python
3
star
15

upse

the small playstation sound emulator
C
3
star
16

ircv3-harmony

ID draft for IRCv3 Core Protocol proposal (harmonization with IETF)
Makefile
3
star
17

CUITrace

trace CoreUI.framework draw requests (OS X)
C
3
star
18

mastodon-hardened

hardened fork of mastodon
Ruby
3
star
19

aerospike-py

Python-native Aerospike client
Python
2
star
20

cyclone

lightweight ircd for walled gardens (python)
Python
2
star
21

dwf-feed

Turn dwflist into something resembling an NVD feed
Python
2
star
22

distroless-mastodon

Distroless mastodon image
2
star
23

conspire

gtk+ irc client somewhat based on x-chat [presently unmaintained]
C
2
star
24

open-readline

ISC-licensed replacement for GNU readline
C
2
star
25

svc

svc service manager [work in progress]
C
2
star
26

weechat-scripts

scripts for weechat
Python
1
star
27

licenses

templates for license terms i use (seems to be commonly asked for these days)
1
star
28

apko-test

1
star
29

heka

alpine-specific configuration and orchestration system
Python
1
star
30

anope-sasl

SASL module for Anope 1.9.7 and later.
C++
1
star
31

satoshidice-betting-model

no comment...
Python
1
star
32

prefixdb

An IP prefix database server
Python
1
star
33

libmowgli-glib

GLib bridge for Mowgli-2 eventing
C
1
star
34

elasticsearch-eventlet

An eventlet-aware elasticsearch client.
Python
1
star
35

gtk-quartz-engine

gtk-quartz-engine
C
1
star
36

aiobgp

BGP client for Python and asyncio
Python
1
star