Published August 4, 2024 | Version v3
Software Open

Artifact: Kintsugi: Secure Hotpatching for Code-Shadowing Real-Time Embedded Systems

  • 1. ROR icon Ruhr University Bochum
  • 2. ROR icon University of Duisburg-Essen
  • 3. ROR icon Eindhoven University of Technology
  • 4. ROR icon Max Planck Institute for Security and Privacy

Description

This is the artifact for the USENIX Security '25 paper "Kintsugi: Secure Hotpatching for Code-Shadowing Real-Time Embedded Systems".

This artifact contains the the following components:
- kintsugi: The source code of our hotpatching framework, representing the core contribution of our work.
- hotpatch_generator: Source code for our hotpatch generator, which we include for completeness.
- external: All external sources (RTOS, Libraries, SDKs) which are installed over a setup script. This also includes the patches to replicate our local modifications.
- experiments: Source code for each experiment.
    - performance: All performance related experiments
        - micro_benchmarks: Source for experiments regarding micro-benchmarking for the Manager.
        - context_switch: Experiment source code for measuring the Guard and Applicator.
        - scalability: Scalability measurement experiments.
        - resource_utilization: Resource Utilization / Memory Overhead experiments.
    - realworld_cves: Source code for all proof-of-concepts regarding the real-world CVEs we consider. Source code for hotpatches are stored in hotpatches in the root directory. Measurement results for the micro-benchmarks can be found in micro-benchmarks.
    - security: Source for the experiments regarding the practical security evaluation.
    - case_study: Source for our case study on the Crazyflie drone.
- example_rtos_integration: We additionally provide examples of integrating Kintsugi into FreeRTOS and Zephyr for the important changes and files.

We also provide the measurement results from our paper submission for each of the experiments in the performance directory together with scripts to easily reproduce these results and plot them.

Files

kintsugi_artifact.zip

Files (11.2 MB)

Name Size Download all
md5:606b802cc18b37f56b0d409323c9ed3e
11.2 MB Preview Download