heroui logo

AWS Potential Backdoor Lambda Function Through Resource-Based Policy

Panther Rules

View Source
Summary
This rule detects potential security risks associated with Amazon Web Services (AWS) Lambda functions by monitoring for the addition of permissions through resource-based policies. The rule is triggered when a permission is added to a Lambda function, indicating that access rights may have been expanded beyond necessity or intended use. This behavior may signify that an attacker could manipulate the function using unauthorized access, representing a backdoor entry point into the AWS environment. The rule leverages AWS CloudTrail logs to track the 'AddPermission' API call related to Lambda functions. It emphasizes the importance of verifying whether any modifications made are legitimate and necessary as part of access enhancement procedures.
Categories
  • Cloud
  • AWS
Data Sources
  • Cloud Storage
  • Logon Session
ATT&CK Techniques
  • T1078
Created: 2025-01-30