AWS CloudTrail: Lambda Function Updated with New Layer Attached

Flags CloudTrail UpdateFunctionConfiguration calls that attach Lambda layers to an existing function.

FreeReviewedSigma · Low · v5
Product
aws
Service
cloudtrail
Author
Austin Songer (SigmaHQ), DRL 1.1
Published
2021-09-23
Updated
2026-07-31

What it detects

This rule identifies CloudTrail events where an existing AWS Lambda function configuration is updated to include one or more Lambda layers. Attaching a new layer can allow attacker-controlled code to run under the function, potentially inheriting the IAM role permissions assigned to that function. It relies on AWS CloudTrail telemetry for Lambda UpdateFunctionConfiguration requests and inspects the request parameters for layer entries.

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.