jmitm2 is a SSH2 man-in-the-middle-attack program based on the SSH2 client/server implementation J2SSH

简介:  Features handles as many connections as you want simultaneously (configurable, default is 10...

 

Features

 

handles as many connections as you want simultaneously (configurable, default is 10)

 

 

uses log4j for flexible logging

 

 

speaks SSH2, which all ssh-mitm-attackers I have seen to date don't

 

 

is easy to extend, e.g. for taking over a session, injecting commands, statistical purposes, new ciphers,...

 

Much of this is owed to the great J2SSH API, which is available under the LGPL.

jmitm2 has already successfully used for training by ASAP-COM GmbH.

 

 

Architecture

Basically, it is constructed as follows:

 

it extends most server classes to contain a reference to a new object:

 

 

that object (called MitmGlue) keeps track of each session, looping it through to the remote target host

 

 

for authentication, a new MitmFakeAuthenticationProvider is created, that passes username and password to the MitmGlue object, which can log them and use them for authentication at the target host

 

 

Documentation

 

You can browse the javadoc online. All classes starting with "Mitm" are part of jmitm2.

 

 

You can download a copy of the presentation of jmitm2 held at Tübingen university. That presentation was held in german.

 

 

The Studienarbeit (in german) is also available.

 

 

There is a brief description of the usage of jmitm2 available.

 

You can download a binary package of jmitm2 that should contain everything neccessary to run the program, as well as a copy of the source of J2SSH 0.1.0, extended by the MitmFakeAuthenticationProvider.java (in the platforms/ directory) and the com.sshtools.jmitm2 Java package which contains all other jmitm2 classes as source. I developed and built this using eclipse, so as far as compiling is concerned, you'll certainly need log4j, maybe ant or eclipse, and a bit of twiddling. Contact me if you have problems.


The classes using code from J2SSH are of course LGPL'ed, and so is the jmitm2 code itself. If you have any questions, contact me.

 

jmitm2-0.1.0-source.tar.gz

source code

239 K

jmitm2-0.1.0-source.tar.gz.asc

signature

234

jmitm2-0.1.0.tar.gz

binary package

1.5 M

jmitm2-0.1.0.tar.gz.asc

signature

234

目录
相关文章
|
分布式计算 安全 网络协议
Linux【问题记录 04】SSH突然无法连接排查2个小时最终解决Failed to start OpenSSH server daemon及阿里云服务器的 kdevtmpfsi 挖矿病毒处理
Linux【问题记录 04】SSH突然无法连接排查2个小时最终解决Failed to start OpenSSH server daemon及阿里云服务器的 kdevtmpfsi 挖矿病毒处理
1153 0
|
Ubuntu 网络安全 数据安全/隐私保护
XShell 通过 ssh 连接(vm 中的)Ubuntu Server
XShell 通过 ssh 连接(vm 中的)Ubuntu Server
752 1
XShell 通过 ssh 连接(vm 中的)Ubuntu Server
|
Linux 网络安全 数据安全/隐私保护
[✔️]vscode通过ssh连接远程server
[✔️]vscode通过ssh连接远程server
474 0
|
固态存储 网络协议 Linux
The remote SSH server rejected X11 forwarding request
The remote SSH server rejected X11 forwarding request
698 0
The remote SSH server rejected X11 forwarding request
|
Linux 网络安全
WARNING:The remote SSH server rejected X11 forwarding request.
WARNING:The remote SSH server rejected X11 forwarding request.
492 0
WARNING:The remote SSH server rejected X11 forwarding request.
|
Ubuntu Linux 网络安全
linux 创建ssh server
虚拟机安装 ubuntu 后,总是不喜欢进入虚拟机去做操作,我的习惯是通过 putty 来连接 ,然后进行操作。
linux 创建ssh server
|
网络安全 Perl 运维
[Server] 服务器配置SSH登录邮件通知
背景: 自动化运维中,登录保护是一个很重要的环节这篇文章主要介绍如何给自己的服务器添加ssh登录邮件告警。 http://blog.daobidao.com/server-ssh-mail.html 操作方法: 1、使用命令: vim /etc/profile 编辑配置文件,在最后添加以下内容:...
1760 0
|
安全 网络安全 虚拟化
|
Ubuntu 网络安全 数据安全/隐私保护