-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update T1580.yaml AWS - EC2 Security Group Enumeration #2659
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Simulate an attacker's action to enumerate EC2 Security Groups in a compromised AWS environment.
updated supported_platforms: iass:aws
updated : supported_platforms: - windows - macos - linux - iaas:aws
updated with dependencies: - description: AWS CLI installed and configured with the necessary access rights. prereq_command: type aws || aws --version get_prereq_command: | if [ "$(uname)" = "Darwin" ] || [ "$(expr substr $(uname) 1 5)" = "Linux" ]; then curl "https://aws.amazon.com/cli/" -o "Install-AWSCLI.sh" && sh Install-AWSCLI.sh elif [ "$(expr substr $(uname) 1 5)" = "MINGW" ]; then Invoke-WebRequest -Uri "https://aws.amazon.com/cli/" -OutFile "Install-AWSCLI.ps1"; .\Install-AWSCLI.ps1 fi
cyberbuff
requested changes
Jan 18, 2024
removed un supported formats
69881b2
to
6534869
Compare
f082018
to
f6fc008
Compare
1067961
to
98f9300
Compare
d31fa0a
to
029110b
Compare
e491440
to
2d82fc9
Compare
patel-bhavin
approved these changes
Mar 7, 2024
The PR is updated based on @cyberbuff 's comments ! thank you for the atomic @prashanthpulisetti |
cyberbuff
approved these changes
Mar 8, 2024
@patel-bhavin can you confirm if this PR is still open? or can be closed? |
Yes, the PR is good! Thanks for contributing this test ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Simulate Attacker Action for Enumerating EC2 Security Groups
Details
This update introduces an Atomic Test designed to simulate an attacker's actions in enumerating EC2 Security Groups within a compromised AWS environment. The test leverages the AWS CLI to query and list all security groups, revealing details like group IDs, names, and associated rules. This simulation helps in understanding potential reconnaissance steps an attacker might take after gaining initial access to AWS resources.
Implementation
aws ec2 describe-security-groups
command.aws_profile
) and the desired output format (output_format
).Testing
Associated Issues