GithubHelp home page GithubHelp logo

aws_ttp_runner's Introduction

AWS TTP Runner

AWS TTP Runner allows every security team to test their AWS controls by executing simple "tests" that exercise the same techniques used by adversaries (all mapped to Mitre's ATT&CK).

Philosophy

AWS TTP Runner is a library of simple tests that every security team can execute to test their controls. Tests are focused, have few dependencies, and are defined in a structured format that be used by automation frameworks.

Next Steps

  • Add terraform resources
  • Finalize TTPs
  • Raw API output examples
  • Build out scenarios
  • Improve runner code
  • Improve module comments
  • Add weaponize option

Techniques

Initial Access

  • Metadata compromise (initial_Meta)

Persistence

  • Access Key Creation (modules/persist_AccessKey)
  • User Creation w/ inline policy (modules/persist_CreateUser)
  • EC2 w/ SSM run command payload (modules/persist_EC2_SSM)
  • EC2 with Userdata payload (modules/persist_EC2_userdata)
  • Lambda Function with external post of ec2 creds (modules/persist_Lambda)

Privilege escalalations

  • Add user to a group (modules/privesc_Group)
  • Update user policy (modules/privesc_Policy)
  • Create login profile (modules/privesc_Profile)

Discovery

  • User/Group/Roles/Polices Enumeration v1 (modules/enum_Iamv1)
  • User/Group/Roles/Polices Enumeration v2 (modules/enum_Iamv2)
  • EC2 Userdata Enumeration (modules/enum_Userdata)
  • Lambda Functions Enumeration (modules/enum_Lambda)
  • Secrets Storage Enumeration (modules/enum_Secrets)
  • VPC Enumeration (modules/enum_Network)

Exfiltration

  • S3 Bucket (modules/exfil_S3)
  • Snapshots (modules/exfil_Snapshots)
  • Network (modules/exfil_Network)

Collection

  • VPC Mirror (modules/collect_Mirror)
  • Share snapshots with external account (modules/collect_Snapshots)
  • S3 Bucket (modules/collect_S3)

Defense Evasion

  • Change user agent (modules/evasion_Useragent)
  • Dynamically change regions (modules/evasion_Region)
  • IAM Hopping Keys, Roles (modules/evasion_IAM)

Lateral Movement

  • Assume Role (modules/lateral_Assume)

Scenarios

Scenario 1

Scenario 2

Scenario 3

Scenario 4

Scenario 5

aws_ttp_runner's People

Contributors

alc-stripe avatar

Watchers

 avatar

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.