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

Pystinger : Bypass Firewall For Traffic Forwarding Using Webshell

Pystinger is a Python-based tool that enables SOCKS4 proxying and port mapping through webshells. It…

7 days ago

CVE-Search : A Tool To Perform Local Searches For Known Vulnerabilities

Introduction When it comes to cybersecurity, speed and privacy are critical. Public vulnerability databases like…

7 days ago

CVE-Search : A Tool To Perform Local Searches For Known Vulnerabilities

Introduction When it comes to cybersecurity, speed and privacy are critical. Public vulnerability databases like…

1 week ago

How to Bash Append to File: A Simple Guide for Beginners

If you are working with Linux or writing bash scripts, one of the most common…

1 week ago

Mastering the Bash Case Statement with Simple Examples

What is a bash case statement? A bash case statement is a way to control…

1 week ago

How to Check if a File Exists in Bash – Simply Explained

Why Do We Check Files in Bash? When writing a Bash script, you often work…

1 week ago