Clemmys: towards secure remote execution in FaaS
The DOI matches its Crossref record; 23 of the 28 references it cites were found in a registry or an index.
Abstract
We introduce Clemmys, a security-first serverless platform that ensures confidentiality and integrity of users' functions and data as they are processed on untrusted cloud premises, while keeping the cost of protection low. We provide a design for hardening FaaS platforms with Intel SGX---a hardware-based shielded execution technology. We explain the protocol that our system uses to ensure confidentiality and integrity of data, and integrity of function chains. To overcome performance and latency issues that are inherent in SGX applications, we apply several SGX-specific optimizations to the runtime system: we use SGXv2 to speed up the enclave startup and perform batch EPC augmentation. To evaluate our approach, we implement our design over Apache Open-Whisk, a popular serverless platform. Lastly, we show that Clemmys achieved same throughput and similar latency as native Apache OpenWhisk, while allowing it to withstand several new attack vectors.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Citations
Cites
2017 USENIX Annual Technical Conference (USENIX ATC'17)
Quoc, D. L., Beck, M. S., Bhatotia, P., Chen, R., Fetzer, C. W., & Strufe, T. (2017) · Cited by 3,091
Self-citationA Survey on Homomorphic Encryption Schemes: Theory and Implementation
Acar, A., Aksu, H., Uluagac, A. S., & Conti, M. (2019) · ACM Computing Surveys · doi:10.1145/3214303 · Cited by 1,397
Innovative instructions and software model for isolated execution
McKeen, F., Alexandrovich, I., Berenzon, A., Rozas, C. V., Shafi, H., Shanbhogue, V., & Savagaonkar, U. R. (2013) · Proceedings of the 2nd International Workshop on Hardware and Architectural Support for Security and Privacy · doi:10.1145/2487726.2488368 · Cited by 1,095 · cited 6×
“To tackle this problem without incurring prohibitive over-heads, only two components of Clemmys are running inside a TEE—the platform gateway and the user functions.”
MethodInfluentialEvaluating MapReduce for Multi-core and Multiprocessor Systems
Ranger, C., Raghuraman, R., Penmetsa, A., Bradski, G., & Kozyrakis, C. (2007) · 2007 IEEE 13th International Symposium on High Performance Computer Architecture · doi:10.1109/hpca.2007.346181 · Cited by 966 · cited 3×
“On short-running Phoenix benchmarks (figure not shown), these optimizations do not have any influence.”
MethodSAND: Towards High-Performance Serverless Computing.
Akkuş, İ. E., Chen, R., Rimac, I., Stein, M., Satzke, K., Beck, A. T., Aditya, P., & Hilt, V. (2018) · Cited by 571
Opaque: an oblivious and encrypted distributed analytics platform
Zheng, W., Dave, A., Beekman, J. G., Popa, R. A., Gonzalez, J. E., & Stoica, I. G. (2017) · Networked Systems Design and Implementation · Cited by 440
McKeen, F., Alexandrovich, I., Anati, I., Caspi, D., Johnson, S., Leslie-Hurd, R., & Rozas, C. (2016) · Proceedings of the Hardware and Architectural Support for Security and Privacy 2016 · doi:10.1145/2948618.2954331 · Cited by 238
Serverless computing: economic and architectural impact
Adzic, G., & Chatley, R. (2017) · Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering · doi:10.1145/3106237.3117767 · Cited by 204 · cited 1×
“Serverless computing, or Functionas-a-Service (FaaS), is a cloud computing paradigm that emerged to make processing of bursty, irregular event-driven workloads cheaper, and deploymentÐsimpler [12].”
BackgroundThe serverless trilemma: function composition for serverless computing
Baldini, I., Cheng, P., Fink, S. J., Mitchell, N., Muthusamy, V., Rabbah, R., Suter, P., & Tardieu, O. (2017) · ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Onward!) · doi:10.1145/3133850.3133855 · Cited by 178 · cited 1×
“In case of more advanced chaining graphs [17], the format of the function chaining protocol would have to be redesigned.”
Strong and efficient cache side-channel protection using hardware transactional memory
Gruss, D., Lettner, J., Schuster, F., Ohrimenko, O., Haller, I., & Costa, M. (2017) · TUGraz OPEN Library (Graz University of Technology) · Cited by 160
Research works printed but not linked: 15
- Apache OpenWhisk is a serverless , open source cloud platform. https://openwhisk.apache.org. Last accessed : April , 2019 . Apache OpenWhisk is a serverless, open source cloud platform. https://openwhisk.apache.org. Last accessed: April, 2019.
- AWS Lambda - Serverless Compute . https://aws.amazon.com/lambda/. Last accessed : April , 2019 . AWS Lambda - Serverless Compute. https://aws.amazon.com/lambda/. Last accessed: April, 2019.
- Azure Functions---Serverless Architecture. https://azure.microsoft.com/en-us/services/functions/. Last accessed : April , 2019 . Azure Functions---Serverless Architecture. https://azure.microsoft.com/en-us/services/functions/. Last accessed: April, 2019.
- Cloud Functions - Event-driven Serverless Computing. https://cloud.google.com/functions/. Last accessed : April , 2019 . Cloud Functions - Event-driven Serverless Computing. https://cloud.google.com/functions/. Last accessed: April, 2019.
- Cloud Functions - IBM Cloud . https://www.ibm.com/cloud/functions. Last accessed : April , 2019 . Cloud Functions - IBM Cloud. https://www.ibm.com/cloud/functions. Last accessed: April, 2019.
- HAProxy---The Reliable , High Performance TCP/HTTP Load Balancer. https://www.haproxy.org/. Last accessed : October , 2018 . HAProxy---The Reliable, High Performance TCP/HTTP Load Balancer. https://www.haproxy.org/. Last accessed: October, 2018.
- Kubeless---Kubernetes-native serverless framework. https://kubeless.io. Last accessed : April , 2019 . Kubeless---Kubernetes-native serverless framework. https://kubeless.io. Last accessed: April, 2019.
- OpenFaa S - Serverless Functions Made Simple . https://www.openfaas.com. Last accessed : April , 2019 . OpenFaaS - Serverless Functions Made Simple. https://www.openfaas.com. Last accessed: April, 2019.
- Serverless Functions for Kubernetes - Fission. https://fission.io. Last accessed : April , 2019 . Serverless Functions for Kubernetes - Fission. https://fission.io. Last accessed: April, 2019.
- A MD. Architecture programmers manual : Volume 2: System programming , 2018 . AMD. Architecture programmers manual: Volume 2: System programming, 2018.
- C. Bienia and K. Li . PARSEC 2.0: A new benchmark suite for chip-multiprocessors . In Proceedings of the 5th Annual Workshop on Modeling, Benchmarking and Simulation (MoBS) , 2009 . C. Bienia and K. Li. PARSEC 2.0: A new benchmark suite for chip-multiprocessors. In Proceedings of the 5th Annual Workshop on Modeling, Benchmarking and Simulation (MoBS), 2009.
- E. Oakes , L. Yang , D. Zhou , K. Houck , T. Harter , A. Arpaci-Dusseau , and R. Arpaci-Dusseau . SOCK: Rapid task provisioning with serverless-optimized containers . In 2018 USENIX Annual Technical Conference (USENIX ATC 18) , pages 57 -- 70 , Boston, MA , 2018 . USENIX Association. E. Oakes, L. Yang, D. Zhou, K. Houck, T. Harter, A. Arpaci-Dusseau, and R. Arpaci-Dusseau. SOCK: Rapid task provisioning with serverless-optimized containers. In 2018 USENIX Annual Technical Conference (USENIX ATC 18), pages 57--70, Boston, MA, 2018. USENIX Association.
- O. Oleksenko , B. Trach , R. Krahn , M. Silberstein , and C. Fetzer . Varys: Protecting SGX enclaves from practical side-channel attacks . In 2018 USENIX Annual Technical Conference (USENIX ATC 18) , pages 227 -- 240 , Boston, MA , 2018 . USENIX Association. O. Oleksenko, B. Trach, R. Krahn, M. Silberstein, and C. Fetzer. Varys: Protecting SGX enclaves from practical side-channel attacks. In 2018 USENIX Annual Technical Conference (USENIX ATC 18), pages 227--240, Boston, MA, 2018. USENIX Association.
- S. Arnautov : Secure linux containers with Intel SGX . In 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI) , 2016 . S. Arnautov et al. SCONE: Secure linux containers with Intel SGX. In 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI), 2016.
- L. Wang , M. Li , Y. Zhang , T. Ristenpart , and M. Swift . Peeking behind the curtains of serverless platforms . In 2018 USENIX Annual Technical Conference (USENIX ATC 18) , pages 133 -- 146 , Boston, MA , 2018 . USENIX Association. L. Wang, M. Li, Y. Zhang, T. Ristenpart, and M. Swift. Peeking behind the curtains of serverless platforms. In 2018 USENIX Annual Technical Conference (USENIX ATC 18), pages 133--146, Boston, MA, 2018. USENIX Association.
Cited by
Architectural Implications of Function-as-a-Service Computing
Shahrad, M., Balkind, J., & Wentzlaff, D. (2019) · Proceedings of the 52nd Annual IEEE/ACM International Symposium on Microarchitecture · doi:10.1145/3352460.3358296 · Cited by 209
Survey on serverless computing
Hassan, H. B., Barakat, S. A., & Sarhan, Q. I. (2021) · Journal of Cloud Computing · doi:10.1186/s13677-021-00253-7 · Cited by 177
secureTF: A Secure TensorFlow Framework
Quoc, D. L., Gregor, F., Arnautov, S., Kunkel, R., Bhatotia, P., & Fetzer, C. W. (2020) · International Middleware Conference · doi:10.1145/3423211.3425687 · Cited by 67
“Intel SGX has become available in clouds [36, 49], unleashing a plethora of services to be ported, including Web search [72], actor framework [76], storage [15, 52], leases [85], monitoring and profilers [14, 51], software up-date [70], FaaS [88], networking [86, 87], and data analytics systems [57, 77, 100].”
BackgroundSelf-citationSoK: A Systematic Review of TEE Usage for Developing Trusted Applications
Paju, A., Javed, M., Nurmi, J., Savimäki, J., McGillion, B., & Brumley, B. B. (2023) · International Conference on Availability, Reliability and Security (ARES) · doi:10.1145/3600160.3600169 · Cited by 54
“2019 BITE: Bitcoin Lightweight Client Privacy using Trusted Execution [114] ◦ ◦ ◦ ◦ • ◦ ◦ • ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ • ◦ ◦ ◦ ◦ ◦ Clemmys: towards secure remote execution in FaaS [194] ◦ • ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ • ◦ ◦ ◦ ◦ ◦ Forward and Backward Private Searchable Encryption with SGX [4] ◦ • ◦ ◦ ◦ ◦ ◦ ◦…”
(2021) · doi:10.1109/isca52012.2021.00032 · Cited by 33
“is considered as a promising technology to realize practical privacy-preserving serverless applications [10], [18]–[20].”
BackgroundInfluentialTrust Management as a Service: Enabling Trusted Execution in the Face of Byzantine Stakeholders
Gregor, F., Ozga, W., Vaucher, S., Pires, R. P., Quoc, D. L., Arnautov, S., Martin, A., Schiavoni, V., Felber, P. A., & Fetzer, C. W. (2020) · International Conference on Dependable Systems & Networks/Proceedings · doi:10.1109/dsn48063.2020.00063 · Cited by 35
“It is also worth mentioning that, PALÆMON has been used not only in production, but also in several research works [68], [45].”
BackgroundSelf-citationSecure FaaS orchestration in the fog: how far are we?
Bocci, A., Forti, S., Ferrari, G.-L., & Brogi, A. (2021) · Computing · doi:10.1007/s00607-021-00924-y · Cited by 31
“The integrity of functions is also an important aspect of the serverless scenario that has been targeted by [41,66,68–70, 74, 75].”
BackgroundMethodInfluentialThalheim, J., Unnibhavi, H., Priebe, C., Bhatotia, P., & Pietzuch, P. R. (2021) · European Conference on Computer Systems · doi:10.1145/3447786.3456255 · Cited by 24
“…been used to implement a wide-range of secure systems for storage [6, 45], data analytics [73, 94], data management[67],distributedsystems[82],FaaS[84],filestor-age[2],networkfunctions[64,83],decentralizedledgers[51], contentdeliverynetworks[30],machinelearning[46],etc.…”
MethodSelf-citationRahaman, M. S., Islam, A., Cerny, T., & Hutton, S. (2023) · Sensors · doi:10.3390/s23041755 · Cited by 21
Confidential Computing Across Edge‐To‐Cloud for Machine Learning: A Survey Study
Zobaed, S., & Amini Salehi, M. (2025) · Software Practice and Experience · doi:10.1002/spe.3398 · Cited by 21
Avocado: A Secure In-Memory Distributed Storage System
Bailleu, M., Giantsidi, D., Gavrielatos, V., Quoc, D. L., Nagarajan, V., & Bhatotia, P. (2021) · Cited by 21
Self-citationA systematic review on security mechanisms for serverless computing
Escaleira, P., Cunha, V. A., Barraca, J. P., Gomes, D., & Aguiar, R. L. (2025) · Cluster Computing · doi:10.1007/s10586-025-05371-4 · Cited by 29
“For instance, some Quantum key distribution 3 [63–65] Secure tunnels with VPNs 1 [66] Trusted Execution Environment 3 [31, 36, 37] Security enablers 1 [25] Table 6 Taxonomy and techniques of function protection works”
InfluentialIoT Serverless Computing at the Edge: Open Issues and Research Direction
Kjorveziroski, V., Bernad, C., Roig, P. J., Gilly, K., Mishev, A., Trajkovik, V., & Filiposka, S. (2021) · Transactions on Networks and Communications · doi:10.14738/tnc.94.11231 · Cited by 19
Hardware-hardened Sandbox Enclaves for Trusted Serverless Computing
Park, J., Kang, S., Lee, S., Kim, T., Park, J., Kwon, Y., & Huh, J. (2023) · ACM Transactions on Architecture and Code Optimization · doi:10.1145/3632954 · Cited by 12
“To meet the security requirements, a new protection model has been proposed for the complex scenarios, called trusted serverless computing model [23, 47, 51, 85].”
BackgroundMethodTEEnder: SGX enclave migration using HSMs
Guerreiro, J., Moura, R., & Silva, J. N. (2020) · Computers & Security · doi:10.1016/j.cose.2020.101874 · Cited by 17
“CFHider[37] Zero Trace[38] Slalom[39] SCBR[40] Tensor Scone[41] Safe Keeper[42] Lightbox[43] Clemmys[44] STANlite[45] TaLoS[46] Max Heap Size (MB) 2100 570 520 11–56 330 110 214 128–4000 100–500 73”
BackgroundT-Lease: a trusted lease primitive for distributed systems
Trach, B., Faqeh, R., Oleksenko, O., Ozga, W., Bhatotia, P., & Fetzer, C. W. (2020) · ACM Symposium on Cloud Computing (SoCC) · doi:10.1145/3419111.3421273 · Cited by 25
“Lastly, S-FaaS [8] is a trustworthy serverless platformbuild using Intel SGX, likeClemmys [61].”
MethodSelf-citationEnclavisor: A Hardware-software Co-design for Enclaves on Untrusted Cloud
Gu, J., Wu, X., Zhu, B., Xia, Y., Zang, B., Guan, H., & Chen, H. (2020) · IEEE Transactions on Computers · doi:10.1109/tc.2020.3019704 · Cited by 14
“When data leaves/enters the processor, it is automatically encrypted/decrypted by the memory controller with a key bound to its owner VM.”
BackgroundTreaty: Secure Distributed Transactions
Giantsidi, D., Bailleu, M., Crooks, N., & Bhatotia, P. (2022) · International Conference on Dependable Systems & Networks/Proceedings · doi:10.1109/dsn53405.2022.00015 · Cited by 14
Self-citationData Enclave: A Data-Centric Trusted Execution Environment
Xu, Y., Pangia, J., Ye, C., Solihin, Y., & Shen, X. (2024) · IEEE International Symposium on High-Performance Computer Architecture (HPCA) · doi:10.1109/hpca57654.2024.00026 · Cited by 15
VMSH: hypervisor-agnostic guest overlays for VMs
Thalheim, J., Okelmann, P., Unnibhavi, H., Gouicem, R., & Bhatotia, P. (2022) · European Conference on Computer Systems · doi:10.1145/3492321.3519589 · Cited by 10
“These solutions provide reduced memory footprints and fast boot up times [83], which makes them suitable for increasingly popular deployment models, such as serverless [13, 116, 119].”
BackgroundSelf-citationMazu: A Zero Trust Architecture for Service Mesh Control Planes
Poudel, A., Niroula, P., MacDonald, C., Gloudemans, L., & Herwig, S. (2025) · European Workshop on System Security · doi:10.1145/3722041.3723100 · Cited by 6
“Recently, some research systems [2, 11, 35] run critical control plane components, such as the CA, in trusted execution environments (TEEs), notably Intel SGX [26].”
Cryonics: Trustworthy Function-as-a-Service using Snapshot-based Enclaves
Kim, S.-J., You, M., Kim, B. J., & Shin, S. (2023) · ACM Symposium on Cloud Computing (SoCC) · doi:10.1145/3620678.3624789 · Cited by 6
“Moreover, although some previous studies [2, 6, 25, 44] have endeavored to address this issue, they continue to face critical limitations, such as supporting only specific serverless function types [6] and necessitating modifications to the underlying SGX hardware [25].”
BackgroundMethodSecure and Policy-Compliant Query Processing on Heterogeneous Computational Storage Architectures
Unnibhavi, H., Cerdeira, D., Barbalace, A., Santos, N., & Bhatotia, P. (2022) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/3514221.3517913 · Cited by 16
“Likewise, Intel SGX has been extensively used to support many applications [22, 30, 42], including Web search [83], storage systems [26, 119], distributed systems [121], FaaS [123], networking[97,119,122],machinelearning[90,100],anddataanalytics systems[76,108,130].”
MethodSelf-citationSeSeMI: Secure Serverless Model Inference on Sensitive Data
Hu, G., Wu, Y., Chen, G., Dinh, T. T. A., & Ooi, B. C. (2025) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65448.2025.00167 · Cited by 5
Carpentier, R., Popa, I. S., & Anciaux, N. (2024) · Distributed and Parallel Databases · doi:10.1007/s10619-024-07449-1 · Cited by 1
Understanding Sidecars in Cloud Orchestration
Sahu, P., Wei, S., Yadwadkar, N. J., & Tiwari, M. (2025) · Workshop on SErverless Systems, Applications and MEthodologies (SESAME) · doi:10.1145/3721465.3721862 · Cited by 4
Architecting Trigger-Action Platforms for Security, Performance and Functionality
Jegan, D. S., Swift, M. M., & Fernandes, E. (2024) · Network and Distributed System Security Symposium · doi:10.14722/ndss.2024.23034 · Cited by 1
“Clemmys [58] provides a framework for running serverless functions in SGX enclaves.”
BackgroundStockade: Hardware Hardening for Distributed Trusted SandboxesPreprint
Park, J., Kang, S., Lee, S., Kim, T., Park, J., Kwon, Y., & Huh, J. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2108.13922 · Cited by 3
“Recent studies investigated applying trusted computing to such distributed cloud applications consisting of multiple modules with different providers [29,51,57,89,94].”
BackgroundKumar, S., Panda, A., & Sarangi, S. R. (2022) · International Middleware Conference · doi:10.1145/3528535.3531514
“[71] (FaaS) Perform matrix multiplication Dimension: 2000 × 2000”
Function as a Service (FaaS) for Fast, Efficient, Scalable Systems
Mallellu, S. P., Maheswari, V. U., Aluvalu, R., & Kantipudi, M. P. (2024) · Advances in systems analysis, software engineering, and high performance computing book series · doi:10.4018/979-8-3693-1682-5.ch008
L ambada : Autoscaling Confidential Function Chains without Centralized Trust
Poudel, A., Berthoud, M., & Herwig, S. (2026) · ACM Symposium on Access Control Models and Technologies (SACMAT) · doi:10.1145/3750555.3811894
Metadata
- Authors
- Trach, B., Oleksenko, O., Gregor, F., Bhatotia, P., & Fetzer, C.
- Affiliations
- Technische Universität Dresden (DE)
- University of Edinburgh (GB)
- Venue
- Proceedings of the 12th ACM International Conference on Systems and Storage
- Publisher
- ACM
- Published
- 2019-05-22
- Pages
- 44-54
- OpenAlex
- W2946820880
- Cited by
- 31
- References
- 28
- Citations by year
- 2026: 1 · 2025: 5 · 2024: 4 · 2023: 4 · 2022: 4 · 2021: 7 · 2020: 5 · 2019: 1
- FWCI
- 1.63
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM International Conference on Systems and Storage (publishedVersion)
- Funders
- Horizon 2020 Framework Programme (690588)
- Bundesministerium für Bildung und Forschung (03ZZ0517A)
- Topics
- Physical Sciences › Computer Science › Hardware and Architecture › Security and Verification in Computing
- Physical Sciences › Computer Science › Information Systems › Cloud Data Security Solutions
- Physical Sciences › Computer Science › Computer Networks and Communications › Distributed systems and fault tolerance
- Keywords
- serverless computing, function-as-a-service, Intel SGX, trusted execution environments, hardware security, data confidentiality, data integrity, Apache OpenWhisk, untrusted cloud
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.