Skip to content

Commit aec72e1

Browse files
saakovvIvan.Saakovfrack113nasbench
authored
Merge PR #5016 from @saakovv - Add New AWS Lambda Function URL Configuration Created
new: New AWS Lambda Function URL Configuration Created --------- Co-authored-by: Ivan.Saakov <[email protected]> Co-authored-by: frack113 <[email protected]> Co-authored-by: Nasreddine Bencherchali <[email protected]>
1 parent a8d8dcf commit aec72e1

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
title: New AWS Lambda Function URL Configuration Created
2+
id: ec541962-c05a-4420-b9ea-84de072d18f4
3+
status: experimental
4+
description: |
5+
Detects when a user creates a Lambda function URL configuration, which could be used to expose the function to the internet and potentially allow unauthorized access to the function's IAM role for AWS API calls.
6+
This could give an adversary access to the privileges associated with the Lambda service role that is attached to that function.
7+
references:
8+
- https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunctionUrlConfig.html
9+
- https://cloud.hacktricks.xyz/pentesting-cloud/aws-security/aws-privilege-escalation/aws-lambda-privesc
10+
- https://www.wiz.io/blog/how-to-set-secure-defaults-on-aws
11+
author: Ivan Saakov
12+
date: 2024-12-19
13+
tags:
14+
- attack.initial-access
15+
- attack.privilege-escalation
16+
logsource:
17+
product: aws
18+
service: cloudtrail
19+
detection:
20+
selection:
21+
eventSource: lambda.amazonaws.com
22+
eventName: 'CreateFunctionUrlConfig'
23+
condition: selection
24+
falsepositives:
25+
- Creating a Lambda function URL configuration may be performed by a system administrator. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment.
26+
- Creating a Lambda function URL configuration from unfamiliar users should be investigated. If known behavior is causing false positives, it can be exempted from the rule.
27+
level: medium

0 commit comments

Comments
 (0)