Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
product: aws
service: cloudtrail
detection:
selection1:
eventSource: lambda.amazonaws.com
eventName: CreateFunction
selection2:
eventSource: lambda.amazonaws.com
eventName: Invoke
condition: selection1 | near selection2
falsepositives:
- Lambda Function created or invoked may be performed by a system administrator. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment.
- If known behavior is causing false positives, it can be exempted from the rule.