{"id":{"repo_id":"rice","oai_identifier":"oai:repository.rice.edu:1911/119301"},"canonical_url":"https://search.ndltd.org/etd/rice/oai:repository.rice.edu:1911/119301","repository":{"repo_id":"rice","name":"Rice University","base_url":"https://repository.rice.edu/server/oai/request"},"display":{"title":"Toward Secure Compartmentalization: Scalable Static Analysis Using Program Dependence Graph","abstract":"Large and complex software systems, such as operating system kernels and database engines, are frequently designed using a monolithic architecture. In this structure, a single bug or memory corruption in any component can compromise the entire system integrity. To mitigate this risk, compartmentalization, which establishes privilege boundaries between different components, has been proposed and employed. However, identifying secure boundaries and analyzing the data and control flow across them can be particularly challenging, especially in extensive codebases. We define a Compartment Interface Vulnerability (CIV) as a function or interface that unintentionally exposes unsafe privileges to external components. This thesis introduces a scalable static analysis framework aimed at detecting CIVs and aiding in selecting secure boundaries. Unlike dynamic methods that rely on test inputs and often face limitations in coverage, static analysis based upon a Program Dependence Graph (PDG) offers complete coverage of program paths. However, PDG-based static analysis has proven difficult to scale to large software systems. In such systems, PDG queries can require excessive memory and take too long to complete. To address these issues, we enhance the PDG framework by implementing a parallel-safe traversal algorithm that employs a three-state marking scheme and a memory-efficient reachability analysis. These innovations make it practical to perform whole-system analysis on real-world systems like the Linux kernel. We demonstrate the effectiveness of this enhanced PDG framework through two novel tools that are built upon it: (1) CIVScope, which detects CIVs across compartment boundaries, and (2) CIVPerf, which assists the developer in designing, implementing, and evaluating compartmentalization policies. These applications showcase how our static analysis can automatically derive and evaluate compartment boundaries. In the first use case, we compare CIVScope to the dynamic fuzzing tool, ConfFuzz, highlighting that static analysis achieves complete path coverage at scale and reveals vulnerabilities that may remain undetected at runtime. In the second use case, we show how CIVPerf can evaluate the security and performance of various compartmentalization policies, highlighting its scalability for large software analysis, automating the compartmentalization process, and assessing the compartments.","abstract_html":"Large and complex software systems, such as operating system kernels and database engines, are frequently designed using a monolithic architecture. In this structure, a single bug or memory corruption in any component can compromise the entire system integrity. To mitigate this risk, compartmentalization, which establishes privilege boundaries between different components, has been proposed and employed. However, identifying secure boundaries and analyzing the data and control flow across them can be particularly challenging, especially in extensive codebases. We define a Compartment Interface Vulnerability (CIV) as a function or interface that unintentionally exposes unsafe privileges to external components. This thesis introduces a scalable static analysis framework aimed at detecting CIVs and aiding in selecting secure boundaries. Unlike dynamic methods that rely on test inputs and often face limitations in coverage, static analysis based upon a Program Dependence Graph (PDG) offers complete coverage of program paths. However, PDG-based static analysis has proven difficult to scale to large software systems. In such systems, PDG queries can require excessive memory and take too long to complete. To address these issues, we enhance the PDG framework by implementing a parallel-safe traversal algorithm that employs a three-state marking scheme and a memory-efficient reachability analysis. These innovations make it practical to perform whole-system analysis on real-world systems like the Linux kernel. We demonstrate the effectiveness of this enhanced PDG framework through two novel tools that are built upon it: (1) CIVScope, which detects CIVs across compartment boundaries, and (2) CIVPerf, which assists the developer in designing, implementing, and evaluating compartmentalization policies. These applications showcase how our static analysis can automatically derive and evaluate compartment boundaries. In the first use case, we compare CIVScope to the dynamic fuzzing tool, ConfFuzz, highlighting that static analysis achieves complete path coverage at scale and reveals vulnerabilities that may remain undetected at runtime. In the second use case, we show how CIVPerf can evaluate the security and performance of various compartmentalization policies, highlighting its scalability for large software analysis, automating the compartmentalization process, and assessing the compartments.","abstract_has_math":false,"creators":["Chien, Yi"],"institution":"Rice University","degree_name":"Doctor of Philosophy","degree_level":null,"degree_discipline":"System Security","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Cox, Alan L."],"committee_chairs":[],"committee_members":["Dautenhahn, Nathan","Rixner, Scott","Yang, Kaiyuan"],"year":2026,"date_issued":"2026-05","date_published":"2026-05","updated_at":"2026-11-19T09:21:56Z","subjects":["Computer Science","Engineering, System Science"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1911/119301","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1911/119301","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":"embargoed","embargo_until":"2026-11-01","access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Arice%3Aoai%3Arepository.rice.edu%3A1911%2F119301","prefix":"oai_dc"},"source_record":{"url":"https://repository.rice.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.rice.edu%3A1911%2F119301","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Cox, Alan L."]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Dautenhahn, Nathan","Rixner, Scott","Yang, Kaiyuan"]},{"key":"dc:creator","label":"Author","values":["Chien, Yi"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-09-22T16:15:11Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2026-05"]},{"key":"dc:date.issued","label":"Date","values":["2026-05"]},{"key":"dc:date.liftdate","label":"Dc Date Liftdate","values":["2026-11-01"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["May 2026"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2026-09-22T16:15:11Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","text"]},{"key":"thesis:degree_college","label":"Thesis Degree College","values":["George R. Brown School of Engineering"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["System Security"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctor of Philosophy"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Rice University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer Science","Engineering, System Science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1911/119301"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Large and complex software systems, such as operating system kernels and database engines, are frequently designed using a monolithic architecture. In this structure, a single bug or memory corruption in any component can compromise the entire system integrity. To mitigate this risk, compartmentalization, which establishes privilege boundaries between different components, has been proposed and employed. However, identifying secure boundaries and analyzing the data and control flow across them can be particularly challenging, especially in extensive codebases. We define a Compartment Interface Vulnerability (CIV) as a function or interface that unintentionally exposes unsafe privileges to external components. This thesis introduces a scalable static analysis framework aimed at detecting CIVs and aiding in selecting secure boundaries. Unlike dynamic methods that rely on test inputs and often face limitations in coverage, static analysis based upon a Program Dependence Graph (PDG) offers complete coverage of program paths. However, PDG-based static analysis has proven difficult to scale to large software systems. In such systems, PDG queries can require excessive memory and take too long to complete. To address these issues, we enhance the PDG framework by implementing a parallel-safe traversal algorithm that employs a three-state marking scheme and a memory-efficient reachability analysis. These innovations make it practical to perform whole-system analysis on real-world systems like the Linux kernel. We demonstrate the effectiveness of this enhanced PDG framework through two novel tools that are built upon it: (1) CIVScope, which detects CIVs across compartment boundaries, and (2) CIVPerf, which assists the developer in designing, implementing, and evaluating compartmentalization policies. These applications showcase how our static analysis can automatically derive and evaluate compartment boundaries. In the first use case, we compare CIVScope to the dynamic fuzzing tool, ConfFuzz, highlighting that static analysis achieves complete path coverage at scale and reveals vulnerabilities that may remain undetected at runtime. In the second use case, we show how CIVPerf can evaluate the security and performance of various compartmentalization policies, highlighting its scalability for large software analysis, automating the compartmentalization process, and assessing the compartments."]},{"key":"dc:embargo.terms","label":"Dc Embargo Terms","values":["2026-11-01"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Toward Secure Compartmentalization: Scalable Static Analysis Using Program Dependence Graph"]},{"key":"others:access_status","label":"Others Access Status","values":["embargo"]}]}],"canonical_facts":{"dc:contributor.advisor":["Cox, Alan L."],"dc:contributor.committeemember":["Dautenhahn, Nathan","Rixner, Scott","Yang, Kaiyuan"],"dc:creator":["Chien, Yi"],"dc:date.accessioned":["2026-09-22T16:15:11Z"],"dc:date.created":["2026-05"],"dc:date.issued":["2026-05"],"dc:date.liftdate":["2026-11-01"],"dc:date.submitted":["May 2026"],"dc:date.updated":["2026-09-22T16:15:11Z"],"dc:description.abstract":["Large and complex software systems, such as operating system kernels and database engines, are frequently designed using a monolithic architecture. In this structure, a single bug or memory corruption in any component can compromise the entire system integrity. To mitigate this risk, compartmentalization, which establishes privilege boundaries between different components, has been proposed and employed. However, identifying secure boundaries and analyzing the data and control flow across them can be particularly challenging, especially in extensive codebases. We define a Compartment Interface Vulnerability (CIV) as a function or interface that unintentionally exposes unsafe privileges to external components. This thesis introduces a scalable static analysis framework aimed at detecting CIVs and aiding in selecting secure boundaries. Unlike dynamic methods that rely on test inputs and often face limitations in coverage, static analysis based upon a Program Dependence Graph (PDG) offers complete coverage of program paths. However, PDG-based static analysis has proven difficult to scale to large software systems. In such systems, PDG queries can require excessive memory and take too long to complete. To address these issues, we enhance the PDG framework by implementing a parallel-safe traversal algorithm that employs a three-state marking scheme and a memory-efficient reachability analysis. These innovations make it practical to perform whole-system analysis on real-world systems like the Linux kernel. We demonstrate the effectiveness of this enhanced PDG framework through two novel tools that are built upon it: (1) CIVScope, which detects CIVs across compartment boundaries, and (2) CIVPerf, which assists the developer in designing, implementing, and evaluating compartmentalization policies. These applications showcase how our static analysis can automatically derive and evaluate compartment boundaries. In the first use case, we compare CIVScope to the dynamic fuzzing tool, ConfFuzz, highlighting that static analysis achieves complete path coverage at scale and reveals vulnerabilities that may remain undetected at runtime. In the second use case, we show how CIVPerf can evaluate the security and performance of various compartmentalization policies, highlighting its scalability for large software analysis, automating the compartmentalization process, and assessing the compartments."],"dc:embargo.terms":["2026-11-01"],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/1911/119301"],"dc:language.iso":["en"],"dc:subject":["Computer Science","Engineering, System Science"],"dc:title":["Toward Secure Compartmentalization: Scalable Static Analysis Using Program Dependence Graph"],"dc:type":["Thesis","text"],"others:access_status":["embargo"],"thesis:degree_college":["George R. Brown School of Engineering"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["System Security"],"thesis:degree_name":["Doctor of Philosophy"],"thesis:institution_name":["Rice University"]},"updated_at":"2026-11-19T09:21:56Z"}