Jump to content
Nytro

PuttyRider

Recommended Posts

Posted

PuttyRider

Hijack Putty sessions in order to sniff conversation and inject Linux commands.

Download

PuttyRider-bin.zip

Documentation

Usage

Operation modes:

-l List the running Putty processes and their connections

-w Inject in all existing Putty sessions and wait for new sessions

to inject in those also

-p PID Inject only in existing Putty session identified by PID.

If PID==0, inject in the first Putty found

-x Cleanup. Remove the DLL from all running Putty instances

-d Debug mode. Only works with -p mode

-c CMD Automatically execute a Linux command after successful injection

PuttyRider will remove trailing spaces and '&' character from CMD

PuttyRider will add: " 1>/dev/null 2>/dev/null &" to CMD

-h Print this help

Output modes:

-f Write all Putty conversation to a file in the local directory.

The filename will have the PID of current putty.exe appended

-r IP: PORT Initiate a reverse connection to the specified machine and

start an interactive session.

Interactive commands (after you receive a reverse connection):

!status See if the Putty window is connected to user input

!discon Disconnect the main Putty window so it won't display anything

This is useful to send commands without the user to notice

!recon Reconnect the Putty window to its normal operation mode

CMD Linux shell commands

!exit Terminate this connection

!help Display help for client connection

Compiling

Use Visual Studio Command Prompt:

nmake main dll

Acknowledgements

Thanks to Brett Moore of Insomnia Security for his proof of concept PuttyHijack

Sursa: https://github.com/seastorm/PuttyRider

Posted

OK, chestia asta e super. VIP oricând î?i face user. :P

A fost muncitoresc, cred, s? îl faci s? mearg? pe mai multe versiuni de putty.

Felicit?ri.

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...