Abstract
Serverless computing platforms like AWS Lambda simplify infrastructure management but create significant observability gaps for security teams. Fragmented, high-volume logs often lack the context necessary to identify complex attacks. This paper proposes the "Perimeterless" stack, which uses a custom ontology to transform raw logs into a unified knowledge graph. Our evaluation demonstrates that this approach enhances incident response accuracy by 18.5% and significantly reduces the time required to investigate security events compared to traditional manual methods.
Introduction
The shift to serverless architectures introduces a "shared responsibility" security gap. While cloud providers manage the underlying infrastructure, developers remain responsible for securing application logic and data. However, traditional security tools—which often rely on network or host-level access—are incompatible with these managed environments. Security analysts are instead left with a "black box" and a mountain of granular API logs (e.g., AWS CloudTrail) that lack the relational context needed to detect sophisticated threats like Denial-of-Wallet (DoW) or subtle data exfiltration.
The Perimeterless Stack
To address these challenges, we developed the Perimeterless stack, a three-layer security framework that operates passively on standard application logs without requiring source code access.
- Serverless Ontology: A formal dictionary mapping generic serverless concepts (Compute, Storage, IAM) to specific cloud entities (Lambda, S3, DynamoDB). It captures both explicit and implicit relationships between resources.
- Knowledge Graph Pipeline: This layer ingests raw logs and uses the ontology to construct a Knowledge Graph (KG) stored in a Neo4j database. This transforms flat event lists into a navigable web of interactions.
- Situational Awareness Tools: The system includes an Incident Response (IR) dashboard and a Criticality of Asset (CoA) framework. The CoA framework uses the Analytic Hierarchy Process (AHP) to prioritize alerts based on the business importance of the affected resources.
Experimental Setup and Methodology
The system was evaluated using a testbed based on the Airline Booking serverless application, a standard benchmark in the research community. The architecture includes 12 Lambda functions, 4 S3 buckets, and 4 DynamoDB tables across various functional domains such as Booking, Loyalty, and Payment.
We simulated two primary attack types:
- Denial-of-Wallet (DoW): Exploiting serverless scaling to incur massive costs.
- Data Leakage: Unauthorized access and extraction of sensitive user data.
A novel dataset of these AWS serverless application logs was generated and released publicly to support further research in the community.
Key Results
A user study involving 39 participants compared the Perimeterless dashboard against a baseline of manual log analysis using spreadsheets.
- Improved Efficiency: For complex security tasks, participants using the dashboard were up to 20 minutes faster, significantly reducing the Mean Time to Detect (MTTD).
- Enhanced Accuracy: The graph-based visualization led to an 18.5% increase in accuracy when identifying the root causes of security alerts.
- Expert Consensus: The CoA risk assessment framework achieved a Kendall-W score of 0.71, indicating strong agreement among security experts regarding asset prioritization.
Conclusion
The Perimeterless stack demonstrates that moving from event-based to behavior-based monitoring through knowledge graphs significantly improves serverless security. By operating entirely on logs, the system provides high-fidelity observability with zero performance overhead. Future work will focus on expanding support to multi-cloud environments and evolving the platform to support proactive threat hunting.
Summary updated