Source i (link to git-repo or to original if based on someone elses unmodified work):

https://github.com/ssh-mitm/ssh-mitm/

Original
1
Become a Fan
5.0

Available as/for:appimagedesktopphonerelease-stabletabletx86-64
Description:
ssh man-in-the-middle (ssh-mitm) server for security audits supporting publickey authentication, session hijacking and file manipulation

Features
  • Hijacking and logging of terminal sessions
  • publickey authentication
  • SCP and SFTP (store, replace, inject files)
  • Agent Forwarding
  • Port Forwarding
  • Check and test clients against known vulnerabilities
  • Plugin support


Connect to the network

To start an intercepting mitm-ssh server on Port 10022, all you have to do is run a single command.
$ ./ssh-mitm-x86_64.AppImage server --remote-host 192.168.0.x

Now let's try to connect to the ssh-mitm server.
$ ssh -p 10022 user@proxyserver

You will see the credentials in the log output.
2021-01-01 11:38:26,098 [INFO]  Client connection established with parameters:
        Remote Address: 192.168.0.x
        Port: 22
        Username: user
        Password: supersecret
        Key: None
        Agent: None


Hijack SSH sessions

When a client connects, ssh-mitm starts a new server, which is used for session hijacking.
[INFO] created injector shell on port 34463

To hijack this session, you can use your favorite ssh client. All you have to do is to connect to the hijacked session.
$ ssh -p 34463 127.0.0.1


Full Documentation: https://docs.ssh-mitm.at
Last changelog:

5.0.1

Added

* AppImage - added option to use extracted squashfs-root

Fixed

* Rename logging.py to logger.py to avoid naming conflict in jsonlogger when in debug mode - fiexed by francisfueconcillo
* fix connection call for IPv6 SSH servers - fixed by lmm-git
* fixed typos by Weltolk


Ratings & Comments

0 Comments

Be the first to comment
Pling
0 Affiliates
Details
license GPLv3
version 5.0.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 3

Other Security:

KPSAD
joeinnes
last update date: 18 years ago

Score 5.0

userdatadefence
ch-40
last update date: 13 years ago

Score 5.0

kpwg
wusel1007
last update date: 12 years ago

Score 5.0

MyPasswordSafe
sneakin
last update date: 20 years ago

Score 5.0

NewPKI
newpki
last update date: 21 years ago

Score 5.0

knetfilter
genoni
last update date: 20 years ago

Score 5.0