Giter Site home page Giter Site logo

layer 2 and 3 tunnelling about reverse_ssh HOT 13 CLOSED

alsdk avatar alsdk commented on May 28, 2024
layer 2 and 3 tunnelling

from reverse_ssh.

Comments (13)

NHAS avatar NHAS commented on May 28, 2024 2

Sweet just found a mild bug on darwin that caused the RSSH client to die on startup. I'll check it tomorrow before I do a release.

from reverse_ssh.

NHAS avatar NHAS commented on May 28, 2024 1

Funny enough this use to be a feature in rssh until the underlying libraries I was using to do it changed and broke everything.

As I thought no one was using it I removed the feature.

It's worth noting that even if this was implemented only tcp, udp and icmp would be supported. Would this still suite your needs?

from reverse_ssh.

NHAS avatar NHAS commented on May 28, 2024 1

Sweet as, I'll add it back in, and try and make it not bloat the binary size like last time.

from reverse_ssh.

NHAS avatar NHAS commented on May 28, 2024 1

I've got the first version of this working on the vpn branch. It is a little unfortunate this adds 4 -> 6 mb of weight to the binary

from reverse_ssh.

alsdk avatar alsdk commented on May 28, 2024 1

That was fast, I will test the changes today.
Go binaries are either way big but can be striped and packed with upx, not a big issue.

Thanks!

from reverse_ssh.

NHAS avatar NHAS commented on May 28, 2024 1

Hm. You shouldn't need to configure the interface on the rssh client side, you just set the tun device on your own machine to accept traffic and go from there.

But confused about how you want to use this.

An added note that adding a root tun device handler that sets up a device on the rssh client side is outside what I'm willing to build

from reverse_ssh.

alsdk avatar alsdk commented on May 28, 2024

tcp, udp and icmp is more than enough for my needs, if you ask me.

Imagine to use nmap in order to scan a big network where rssh client is deployed. You could do it faster and in a better way than using the dynamic proxy (ssh -D), and you can access any host/port transparently (with apropiate routes and fw rules in place) pretty much like with openvpn.

Supporting this feature at least on linux should give a positive impact to this project IMHO.

Thanks for your time and again, very good job you are making on this project, I personally find it interesting for real engagements and definitelly I will use it in my red teams incursions.

Regards.

from reverse_ssh.

alsdk avatar alsdk commented on May 28, 2024

Im testing the vpn branch and I see the tun device is created and listed (with ip address show) only on local side:

$ ssh -J rssh-proxy -w5:5 root.kali

tun5 device is created in the machine where ssh -J commands runs, but it isn't created in the machine where RSSH client is deployed.
RSSH client is running as root as well as ssh command in local machine.

from reverse_ssh.

NHAS avatar NHAS commented on May 28, 2024

The rssh client does not create a tun device. It emulates a non root tun device so you can run it rootless.

from reverse_ssh.

alsdk avatar alsdk commented on May 28, 2024

and how do you configure such interface it if it does not appear in the system interfaces list?

from reverse_ssh.

alsdk avatar alsdk commented on May 28, 2024

I saw the note about setting up the vpn. It's not the usual way I do the setup for vpn tun devices but it's working as you intend!
Thanks for your support and also for your time.

Regards.

from reverse_ssh.

NHAS avatar NHAS commented on May 28, 2024

Excellent. Glad to hear it.

from reverse_ssh.

NHAS avatar NHAS commented on May 28, 2024

Yep all sorted and am doing the release now

from reverse_ssh.

Related Issues (20)

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.