Skip to main content
joh2k
Explorer
February 21, 2023
Solved

RDP - block traffic depending on protocol conditions (local resource redirection)

  • February 21, 2023
  • 1 reply
  • 2953 views

Hello everyone,

 

Outgoing Remote Desktop Protocol (RDP) are risky since it is possible for the client to share her local drives with the server (as well as network drives, usb drives, printers, ports, clipboard, etc.)

 

Is it possible for FortiGate to inspect outgoing RDP traffic in order to block connections sharing such resources?

 

Thank you,

Best answer by Anonymous_User

The FortiGate can do data leak prevention and prevent certain file types from being transferred but the services that can be currently scanned are HTTP-POST, SMTP, POP3, IMAP, MAPI, and NNTP which unfortunately does not include the RDP.

Also, RDP works on 3389 we can either block/allow the same via blocking/allowing the 3389 port through the firewall. Unfortunately, we would not able to stop the copy/paste data or copy a file from the server and paste it on the machine since this is also considered RDP protocol.

Restriction of copying of files via RDP cannot be achieved via gateway firewall as the copying of files does not work on any specific ports or IP address.

You can go through the below-mentioned link for the windows RDP setting, which can be done at the system level.
https://automationadmin.com/2016/05/gpo-disable-clipboard-in-rdp/

1 reply

Esteemed Contributor III
February 21, 2023

The FortiGate can do data leak prevention and prevent certain file types from being transferred but the services that can be currently scanned are HTTP-POST, SMTP, POP3, IMAP, MAPI, and NNTP which unfortunately does not include the RDP.

Also, RDP works on 3389 we can either block/allow the same via blocking/allowing the 3389 port through the firewall. Unfortunately, we would not able to stop the copy/paste data or copy a file from the server and paste it on the machine since this is also considered RDP protocol.

Restriction of copying of files via RDP cannot be achieved via gateway firewall as the copying of files does not work on any specific ports or IP address.

You can go through the below-mentioned link for the windows RDP setting, which can be done at the system level.
https://automationadmin.com/2016/05/gpo-disable-clipboard-in-rdp/

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT