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

Bash Scripting Best Practices Every Beginner Should Know

Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…

1 day ago

How To Create A Self-Signed SSL Certificate Using Bash And OpenSSL

Introduction A self-signed SSL certificate is a certificate that is created and signed by the…

1 day ago

How To Debug Bash Scripts Using bash -x And set Commands

Introduction Debugging is an important part of Bash scripting. When a script does not work…

1 day ago

How To Use Cron Jobs With Bash Scripts For Automation

Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…

1 day ago

How To Use Pipes In Bash Scripts For Command Chaining

Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…

1 day ago

How To Use grep, awk, And sed In Bash Scripts

Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…

2 days ago