Code Monkey home page Code Monkey logo

aws-security-workshop's Introduction

AWS Security Workshop

This workshop will guide you through four modules building up a multi-stage protection stratgey. Each module builds on the previous module to provide an understanding of how AWS security services can be used to provide holistic controls encompassing the entire security lifecycle. We will deploy a simple ethical hacking application that enables users to explore vulnerabilities. The deployment uses AWS CloudFormation to deploy the Damn Vulnerable Web Application (DVWA).

The application architecture uses Amazon EC2, AWS Auto Scaling and Amazon Relational Database Service (Amazon RDS).

See the diagram below for a description of the core infrastructure.

Prerequisites

AWS Account

In order to complete this workshop you'll need an AWS Account with access to create AWS IAM, S3, EC2, VPC, CloudTrail, GuardDuty and WAF resources. The code and instructions in this workshop assume only one student is using a given AWS account at a time. If you try sharing an account with another student, you may run into naming conflicts for certain resources. You can work around these by appending a unique suffix to the resources that fail to create due to conflicts, but the instructions do not provide details on the changes required to make this work.

Many of the resources you will launch as part of this workshop are eligible for the AWS free tier if your account is less than 12 months old. See the AWS Free Tier page for more details.

Browser

We recommend you use the latest version of Chrome to complete this workshop.

AWS CLI

Some of the modules use the CLI to access AWS resources. Follow the guide here to get setup.

Generate a keypair

To access the servers that are deployed in the workshop you'll need to generate a keypair. Follow this guide to complete the setup.

Record the name of the keypair as you will need it to deploy the lab.

OpenSSL client

During the lab you will generate a self-signed SSL certificate, to do this we use openssl. You can download the tool for Windows, Linux and Mac here.

Application setup

The application can be launched in the following regions by clicking the launch stack icons below.

Stack Launch
US East (N. Virginia) Launch AWS Security Workshop in us-east-1
US East (Ohio) Launch AWS Security Workshop in us-east-2
US West (Oregon) Launch AWS Security Workshop in us-west-2
EU (Frankfurt) Launch AWS Security Workshop in eu-central-1
EU (Ireland) Launch AWS Security Workshop in eu-west-1
Asia Pacific (Tokyo) Launch AWS Security Workshop in ap-northeast-1
Asia Pacific (Sydney) Launch AWS Security Workshop in ap-southeast-2

Note: You will be prompted to supply the keypair you generated in the pre-reqs above.

Record stack parameters

Once the stack has successfully deployed we need capture a couple of variables generated during the setup for use in the modules. In the AWS console open the CloudFormation service. You will see a stack (not NESTED) called "aws-security-workshop", place a check in the box next to it and in the ribbon below select "Output". Here you will find the URL for the DVWA and the bucket name for S3. Record them both.

DVWA URL

DVWA configuration

Use the DVWA url obtained above to access the site by entering it into your browser. Once the page returns click the "Create / Reset database" button at the bottom of the page.

DVWA

Login with:

Username: admin
Password: password

In the left hand menu select DVWA Security, in the dropdown select Low and click Submit.

DVWA Security

Modules

The workshop has been modelled around a common pattern for security lifecycle.

  1. Prevention - common techniques to enforce desired controls in AWS
  2. Detection - products that help monitor and surface information about security and change across AWS
  3. Response - techniques to automatically remmdiate against information surfaced through detection
  4. Analysis - techniques to audit information gathered across AWS

aws-security-workshop's People

Contributors

jasfohasufagusfa avatar rbpaton avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ronymos

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.