Architecting and Building a Secure
and Compliant Virtual Infrastructure
and Private Cloud
Rob Randell, CISSP
Agenda
•
What is the Cloud?•
Virtualization Basics•
How Virtualization and Cloud Affect Datacenter Security•
How to Secure our Cloud and Make it CompliantThe lower down the stack the Cloud
provider stops, the more security you are
tactically responsible for implementing &
managing yourself.
What is the Cloud and What Does it Means To Security
IaaS
Terremark, Rackspace, Savvis, etc#
SaaS
Salesforce.com, Google Apps, etc#
PaaS
Vmforce, Google AppEngine, etc#
Savvis, etc#
Security Considerations of Each Type of Cloud
•
Software (SaaS)Least extensibility and greatest amount of security responsibility taken on by the cloud provider
•
Infrastructure (IaaS)Greatest extensibility and least amount of security responsibility taken on by the cloud provider
•
Platform (PaaS)Infrastructure as a Service
Hardware Virtualization is the basis of the IaaS Model
Examples include:
•
VMware vSphere•
MS HyperV•
Citrix XenServerTraditional View
Next Step is to Leverage Virtualization to Provide
Pools of Shared Resources
Virtual Datacenter
Exchange Operating System PCI Operating System VMware vSphereVMware Infrastructure VMware Infrastructure
DNS Operating System CRM Operating System Interconnect Pool CPU Pool Memory
Pool
Storage Pool
Secure the Underlying Platform 1st
Use the Principles of Information
Security
•
Hardening and Lockdown•
Defense in Depth•
Authorization, Authentication, andAccounting to enforce Separation of Duties and Least Privileges
•
Administrative Controls•
Administrative ControlsFor virtualization this means:
•
Harden the Virtualization layer•
Setup Access Controls•
Secure the Guests•
Leverage Virtualization Specific Administrative ControlsWhat Auditors Want to See:
•
Network Controls•
Change Control and Configuration Management•
Access Controls & ManagementProtection of Management Interfaces is Key
Segment out all non-production
networks
•
Use VLAN tagging, or•
Use separate vSwitch (see diagram)Strictly control access to
management network, e.g.
•
RDP to jump box, or•
VPN through firewall vSwitch1 vmnic1 2 3 4 Production vSwitch2 VMkernel Mgmt Storage v n ic v n ic v n ic•
VPN through firewall 10 vmnic1 2 3 4vCenter
IP-based StorageOther ESX/ESXi hosts
Mgmt Network Prod
Network
VMware vSphere 4 Hardening Guidelines
More Power Super Cloud Admin Cloud Networking Admin Cloud Server Admin Cloud Storage Admin
Separation of Duties Must Be Enforced
Security Perspective On Customer Deployment Architectures
AIR GAPPED PODS MIXED TRUST CLUSTERS ON-PREMISE PRIVATE CLOUD DEDICATED PRIVATE “CLOUD” (eBay, CSC) PUBLIC MULTI-TENANT CLOUD (Terremark, EC2) 1 2 3 4 5 0 PHYSICALPhysical deployments are still considered to be most secure and remain in all enterprises
Air gapped pods are preferred by security teams for virtualized high risk assets (SOX, PCI, DMZ)
Mixed trust clusters typically have the M&M security model, blocking important asset migration to them
Private cloud is an extension of the mixed trust deployment, with more automation and self service
Dedicated Private Cloud SLAs make it virtually the same risk level as the on-premise deployments
Multi-tenant Public Cloud is just emerging, with concerns around visibility, audit, control and compliance
Segmentation
• VLAN or subnet based policies VLAN 1
The Datacenter needs to be secured at different levels
Cost & Complexity
At the vDC Edge • Sprawl: hardware, FW rules, VLANs
• Rigid FW rules
• Performance bottlenecks
Keep the bad guys out
• Perimeter security device (s) at the edge• Firewall, VPN, Intrusion Prevention • Load balancers Perimeter Security Internal Security 13
Segmentation
of applications, servers
• VLAN or subnet based policies • Interior or Web application Firewalls • DLP, application identity aware policies VLAN 1
VLANs
End Point Protection
• Desktop AV agents, • Host based intrusion • DLP agents for privacy
Simple Definition of a Virtual Datacenter
Tenant 1 Tenant 2 Tenant #
•
The isolated and secured share of a virtualized multitenant environment.
•
Like a physical datacenter shares the Internet for interconnectivity, the tenants of
a cloud (public or private) share the local network within the private datacenter or
in the service providers network, and also like a physical datacenter, each tenant
also has their own private, isolated, and secured virtual networking infrastructure.
Securing virtual Data Centers (vDC) with legacy security solutions
APPLICATION ZONE DATABASE ZONE WEB ZONE ENDPOINT SECURITY INTERNAL SECURITY PERIMETER SECURITY Internet vSphere vSphere vSphere
•
Air Gapped Pods with
dedicated physical
hardware
•
Mixed trust clusters without
internal security
segmentation
•
Configuration Complexity
o
VLAN sprawl
15
Legacy security solutions do not allow the realization of
true virtualization and cloud benefits
VIRTUALIZED DMZ WITH FIREWALLS
vSphere
vSphere vSphere
o
VLAN sprawl
o
Firewall rules sprawl
o
Rigid network IP rules
without resource context
Air Gapped Design – Costly and Inefficient
Firewall Load Balancer Aggregation Internet L2-L3 Switch Firewall Load Balancer L2-L3 Switch Firewall Load Balancer L2-L3 Switch VPN Gateway VPN Gateway VPN GatewayRemote Access 16 Company Z Load Balancer Switch Company Y Company X Access
Load Balancer Load Balancer
Switch Switch
vSphere
VLAN 1002 VLAN 1001 VLAN1000
Multi-tenancy – Physical Firewall and VLAN
Access-Aggregation
Internet
L2-L3 Switch
PG-X Port group Company X n/w Port group Company Y n/w
Legend : VLAN 1000 VLAN 1001 VLAN 1002 Firewalls 17 Company Z Company Y Company X
VMware vSphere + vShield
PG-X (vlan1000) PG-Y (vlan 1001) PG-Z (vlan 1002)
PG-Z
PG-Y Port group Company Y n/w Port group Company Z n/w
Port group to VM Links
VLAN 1000 VLAN 1001 VLAN 1002
Multi-tenancy Virtualization Aware
Access-Aggregation Internet L2-L3 Switch PG-ZPG-X Port group Company X n/w PG-Y Port group Company Y n/w Port group Company Z n/w
Legend :
Infrastructure VLAN (VLAN 1000) Provider VLAN (VLAN 100)
18
Company Z Company Y
Company X
VMware vSphere + vShield
PG-X(vlan1000) PG-Y(vlan1000) PG-Z(vlan1000)
PG-Z Port group Company Z n/w PG-C External uplink Port group
PG-C(vlan100)
Internal Company Links External Up Link
VLAN1000 VLAN1000 VLAN1000
vShield Edge VM vDS to Ext. Switch Links
Virtual Datacenter 2
Enforce Microsegmentation Inside the vDC
Protect applications againstNetwork Based Threats
• Application-Aware Full Stateful Packet Inspection FW
• Control on per-VM/per vNIC level
• See VM-VM traffic within the same host
• Security groups enforced with VM
CIS & PCI Virtual Datacenter 1
DISA & PCI Database App Web 19 ESX Hardening Cluster A Cluster B
VMware vSphere + vCenter
• Security groups enforced with VM
Offload Endpoint Based Security Functions with VM Introspection
Techniques
Improves performance and
effectiveness of existing endpoint
security solutions
•
Offload Functions
•
AV
20
•
AV
Virtualized Security and Edge Services
Internal Security and Compliance Edge/Perimeter Protection Elastic Logical Efficient Automated Programmable Security as a Service
Cloud Aware Security
• Micro-segmentation
• Secure the edge of the virtual datacenter
• Security and Edge networking services gateway
21
Endpoint Security
• Micro-segmentation
• Discover and report regulated data in the Datacenter and Cloud
Continuous and Automated Compliance
Ongoing Change and Compliance Management
Understand Pervasive Change Capture in-band and out-of-band changes Are you still Compliant?• Remediate
• Exceptions
Fit within current enterprise change mgmt workflow process Deployed from Gold Standard Compliant State Noncompliant Planned Change Unplanned Change 22 workflow processProtect against vulnerabilities
Hypervisor-based anti-virus provides superior protection Patch Management guards against known attacks Software provisioning tied to compliance Day to day vulnerability checksConclusion
•
The Cloud Had Great Benefits and like any Technology its Associated Risks•
These Risks Can Be Mitigated With Proper Controls•
The Classic Principles of Information Security Should be Applied•
Key Architecture Decisions must be made for Security•
Tools Designed for the Cloud Must Be UtilizedQuestions?
Rob Randell, CISSP