GoSecure / pyrdp

RDP monster-in-the-middle (mitm) and library for Python with the ability to watch connections live or after the fact
https://www.gosecure.net/blog/2020/10/20/announcing-pyrdp-1/
GNU General Public License v3.0
1.55k stars 248 forks source link

Session Hijacking - Keep session alive on client disconnect #242

Open alxbl opened 4 years ago

alxbl commented 4 years ago

Currently, if an intercepted client disconnects while their session is hijacked, PyRDP will ignore the request for disconnect until the RDP client times out, after which point both connections (client - pyrdp and pyrdp - server) are disconnected. Dropping the hijacked session in the process.

It would be nice and not too complicated to disconnect the client smoothly while keeping the hijacked session active.


This would also require minor UI improvements to mark the state of the client (something simple like: idle, active, disconnected) In fact, this might be a whole other feature that ties in with #148 and gives a smoother experience to session hijacking.

alxbl commented 4 years ago

To add to my initial description, here is what this would involve at the minimum: