SlideShare uma empresa Scribd logo
1 de 56
Baixar para ler offline
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Security in Your Sleep: Build End-to-End
Automation for IR Workflows
Don “Beetle” Bailey
Senior Principal Security Engineer
AWS Security
S E C 3 2 7
Brian Wagner
FSI Compliance Specialist
AWS Financial Services
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Today’s Discussion
• Sleep for security geeks via incident response (IR) workflow automation
• Amazon Web Services (AWS) capabilities that can make that happen
• IR workflow automation examples, idea to code to execution
• References and resources to further assist you in getting some Zs
• And, of course: demos!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS CloudTrail OFF IR Runbook
1. Turn CloudTrail back ON
2. Gather event data related to CloudTrail being turned OFF
3. Extract principal, date, time, source IP, etc. from event data
4. Map principal to human
5. Look up human contact info
6. Contact human, provide guidance, and offer support
7. Generate event summary for report
NOTE: We do not need to wake up to do any of the above.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CloudTrail OFF IR Runbook
1. Turn CloudTrail back ON
cloudtrail.start_logging(Name=trail_name)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CloudTrail OFF IR Runbook
2. Gather event data related to CloudTrail being turned OFF
{
"account": "483366358098",
"region": "us-west-2",
"detail": {
"eventVersion": "1.06",
"eventID": "85ce2937-6984-4484-8629-13d15ed03071",
"eventTime": "2018-11-20T23:47:08Z",
"requestParameters": {
"name": "sec327-demo-1-rCloudTrailTrail-12XXNQSQJAHC"
},
"eventType": "AwsApiCall",
"responseElements": "",
"awsRegion": "us-west-2",
"eventName": "StopLogging",
"readOnly": "false",
"userIdentity": {
"principalId": "AROAIRT6OZJ4JDSDZ3NTA:botocore-session-1542757567",
"accessKeyId": ”XXXXXXXXXXXXXXXXXXX",
"sessionContext": {
"sessionIssuer": {
...
{
"detail-type": [
"AWS API Call via CloudTrail"
],
"detail": {
"eventSource": [
"cloudtrail.amazonaws.com"
],
"eventName": [
"StopLogging"
]
}
}
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CloudTrail OFF IR Runbook
3. Extract principal, date, time, source IP, etc. from event data
{ $.eventName = "StopLogging" }
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CloudTrail OFF IR Runbook
4. Map principal to human
{ $.eventName = "AssumeRole" && $.requestParameters.roleArn = "arn:aws:iam::483366358098:role/NonProdAdmin" }
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CloudTrail OFF IR Runbook
5. Look up human contact info
(&(objectCategory=person)(objectClass=user)
(cn=Brian*))
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CloudTrail OFF IR Runbook
6. Contact human, provide guidance, and offer support
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CloudTrail OFF IR Runbook
7. Generate event summary for report
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CloudTrail OFF IR Workflow Automation
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Incident Response (IR) at A Glance
Establish
control
Determine
impact
Recover as
needed
Investigate
root cause
Improve
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security Geeks Require “Sleep”
• Where “sleep” = “time not actively engaged in fire-fighting”
• This “downtime” is necessary, for a variety of reasons:
• Non-emergent security engineering stuff
• Inventing and building new security solutions
• Learning
• Educating
• NON-security stuff, too
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why Can’t Security Geeks Sleep?
• The pager keeps going off. Why?
• Mitigation requires a human.
• Investigation requires a human.
• Analysis to correlate event to human activity requires a human.
• Contacting a human requires a human.
• Writing a report for a human requires a human.
• However, a human probably isn’t really required all of the time.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Put AWS to Work for You And Get Some Sleep!
• Inventory your IR activity, find candidates for automation.
• Ask tough questions like:
• Where are the hard boundaries where we can act quickly?
• Do we appropriately assess / assign risk to all events?
• What value does a human bring to this particular workflow?
• Can I nuke root cause instead?
• Security agility, MTTR, etc. requirements vs increasing scale and
velocity mean you will end up investing in security automation, so
giddyup.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
This All Sounds Strangely Familiar
• Indeed. This talk is new, but the security automation topic isn’t
• YouTube search for our previous related talks, including:
• “automating security event response aws” 2016
• “force-multiply security team with alexa aws” 2017
• Learn more about event detection, logging, automation triggers,
rollback, you name it
• Check for prerequisites to automating IR workflows
• We will hit the highlights next + some new stuff
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Empowering AWS Capabilities
• Many AWS bits empower security geeks to accomplish awesome
• Some are obvious, like Amazon GuardDuty or Amazon Inspector or
Amazon Macie
• Some are not as obvious, but just as groovy, including:
• CloudTrail
• CloudWatch
• AWS Config
• Amazon Virtual Private Cloud (Amazon VPC) Flow Logs
• Lambda
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Step Functions
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
IR Lifecycle in AWS Step Functions
Define in JSON Visualize in the Console Monitor Executions
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Eat Your Vegetables!
Audit / IR role
App or Env-specific
CloudWatch logs
Centralized logging/
Alerting
Amazon S3 bucket logging (or S3
object-level events > CloudTrail)
Resource backup/
versioning
Runbooks
Pre-built IR environments
Practice Practice Practice
“There are two ways to get practice in
incident response. You get to choose
one.”
A Couple of Goofy Yet Smart AWS Security Geeks,
re:Invent 2016
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS-oriented IR at A High Level
Macie GuardDutyCloudTrail CloudWatch
Events
On-Instance
Logs
VPC Flow
Logs
CloudWatch
Logs
CloudWatch
Alarms
Lambda
S3 Access Logs S3 Bucket
State Machine
AWS Config
CloudWatch
Logs
CloudTrail
AWS APIs
Team
collaboration
(Slack etc.)
SIEM
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Idea to Code to Execution Redux
• What is my expressed security objective in words?
• Is this configuration or behavior related?
• What data, where, could help inform me?
• Do I have requisite ownership or visibility?
• What are my performance requirements?
• What mechanisms support the above?
• What is my expressed security objective in code?
• Am I done?
• Does a human need to look at this? When?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Automating Until DONE DONE DONE
• Start with ONE workflow. Preferably a SIMPLE one. Binary.
• From the moment of event detection, automate all the things:
• Get back to a known good state
• Get all the logs for the event
• Pluck out the necessary values, who, what, when, from where
• Correlate value to personnel and assets
• Analyze data, assess risk, and assign priority
• Engage owners and escalate
• Report whenever and to whomever appropriate
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CloudTrail OFF IR Runbook Rehashed
• Turn CloudTrail back ON
• Gather event data related to CloudTrail being turned OFF
• Extract principal, date, time, source IP, etc. from event data
• Map principal to human
• Look up human contact info
• Contact human, provide guidance, and offer support
• Generate event summary for report
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The Robots Aren’t In Command Just Yet
• If you’re just starting, then tag, you’re still it
• Early automation should still be supervised
• Production concerns are probably still page-worthy
• Escalation escape valves in automation are OK
• Create fast feedback loops in report mechanisms
• Your automation will break
• More complex events are your reward for success
• We still have jobs for now
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
S3:PutBucketPolicy IR Runbook
1. State machine is triggered
2. New S3 bucket policy is evaluated
3. Decision is made
4. Gather the last policy
5. Restore the policy
6. Notify
NOTE: We still do not need to wake up to do any of the above.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
S3:PutBucketPolicy High-Level
1. Notify security
2. Evaluate the new policy
3. Decide if it’s okay
**when it isn’t**
4. Gather the last policy
5. Restore the policy
6. Notify user
1
3
4
5
6
2
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
S3:PutBucketPolicy High-Level
2
1
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
def check_policy(policy):
for st in policy['Statement']:
actions = st['Action']
if isinstance(actions, str):
actions = [actions]
if st['Effect'] == 'Allow' and st['Principal'] == '*':
for action in actions:
parts = action.split(':')
service = parts[0]
call = parts[1]
if call.startswith('Get') or call.startswith('Put’):
return {
"acceptable": False,
"reason": "overly permissive statement detected",
"statement": st
}
return { "acceptable": True }
S3:PutBucketPolicy High-Level
3
4
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
def lambda_handler(payload, context):
client = boto3.client('config')
response = client.get_resource_config_history(
resourceType='AWS::S3::Bucket',
resourceId=id,
limit=1
)
last_config = response['configurationItems'][0]
policy_obj = json.loads(last_config['supplementaryConfiguration']['BucketPolicy’])
prev_bucket_policy = json.loads(policy_obj['policyText’])
return prev_bucket_policy
S3:PutBucketPolicy High-Level
"GetPrevBucketPolicy" : {
"Type" : "Task",
"Resource": "arn:aws:lambda:...",
"InputPath": "$.bucket.name",
"ResultPath": "$.bucket.policy.prev",
"OutputPath": "$",
"Next": "RestoreLastPolicy"
}, 5
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
"RestoreLastPolicy": {
"Type" : "Task",
"Resource" : "arn:aws:lambda:...",
"InputPath": "$.bucket",
"OutputPath": "$",
"Next": "Done"
},
def put_policy(bucket, policy):
client = boto3.client('s3')
response = client.put_bucket_policy(
Bucket=bucket,
Policy=json.dumps(policy)
)
def lambda_handler(bucket, context):
bucket_name = bucket['name']
policy = bucket['policy']['prev']
put_policy(bucket_name, policy)
"RestoreLastPolicy": {
"Type" : "Task",
"Resource" : "arn:aws:lambda:...",
"InputPath": "$.bucket",
"OutputPath": "$",
"Next": "Done"
},
S3:PutBucketPolicy High-Level
6
"GetPrevBucketPolicy" : {
"Type" : "Task",
"Resource": "arn:aws:lambda:...",
"InputPath": "$.bucket.name",
"ResultPath": "$.bucket.policy.prev",
"OutputPath": "$",
"Next": "RestoreLastPolicy"
},
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic Compute Cloud (Amazon EC2) Login IR Runbook
User Login
1. Get the user
2. Gather relevant data
3. Terminate session
4. Isolate the instance
5. Report the incident
Research
1. Pull instance logs
2. Correlate with other
data sources
3. Report findings
Forensics
1. Take memory dump
2. Create AMI
3. Copy AMI to
forensics account
4. Launch instance
5. Investigate
6. Report findings
…so are we done? …now are we done? …but are we DONE?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
{
"detail-type": [
"EC2 forensics needed”
],
"source": [
"ec2.login"
]
}
Know Your Event Sources
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EC2 Login IR Runbook(s)
Start
End
IsEmergencyUser
TermianteSession
IsolateInstance
TagInstance
Notify
Start
End
StartForensicsEC2
ApplySecurityGroup
TakeMemDump
Notify
Start
End
PullInstanceLogs
PullCloudTrailByIp
PullFlowLogByIp
Notify
User Login
Research Forensics
Start
Start
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Wrangling
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
IR-related Partner Solutions
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Open Source IR Solutions
• AWS Security Automation
https://github.com/awslabs/aws-security-automation
• Threat Response
https://threatresponse.cloud
https://github.com/ThreatResponse/aws_ir
• Wazuh
https://documentation.wazuh.com/current/amazon/
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Open Source IR Solutions, Continued
• Cloud Custodian
https://github.com/capitalone/cloud-custodian
• Fido
https://github.com/Netflix/Fido
• Security Monkey
https://github.com/Netflix/security_monkey
• StreamAlert
https://github.com/airbnb/streamalert
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Community / Industry Resources
• FIRST
https://first.org/
• Cloud.gov
https://cloud.gov/docs/ops/security-ir/
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Related Breakouts
Tuesday, November 27th
Five New Security Automations Using AWS Security Services & Open Source
11:30 AM – 12:30 PM | Aria West, Level 3, Ironwood 5
Wednesday, November 28th
Using AWS Lambda as A Security Team
1:00 PM – 2:00 PM | Mirage, Grand Ballroom F
Thursday, November 29th
Netflix Cloud Forensics
1:00 PM – 2:00 PM | Mirage, Grand Ballroom F
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Takeaways
• Security geeks can be heroes, but shouldn’t have to be all the time
• Automating IR workflows can free resources for non-emergent yet
equally important security engineering tasks
• AWS capabilities empower any customer to create end-to-end
automation for IR workflows
• Start small & simple, iterate, and leverage partner and open-source
resources or Support for success
Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Mais conteúdo relacionado

Mais procurados

Continuous Integration Best Practices (DEV319-R1) - AWS re:Invent 2018
Continuous Integration Best Practices (DEV319-R1) - AWS re:Invent 2018Continuous Integration Best Practices (DEV319-R1) - AWS re:Invent 2018
Continuous Integration Best Practices (DEV319-R1) - AWS re:Invent 2018Amazon Web Services
 
Unleash the Power of Temporary AWS Credentials (a.k.a. IAM roles) (SEC390-R1)...
Unleash the Power of Temporary AWS Credentials (a.k.a. IAM roles) (SEC390-R1)...Unleash the Power of Temporary AWS Credentials (a.k.a. IAM roles) (SEC390-R1)...
Unleash the Power of Temporary AWS Credentials (a.k.a. IAM roles) (SEC390-R1)...Amazon Web Services
 
Augmenting Security Posture and Improving Operational Health with AWS CloudTr...
Augmenting Security Posture and Improving Operational Health with AWS CloudTr...Augmenting Security Posture and Improving Operational Health with AWS CloudTr...
Augmenting Security Posture and Improving Operational Health with AWS CloudTr...Amazon Web Services
 
Hands-on SaaS: Constructing a Multi-Tenant Solution on AWS (ARC327-R1) - AWS ...
Hands-on SaaS: Constructing a Multi-Tenant Solution on AWS (ARC327-R1) - AWS ...Hands-on SaaS: Constructing a Multi-Tenant Solution on AWS (ARC327-R1) - AWS ...
Hands-on SaaS: Constructing a Multi-Tenant Solution on AWS (ARC327-R1) - AWS ...Amazon Web Services
 
Building Real-time Serverless Backends with GraphQL
Building Real-time Serverless Backends with GraphQLBuilding Real-time Serverless Backends with GraphQL
Building Real-time Serverless Backends with GraphQLAmazon Web Services
 
Serverless:It All Started in Vegas (DVC306) - AWS re:Invent 2018
Serverless:It All Started in Vegas (DVC306) - AWS re:Invent 2018Serverless:It All Started in Vegas (DVC306) - AWS re:Invent 2018
Serverless:It All Started in Vegas (DVC306) - AWS re:Invent 2018Amazon Web Services
 
IAM for Enterprises: How Vanguard Matured IAM Controls to Support Micro Accou...
IAM for Enterprises: How Vanguard Matured IAM Controls to Support Micro Accou...IAM for Enterprises: How Vanguard Matured IAM Controls to Support Micro Accou...
IAM for Enterprises: How Vanguard Matured IAM Controls to Support Micro Accou...Amazon Web Services
 
Deconstructing SaaS: Deep Dive into Building Multi-Tenant Solutions on AWS (A...
Deconstructing SaaS: Deep Dive into Building Multi-Tenant Solutions on AWS (A...Deconstructing SaaS: Deep Dive into Building Multi-Tenant Solutions on AWS (A...
Deconstructing SaaS: Deep Dive into Building Multi-Tenant Solutions on AWS (A...Amazon Web Services
 
Secure your AWS Account and your Organization's Accounts
Secure your AWS Account and your Organization's Accounts Secure your AWS Account and your Organization's Accounts
Secure your AWS Account and your Organization's Accounts Amazon Web Services
 
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...Amazon Web Services
 
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...Amazon Web Services
 
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018Amazon Web Services
 
Using AWS Lambda as a Security Team (SEC322-R1) - AWS re:Invent 2018
Using AWS Lambda as a Security Team (SEC322-R1) - AWS re:Invent 2018Using AWS Lambda as a Security Team (SEC322-R1) - AWS re:Invent 2018
Using AWS Lambda as a Security Team (SEC322-R1) - AWS re:Invent 2018Amazon Web Services
 
SRV207 Orchestrating AWS Lambda with Step Functions
 SRV207 Orchestrating AWS Lambda with Step Functions SRV207 Orchestrating AWS Lambda with Step Functions
SRV207 Orchestrating AWS Lambda with Step FunctionsAmazon Web Services
 
SRV322 Increase the Value of Video with ML & Media Services
 SRV322 Increase the Value of Video with ML & Media Services SRV322 Increase the Value of Video with ML & Media Services
SRV322 Increase the Value of Video with ML & Media ServicesAmazon Web Services
 
Build Enterprise-Grade Serverless Apps
Build Enterprise-Grade Serverless Apps Build Enterprise-Grade Serverless Apps
Build Enterprise-Grade Serverless Apps Amazon Web Services
 
BDA210 AWS DeepLens Workshop Building Computer Vision Applications
BDA210 AWS DeepLens Workshop Building Computer Vision Applications BDA210 AWS DeepLens Workshop Building Computer Vision Applications
BDA210 AWS DeepLens Workshop Building Computer Vision Applications Amazon Web Services
 
Building Highly Scalable Retail Order Management Systems with Serverless
Building Highly Scalable Retail Order Management Systems with ServerlessBuilding Highly Scalable Retail Order Management Systems with Serverless
Building Highly Scalable Retail Order Management Systems with ServerlessAmazon Web Services
 
Operational Excellence for Identity & Access Management (SEC334) - AWS re:Inv...
Operational Excellence for Identity & Access Management (SEC334) - AWS re:Inv...Operational Excellence for Identity & Access Management (SEC334) - AWS re:Inv...
Operational Excellence for Identity & Access Management (SEC334) - AWS re:Inv...Amazon Web Services
 
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018Amazon Web Services
 

Mais procurados (20)

Continuous Integration Best Practices (DEV319-R1) - AWS re:Invent 2018
Continuous Integration Best Practices (DEV319-R1) - AWS re:Invent 2018Continuous Integration Best Practices (DEV319-R1) - AWS re:Invent 2018
Continuous Integration Best Practices (DEV319-R1) - AWS re:Invent 2018
 
Unleash the Power of Temporary AWS Credentials (a.k.a. IAM roles) (SEC390-R1)...
Unleash the Power of Temporary AWS Credentials (a.k.a. IAM roles) (SEC390-R1)...Unleash the Power of Temporary AWS Credentials (a.k.a. IAM roles) (SEC390-R1)...
Unleash the Power of Temporary AWS Credentials (a.k.a. IAM roles) (SEC390-R1)...
 
Augmenting Security Posture and Improving Operational Health with AWS CloudTr...
Augmenting Security Posture and Improving Operational Health with AWS CloudTr...Augmenting Security Posture and Improving Operational Health with AWS CloudTr...
Augmenting Security Posture and Improving Operational Health with AWS CloudTr...
 
Hands-on SaaS: Constructing a Multi-Tenant Solution on AWS (ARC327-R1) - AWS ...
Hands-on SaaS: Constructing a Multi-Tenant Solution on AWS (ARC327-R1) - AWS ...Hands-on SaaS: Constructing a Multi-Tenant Solution on AWS (ARC327-R1) - AWS ...
Hands-on SaaS: Constructing a Multi-Tenant Solution on AWS (ARC327-R1) - AWS ...
 
Building Real-time Serverless Backends with GraphQL
Building Real-time Serverless Backends with GraphQLBuilding Real-time Serverless Backends with GraphQL
Building Real-time Serverless Backends with GraphQL
 
Serverless:It All Started in Vegas (DVC306) - AWS re:Invent 2018
Serverless:It All Started in Vegas (DVC306) - AWS re:Invent 2018Serverless:It All Started in Vegas (DVC306) - AWS re:Invent 2018
Serverless:It All Started in Vegas (DVC306) - AWS re:Invent 2018
 
IAM for Enterprises: How Vanguard Matured IAM Controls to Support Micro Accou...
IAM for Enterprises: How Vanguard Matured IAM Controls to Support Micro Accou...IAM for Enterprises: How Vanguard Matured IAM Controls to Support Micro Accou...
IAM for Enterprises: How Vanguard Matured IAM Controls to Support Micro Accou...
 
Deconstructing SaaS: Deep Dive into Building Multi-Tenant Solutions on AWS (A...
Deconstructing SaaS: Deep Dive into Building Multi-Tenant Solutions on AWS (A...Deconstructing SaaS: Deep Dive into Building Multi-Tenant Solutions on AWS (A...
Deconstructing SaaS: Deep Dive into Building Multi-Tenant Solutions on AWS (A...
 
Secure your AWS Account and your Organization's Accounts
Secure your AWS Account and your Organization's Accounts Secure your AWS Account and your Organization's Accounts
Secure your AWS Account and your Organization's Accounts
 
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
 
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
 
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018
 
Using AWS Lambda as a Security Team (SEC322-R1) - AWS re:Invent 2018
Using AWS Lambda as a Security Team (SEC322-R1) - AWS re:Invent 2018Using AWS Lambda as a Security Team (SEC322-R1) - AWS re:Invent 2018
Using AWS Lambda as a Security Team (SEC322-R1) - AWS re:Invent 2018
 
SRV207 Orchestrating AWS Lambda with Step Functions
 SRV207 Orchestrating AWS Lambda with Step Functions SRV207 Orchestrating AWS Lambda with Step Functions
SRV207 Orchestrating AWS Lambda with Step Functions
 
SRV322 Increase the Value of Video with ML & Media Services
 SRV322 Increase the Value of Video with ML & Media Services SRV322 Increase the Value of Video with ML & Media Services
SRV322 Increase the Value of Video with ML & Media Services
 
Build Enterprise-Grade Serverless Apps
Build Enterprise-Grade Serverless Apps Build Enterprise-Grade Serverless Apps
Build Enterprise-Grade Serverless Apps
 
BDA210 AWS DeepLens Workshop Building Computer Vision Applications
BDA210 AWS DeepLens Workshop Building Computer Vision Applications BDA210 AWS DeepLens Workshop Building Computer Vision Applications
BDA210 AWS DeepLens Workshop Building Computer Vision Applications
 
Building Highly Scalable Retail Order Management Systems with Serverless
Building Highly Scalable Retail Order Management Systems with ServerlessBuilding Highly Scalable Retail Order Management Systems with Serverless
Building Highly Scalable Retail Order Management Systems with Serverless
 
Operational Excellence for Identity & Access Management (SEC334) - AWS re:Inv...
Operational Excellence for Identity & Access Management (SEC334) - AWS re:Inv...Operational Excellence for Identity & Access Management (SEC334) - AWS re:Inv...
Operational Excellence for Identity & Access Management (SEC334) - AWS re:Inv...
 
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
 

Semelhante a AWS Security Automation for IR Workflows

Automating Incident Response and Forensics in AWS - AWS Summit Sydney 2018
Automating Incident Response and Forensics in AWS - AWS Summit Sydney 2018Automating Incident Response and Forensics in AWS - AWS Summit Sydney 2018
Automating Incident Response and Forensics in AWS - AWS Summit Sydney 2018Amazon Web Services
 
Automating Incident Response and Forensics in AWS
Automating Incident Response and Forensics in AWSAutomating Incident Response and Forensics in AWS
Automating Incident Response and Forensics in AWSAmazon Web Services
 
Automating Incident Response and Forensics in AWS
Automating Incident Response and Forensics in AWSAutomating Incident Response and Forensics in AWS
Automating Incident Response and Forensics in AWSAmazon Web Services
 
Automating Incident Response and Forensics
Automating Incident Response and ForensicsAutomating Incident Response and Forensics
Automating Incident Response and ForensicsAmazon Web Services
 
How to Perform Forensics on AWS Using Serverless Infrastructure (SEC416-R1) -...
How to Perform Forensics on AWS Using Serverless Infrastructure (SEC416-R1) -...How to Perform Forensics on AWS Using Serverless Infrastructure (SEC416-R1) -...
How to Perform Forensics on AWS Using Serverless Infrastructure (SEC416-R1) -...Amazon Web Services
 
Designing for Operability: Getting the Last Nines in Five-Nines Availability ...
Designing for Operability: Getting the Last Nines in Five-Nines Availability ...Designing for Operability: Getting the Last Nines in Five-Nines Availability ...
Designing for Operability: Getting the Last Nines in Five-Nines Availability ...Amazon Web Services
 
Amazon GuardDuty Threat Detection and Remediation
Amazon GuardDuty Threat Detection and RemediationAmazon GuardDuty Threat Detection and Remediation
Amazon GuardDuty Threat Detection and RemediationAmazon Web Services
 
A Case Study on Insider Threat Detection
A Case Study on Insider Threat DetectionA Case Study on Insider Threat Detection
A Case Study on Insider Threat DetectionAmazon Web Services
 
A Case Study on Insider Threat Detection
A Case Study on Insider Threat DetectionA Case Study on Insider Threat Detection
A Case Study on Insider Threat DetectionAmazon Web Services
 
Five New Security Automations Using AWS Security Services & Open Source (SEC4...
Five New Security Automations Using AWS Security Services & Open Source (SEC4...Five New Security Automations Using AWS Security Services & Open Source (SEC4...
Five New Security Automations Using AWS Security Services & Open Source (SEC4...Amazon Web Services
 
Evolve Your Incident Response Process and Powers for AWS - SID306 - Chicago A...
Evolve Your Incident Response Process and Powers for AWS - SID306 - Chicago A...Evolve Your Incident Response Process and Powers for AWS - SID306 - Chicago A...
Evolve Your Incident Response Process and Powers for AWS - SID306 - Chicago A...Amazon Web Services
 
Evolve Your Incident Response Process and Powers for AWS
Evolve Your Incident Response Process and Powers for AWS Evolve Your Incident Response Process and Powers for AWS
Evolve Your Incident Response Process and Powers for AWS Amazon Web Services
 
IoT Building Blocks From Edge Devices to Analytics in the Cloud
IoT Building Blocks From Edge Devices to Analytics in the CloudIoT Building Blocks From Edge Devices to Analytics in the Cloud
IoT Building Blocks From Edge Devices to Analytics in the CloudAmazon Web Services
 
Enforcing Your Security Policy at Scale - Technical 301
Enforcing Your Security Policy at Scale - Technical 301Enforcing Your Security Policy at Scale - Technical 301
Enforcing Your Security Policy at Scale - Technical 301Amazon Web Services
 
Threat Detection & Remediation Workshop
Threat Detection & Remediation WorkshopThreat Detection & Remediation Workshop
Threat Detection & Remediation WorkshopAmazon Web Services
 
Find All the Threats: AWS Threat Detection and Remediation (SEC331) - AWS re:...
Find All the Threats: AWS Threat Detection and Remediation (SEC331) - AWS re:...Find All the Threats: AWS Threat Detection and Remediation (SEC331) - AWS re:...
Find All the Threats: AWS Threat Detection and Remediation (SEC331) - AWS re:...Amazon Web Services
 
An Active Case Study on Insider Threat Detection in your Applications
An Active Case Study on Insider Threat Detection in your ApplicationsAn Active Case Study on Insider Threat Detection in your Applications
An Active Case Study on Insider Threat Detection in your ApplicationsAmazon Web Services
 
Serverless Cyber Ops for Government
Serverless Cyber Ops for GovernmentServerless Cyber Ops for Government
Serverless Cyber Ops for GovernmentAmazon Web Services
 
Breaking Observability Chaos: Best Practices to Monitor AWS Cloud Native Apps...
Breaking Observability Chaos: Best Practices to Monitor AWS Cloud Native Apps...Breaking Observability Chaos: Best Practices to Monitor AWS Cloud Native Apps...
Breaking Observability Chaos: Best Practices to Monitor AWS Cloud Native Apps...Amazon Web Services
 
How Do I Plan for Security, Risk and Compliance when Migrating to AWS?
How Do I Plan for Security, Risk and Compliance when Migrating to AWS?How Do I Plan for Security, Risk and Compliance when Migrating to AWS?
How Do I Plan for Security, Risk and Compliance when Migrating to AWS?Amazon Web Services
 

Semelhante a AWS Security Automation for IR Workflows (20)

Automating Incident Response and Forensics in AWS - AWS Summit Sydney 2018
Automating Incident Response and Forensics in AWS - AWS Summit Sydney 2018Automating Incident Response and Forensics in AWS - AWS Summit Sydney 2018
Automating Incident Response and Forensics in AWS - AWS Summit Sydney 2018
 
Automating Incident Response and Forensics in AWS
Automating Incident Response and Forensics in AWSAutomating Incident Response and Forensics in AWS
Automating Incident Response and Forensics in AWS
 
Automating Incident Response and Forensics in AWS
Automating Incident Response and Forensics in AWSAutomating Incident Response and Forensics in AWS
Automating Incident Response and Forensics in AWS
 
Automating Incident Response and Forensics
Automating Incident Response and ForensicsAutomating Incident Response and Forensics
Automating Incident Response and Forensics
 
How to Perform Forensics on AWS Using Serverless Infrastructure (SEC416-R1) -...
How to Perform Forensics on AWS Using Serverless Infrastructure (SEC416-R1) -...How to Perform Forensics on AWS Using Serverless Infrastructure (SEC416-R1) -...
How to Perform Forensics on AWS Using Serverless Infrastructure (SEC416-R1) -...
 
Designing for Operability: Getting the Last Nines in Five-Nines Availability ...
Designing for Operability: Getting the Last Nines in Five-Nines Availability ...Designing for Operability: Getting the Last Nines in Five-Nines Availability ...
Designing for Operability: Getting the Last Nines in Five-Nines Availability ...
 
Amazon GuardDuty Threat Detection and Remediation
Amazon GuardDuty Threat Detection and RemediationAmazon GuardDuty Threat Detection and Remediation
Amazon GuardDuty Threat Detection and Remediation
 
A Case Study on Insider Threat Detection
A Case Study on Insider Threat DetectionA Case Study on Insider Threat Detection
A Case Study on Insider Threat Detection
 
A Case Study on Insider Threat Detection
A Case Study on Insider Threat DetectionA Case Study on Insider Threat Detection
A Case Study on Insider Threat Detection
 
Five New Security Automations Using AWS Security Services & Open Source (SEC4...
Five New Security Automations Using AWS Security Services & Open Source (SEC4...Five New Security Automations Using AWS Security Services & Open Source (SEC4...
Five New Security Automations Using AWS Security Services & Open Source (SEC4...
 
Evolve Your Incident Response Process and Powers for AWS - SID306 - Chicago A...
Evolve Your Incident Response Process and Powers for AWS - SID306 - Chicago A...Evolve Your Incident Response Process and Powers for AWS - SID306 - Chicago A...
Evolve Your Incident Response Process and Powers for AWS - SID306 - Chicago A...
 
Evolve Your Incident Response Process and Powers for AWS
Evolve Your Incident Response Process and Powers for AWS Evolve Your Incident Response Process and Powers for AWS
Evolve Your Incident Response Process and Powers for AWS
 
IoT Building Blocks From Edge Devices to Analytics in the Cloud
IoT Building Blocks From Edge Devices to Analytics in the CloudIoT Building Blocks From Edge Devices to Analytics in the Cloud
IoT Building Blocks From Edge Devices to Analytics in the Cloud
 
Enforcing Your Security Policy at Scale - Technical 301
Enforcing Your Security Policy at Scale - Technical 301Enforcing Your Security Policy at Scale - Technical 301
Enforcing Your Security Policy at Scale - Technical 301
 
Threat Detection & Remediation Workshop
Threat Detection & Remediation WorkshopThreat Detection & Remediation Workshop
Threat Detection & Remediation Workshop
 
Find All the Threats: AWS Threat Detection and Remediation (SEC331) - AWS re:...
Find All the Threats: AWS Threat Detection and Remediation (SEC331) - AWS re:...Find All the Threats: AWS Threat Detection and Remediation (SEC331) - AWS re:...
Find All the Threats: AWS Threat Detection and Remediation (SEC331) - AWS re:...
 
An Active Case Study on Insider Threat Detection in your Applications
An Active Case Study on Insider Threat Detection in your ApplicationsAn Active Case Study on Insider Threat Detection in your Applications
An Active Case Study on Insider Threat Detection in your Applications
 
Serverless Cyber Ops for Government
Serverless Cyber Ops for GovernmentServerless Cyber Ops for Government
Serverless Cyber Ops for Government
 
Breaking Observability Chaos: Best Practices to Monitor AWS Cloud Native Apps...
Breaking Observability Chaos: Best Practices to Monitor AWS Cloud Native Apps...Breaking Observability Chaos: Best Practices to Monitor AWS Cloud Native Apps...
Breaking Observability Chaos: Best Practices to Monitor AWS Cloud Native Apps...
 
How Do I Plan for Security, Risk and Compliance when Migrating to AWS?
How Do I Plan for Security, Risk and Compliance when Migrating to AWS?How Do I Plan for Security, Risk and Compliance when Migrating to AWS?
How Do I Plan for Security, Risk and Compliance when Migrating to AWS?
 

Mais de Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

Mais de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

AWS Security Automation for IR Workflows

  • 1.
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Security in Your Sleep: Build End-to-End Automation for IR Workflows Don “Beetle” Bailey Senior Principal Security Engineer AWS Security S E C 3 2 7 Brian Wagner FSI Compliance Specialist AWS Financial Services
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Today’s Discussion • Sleep for security geeks via incident response (IR) workflow automation • Amazon Web Services (AWS) capabilities that can make that happen • IR workflow automation examples, idea to code to execution • References and resources to further assist you in getting some Zs • And, of course: demos!
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS CloudTrail OFF IR Runbook 1. Turn CloudTrail back ON 2. Gather event data related to CloudTrail being turned OFF 3. Extract principal, date, time, source IP, etc. from event data 4. Map principal to human 5. Look up human contact info 6. Contact human, provide guidance, and offer support 7. Generate event summary for report NOTE: We do not need to wake up to do any of the above.
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. CloudTrail OFF IR Runbook 1. Turn CloudTrail back ON cloudtrail.start_logging(Name=trail_name)
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. CloudTrail OFF IR Runbook 2. Gather event data related to CloudTrail being turned OFF { "account": "483366358098", "region": "us-west-2", "detail": { "eventVersion": "1.06", "eventID": "85ce2937-6984-4484-8629-13d15ed03071", "eventTime": "2018-11-20T23:47:08Z", "requestParameters": { "name": "sec327-demo-1-rCloudTrailTrail-12XXNQSQJAHC" }, "eventType": "AwsApiCall", "responseElements": "", "awsRegion": "us-west-2", "eventName": "StopLogging", "readOnly": "false", "userIdentity": { "principalId": "AROAIRT6OZJ4JDSDZ3NTA:botocore-session-1542757567", "accessKeyId": ”XXXXXXXXXXXXXXXXXXX", "sessionContext": { "sessionIssuer": { ... { "detail-type": [ "AWS API Call via CloudTrail" ], "detail": { "eventSource": [ "cloudtrail.amazonaws.com" ], "eventName": [ "StopLogging" ] } }
  • 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. CloudTrail OFF IR Runbook 3. Extract principal, date, time, source IP, etc. from event data { $.eventName = "StopLogging" }
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. CloudTrail OFF IR Runbook 4. Map principal to human { $.eventName = "AssumeRole" && $.requestParameters.roleArn = "arn:aws:iam::483366358098:role/NonProdAdmin" }
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. CloudTrail OFF IR Runbook 5. Look up human contact info (&(objectCategory=person)(objectClass=user) (cn=Brian*))
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. CloudTrail OFF IR Runbook 6. Contact human, provide guidance, and offer support
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. CloudTrail OFF IR Runbook 7. Generate event summary for report
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. CloudTrail OFF IR Workflow Automation
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Incident Response (IR) at A Glance Establish control Determine impact Recover as needed Investigate root cause Improve
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Security Geeks Require “Sleep” • Where “sleep” = “time not actively engaged in fire-fighting” • This “downtime” is necessary, for a variety of reasons: • Non-emergent security engineering stuff • Inventing and building new security solutions • Learning • Educating • NON-security stuff, too
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why Can’t Security Geeks Sleep? • The pager keeps going off. Why? • Mitigation requires a human. • Investigation requires a human. • Analysis to correlate event to human activity requires a human. • Contacting a human requires a human. • Writing a report for a human requires a human. • However, a human probably isn’t really required all of the time.
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Put AWS to Work for You And Get Some Sleep! • Inventory your IR activity, find candidates for automation. • Ask tough questions like: • Where are the hard boundaries where we can act quickly? • Do we appropriately assess / assign risk to all events? • What value does a human bring to this particular workflow? • Can I nuke root cause instead? • Security agility, MTTR, etc. requirements vs increasing scale and velocity mean you will end up investing in security automation, so giddyup.
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. This All Sounds Strangely Familiar • Indeed. This talk is new, but the security automation topic isn’t • YouTube search for our previous related talks, including: • “automating security event response aws” 2016 • “force-multiply security team with alexa aws” 2017 • Learn more about event detection, logging, automation triggers, rollback, you name it • Check for prerequisites to automating IR workflows • We will hit the highlights next + some new stuff
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Empowering AWS Capabilities • Many AWS bits empower security geeks to accomplish awesome • Some are obvious, like Amazon GuardDuty or Amazon Inspector or Amazon Macie • Some are not as obvious, but just as groovy, including: • CloudTrail • CloudWatch • AWS Config • Amazon Virtual Private Cloud (Amazon VPC) Flow Logs • Lambda
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Step Functions
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. IR Lifecycle in AWS Step Functions Define in JSON Visualize in the Console Monitor Executions
  • 22. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Eat Your Vegetables! Audit / IR role App or Env-specific CloudWatch logs Centralized logging/ Alerting Amazon S3 bucket logging (or S3 object-level events > CloudTrail) Resource backup/ versioning Runbooks Pre-built IR environments Practice Practice Practice
  • 23. “There are two ways to get practice in incident response. You get to choose one.” A Couple of Goofy Yet Smart AWS Security Geeks, re:Invent 2016
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS-oriented IR at A High Level Macie GuardDutyCloudTrail CloudWatch Events On-Instance Logs VPC Flow Logs CloudWatch Logs CloudWatch Alarms Lambda S3 Access Logs S3 Bucket State Machine AWS Config CloudWatch Logs CloudTrail AWS APIs Team collaboration (Slack etc.) SIEM
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Idea to Code to Execution Redux • What is my expressed security objective in words? • Is this configuration or behavior related? • What data, where, could help inform me? • Do I have requisite ownership or visibility? • What are my performance requirements? • What mechanisms support the above? • What is my expressed security objective in code? • Am I done? • Does a human need to look at this? When?
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Automating Until DONE DONE DONE • Start with ONE workflow. Preferably a SIMPLE one. Binary. • From the moment of event detection, automate all the things: • Get back to a known good state • Get all the logs for the event • Pluck out the necessary values, who, what, when, from where • Correlate value to personnel and assets • Analyze data, assess risk, and assign priority • Engage owners and escalate • Report whenever and to whomever appropriate
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. CloudTrail OFF IR Runbook Rehashed • Turn CloudTrail back ON • Gather event data related to CloudTrail being turned OFF • Extract principal, date, time, source IP, etc. from event data • Map principal to human • Look up human contact info • Contact human, provide guidance, and offer support • Generate event summary for report
  • 29. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. The Robots Aren’t In Command Just Yet • If you’re just starting, then tag, you’re still it • Early automation should still be supervised • Production concerns are probably still page-worthy • Escalation escape valves in automation are OK • Create fast feedback loops in report mechanisms • Your automation will break • More complex events are your reward for success • We still have jobs for now
  • 30. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 31. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. S3:PutBucketPolicy IR Runbook 1. State machine is triggered 2. New S3 bucket policy is evaluated 3. Decision is made 4. Gather the last policy 5. Restore the policy 6. Notify NOTE: We still do not need to wake up to do any of the above.
  • 32. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 33. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. S3:PutBucketPolicy High-Level 1. Notify security 2. Evaluate the new policy 3. Decide if it’s okay **when it isn’t** 4. Gather the last policy 5. Restore the policy 6. Notify user 1 3 4 5 6 2
  • 34. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. S3:PutBucketPolicy High-Level 2 1
  • 35. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. def check_policy(policy): for st in policy['Statement']: actions = st['Action'] if isinstance(actions, str): actions = [actions] if st['Effect'] == 'Allow' and st['Principal'] == '*': for action in actions: parts = action.split(':') service = parts[0] call = parts[1] if call.startswith('Get') or call.startswith('Put’): return { "acceptable": False, "reason": "overly permissive statement detected", "statement": st } return { "acceptable": True } S3:PutBucketPolicy High-Level 3 4
  • 36. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. def lambda_handler(payload, context): client = boto3.client('config') response = client.get_resource_config_history( resourceType='AWS::S3::Bucket', resourceId=id, limit=1 ) last_config = response['configurationItems'][0] policy_obj = json.loads(last_config['supplementaryConfiguration']['BucketPolicy’]) prev_bucket_policy = json.loads(policy_obj['policyText’]) return prev_bucket_policy S3:PutBucketPolicy High-Level "GetPrevBucketPolicy" : { "Type" : "Task", "Resource": "arn:aws:lambda:...", "InputPath": "$.bucket.name", "ResultPath": "$.bucket.policy.prev", "OutputPath": "$", "Next": "RestoreLastPolicy" }, 5
  • 37. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. "RestoreLastPolicy": { "Type" : "Task", "Resource" : "arn:aws:lambda:...", "InputPath": "$.bucket", "OutputPath": "$", "Next": "Done" }, def put_policy(bucket, policy): client = boto3.client('s3') response = client.put_bucket_policy( Bucket=bucket, Policy=json.dumps(policy) ) def lambda_handler(bucket, context): bucket_name = bucket['name'] policy = bucket['policy']['prev'] put_policy(bucket_name, policy) "RestoreLastPolicy": { "Type" : "Task", "Resource" : "arn:aws:lambda:...", "InputPath": "$.bucket", "OutputPath": "$", "Next": "Done" }, S3:PutBucketPolicy High-Level 6 "GetPrevBucketPolicy" : { "Type" : "Task", "Resource": "arn:aws:lambda:...", "InputPath": "$.bucket.name", "ResultPath": "$.bucket.policy.prev", "OutputPath": "$", "Next": "RestoreLastPolicy" },
  • 38. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Elastic Compute Cloud (Amazon EC2) Login IR Runbook User Login 1. Get the user 2. Gather relevant data 3. Terminate session 4. Isolate the instance 5. Report the incident Research 1. Pull instance logs 2. Correlate with other data sources 3. Report findings Forensics 1. Take memory dump 2. Create AMI 3. Copy AMI to forensics account 4. Launch instance 5. Investigate 6. Report findings …so are we done? …now are we done? …but are we DONE?
  • 39. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 40. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. { "detail-type": [ "EC2 forensics needed” ], "source": [ "ec2.login" ] } Know Your Event Sources
  • 41. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EC2 Login IR Runbook(s) Start End IsEmergencyUser TermianteSession IsolateInstance TagInstance Notify Start End StartForensicsEC2 ApplySecurityGroup TakeMemDump Notify Start End PullInstanceLogs PullCloudTrailByIp PullFlowLogByIp Notify User Login Research Forensics Start Start
  • 42. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Wrangling
  • 43. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. IR-related Partner Solutions
  • 44. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Open Source IR Solutions • AWS Security Automation https://github.com/awslabs/aws-security-automation • Threat Response https://threatresponse.cloud https://github.com/ThreatResponse/aws_ir • Wazuh https://documentation.wazuh.com/current/amazon/
  • 45. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Open Source IR Solutions, Continued • Cloud Custodian https://github.com/capitalone/cloud-custodian • Fido https://github.com/Netflix/Fido • Security Monkey https://github.com/Netflix/security_monkey • StreamAlert https://github.com/airbnb/streamalert
  • 46. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Community / Industry Resources • FIRST https://first.org/ • Cloud.gov https://cloud.gov/docs/ops/security-ir/
  • 47. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 48. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 49. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 50. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 51. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 52. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 53. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Related Breakouts Tuesday, November 27th Five New Security Automations Using AWS Security Services & Open Source 11:30 AM – 12:30 PM | Aria West, Level 3, Ironwood 5 Wednesday, November 28th Using AWS Lambda as A Security Team 1:00 PM – 2:00 PM | Mirage, Grand Ballroom F Thursday, November 29th Netflix Cloud Forensics 1:00 PM – 2:00 PM | Mirage, Grand Ballroom F
  • 54. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Takeaways • Security geeks can be heroes, but shouldn’t have to be all the time • Automating IR workflows can free resources for non-emergent yet equally important security engineering tasks • AWS capabilities empower any customer to create end-to-end automation for IR workflows • Start small & simple, iterate, and leverage partner and open-source resources or Support for success
  • 55. Thank you! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 56. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.