GithubHelp home page GithubHelp logo

aws-samples / aws-security-hub-workshop Goto Github PK

View Code? Open in Web Editor NEW
71.0 10.0 43.0 35.17 MB

A Workshop for AWS Security Hub Integration, Prioritization, and Response

License: MIT No Attribution

aws-security-hub-workshop's Introduction

AWS Security Hub Workshop

The Security Hub Workshop has moved! Visit the Security Hub Workshop on Workshop Studio.

aws-security-hub-workshop's People

Contributors

amazon-auto avatar bluphy avatar craigbruce avatar jaegernh avatar jcriswell avatar jmfuchs avatar scottbward avatar sgulbetekin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aws-security-hub-workshop's Issues

[Enhancement] Module 0: Move setup files into a public bucket to eliminate bucket creation step

For a simpler participant experience, it would be great if AWS published the deployment files to a public S3 bucket that could be used to deploy the CloudFormation stacks. Many other workshops and AWS solutions take this approach and it saves setup time and eliminates potential issues during deployment (i.e. accidentally copying the files into a /deploy prefix in the bucket, which then causes an Access Denied error when attempting to launch with the URL supplied in the instructions.

Module 0 environment build -- auto enable services

I have tested building this stack from a new account and auto enabling of services.
GuardDuty fails on Auto Enable even with new accounts never accessing the account.
SH and Config also fail on the same process.

I found that going to SH on a fresh new account still shows it as enabled by default.
Config and GuardDuty do not however the CFT enable feature is generating an error so still created the Config rules manually and set Config auto enable to No in order to build this stack successful.

Multi Account Hierarchy - Invite - Email required

Module 1: Security Hub Walkthrough -> Multi Account Hierarchy

It appears that the Email address field is now a required field before one can add an account (even when pressing as suggested

Screen Shot 2020-10-23 at 3 36 13 PM

The steps/guidance requires an update to align

Module 1: Security Hub Walkthrough - Update to new UI

Module 1: Security Hub Walkthrough

Click View Results for CIS AWS Foundations Benchmark v1.2.0.

Screenshots and steps to be adjusted to reflected the updated Security Hub standards UI for Security Standards

The updated UI is as follows:
Screen Shot 2020-10-23 at 3 43 43 PM

CloudFormation template - Open in New Tab

Module 3: Remediation and Response CIS Benchmark and Custom Action

Deploy remediation playbooks for CIS Benchmarks
Deploy remediation playbooks via CloudFormation
Download CloudFormation template from GitHub.

Suggest that the CloudFormation template hyperlink is updated to open in new tab/window

Module 3 - Security Group - UI location

Module 3: Remediation and Response CIS Benchmark and Custom Action

Isolate the security group on an EC2 Instance

  1. In the Description tab for the instance record the name of the current security group.

The EC2 UI has been updated, and the Security Group is no longer shown at this location. The user would need to click the 'Security' tab, then take note of the Security Group name

Screen Shot 2020-10-23 at 4 08 04 PM

Module 3 - Event Pattern - Suggested clarification

Module 3: Remediation and Response CIS Benchmark and Custom Action

Copy and paste in the custom event pattern below. Use the ARN you recorded for your Security Hub Custom Action

{ 
"source": [ 
    "aws.securityhub" 
  ], 
  "detail-type": [ 
    "Security Hub Findings - Custom Action" 
  ], 
  "resources": [ 
     "arn:aws:securityhub:us-east-1:[YOUR-ACCOUNT-ID]:action/custom/IsolateInstance" 
  ] 
} 

In the above sample a user may potentially substitute their AWS account ID (rather than replace with the full arn) - which would result in a failure if they were not doing the lab in us-east-1

There is something similar in Module 4.

Module 0: Environment Build: Confusion over enabling security services

When colleagues and I ran the workshop with ~20 people in the past several weeks, ~5 of the participants inadvertently manually enabled some of the security services when checking the status of the services. When they attempted to create the CloudFormation stack with the parameters set to "Y" to enable the services, they encountered stack creation failures.

Suggested fix

Clarify that when using a new AWS account, you do not need to check the current status of the security services. Instead, you can proceed directly to the CloudFormation stack creation section.

Additionally, emphasize that the user should specify "Yes-..." for the security service parameters in the stack when they're using a new account.

Module 1: repeated word "and"

Double and in the integration section:

Integrations
In this section, we will walk through the Security Hub side of enabling a partner integration. Security Hub provides the ability to integrate security findings from AWS services and third-party products. For third-party products Security Hub gives you the ability to selectively enable the integrations and and provides a link to the configuration instructions related to the third-party product.

Module 3 - Step Numbering

Module 3: Remediation and Response CIS Benchmark and Custom Action

Please wait a moment for the creation to complete or progress to start, then proceed to Step 11.

However, the steps restart from 1

Screen Shot 2020-10-23 at 4 39 53 PM

Actions with multiple select findings

In the posting to slack lab, is it expected that only one finding can be posted at a time? I selected multiple and selected the "post to slack" action but only the first out of the multiple selected gets posted in slack and not all.

Module 4 - Store Slack webhook secret securely [Enhancement]

Currently the Slack webhook is being stored as an environment variable within the Lambda function. Consider changing to store in either SSM Parameter Store as a SecureString or within AWS Secrets Manager, and have the Lambda function fetch this secret at run time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.