Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Comments
Serverless Computing: 'Function' vs. 'Infrastructure' as-a-Service
Newest First  |  Oldest First  |  Threaded View
orysegal
orysegal,
User Rank: Author
2/8/2019 | 4:50:01 AM
Re: Who controls policy?
You make a good point, however, when adopting FaaS/Serverless on public clouds, you have no control over the infrastructure, networking and underlying servers (I will get back to this later). As such, you can't really apply network segmentation or deploy a network firewall. Networking security in those cases is handled by the cloud provider, on a level much lower than what you control. The cloud provider is responsible for making sure that unauthorized traffic to the server/hosting OS is not allowed, and the cloud provider is responsible for only allowing API calls to invoke your functions when relevant.

Your only chance of actually controlling network connectivity is by deploying the function inside a VPC and then running a NAT gateway or a virtual firewall on an EC2 instance, but then, you have to deal with a new set of problems, not to mention that you just "de-serverlessed" (I need to trademark this term) the application.

There are alternatives to VPC, especially around outbound networking - you could use a library like FunctionShield (free), which enables you to regain controls over where/who/what the function can communicate with (proper disclosure - my team developed that library). More information on the github project: https://github.com/puresec/FunctionShield/

To your last point - application/business layer security should always remain the responsibility of the application owner, both because of liability, but also because the owner is the only one who really understands the business logic.

FaaS platforms will evolve to be more intelligent and tailored to specific use cases, and together with serverless-native app security solutions and cloud-native mind-set, I'm certain that the overall security posture is about to get a serious boost. 

 

 
drmikelloyd
drmikelloyd,
User Rank: Author
2/7/2019 | 6:03:36 PM
Who controls policy?
I agree with your analysis, Ory.  The problem I see is that the FaaS split pushes a couple of items over to the provider that make no sense.  Most of the items are standard, one-size-fits-all - things like keeping up with patches, or hardening.  But anything custom - about the specific needs of one customer - belong under the customer's control and responsibility, not the provider.  Consider your items "network segmentation" and "network firewalls".  Segmentation is custom - as I build my app, I need to control what is kept separate from what.  What goes into a firewall is a statement of business intent - "I want this to talk to that, but not the other".  None of that is generic, one-size-fits-all.  If that is handed over from the customer to the provider, how does the customer specify their particular needs?

 

This, to me, is why we've seen years of evolution of exactly the cutoff you're talking about - who does which parts?  The dream is "customer only deals with customer business logic", but the practice is closer to "customer has to deal with business logic AND business-specific security controls".  This prevents the line moving too far up the stack for workloads that really matter.


Edge-DRsplash-10-edge-articles
I Smell a RAT! New Cybersecurity Threats for the Crypto Industry
David Trepp, Partner, IT Assurance with accounting and advisory firm BPM LLP,  7/9/2021
News
Attacks on Kaseya Servers Led to Ransomware in Less Than 2 Hours
Robert Lemos, Contributing Writer,  7/7/2021
Commentary
It's in the Game (but It Shouldn't Be)
Tal Memran, Cybersecurity Expert, CYE,  7/9/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Everything You Need to Know About DNS Attacks
It's important to understand DNS, potential attacks against it, and the tools and techniques required to defend DNS infrastructure. This report answers all the questions you were afraid to ask. Domain Name Service (DNS) is a critical part of any organization's digital infrastructure, but it's also one of the least understood. DNS is designed to be invisible to business professionals, IT stakeholders, and many security professionals, but DNS's threat surface is large and widely targeted. Attackers are causing a great deal of damage with an array of attacks such as denial of service, DNS cache poisoning, DNS hijackin, DNS tunneling, and DNS dangling. They are using DNS infrastructure to take control of inbound and outbound communications and preventing users from accessing the applications they are looking for. To stop attacks on DNS, security teams need to shore up the organization's security hygiene around DNS infrastructure, implement controls such as DNSSEC, and monitor DNS traffic
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2023-33196
PUBLISHED: 2023-05-26
Craft is a CMS for creating custom digital experiences. Cross site scripting (XSS) can be triggered by review volumes. This issue has been fixed in version 4.4.7.
CVE-2023-33185
PUBLISHED: 2023-05-26
Django-SES is a drop-in mail backend for Django. The django_ses library implements a mail backend for Django using AWS Simple Email Service. The library exports the `SESEventWebhookView class` intended to receive signed requests from AWS to handle email bounces, subscriptions, etc. These requests ar...
CVE-2023-33187
PUBLISHED: 2023-05-26
Highlight is an open source, full-stack monitoring platform. Highlight may record passwords on customer deployments when a password html input is switched to `type="text"` via a javascript "Show Password" button. This differs from the expected behavior which always obfuscates `ty...
CVE-2023-33194
PUBLISHED: 2023-05-26
Craft is a CMS for creating custom digital experiences on the web.The platform does not filter input and encode output in Quick Post validation error message, which can deliver an XSS payload. Old CVE fixed the XSS in label HTML but didn’t fix it when clicking save. This issue was...
CVE-2023-2879
PUBLISHED: 2023-05-26
GDSDB infinite loop in Wireshark 4.0.0 to 4.0.5 and 3.6.0 to 3.6.13 allows denial of service via packet injection or crafted capture file