יובל אלוביץ

אקדמי בכיר

SMART

Serverless Module Analysis and Recognition Technique for Managed Applications

Adi Ashkenazi, Edita Grolman, Aviad Elyashar, Dudu Mimran, Oleg Brodt, Yuval Elovici,Asaf Shabtai

Serverless Function-as-a-Service (FaaS) environments enable developers to build and run cloud applications without the need to manage the underlying servers and computing infrastructure, allowing them to focus on implementing the application logic. Such environments contain numerous functions and dynamic resources, e.g., APIs and databases, making it challenging to gain insight and context of internal events i.e., recognize modules. Module in a serverless application is a set of functions and resources, that represents a functional unit that shares logical context. This paper presents SMART, a method for automatic analysis and recognition of modules for managed serverless applications. The proposed method creates an event-based graph by analyzing the standard serverless logs that document events involving the application's functions and resources and utilizes well-known community detection algorithms (such as Louvain), with graph centrality metrics (such as degree centrality) to recognize the modules. SMART enables high-level visibility of the application's structure and logical context which can facilitate security analysis and contribute to improved decision-making of incident response handlers, who typically do not have direct access to the application's design and code, which can lead to challenges in fully understanding the system's intricacies. We focused on the popular Amazon Web Services (AWS) Lambda serverless computing platform and evaluated the proposed method on three different demo applications (Airline Booking, VOD, and E-commerce). We compared SMART's performance to four overlapping community detection algorithms and showed that it outperformed them in the task of module recognition, with a maximum improvement of 61% on the omega index metric compared to the Speaker-Listener Label Propagation algorithm. In addition, we demonstrate that the use of large language models (LLMs) with the knowledge gained by SMART can enrich security analysis insights.

שפת פרסום אנגלית
דפים 442-452
סטטוס פרסום פורסם - 01.01.2024

Keywords

Function-as-a-Service
Incident response
Security analysis
Serverless activity logs
Serverless application architecture
Serverless computing

ASJC Scopus subject areas

Computer Networks and Communications
Hardware and Architecture
Information Systems and Management
Safety, Risk, Reliability and Quality
קבצים וקישורים אחרים
Link to publication in Scopus