• No results found

Mitigating Security Risks with Citrix Server Hardening and Encryption Management

N/A
N/A
Protected

Academic year: 2020

Share "Mitigating Security Risks with Citrix Server Hardening and Encryption Management"

Copied!
67
0
0

Loading.... (view fulltext now)

Full text

(1)
(2)

Mitigating Security Risks with Citrix Server Hardening and Encryption

Management

Mitigating Security Risks with Citrix Server Hardening and Encryption

Management

N. Brian Stearman Systems Engineer

Citrix Systems Barry Flanagan

Senior Systems Engineer Citrix Systems

N. Brian Stearman Systems Engineer

Citrix Systems

Barry Flanagan

(3)

Non Disclosure Agreement

This presentation is

(4)

Citrix Confidential

Objectives…

Secure remote access

Citrix security architecture

Brief look at encryption/certificates

Security Basics

(5)

Why are we here?

“I need to mobilize my workforce,

making access to the information and tools needed for their jobs as easy as ordering a book from Amazon.com, with the security of a traditional VPN.”

Solution…

(6)

Citrix Security Architecture

(7)

Secure Gateway Architecture (External Users) DNS Server ICA Client Web Browser Secure Gateway Server 4 43 Web InterfaceServer 44 3 Web Site R S A A ce /A ge nt 5

.0 80 STA

(8)

Citrix Confidential

Secure Gateway Architecture (Internal Users) DNS Server ICA Client Web Browser Secure Gateway Server 4 43 Web Inerface Web Server 4

43 Web Site

R S A A ce /A ge n t 5. 0 STA 8 0 1 49 4 MetaFrame Server

80 XML Service

DNS Server

80

(9)

Technical Requirements

Secure Gateway

Windows 2000 or Solaris (SPARC) server –

SSL/TLS gateway between ICA clients and Metaframe farm.

Microsoft Windows 2000 Server with SP 2

or later.

Recommended minimum requirements for

(10)

Citrix Confidential

Technical Requirements

Web Server

Metaframe Web Interface 1.61 or later

IIS5, Apache or Tomcat

Secure Ticket Authority

Windows 2000 + IIS5, Recommended

minimum requirements for Windows 2000 Server

(11)

Technical Requirements

ICA client version 6.3 or later (to take advantage of TLS security)

(12)

Encryption

(13)

Encryption

Defined:

“…The transformation or scrambling of data into an unreadable format using a

mathematical algorithm.” Benefits:

Protects against eavesdropping or

password sniffing

(14)

Citrix Confidential

SSL vs. TLS

SSL v3 Key Material Generation

master_secret =

MD5(pre_master_secret + SHA('A' + pre_master_secret + ClientHello.random + ServerHello.random)) + MD5(pre_master_secret + SHA('BB' + pre_master_secret +

ClientHello.random + ServerHello.random)) +

MD5(pre_master_secret + SHA('CCC' + pre_master_secret + ClientHello.random + ServerHello.random));

key_block =

MD5(master_secret + SHA(`A' + master_secret + ServerHello.random +

ClientHello.random)) +

MD5(master_secret + SHA(`BB' + master_secret + ServerHello.random +

ClientHello.random)) +

MD5(master_secret + SHA(`CCC' + master_secret + ServerHello.random +

(15)

SSL vs. TLS

TLS v1 Key Material Generation

PRF(secret, label, seed) = P_MD5(S1, label + seed) XOR

P_SHA-1(S2, label + seed); master_secret = PRF(pre_master_secret, "master secret",

ClientHello.random + ServerHello.random)

key_block = PRF(SecurityParameters.master_secret, "key expansion", SecurityParameters.server_random +

(16)

Intro to SSL/Certificates

(17)

Why SSL

The threats:

Server masqueradingNetwork sniffers

Secure Sockets Layer (SSL) provides:

Authentication

Digital certificates prove identity on the Internet

This prevents “man-in-the-middle” or DNS attacks

Encryption

Using 128-bit key lengths

This prevents network sniffers from viewing your

(18)

Citrix Confidential

19

SSL Certificates

A certificate consists of

A public key

Information about the certificate

The subject name (as an X.500 distinguished name)

The issuer name (as an X.500 distinguished name)

Period of validity (not-before and not-after dates)

Serial number (assigned by the issuer)

Description of the public key and signature algorithms

used (public key is nearly always RSA)

(19)

SSL Certificates

A new concept for many of our customers

Need to be very careful – can be difficult

Obtain certificates from:

Private Certificate Authority (CA)

Public CA

Evaluation cert from Public CA (Baltimore,

Verisign)

Possible need to install root CA on Client. Windows 6.20 ICA client supports all

(20)

Citrix Confidential

Could I see some ID please?

SSL Certificates are like Driver’s Licenses

Driver’s License SSL Certificate

Issued to Individual citizens Individual users or servers

Issued by Department of Motor

Vehicles (DMV) Certifying Authority (CA)

Verification mechanism

DMV hologram,

well-known license format CA digital signature, public key, thumbprint

Application requirements

Birth certificate, Social

security number, etc. Business license, Dun & Bradstreet number, etc.

Public usage Prove identity; operate a

vehicle on public roads Prove identity; operate a secure web server on public networks

I trust it because

I trust the DMV to

(21)

Server Certificates

Server certificates are

unique to a particular server name

The “subject” of the

certificate is the FQDN of the server

Server certificates also

include fields dictating what the certificate can be used for

View the Certification

(22)

Citrix Confidential

Root Certificates

Root certificates (aka

CA certificates) are self-signed entities that are used to verify server certificates

If you trust a CA, install

their root certificate.

Windows ships with

(23)

Client needs the root, server needs a cert

(24)

Citrix Confidential

Default root certificates

Root certificates need to be installed into the Windows operating system

(25)
(26)

Citrix Confidential

Common Threats

What attacks are we securing

against?

Brute Force password crack IP spoofing

(27)

Security…in a nutshell

Security basics:

Design well – including physical security

Audit – Third-party, or self-assessment tools

Lockdown local file system – Windows or

Unix

Maintain required hot fixes and security

patches

(28)

File System

(29)

Securing Windows

Securing the Windows 2000 File system:

DumpSec

Hyena

Windows 2000 Resource kit tools

All means of checking or dumping file system, share, printer and other system resource

(30)

Citrix Confidential

Securing Windows

File

Permissions

(31)

Securing Windows

Share list

(32)

Citrix Confidential

Securing Windows

Keep up with manufacturer security patches and fixes

http://www.Microsoft.com/security/

Use some form of host –based security scanner to check vulnerabilities

Symantec Net Recon

ISS System Scanner

(33)
(34)

Citrix Confidential

Metaframe Policy – Create OU

Start, click Programs then Administrative Tools, then Active Directory Users and Computer, then Action and New

(35)

Metaframe Policy – Move servers

(36)

Citrix Confidential

Local Security Policy - Server

Open the Local Computer Policy and drill down to:

Computer Configuration, Administrative

Templates, System,

Group Policy folder and

doube-click to select User Group Policy loopback

(37)
(38)

Citrix Confidential

Assign GPO Permissions

(39)
(40)

Citrix Confidential

Design

Firewall

Traffic cop to control protocol access to protected networks

Demilitarized Zone – What is it?

A perimeter network – also known as a DMZ – is an additional network added between a

protected and external network to provide another layer of security.

Location of public resources like FTP, Telnet

and Web servers

(41)

Physical Security

Secure Ticket Authority:

Security server

Contains important connection information

Isapi.dll service CAN run on Citrix/file server

(42)

Citrix Confidential

Auditing

Auditing local events

MMC Security and Analysis Snap-in

Event log size increased to 500MB

Regular backups on event log

Audit specific objects:

• Account management • Logon events

(43)

Authentication

Secure Gateway is a remote access solution

Use some form of secure authentication as with VPN

Use industry standard, two-factor authentication

Certificates

Token-based such as RSA SecureID

Secure Computing

(44)

Citrix Confidential

Two-factor Authentication

(45)

Two-factor Authentication

(46)

Citrix Confidential

Alternate Authentication

Local User Authentication

Use Windows NT LAN Manager (NTLM)

for authentication only if local or GPO

specifies NTLMv2 authentication only.

MMC Security and Analysis + Security

Templates

Modify Securews template to specify

(47)

Authentication

New

(48)

Citrix Confidential

Locking down IIS

Microsoft IIS lockdown tool

Secure the server

Alternative to manual changes

(49)

Locking down IIS

To lock down Metaframe Web Interface on Microsoft IIS:

(50)

Citrix Confidential

Locking down IIS

Click next to leave

(51)

Locking down IIS

(52)

Citrix Confidential

Locking down IIS

Uncheck

(53)

Locking down IIS

(54)

Citrix Confidential

Locking down IIS

(55)

Locking down IIS

(56)

Citrix Confidential

Locking down IIS

(57)

Locking down IIS

(58)

Citrix Confidential

Locking down IIS

(59)

Local Policy

Password Policy

History requirement

Password age

Character length

Force requirements to be met

User Accounts

Disable unnecessary user accounts

(60)

Citrix Confidential

(61)

Unused Services

Default Windows 2000 servers have about 31 unneeded services

Computer Browser, DHCP, DFS, Fax Service, Internet Connection Sharing, Messenger…

Disable in the Services MMC Snap-in on Windows 2000

Applies equally to Solaris

Armoring Solaris II, July 2002, Lance Spitner

(62)

Citrix Confidential

Additional Resources…

“Applied Cryptography” by Bruce Schneier

“Hacking Exposed”, Second Edition

“Solaris Security”, Sun Microsystems

www.tweakcitrix.com

www.nsa.gov

www.itwhitepapers.com

www.citrix.com

www.securityfocus.com

(63)

Citrix Authorized Training

With Citrix training:

Learn tips and techniques for managing and administering Citrix software

Obtain valuable lab time for hands-on practice

Prepare for Citrix certification exams

Learn quickly and efficiently in the classroom

New courses and certification include:

CTX-720x Citrix Web Interface Elite Administration

CTX-6100 Citrix Core Technologies and Architecture

Citrix Certified Integration Architect (CCIA) program to be launched in Q4 2003

Available worldwide from 350 Citrix Authorized Learning Centers (CALCs)

To find a CALC near you, go to Training Locations from www.citrix.com/training

(64)

Access Central Citrix Technology Lab

Access Central Citrix Technology Lab

Sago Ballroom

(65)
(66)

Thank You!

References

Related documents

Security Considerations for SUSE Linux Enterprise Server

After the MetaFrame 1.8 server has been migrated to the MetaFrame XP farm without migrating the published applications, use the Citrix Management Console to add this server to the

Citrix MetaFrame XP Presentation Server, FR3; MetaFrame Secure Access Manager, MetaFrame Conferencing Manager, MetaFrame Password Manager.. Citrix Embraces and Extends Windows

CPSVC.EXE Citrix print manager service – Provides printer management for all ICA sessions including printer policy enforcement, driver installation, client printer port

It is assumed that Citrix Metaframe server(s) are already installed and that a SSL certificate is installed upon the Web server running the Citrix Web services, this guide is for

Citrix ADC 12.x Advanced Concepts – Security, Management and Optimization This course is designed for students with previous experience Citrix ADC experience, and best suited

Before your users can take advantage of client drive mapping, you must enable it on the server running Citrix Presentation Server using the ctxcfg command. See “Enabling

Integration with Citrix Presentation Server / Terminal Server: The solution has the ability to deliver virtual applications on a Citrix Presentation Server.. Microsoft App-V –