shared responsibility in action

32
Mark Nunnikhoven @marknca Shared Responsibility …In Action

Upload: mark-nunnikhoven

Post on 18-Dec-2014

1.104 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Shared Responsibility In Action

Mark Nunnikhoven @marknca

Shared Responsibility

…In Action

Page 2: Shared Responsibility In Action

MODELLING SECURITY on AWS

Page 3: Shared Responsibility In Action

Traditional Responsibility Model

!

Operating System

Application

Account Management

You

Facilities

Physical Security

Physical Infrastructure

Network Infrastructure

Virtualization Layer

Page 4: Shared Responsibility In Action

Shared Responsibility Model

You

Operating System

Application

Account Management

Security Groups

Network Configuration

AWS

Facilities

Physical Security

Physical Infrastructure

Network Infrastructure

Virtualization Layer

More info on the model is available at http://aws.amazon.com/security

Page 5: Shared Responsibility In Action

Shared Responsibility Model

You

Operating System

Application

Account Management

Security Groups

Network Configuration

AWS

Facilities

Physical Security

Physical Infrastructure

Network Infrastructure

Virtualization

Verify

Compliance information available at http://aws.amazon.com/compliance

Page 6: Shared Responsibility In Action

Common View

More information on the model at http://aws.amazon.com/security

Page 7: Shared Responsibility In Action

Infrastructure

Container

Abstract

Better View

From AWS’ Mark Ryland, more info at http://4mn.ca/ZZeDbA

Page 8: Shared Responsibility In Action

Service Type *aaS

SQS, S3, Route53 Abstract SaaS

RDS, EMR, OpsWorks Container PaaS

EC2, EBS, VPC Infrastructure IaaS

Service Examples

From AWS’ Mark Ryland, more info at http://4mn.ca/ZZeDbA

Page 9: Shared Responsibility In Action

Less responsibilities

More responsibilities

Distribution of Security

Page 10: Shared Responsibility In Action

Options : Responsibilities

Distribution of Security

Rough correlation between # of options & level of responsibilities

Page 11: Shared Responsibility In Action

RE:BOOT

Page 12: Shared Responsibility In Action

Critical embargoed bug discovered in Xen, details at http://4mn.ca/1rcXTTN

Page 13: Shared Responsibility In Action

Protecting Instances

A small percentage of instances on EC2 are scheduled for a reboot

Page 14: Shared Responsibility In Action

For EC2

Nothing for cloud-native architectures

Manage availability for traditional architectures

For RDS

Nothing for Multi-AZ instances

Standard maintenance window for single instances

Actions to Take

Page 15: Shared Responsibility In Action

POODLE

Page 16: Shared Responsibility In Action

CVE-2014-3566 : Padding Oracle On Downgraded Legacy Encryption

Page 17: Shared Responsibility In Action

Attack forces an older cipher choice, details at http://4mn.ca/1EYfBEA

Page 18: Shared Responsibility In Action

For ELB

Select a non-affected cipher suite (e.g., ELBSecurityPolicy-2014-10)

For Web Servers

Enable TLS_FALLBACK_SCSV

Disable support for SSL 3.0*

Disabling SSL 3.0 may cause compatibility issues

Actions to Take

Page 19: Shared Responsibility In Action

Shellshock

Page 20: Shared Responsibility In Action

More info on bash at http://www.gnu.org/software/bash

Page 21: Shared Responsibility In Action

(){}; attack

10/10 vulnerability : widespread & easy to exploit

Page 22: Shared Responsibility In Action

Steps to protection

Update bash

Use an intrusion prevention system

Actions to Take

Page 23: Shared Responsibility In Action

Applied at the boundary

Majority of traditional controls are applied at the boundary

Shifting Controls

Page 24: Shared Responsibility In Action

Applied to each instance

Same controls required in AWS, now applied to the instance

Shifting Controls

Page 25: Shared Responsibility In Action

Watch the demo in action at http://4mn.ca/1sY3YK4

Page 26: Shared Responsibility In Action

“View Source”, find cgi URL to exploit

Page 27: Shared Responsibility In Action

Run attack via curl

Page 28: Shared Responsibility In Action

Return contents of /etc/passwd with a simple custom header

Page 29: Shared Responsibility In Action

Add intrusion prevention controls to the instance

Page 30: Shared Responsibility In Action

Intrusion prevention resets connection when attack is detected

Page 31: Shared Responsibility In Action

Options : Responsibilities

Where does you deployment fall on the scale?

Page 32: Shared Responsibility In Action

Learn more at

testdrive.trendmicro.com

Thank you!

Follow me on Twitter @marknca