GNN-Based Code Annotation Logic for Establishing Security Boundaries in C Code
Varun Gadey, Raphael Goetz, Christoph Sendner, Sampo Sovio, Alexandra, Dmitrienko

TL;DR
This paper introduces CAL, a graph neural network-based tool that automatically identifies security-sensitive code segments in C programs to optimize TEE deployment, reducing manual effort and enhancing security.
Contribution
CAL is the first tool to leverage graph neural networks for automatic security-sensitive code identification in C, improving TEE integration and reducing TCB.
Findings
Recall of 86.05% in identifying sensitive code
F1 score of 81.56% in detection accuracy
Identification rate of 91.59% for security functions
Abstract
Securing sensitive operations in today's interconnected software landscape is crucial yet challenging. Modern platforms rely on Trusted Execution Environments (TEEs), such as Intel SGX and ARM TrustZone, to isolate security sensitive code from the main system, reducing the Trusted Computing Base (TCB) and providing stronger assurances. However, identifying which code should reside in TEEs is complex and requires specialized expertise, which is not supported by current automated tools. Existing solutions often migrate entire applications to TEEs, leading to suboptimal use and an increased TCB. To address this gap, we propose Code Annotation Logic (CAL), a pioneering tool that automatically identifies security sensitive components for TEE isolation. CAL analyzes codebases, leveraging a graph-based approach with novel feature construction and employing a custom graph neural network model…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques
MethodsBalanced Selection · Graph Neural Network
