Kali Linux

AWS-Threat-Simulation-and-Detection : Playing Around With Stratus Red Team And SumoLogic

AWS-Threat-Simulation-and-Detection, this repository is a documentation of my adventures with Stratus Red Team – a tool for adversary emulation for the cloud.

Stratus Red Team is “Atomic Red Team for the cloud, allowing to emulate offensive attack techniques in a granular and self-contained manner.

We run the attacks covered in the Stratus Red Team repository one by one on our AWS account. In order to monitor them, we will use CloudTrail and CloudWatch for logging and ingest these logs into SumoLogic for further analysis.

AttackDescriptionLink
aws.credential-access.ec2-get-password-dataRetrieve EC2 Password DataLink
aws.credential-access.ec2-steal-instance-credentialsSteal EC2 Instance CredentialsLink
aws.credential-access.secretsmanager-retrieve-secretsRetrieve a High Number of Secrets Manager secretsLink
aws.credential-access.ssm-retrieve-securestring-parametersRetrieve And Decrypt SSM ParametersLink
aws.defense-evasion.cloudtrail-deleteDelete CloudTrail TrailLink
aws.defense-evasion.cloudtrail-event-selectorsDisable CloudTrail Logging Through Event SelectorsLink
aws.defense-evasion.cloudtrail-lifecycle-ruleCloudTrail Logs Impairment Through S3 Lifecycle RuleLink
aws.defense-evasion.cloudtrail-stopStop CloudTrail TrailLink
aws.defense-evasion.organizations-leaveAttempt to Leave the AWS OrganizationLink
aws.defense-evasion.vpc-remove-flow-logsRemove VPC Flow LogsLink
aws.discovery.ec2-enumerate-from-instanceExecute Discovery Commands on an EC2 InstanceLink
aws.exfiltration.ec2-security-group-open-port-22-ingressOpen Ingress Port 22 on a Security GroupLink
aws.exfiltration.ec2-share-amiExfiltrate an AMI by Sharing ItLink
aws.exfiltration.ec2-share-ebs-snapshotExfiltrate EBS Snapshot by Sharing ItLink
aws.exfiltration.rds-share-snapshotExfiltrate RDS Snapshot by SharingLink
aws.exfiltration.s3-backdoor-bucket-policyBackdoor an S3 Bucket via its Bucket PolicyLink
aws.persistence.iam-backdoor-roleBackdoor an IAM RoleLink
aws.persistence.iam-backdoor-userCreate an Access Key on an IAM UserTBD
aws.persistence.iam-create-admin-userCreate an administrative IAM UserTBD
aws.persistence.iam-create-user-login-profileCreate a Login Profile on an IAM UserTBD
aws.persistence.lambda-backdoor-functionBackdoor Lambda Function Through Resource-Based PolicyTBD
R K

Recent Posts

Install Pip on Ubuntu 18.04: Python 3 and Python 2 Setup Guide

Pip is the official package manager for Python and the standard way to install libraries from…

4 days ago

Install R on Ubuntu 18.04 from CRAN: Statistical Computing Setup

R is an open-source programming language and environment built for statistical computing and data visualization. It…

4 days ago

Install Jenkins on Ubuntu 18.04: CI/CD Server Setup Guide

Jenkins is an open-source automation server that makes it easy to build CI/CD pipelines. Continuous integration…

4 days ago

Install Android Studio on Ubuntu 18.04 with Snap and OpenJDK 8

Android Studio is the official IDE for Android development, built on JetBrains' IntelliJ IDEA platform. It…

4 days ago

Install and Configure GitLab on Ubuntu 18.04 with Omnibus

GitLab is a web-based, open-source Git repository manager written in Ruby. It includes built-in tools for…

4 days ago

Install Anaconda on Ubuntu 18.04: Python Data Science Setup Guide

Anaconda is the most widely used Python distribution for data science and machine learning. It bundles…

5 days ago