Giter Club home page Giter Club logo

SSH-MITM is a man in the middle (mitm) server for security audits supporting public key authentication, session hijacking and file manipulation.

Installation SSH-MITM

The first step to using any software package is getting it properly installed.

To install SSH-MITM, simply run this simple command in your terminal of choice:

$ pip install ssh-mitm

Connect to the network

To start an intercepting mitm-ssh server on Port 10022, all you have to do is run a single command.

# start the mitm server
$ ssh-mitm server --remote-host 192.168.0.x

# connect to the mitm server
$ ssh -p 10022 user@proxyserver

Spoofing FIDO Tokens

SSH-MITM is able to spoof FIDO Tokens which can be used for 2 factor authentication.

The attack is called trivial authentication (CVE-2021-36367, CVE-2021-36368) and can be enabled with the command line argument --enable-trivial-auth.

ssh-mitm server --enable-trivial-auth

Using the trivial authentication attack does not break password authentication, because the attack is only performed when a publickey login is possible.

Video explaining the spoofing attack:
Click to view video on vimeo.com
Click to view video on vimeo.com

Downlaod presentation slides

Manfred Kaiser's Projects

appimage.github.io icon appimage.github.io

Given an URL to an AppImage, AppImageHub inspects the AppImage and puts it into a community-maintained catalog

cachecat icon cachecat

Proof of concept demonstrating Web Cache Tunneling.

openssh-enhanced icon openssh-enhanced

Security improvments and fixes for OpenSSH, which are not merged in the official openssh-portable version

paramiko icon paramiko

The leading native Python SSHv2 protocol library.

pypipboy3000 icon pypipboy3000

Python/Pygame interface, emulating that of the Pipboy-3000

shiv-userdirs icon shiv-userdirs

shiv is a command line utility for building fully self contained Python zipapps as outlined in PEP 441, but with all their dependencies included.

ssh-audit icon ssh-audit

SSH server & client auditing (banner, key exchange, encryption, mac, compression, compatibility, security, etc)

ssh-mitm icon ssh-mitm

ssh mitm server for security audits supporting public key authentication, session hijacking and file manipulation

sshpry2.0 icon sshpry2.0

SSHPry v2 - Spy & Control os SSH Connected client's TTY

typeshed icon typeshed

Collection of library stubs for Python, with static types

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.