Microsoft Terminal Services Reference Design
Roddy Rodstein, CISSP, MCSE, LPI, CEH, CCA


|
Protocol
|
Service
|
Port
|
Description
|
|
TCP
|
RPC
|
135
|
Microsoft's RPC implementation runs over TCP port 135. RPC is used by a number of higher level protocols for their transport layer, such as by DCOM.
|
|
UDP
|
Domain
|
53
|
Domain Name Server (DNS). DNS servers offer different services on TCP and UDP. TCP is used for "zone transfers" of full name record databases, while UDP is used for individual lookups. Zone Transfers will provide an entire network map.
|
|
TCP
|
Domain
|
53
|
|
|
UDP
|
Kerberos
|
88
|
Kerberos traffic uses UDP/TCP protocol source and destination port 88. It’s a default authentication protocol.
|
|
TCP
|
Kerberos
|
88
|
|
|
UDP
|
netbios-ns
|
137
|
NetBIOS Name Service (NBNS) is also known as Windows Internet Name Service (WINS).
|
|
TCP
|
netbios-ssn
|
139
|
NetBIOS Session Service. The Session Service is used to handle NBT sessions.
|
|
TCP
|
microsoft-ds
|
445
|
SMB Direct. Since Windows 2000 Microsoft added the ability to run SMB directly over TCP/IP, without the extra layer of NBT.
|
|
TCP
|
LDAP
|
389
|
Lightweight Directory Access Protocol (LDAP), used by Active Directory, Active Directory Connector, and the Microsoft Exchange Server directory.
|
|
UDP
|
LDAP
|
389
|
|
|
TCP
|
LDAP to Global Catalog
|
3268
|
LDAP to Global Catalog search communication.
|
|
TCP
|
POP3
|
110
|
POP (Post Office Protocol) is used by mail clients to retrieve email.
|
|
TCP
|
HTTP
|
80
|
World Wide Web HTTP. Port 80 is the primary port used by the world wide web (www) system.
|
|
TCP
|
HTTPS
|
443
|
HTTP protocol over TLS/SSL. This port is used for secure web browser communication.
|
|
TCP
|
RDP
|
3389
|
Microsoft Remote Display Protocol. This port is used by Microsoft Terminal Services.
|

From a security perspective, Windows Terminal Server Standards provide uniformity and predictability, which improves the security posture of an environment. The example Terminal Server Standards policy will reference other linked policies.
The following example is a Windows Terminal Services Standards policy.
- A centralized server farm will be established and collocated with application and user data.
- If the data or application cannot be hosted in the centralized data center, a separate Terminal Server or Terminal Server farm will be established within close physical proximity to the data or application.
- When more than two Terminal Servers are deployed, a server farm will be established with a Session Directory and the Microsoft load-balancing service.
Session Directory
- A Session Directory will be installed on a dedicated and highly available server.
Load-Balancing
- The Microsoft load-balancing service will be used.
- All load-balanced farm servers will be on the same subnet.
Terminal Server Licensing Server
- Terminal Server licensing shall be installed on two domain controllers in Enterprise license server mode.
Licensing
- One “server license” for each Terminal Server is required.
- One Terminal Server Client Access License (TSCAL) is required for each user or device that connects to the Terminal Server farm.
- Terminal Server will be configured in per user licensing mode.
Hardware
- x86-64 bit virtualization platform will be used.
CPU
- 1 virtual processor.
Memory
- 2 GB memory.
Virtual Hard Disk
- The operating system files and paging files will be placed on the same partition.
Operating System
- Windows Server 2008 Standard x86 Edition shall be used for single server environment.
- Windows Server 2008 Enterprise x86 Edition shall be used for each member server in a server farm.
Installation
- An automated server build process will be established to maintain consistency and stability and to enable rapid deployment and recovery.
Anti-virus Prevention
- All Terminal Servers will have <Product Name> anti-virus software installed and automated to run at regular intervals.
- Anti-virus software and virus pattern files must be kept up to date.
- Guidelines from the Desktop Application Security Technical Implementation Guide v 3, release 0, Appendix B. Anti-virus Product Specific Guidance will be used to configure and support <Product Name> anti-virus software.
Patch management
- Patch management will be automated using Windows Server Update Services.
Server Security
- All Terminal Servers will comply with <Company Name> Windows Server Security Policy and Terminal Server Security Baseline.
Terminal Server Installation
- All Terminal Servers will comply with <Company Name> Terminal Server Installation Baseline.
Terminal Server Management
- Terminal Servers will be managed in a separate Organizational Unit (OU) by Group Policy.
Securing Terminal Server Sessions
- All Terminal Servers will comply with <Company Name>'s Terminal Server Security Baseline.
Applications
- All applications on Terminal Servers will comply with <Company Name>’s Terminal Server Application Software Policy.
Application Access Rights
- All applications that access classified, financial or human resources data will require access restrictions.
Client Devices
- Client devices that connect to Terminal Servers shall comply with <Company Name>'s Platform Architecture Policy.
RDC Clients
- The Remote Desktop Connection (RDC) client and Remote Desktop Web Connection clients will be supported.
Printing
- Server printers and client printers will be supported.
User Profiles
- Terminal Server roaming user profiles will be implemented.
- User profiles will be managed via Group Policy.
- User profiles will be kept as small as possible.
- Profile size will be limited per Group Policy.
- Creation of new profiles will be fully automated.
- User profiles will be backed up as part of the daily data backup process.
Monitoring and Reporting
- System Center Operations Manager (SCOM) is the standard monitoring and reporting solution.
Security Policy Auditing
- Security auditing will comply with <Company Name>’s Audit Vulnerability Scan Policy.
Incident Response
Change Management
- All modifications made to a production Terminal Server shall comply with <Company Name>'s Change Management Policy.
Backups
- <Company Name> employs automated server builds, application packaging, and deployment for Terminal Servers with remote storage of all Terminal Server user and application data.
- Terminal Servers will not be backed up.
- Terminal Server roaming profiles will be backed up as part of the daily data backup process.
- Client Features
- Administration and Other Options
- Additional Services
- Handling Unspecified Services
- Open Ports and Approved Applications
- Require SMB Security Signatures
- Outbound Authentication Methods
- Inbound Authentication Methods
- Do Not Audit
- Audit Successful Activities
- Audit Successful and Unsuccessful Activities
- Web Service Extensions for Dynamic Content
- Virtual Directories to Retain
- Prevent Anonymous Users from Accessing Content Files
- B.1 Terminal Services
- B.2 Windows Installer
- B.3 Windows Messenger
- B.4 LogonB.5 Group Policy
- B.6 Windows Time Service
- B.7 Network Connections
- B.8 Installation of Printers Using Kernel-mode Drivers
- B.9 Media Player – Automatic Downloads
In addition to the STIG, an extensive list of recommended restrictive settings can be found in a Microsoft white paper named “Locking Down Windows Server 2003 Terminal Server Sessions.” Not all of the setting from the STIG and Microsoft’s white paper are necessary; therefore organizations should evaluate and test all of the settings to determine if they are too restrictive for their environment. Enabling all of the settings will create a restrictive environment that may make the environment challenging to manage and hinder user productivity.
|
Client/Server data redirection Setting
|
Explanation
|
|
Do not allow clipboard redirection
|
Determines if sharing of clipboard (cut and paste) contents between Terminal Server applications and local applications during a Terminal Server session should be disabled.
|
|
Allow audio redirection
|
By default Terminal Server on Windows Server 2003 disables audio redirection.
|
|
Do not allow COM port redirection
|
Determines if the mapping of client COM ports during a Terminal Server session should be disabled.
|
|
Do not allow client printer redirection
|
Determines if mapping of client printers during a Terminal Server session should be disabled.
|
|
Do not allow LPT port redirection
|
Determines if the redirection of data to client LPT ports during a Terminal Server session should be disabled.
|
|
Do not allow driver redirection
|
Determines if the mapping of client hard drives during a Terminal Server session should be disabled.
|
|
Setting
|
Explanation
|
|
FIPS
|
All data sent from client to server and the data sent from server to client is encrypted using the Federal Information Processing Standard (FIPS) encryption algorithms with Microsoft cryptographic modules.
Note: FIPS encryption must be configured locally on each Terminal Server using the Terminal Services Configuration utility (tscc.msc).
|
|
Client compatible
|
All data that traverses between the client and the server is encrypted based on the maximum key strength supported by the client.
|
|
High
|
All data that traverses between the client and the server is encrypted based on the server’s maximum key strength. Clients who do not support this level of encryption cannot connect.
|
|
Low
|
All data that traverses between the client and the server is protected by encryption based on the maximum key strength supported by the client.
|
|
Disabled or Not Configured
|
If the setting is Disabled or Not Configured, the encryption level is not enforced via Group Policy. Note: Administrators can configure the encryption level on the server with the Terminal Services Configuration tool.
|
- Automatic update client
- DNS client
- DNS registration client
- Domain member
- Microsoft networking client
- WINS client
- Application Experience Lookup Service
- Application installation from Group Policy
- Terminal Server Printer Redirection