0 vote
hi, just wondering if there is way to do a port knock from RDM?
Hi,
RDM doesn't support the port knocking features. That said, I moved this topic to the feature request.
Could you detail how you want to use port knocking? Is it only with an SSH Shell entry or in combination with other entries?
Regards,
David Grandolfo
Hi David
I've noticed macro / scripting but I am not sure how to use it.
is there way to do something like:
telnet OR port scan on HOST with PORT NUMBER timeout (ms or sec) then do do another telnet/port scan same host with different port number?
Generally speaking port knocking will be really help if its
HOST (Protocol: TCP / UDP) (useful but not essential - TCP Flag) PORT NUMBER - this is dynamic list so you can multiple entries
EXAMPLE:
port_scan HOST TCP PORT 563
port_scan HOST TCP PORT 34
port_scan HOST TCP PORT 7321
and then confirm connection (if SSH server - check SSH port on HOST)
I'd run a powershell script like https://gist.github.com/ppmathis/dbd420e6f18169b85918 as a before connection action. That will knock all the ports, then connect.
Hi,
Thanks for the clarification I opened a ticket with the engineering department to add a feature.
That said, as edwillson said (thanks) this github script can be adjusted and fit in the BeforeConnect PowerShell type and AfterDisconnect to close the port knocking.
If you need help, please let me know.
Regards,
David Grandolfo