-
Notifications
You must be signed in to change notification settings - Fork 518
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
[Rule Tuning] Adjusting Verbiage for AWS EC2 Instance Connect SSH Public Key Uploaded
#4334
Merged
terrancedejesus
merged 5 commits into
main
from
rule-tuning-aws-ec2-instance-connect-verbiage
Jan 15, 2025
Merged
[Rule Tuning] Adjusting Verbiage for AWS EC2 Instance Connect SSH Public Key Uploaded
#4334
terrancedejesus
merged 5 commits into
main
from
rule-tuning-aws-ec2-instance-connect-verbiage
Jan 15, 2025
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
documentation
Improvements or additions to documentation
Rule: Tuning
tweaking or tuning an existing rule
labels
Jan 6, 2025
Rule: Tuning - GuidelinesThese guidelines serve as a reminder set of considerations when tuning an existing rule. Documentation and Context
Rule Metadata Checks
Testing and Validation
|
terrancedejesus
requested review from
w0rk3r,
DefSecSentinel,
imays11,
Samirbous,
Aegrah and
shashank-elastic
January 6, 2025 17:42
shashank-elastic
approved these changes
Jan 7, 2025
Aegrah
approved these changes
Jan 8, 2025
Samirbous
approved these changes
Jan 9, 2025
terrancedejesus
deleted the
rule-tuning-aws-ec2-instance-connect-verbiage
branch
January 15, 2025 16:12
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport: auto
documentation
Improvements or additions to documentation
Domain: Cloud
Integration: AWS
AWS related rules
Rule: Tuning
tweaking or tuning an existing 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.
Pull Request
Issue link(s):
Summary - What I changed
Adjusted verbiage for this rule. Previously we only stated that this covered SSH key uploads to an EC2 instance. However, it is also an indicator fr EC2 Instance Connect connections as well via
aws ec2-instance-connect ssh...
command. This command, when executed, will automatically send the same API call as theaws ec2-instance-connect send-ssh-public-key...
command would prior to establishing the SSH connection. There is no CloudTrail event action recorded for theaws ec2-instance-connect ssh...
, therefore this rule is the only indicator for such activity.Updated MITRE ATT&CK and description. Note, volume of alerts is relatively low for the past 90 days, no additional tuning necessary for detection logic.
How To Test
Checklist
bug
,enhancement
,schema
,maintenance
,Rule: New
,Rule: Deprecation
,Rule: Tuning
,Hunt: New
, orHunt: Tuning
so guidelines can be generatedmeta:rapid-merge
label if planning to merge within 24 hoursContributor checklist