spellshift / realm

Realm is a cross platform Red Team engagement platform with a focus on automation and reliability.
https://docs.realm.pub/
GNU General Public License v3.0
363 stars 28 forks source link

[feature] Upgrade from beacon session #743

Open chutuananh2k opened 2 months ago

chutuananh2k commented 2 months ago

A session is a real-time communication from an operator to an agent. These connections can be handled by an intermediate server. Some module/tome will require a session to work. For ex: reverse socks5.

Sliver C2 supported session, we can learn from it. I will submit a PR but put an issue here for further discussion.

chutuananh2k commented 2 months ago

Some authentication and multiplexing need to be implemented. Can use rust-yamux and yamux-go for multiplexing the reverse tunnel.

chutuananh2k commented 2 months ago

Or use libp2p which support multiple transport and easy to build pivots module which allow no-internet agent to connect to c2 over internet-available agent.

hulto commented 2 months ago

Thanks for opening an issue! What workflow or capability you trying to achieve with sessions that beacons are not fulfilling?