Should They Have That Much Access?
According to The Hacker News, the first malware targeting AWS Lambda serverless functions was recently discovered. While positioned as a “first-of-its-kind,” its discovery wasn’t entirely surprising.?While this malware was described as “only” mining cryptocurrency, it could be used for more harmful activities as Lambda functions assume an AWS role and are often granted with permissions to access data, such as S3 buckets for input or output.
As researchers, including the Cado labs team that discovered the malware, continue to determine how the malware was deployed, all organizations should keep the following industry best practices in mind:
This discovery is a reminder of the importance of implementing least privilege controls and removing excessive permissions from cloud environments, including permissions related to managing Lambda functions and the IAM roles used by those functions.