Serverless Security: Functions-as-a-Service (FaaS) - Challenges and Best Practices
Offered By: OWASP Foundation via YouTube
Course Description
Overview
Syllabus
Intro
What is Serverless? • Full abstraction of servers • Instant, scalable and event-driven • Pay-per-use . 'Cloud is an operating system Serverless is its native code!' (Erik Peterson, QCON)
Security benefits of Serverless • Servers are maintained by vendor . No server to be compromised? • 'Gone in 60 Milliseconds' - Rich Jones • Denial of Service is mitigated?
Attack Surface • App shattered across platform • Lot of complexity • Inner- and outer attack surface
Third Party Libraries • Simple Azure Function in C# - 10 lines . 50k lines for Azure Functions Host . 120k lines for Newtonsoft.JSON • Vulnerability found/published • Malicious/compromised package
Storing Secrets • Environment variables • Use platform vendor service . 'Secrets at Scale' - lan Haken of Netflix
Encryption of data • Protecting data in transit and at rest . Most vendors do 'transparent' encryption for data at rest. . Consider 'Client-Side Encryption' in transit
Least Privilege • Fit for purpose privileges • Review or audit them over time
Software Supply Chain • Automation is king! • Deployment as code • Separate different environments • Development
Conclusion • Easy to create! Hard to keep track! • Threat modelling . Compartmentalise • Monitoring and logging • Automate delivery and configuration
Taught by
OWASP Foundation
Related Courses
Introducción a computación serverless con Azure FunctionsCoursera Project Network via Coursera Data Modeling and Partitioning Patterns in Azure Cosmos DB
Pluralsight Implement Web and Mobile Services on Microsoft Azure
Pluralsight Microsoft Azure Developer: Troubleshooting Using Microsoft Azure Portal
Pluralsight Azure Event Hubs for .NET Developers: Fundamentals
Pluralsight