-
Notifications
You must be signed in to change notification settings - Fork 511
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
[New Rule] Building Block Rule - AWS IAM Login Profile Added to User #3633
Merged
terrancedejesus
merged 5 commits into
main
from
new-rule-aws-iam-login-profile-added-to-user
May 14, 2024
Merged
[New Rule] Building Block Rule - AWS IAM Login Profile Added to User #3633
terrancedejesus
merged 5 commits into
main
from
new-rule-aws-iam-login-profile-added-to-user
May 14, 2024
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
terrancedejesus
added
Integration: AWS
AWS related rules
Domain: Cloud
Rule: New
Proposal for new rule
Area: RAD
bbr
Building Block Rules
labels
Apr 30, 2024
terrancedejesus
requested review from
w0rk3r,
DefSecSentinel,
imays11,
Samirbous and
Aegrah
May 10, 2024 00:30
imays11
approved these changes
May 10, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be a really useful BBR for other rules to alert on
rules_building_block/persistence_aws_iam_login_profile_added_to_user.toml
Outdated
Show resolved
Hide resolved
Aegrah
approved these changes
May 13, 2024
rules_building_block/persistence_aws_iam_login_profile_added_to_user.toml
Show resolved
Hide resolved
…o_user.toml Co-authored-by: Isai <[email protected]>
…o_user.toml Co-authored-by: Ruben Groenewoud <[email protected]>
protectionsmachine
pushed a commit
that referenced
this pull request
May 14, 2024
…3633) * new rule 'AWS IAM Login Profile Added to User' * Update rules_building_block/persistence_aws_iam_login_profile_added_to_user.toml Co-authored-by: Isai <[email protected]> * Update rules_building_block/persistence_aws_iam_login_profile_added_to_user.toml Co-authored-by: Ruben Groenewoud <[email protected]> --------- Co-authored-by: Isai <[email protected]> Co-authored-by: Ruben Groenewoud <[email protected]> (cherry picked from commit 608b801)
protectionsmachine
pushed a commit
that referenced
this pull request
May 14, 2024
…3633) * new rule 'AWS IAM Login Profile Added to User' * Update rules_building_block/persistence_aws_iam_login_profile_added_to_user.toml Co-authored-by: Isai <[email protected]> * Update rules_building_block/persistence_aws_iam_login_profile_added_to_user.toml Co-authored-by: Ruben Groenewoud <[email protected]> --------- Co-authored-by: Isai <[email protected]> Co-authored-by: Ruben Groenewoud <[email protected]> (cherry picked from commit 608b801)
protectionsmachine
pushed a commit
that referenced
this pull request
May 14, 2024
…3633) * new rule 'AWS IAM Login Profile Added to User' * Update rules_building_block/persistence_aws_iam_login_profile_added_to_user.toml Co-authored-by: Isai <[email protected]> * Update rules_building_block/persistence_aws_iam_login_profile_added_to_user.toml Co-authored-by: Ruben Groenewoud <[email protected]> --------- Co-authored-by: Isai <[email protected]> Co-authored-by: Ruben Groenewoud <[email protected]> (cherry picked from commit 608b801)
protectionsmachine
pushed a commit
that referenced
this pull request
May 14, 2024
…3633) * new rule 'AWS IAM Login Profile Added to User' * Update rules_building_block/persistence_aws_iam_login_profile_added_to_user.toml Co-authored-by: Isai <[email protected]> * Update rules_building_block/persistence_aws_iam_login_profile_added_to_user.toml Co-authored-by: Ruben Groenewoud <[email protected]> --------- Co-authored-by: Isai <[email protected]> Co-authored-by: Ruben Groenewoud <[email protected]> (cherry picked from commit 608b801)
protectionsmachine
pushed a commit
that referenced
this pull request
May 14, 2024
…3633) * new rule 'AWS IAM Login Profile Added to User' * Update rules_building_block/persistence_aws_iam_login_profile_added_to_user.toml Co-authored-by: Isai <[email protected]> * Update rules_building_block/persistence_aws_iam_login_profile_added_to_user.toml Co-authored-by: Ruben Groenewoud <[email protected]> --------- Co-authored-by: Isai <[email protected]> Co-authored-by: Ruben Groenewoud <[email protected]> (cherry picked from commit 608b801)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport: auto
bbr
Building Block Rules
Domain: Cloud
Integration: AWS
AWS related rules
Rule: New
Proposal for new rule
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.
Issues
Summary
Identifies when an AWS IAM login profile is added to a user. Adversaries may add a login profile to an IAM user who
typically does not have one and is used only for programmatic access. This can be used to maintain access to the account
even if the original access key is rotated or disabled. This is a building block rule and does not generate alerts on
its own. It is meant to be used for correlation with other rules to detect suspicious activity.
Additional Information
CreateLoginProfile
is used whenever a user is created in the AWS profile and is commonly called to create users. There is currently no way to determine if the user is only used for programmatic access historically.