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

CreateFunctionUrlConfig #5016

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

CreateFunctionUrlConfig #5016

wants to merge 3 commits into from

Conversation

saakovv
Copy link

@saakovv saakovv commented Sep 20, 2024

Summary of the Pull Request

This rule now tracks the creation of the Lambda function URL configuration, which can be used by attackers to gain unauthorized access to Lambda functions and their privileges.

Changelog

Example Log Event

{ [-]
   awsCloud_account_ID: XXX
   awsRegion: eu-central
   cwlGroupname: aws-controltower/CloudTrailLogs
   eventCategory: Management
   eventID: 6e683fe2
   eventName: CreateFunctionUrlConfig
   eventSource: lambda.amazonaws.com
   eventTime: 2024-09-12T08:50:11Z
   eventType: AwsApiCall
   eventVersion: 1.08
   managementEvent: true
   readOnly: false
   recipientAccountId: XXX
   requestID: db215d0a
   requestParameters: { [-]
     authType: NONE
     cors: { [-]
     }
     functionName: XXX
     invokeMode: BUFFERED
   }
   responseElements: { [-]
     authType: NONE
     creationTime: 2024-09-12T08:50:11.556353Z
     functionArn: arn:aws:lambda:eu-central-XXX:function:XXX
     functionUrl: https://XXX
     invokeMode: BUFFERED
   }
   sessionCredentialFromConsole: true
   sourceIPAddress: XXX
   tlsDetails: { [-]
     cipherSuite: TLS_AES_128_GCM_SHA256
     clientProvidedHostHeader: lambda.eu-central.amazonaws.com
     tlsVersion: TLSv1.3
   }
   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: { [-]
     accessKeyId: XXX
     accountId: XXX
     arn: arn:aws:iam::XXX:user/XXX
     principalId: XXX
     sessionContext: { [-]
       attributes: { [-]
         creationDate: 2024-09-12T08:46:54Z
         mfaAuthenticated: false
       }
       sessionIssuer: { [-]
       }
       webIdFederationData: { [-]
       }
     }
     type: IAMUser
     userName: XXX
   }
}

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 20, 2024
fix
status: experimental
Copy link
Member

@frack113 frack113 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Author

@saakovv saakovv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added references

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.

2 participants