• No results found

Security Essentials & Best Practices

N/A
N/A
Protected

Academic year: 2021

Share "Security Essentials & Best Practices"

Copied!
41
0
0

Loading.... (view fulltext now)

Full text

(1)
(2)

Overview

Overview of the AWS cloud security concepts such as the AWS

(3)

1

(4)

AWS Security Center

Comprehensive securtiy portal to provide a variety of security notifications, information and documentation: http://aws.amazon.com/security.

•  Overview of Security Process

•  AWS Risk and Compliance

•  AWS Security Best Practices

(5)

Security Resources and Blog

Broad range of available security resources, training and tools:

http://aws.amazon.com/security/security-resources/.

Developer

Information

Articles +

Tutorials

Security

Products

Whitepapers

Subscribe to the AWS Security Blog to stay up-to-date on AWS security and compliance: http://blogs.aws.amazon.com/security/

(6)

AWS Compliance

PCI DSS Level 1

List of compliance, assurance programs and resources:

http://aws.amazon.com/compliance/.

AWS Assurance Programs

SOC 1/ ISAE 3402

SOC 2

SOC 3

ISO 9001

IRAP

FIPS 140-2

MPAA

HIPPA

FedRAMP (SM)

Levels 1-2,3-5 DoD CSM DIACAP and FISMA

ISO 27001

MTCS Tier 3

ITAR

(7)

2

Shared

(8)

AWS Shared Responsibility Model

Facilities Physical security Compute infrastructure Storage infrastructure Network infrastructure Virtualization layer (EC2) Hardened service endpoints Rich IAM capabilities

Network configuration Security groups OS firewalls

Operating systems Applications

Proper service configuration AuthN & acct management Authorization policies

+

=

Customer

.

•  Scope of responsibility depends on the type of service offered by AWS:

Infrastructure, Container, Abstracted Services

•  Understanding who is responsible for what is critical to ensuring your AWS data and

systems are secure!

 

(9)

AWS  Founda+on  Services  

Compute   Storage   Database   Networking  

AWS  Global  

Infrastructure  

Regions  

Availability  Zones  

Edge  Loca+ons  

Client-­‐side  Data  

Encryp3on   Server-­‐side  Data  Encryp3on   Network  Traffic  Protec3on  

Pla=orm,  Applica3ons,  Iden3ty  &  Access  Management   Opera3ng  System,  Network  &  Firewall  Configura3on  

Customer  content  

Shared Responsibility Model

Customers are responsible for their

security and compliance IN the

Cloud

AWS is responsible for the security OF

(10)

AWS  Founda+on  Services  

Compute   Storage   Database   Networking  

AWS  Global  

Infrastructure  

Regions   Availability  Zones   Edge  Loca+ons   Your  own   accredita3on    

Meet your own security objectives

Your  own  

cer3fica3ons   external  audits  Your  own  

Customer scope and effort is reduced Better results through

(11)

•  Amazon has been building large-scale data centers for many years.

•  Important attributes:

–  Non-descript facilities

–  Robust perimeter controls

–  Strictly controlled physical access

–  Two or more levels of two-factor authentication •  Controlled, need-based access.

•  All access is logged and reviewed.

•  Separation of Duties

–  Employees with physical access don’t have logical privileges.

AWS Responsibilities

(12)

•  Host operating system

•  Individual SSH keyed logins via bastion host for AWS admins •  All accesses logged and audited

•  Guest (a.k.a. Instance) operating system

•  Customer controlled (customer owns root/admin)

•  AWS admins cannot log in •  Customer-generated keypairs

•  Stateful firewall

•  Mandatory inbound firewall, default deny mode •  Customer controls configuration via Security Groups

AWS Responsibilities

EC2 Security

•  IP Spoofing prohibited at host OS level.

•  Packet sniffing is ineffective (protected at hypervisor level).

•  Unauthorized Port Scanning a violation of TOS and is detected/blocked.

•  Inbound ports blocked by default.

(13)

•  Most updates are done in such a manner that they will not impact the customer.

•  Changes are authorized, logged, tested, approved, and documented.

•  AWS will communicate with customers, either via email, or through the AWS.

Service Health Dashboard (http://status.aws.amazon.com/) when there is a potential for service

being affected.

AWS Responsibilities

Configuration Management

•  Scalable, fault tolerant services.

•  All datacenters (AZs) are always on.

•  No “Disaster Recovery Datacenter”

•  Managed to the same standards

•  Robust Internet connectivity

•  Each AZ has redundant, Tier 1 ISP Service Providers

•  Resilient network infrastructure

(14)

•  Proprietary disk management prevents customers from accessing each other’s data.

•  Disks wiped prior to use.

•  Disks can be encrypted by the customer for additional security.

AWS Responsibilities

Disk Management

•  All storage devices go through process using techniques from:

•  DoD 5220.22-M (“National Industrial Security Program Operating Manual “).

•  NIST 800-88 (“Guidelines for Media Sanitization”).

•  Ultimately devices are:

•  Degaussed.

•  Physically destroyed.

(15)

3

(16)

Identity Management Definitions

Identity Management describes the management of individual

principals

, their

authentication

,

authorization

, and

privileges

within

or across system and enterprise boundaries with the goal of increasing

security and productivity while decreasing cost, downtime and

(17)

Operating Systems

•  Identities: Developers, DevOps and/or System Engineers

Applications

•  Identities: Application Users, Application Administrators

Considerations for Layers of Principals

Amazon Web Services

•  Identities: Developers, DevOp Engineers, Testers, Software/Platform

•  Interaction of AWS Identities:

•  Provisioning/deprovisioning EC2 instances and EBS storage.

•  Configuring Load Balancers.

•  Accessing S3 Objects or data in DynamoDB.

•  Accessing data in DynamoDB.

•  Interacting with SQS queues.

(18)

AWS Principals

•  Access to specific services.

•  Access to console and/or APIs.

•  Access to Customer Support (Business and Enterprise).

IAM Users, Groups and Roles

•  Access to specific services.

•  Access to console and/or APIs.

Temporary Security Credentials

•  Access to all subscribed services.

•  Access to billing.

•  Access to console and APIs.

•  Access to Customer Support.

(19)

AWS Identity Authentication

Authentication: How do we know you are who you say you are?

Console

Username/

Password (Recommended) MFA Token Signed URL (Token)

API

Access/Secret

Key(s) MFA Token (Optional) Temporary

Access/Secret Key(s)

(20)

AWS Authorization and Privileges

Authorization: What are you allowed to do?

Account Owner (Root)

•  Privileged for all actions.

IAM Policies

•  Privileges defined at User and Resource Level

(21)

AWS IAM Hierarchy of Privileges

AWS Account

Owner (Root)

AWS IAM

User

Temporary Security Credentials

Permissions

Example

Unrestricted access to all enabled services and resources. Action:  *   Effect:  Allow   Resource:  *   (implicit)   Access restricted by

Group and User policies Action:  [‘s3:*’,’sts:Get*’]   Effect:  Allow  

Resource:  *  

Access restricted by generating identity and further by policies used to generate token

Action:  [  ‘s3:Get*’  ]   Effect:  Allow  

Resource:  

‘arn:aws:s3:::mybucket/*’  

(22)

AWS Identity and Access Management (IAM)

Securely control access to AWS services and resources for your users.

Username/ User

Manage groups

of users Access Control Centralized

•  Password for console access.

•  Policies for controlling access AWS APIs.

•  Two methods to sign API calls:

•  X.509 certificate

•  Access/Secret Keys

•  Multi-factor Authentication (MFA)

(23)

LDAP Directories:

•  Local Password (passwd) files.

•  Local Windows administrator accounts.

•  User Databases.

Identity and Access Management

User DB

Common approaches for Applications and Operating Systems

Local User Databases

AWS

Directory Service Controller Domain

•  On-premise accessed over VPN.

•  Replicated to AWS (read-only or read/write).

•  Federated (one-way trusts, ADFS).

•  Managed Samba-based directories via AWS Directory

(24)

AWS Directory Service

Managed service for Active Directory

AWS Management Console via IAM Roles

Existing Corporate Credentials AWS-based Applications

Directories Supported

AD Connector: Connect to your on-premise Active Directory.

(25)

4

(26)

Encryption.

Protecting data in-transit and at-rest.

Details about encryption can be found in the AWS Whitepaper,

“Securing Data at Rest with Encryption”.

(27)

Encryption Data at Rest

EBS

Volume Encryption

EBS Encryption Filesystem Tools AWS Marketplace/Partner

Object Encryption

S3 Server Side Encryption (SSE)

S3 SSE w/ Customer

Provided Keys Client-Side Encryption

(28)

AWS Key Management Service

Customer Master Key(s)

Data Key 1

Amazon

S3 Object Amazon EBS Volume

Amazon Redshift Cluster

Data Key 2 Data Key 3 Data Key 4

Managed service to securely create, control, rotate, and

use encryption keys.

Centralized Key Management for use with AWS:

EBS S3 Redshift AWS SDK

AWS CloudTrail

Details about security controls can be found in the AWS Whitepaper:

(29)

AWS CloudHSM

AWS CloudHSM

AWS Administrator –

manages the appliance

You – control keys and crypto

operations

Amazon Virtual Private Cloud

Help meet compliance requirements for data security by using a dedicated

Hardware Security Module appliance with AWS.

CloudHSM Appliance Details:

(30)

5

(31)

AWS CloudTrail

Web service that records AWS API calls for your account and delivers logs.

CloudTrail

Console AWS SDK CLI

S3

AWS Partner

(32)

AWS CloudWatch

Monitoring services for AWS Resources and AWS-based Applications.

EC2 AutoScaling ELB Route 53 EBS Storage Gateway CloudFront DynamoDB ElastiCache RDS EMR SNS SQS EBS Billing

C

ol

le

ct

a

nd

T

ra

ck

Me

tri

cs

Custom

Monitor and Store Logs Set Alarms

(33)

AWS Service Catalog

Self-service portal for creating and managing resources in AWS.

Pre-Announced

Ad mi ni st ra to r C lo ud F orma tio n Te mp la te Create

Portfolio w/Permissions Service Catalog

Product Notifications Portfolio Product A Product B Deployed Stack(s) Notifications Launch Products Browse Products En d U se rs

•  Create and manage approved catalogs of resources.

•  End users browse and launch products via self-service portal.

(34)

AWS Config

*Preview

Managed service for tracking AWS inventory and configuration, and configuration

change notification.

A

W

S

Config

EC2 VPC EBS CloudTrail Change Management Audit Compliance Security

(35)

6

(36)

AWS Trusted Advisor

Leverage Trusted Advisor to analyze your AWS resources for best practices for

availability, cost, performance and security.

Security Groups Specific Ports

S3 Bucket Permissions

CloudTrail

Logging IAM Password Policy RDS Security Group Access CloudSearch Route53

Se

cu

rit

y

Security Groups Specific Ports IAM Use MFA on Root

Free Tier

(37)

AWS Shared Responsibility Model

Understand compliance and security responsibilities for AWS Resources.

Guest Operating System

(38)

Identity Access Management

Create appropriate principles, authorization and privileges for AWS Resources.

Multi-Factor Authentication AWS Identify and

Access Management

Policies User

Groups

Roles

Principle of Least Privilege

User User Hardware Virtual

IAM AWS Administrative Users Root Account

Note: Always associate the account owner ID with

(39)

Enforce consistent security on your hosts

Launch

instance

EC2

AMI catalog

Running instance

Your instance

Hardening Audit and logging Vulnerability management

Malware and HIPS Whitelisting and integrity

User administration

Operating system

Configure instance

Configure and harden EC2 instances based on security and compliance needs.

Host-based Protection Software

Restrict Access Where Possible

(40)

Defense-in-Depth

DATA AWS Compliance Program Third Party Attestations Ph ysi ca l Security Groups VPC Configuration N et w

ork Web Application

Firewalls Bastion Hosts Encryption In-Transit Hardened AMIs OS and App Patch Mgmt. IAM Roles for

(41)

?

References

Related documents

The paired end reads were mapped to the current EquCab3.0 horse reference genome assembly and we identified approximately 23.5 million SNVs and 2.3 million short

Outline 1 Introduction Problem Domain Orocos’ Solution Orocos History 2 Orocos Framework Building Applications Component API Component Development 3 Demo Application Setup..

Final questionnaire was adopted containing 32 item scales with the name, service quality, relational/ relationship switching cost, commuter satisfaction, and revisit intention..

٥ لﺎﺳ رد 1383 ﻲﺑﺮﻏ ﺪﻴﻔﺳ يﻮﮕﻴﻣ تادراو ﻪﺑ ماﺪﻗا رﻮﺸﻛ ﻲﺗﻼﻴﺷ مﻮﻠــﻋ تﺎـﻘـﻴـﻘـﺤﺗ ﻪـــﺴﺳﻮﻣ ( L.vannamei ) زا ﻪﺑ ،نﺎﺘﺳزﻮﺧ و ﺮﻬﺷﻮﺑ يﺎﻬﻧﺎﺘﺳا رد نﺎﮔﺪﻨﻫد شروﺮﭘ ،ﻲﺗﺎﻘﻴﻘﺤﺗ

(2) if the defamatory matter constitutes, in whole or in part, a fair report, for the information of the public, of any proceed­ ings of any court,

Hayes is the coordinator for English language acquisi- tion programs in the Morris County school district, Jones is a currently a fourth grade teacher in Emporia who taught

Ge et al., [23], developed mathematical models, validated by means of experimental data, for predicting the performances of a desiccant wheel; then they used these models

Illustration 19 Phishing site evolution Illustration 20 Phishing site targeted industry Illustration 21 EMV CAP reader users 2010- 2015 Illustration 22 EMV CAP reader user figures