Skip to content
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_rules #5023

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

new_rules #5023

wants to merge 1 commit into from

Conversation

saakovv
Copy link

@saakovv saakovv commented Sep 23, 2024

Summary of the Pull Request

The ImportKeyPair action in the context of Amazon Web Services (AWS) is used to import a public SSH key into your AWS account. This allows you to use an existing SSH key to access your EC2 instances.

If an attacker gains access to this function, they can:
• Import their own key: This would allow them to gain SSH access to instances associated with that key.
• Gain unauthorized access: Use the imported key to execute commands on the instances, potentially accessing sensitive data or disrupting services.

Changelog

Example Log Event

 awsCloud_account_ID: 123
   awsRegion: eu-central
   cwlGroupname: aws-controltower/CloudTrailLogs
   eventCategory: Management
   eventID: 123
   eventName: ImportKeyPair
   eventSource: ec2.amazonaws.com
   eventTime: 2024-09-12T08:00:33Z
   eventType: AwsApiCall
   eventVersion: 1.10
   managementEvent: true
   readOnly: false
   recipientAccountId: 123
   requestID: 123
   requestParameters: { 
   }
   responseElements: { 
   }
   sessionCredentialFromConsole: true
   sourceIPAddress: XXX
   tlsDetails: {
   }
   userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
   userIdentity: { 

Fixed Issues

SigmaHQ Rule Creation Conventions

  • If your PR adds new rules, please consider following and applying these conventions

@github-actions github-actions bot added the Rules label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant