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

groupdel Command in Linux: Remove a Group and Audit Files

The groupdel command in Linux removes a group from the system. It deletes the group's entry from /etc/group and /etc/gshadow,…

12 hours ago

wc Command in Linux: Count Lines, Words, Characters, and Bytes

The wc command in Linux counts lines, words, characters, and bytes in files or standard input. It…

12 hours ago

top Command in Linux: Monitor Processes and Resource Usage

The top command in Linux provides a real-time view of running processes and system resource usage. From…

12 hours ago

usermod Command in Linux: Modify User Accounts and Groups

The usermod command in Linux modifies existing user account attributes. You can use it to manage group…

12 hours ago

sort Command in Linux: Sort Text, Numbers, Columns, and More

The sort command in Linux reads lines from files or standard input and writes them to standard…

2 days ago

wall Command in Linux: Broadcast Messages to Logged-In Users

The wall command in Linux sends a message to the terminals of all currently logged-in users. The…

2 days ago