CS 898CD (Trusted Execution for Embedded Systems)Fall 2021

  • Instructor: Monowar Hasan
  • Email: monowar [dot] hasan [at] wichita [dot] edu
  • Meeting time: Monday, Wednesday 2:00–3:15 PM
  • Office Hour: Tuesday, Thursday 1:00-2:00 PM or by appointment
  • Location: Main Campus Jabara Hall 261

➡️ Check the course flyer here (login with your WSU account).

Overview and Schedule

The course syllabus is available here (login with your WSU account).

WkDateTopicPresenterSlidesDeliverableRemarks
Week 1 08/16 (Mon) Course Logistics, Overview, and Introduction MH Lecture 1 Paper reading guides
[Ref. 1] [Ref. 2]
Week 1 08/18 (Wed) Overview of Trusted Computing MH Lecture 2 Suggested reading:
1. A study of security isolation techniques
2. A survey on security isolation of virtualization, containers, and unikernels
Week 2 08/23 (Mon) TEE and ARM TrustZone MH Lecture 3 Submit presentation preference before next class
Wednesday (Aug. 25)
Paper assignments must be finalized by Week 2
Week 2 08/25 (Wed) Developing Trusted Programing using OP-TEE MH Lecture 4 Presentation preference due Setup OP-TEE in your development machine and discuss in class for any troubleshooting
Week 3 08/30 (Mon) OP-TEE Examples and Homework Discussion MH Lecture 5 Setup OP-TEE in your development machine and discuss in class for any troubleshooting
Week 3 09/01 (Wed) Project Selection and Discussion All student presentation Prepare 3-5 minutes elevator pitch for your project ideas Project proposal due by
end of Week 3
[Sunday, Sep. 5, 11:59 PM CT]


Homework will be released by end of the week
Week 4 09/06 (Mon) NO CLASS University closed - Labor Day
Week 4 09/08 (Wed) Paper Review [TrustZone-based isolation] Presentation #1: SANCTUARY: ARMing TrustZone with User-space Enclaves [Babar]

Presentation #2: PrOS: Light-weight privatized secure OSes in ARM TrustZone [Boddu]
Presentation #1

Presentation #2
Week 5 09/13 (Mon) Paper Review [TrustZone-based isolation] Presentation #1: Virtualization on TrustZone-enabled microcontrollers? voilà! [Morampudi]

Presentation #2: TZDKS: A new TrustZone-based dual-criticality system with balanced performance [Challa]
Presentation #1 The first homework milestone should be completed by now.

Challa was sick and rescheduled on Week 6 (Sep 22).
Week 5 09/15 (Wed) Paper Review [TrustZone-based isolation] Presentation #1: vTZ: Virtualizing ARM TrustZone [Gutta]

Presentation #2: Hardware-assisted on-demand hypervisor activation for efficient security critical code execution on mobile devices [Putta]
Presentation #1

Presentation #2
Informal early feedback due by Sunday (Sep 19th) 11:59 PM CT
Form Link
Student’s feedback will be anonymous and not mandatory. However, students are requested to submit their feedback to improve the quality and organization of this course.
Week 6 09/20 (Mon) Paper Review [TrustZone-based isolation & TrustZone for IoT/Mobile systems] Presentation #1: Hypervision across worlds: Real-time kernel protection from the ARM TrustZone secure world [Bandaru]

Presentation #2: TZMon: Improving Mobile Game Security with ARM TrustZone [Siddabakthuni]
Presentation #1

Presentation #2
Week 6 09/22 (Wed) Paper Review [TrustZone for IoT/Mobile systems] Presentation #1: Fine-Grained Access Control-Enabled Logging Method on ARM TrustZone [Rohilla]

Presentation #1: TZDKS: A new TrustZone-based dual-criticality system with balanced performance [Challa]

Presentation #2: RusTEE: developing memory-safe ARM TrustZone applications [Saka]
Presentation #1

Presentation #2
Week 7 09/27 (Mon) Paper Review [TrustZone for IoT/Mobile systems] Presentation #1 #2: PARTEMU: Enabling Dynamic Analysis of Real-World TrustZone Software Using Emulation [Mandalapu]

Presentation #2 #1: TruZ-view: Developing TrustZone user interface for mobile OS using delegation integration model [Edimudi]
Presentation #1

Presentation #2
Homework due by 11:59 PM CT Veera will have an exam for another course until 2:00 PM — hence, we swap the presentation order.
Week 7 09/29 (Wed) Paper Review [TrustZone for IoT/Mobile systems] Presentation #1: SecLoak: ARM TrustZone-based mobile peripheral control [Gorantla Nithish]

Presentation #2: TruZ-droid: Integrating TrustZone with mobile operating system [Indla]
Presentation #1

Presentation #2
Week 8 10/04 (Mon) Paper Review [TrustZone for IoT/Mobile systems] Presentation #1: TrustShadow: Secure execution of unmodified applications with ARM TrustZone [Gopu]

Presentation #2: PrivateZone: Providing a private execution environment using ARM TrustZone [Chittiprolu]
Presentation #1

Presentation #2
Week 8 10/06 (Wed) MID-TERM EXAM Close-book, in-class exam
Week 9 10/11 (Mon) NO CLASS Fall Break
Week 9 10/13 (Wed) NO CLASS Fall Break
Week 10 10/18 (Mon) Project Update Project Update: JB 244
[Schedule available on Blackboard]
Project update
Week 10 10/20 (Wed) Project Update Project Update: JB 244
[Schedule available on Blackboard]
Project update
Week 11 10/25 (Mon) Paper Review [TrustZone for IoT/Mobile systems] Presentation #1: AdAttester: Secure online mobile advertisement attestation using TrustZone [Gorantla Naga]

Presentation #2: Using ARM TrustZone to build a trusted language runtime for mobile applications [Gundimeda]
Presentation #1

Presentation #2
Week 11 10/27 (Wed) Paper Review [Vulnerabilities of TrustZone] Presentation #1: Memory corruption attacks within Android TEEs: A case study based on OP-TEE [Haidar]

Presentation #2: VoltJockey: Breaching TrustZone by software-controlled voltage manipulation over multi-core frequencies [Kesari]
Presentation #1

Presentation #2
Suggested reading:
SoK: Understanding the Prevailing Security Vulnerabilities in TrustZone-assisted TEE Systems [Link]
Week 12 11/01 (Mon) Paper Review [Vulnerabilities of TrustZone] Presentation #1: Hardware-backed heist: Extracting ECDSA keys from Qualcomm’s TrustZone [Lekkala]

Presentation #2: The Security of ARM TrustZone in a FPGA-based SoC [Kaspa]
Presentation #1

Presentation #2
Week 12 11/03 (Wed) Paper Review [Vulnerabilities of TrustZone] Presentation #1: Prime+count: Novel cross-world covert channels on ARM TrustZone [Madamanchi]

Presentation #2: TruSense: Information leakage from TrustZone [Aguida]
Presentation #1

Presentation #2
Week 13 11/08 (Mon) Paper Review [Vulnerabilities of TrustZone] Presentation #1: How TrustZone could be bypassed: Side-channel attacks on a modern system-on-chip [Kondaveeti]

Presentation #2: BOOMERANG: Exploiting the Semantic Gap in Trusted Execution Environments [Paruchuri]
Presentation #1

Presentation #2
Week 13 11/10 (Wed) Paper Review [Vulnerabilities of TrustZone & Applications of TrustZone] Presentation #1: ARMageddon: Cache attacks on mobile devices [Sandhu]

Presentation #1: Rushmore: securely displaying static and animated images using TrustZone [Nannapaneni]
Presentation #1
Week 14 11/15 (Mon) Paper Review [Applications of TrustZone] Presentation #1: TEECheck: Securing Intra-Vehicular Communication Using Trusted Execution [Palsu]

Presentation #2: StreamBox-TZ: secure stream analytics at the edge with TrustZone [Yarrabothu]
Presentation #1

Presentation #2
Week 14 11/17 (Wed) Paper Review [Applications of TrustZone] Presentation #1: How to securely record logs based on ARM TrustZone [Dondapati]

Presentation #2: DIAT: Data Integrity Attestation for Resilient Collaboration of Autonomous Systems [Sappa]
Presentation #1

Presentation #2
Week 15 11/22 (Mon) Paper Review [Applications of TrustZone] Presentation #1: Alidrone: Enabling trustworthy proof-of-alibi for commercial drone compliance [Gudipati]

Presentation #2: Regulating ARM TrustZone devices in restricted spaces [Pentyala]
Presentation #1

Presentation #2
Last day of formal class
Week 15 11/24 (Wed) NO CLASS Thanksgiving Break
Week 16 11/29 (Mon) Slack time for final project (presentation and report preparation, finalize) No formal in-person class
(talks will be recorded → to be discussed later)
Week 16 12/01 (Wed) Slack time for final project (presentation and report preparation, finalize) No formal in-person class
(talks will be recorded → to be discussed later)
Week 17 12/09 (Thu) Final project report due by 11:59 PM CT

Reading List

Please let me know if you would like to present and discuss other papers that are not listed in the reading list.

📎 TrustZone-based isolation

  • Brasser, Ferdinand, et al. “SANCTUARY: ARMing TrustZone with User-space Enclaves.” NDSS. 2019. [Link]
  • Kwon, Donghyun, et al. “PrOS: Light-weight privatized secure OSes in ARM TrustZone.” IEEE Transactions on Mobile Computing 19.6 (2019): 1434-1447. [Link]
  • Pinto, Sanndro, et al. “Virtualization on TrustZone-enabled microcontrollers? voilà!.” 2019 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS). IEEE, 2019. [Link]
  • Dong, Pan, et al. “TZDKS: A new TrustZone-based dual-criticality system with balanced performance.” 2018 IEEE 24th International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA). IEEE, 2018. [Link]
  • Hua, Zhichao, et al. “vTZ: Virtualizing ARM TrustZone.” 26th USENIX Security Symposium (USENIX Security 17). 2017. [Link]
  • NEW! Cho, Yeongpil, et al. “Hardware-assisted on-demand hypervisor activation for efficient security critical code execution on mobile devices.” 2016 USENIX Annual Technical Conference (USENIX ATC). 2016. [Link]
  • Azab, Ahmed M., et al. “Hypervision across worlds: Real-time kernel protection from the ARM TrustZone secure world.” Proceedings of the 2014 ACM SIGSAC Conference on Computer and Communications Security. 2014. [Link]

📎 TrustZone for IoT/Mobile systems

  • Jeon, Sanghoon, and Huy Kang Kim. “TZMon: Improving Mobile Game Security with ARM TrustZone.” Computers & Security (2021): 102391. [Link]
  • NEW! Lee, Seungho, et al. “Fine-Grained Access Control-Enabled Logging Method on ARM TrustZone.” IEEE Access 8 (2020): 81348-81364. [Link]
  • Wan, Shengye, et al. “RusTEE: developing memory-safe ARM TrustZone applications.” Annual Computer Security Applications Conference. 2020. [Link]
  • Harrison, Lee, et al. “PARTEMU: Enabling Dynamic Analysis of Real-World TrustZone Software Using Emulation.” 29th USENIX Security Symposium (USENIX Security 20). 2020. [Link]
  • Ying, Kailiang, Priyank Thavai, and Wenliang Du. “TruZ-view: Developing TrustZone user interface for mobile OS using delegation integration model.” Proceedings of the Ninth ACM Conference on Data and Application Security and Privacy. 2019. [Link]
  • Lentz, Matthew, et al. “SecLoak: ARM TrustZone-based mobile peripheral control.” Proceedings of the 16th Annual International Conference on Mobile Systems, Applications, and Services. 2018. [Link]
  • Ying, Kailiang, et al. “TruZ-droid: Integrating TrustZone with mobile operating system.” Proceedings of the 16th annual international conference on mobile systems, applications, and services. 2018. [Link]
  • Guan, Le, et al. “TrustShadow: Secure execution of unmodified applications with ARM TrustZone.” Proceedings of the 15th Annual International Conference on Mobile Systems, Applications, and Services. 2017. [Link]
  • Jang, Jinsoo, et al. “PrivateZone: Providing a private execution environment using ARM TrustZone.” IEEE Transactions on Dependable and Secure Computing 15.5 (2016): 797-810. [Link]
  • Li, Wenhao, et al. “AdAttester: Secure online mobile advertisement attestation using TrustZone.” Proceedings of the 13th annual international conference on mobile systems, applications, and services. 2015. [Link]
  • Santos, Nuno, et al. “Using ARM TrustZone to build a trusted language runtime for mobile applications.” Proceedings of the 19th international conference on Architectural support for programming languages and operating systems. 2014. [Link]

📎 Vulnerabilities of TrustZone

  • Fleischer, Fabian, Marcel Busch, and Phillip Kuhrt. “Memory corruption attacks within Android TEEs: A case study based on OP-TEE.” Proceedings of the 15th International Conference on Availability, Reliability and Security. 2020. [Link]
  • Qiu, Pengfei, et al. “VoltJockey: Breaching TrustZone by software-controlled voltage manipulation over multi-core frequencies.” Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security. 2019. [Link]
  • Ryan, Keegan. “Hardware-backed heist: Extracting ECDSA keys from Qualcomm’s TrustZone.” Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security. 2019. [Link]
  • Benhani, E. M., Lilian Bossuet, and Alain Aubert. “The Security of ARM TrustZone in a FPGA-based SoC.” IEEE Transactions on Computers 68.8 (2019): 1238-1248. [Link]
  • Cho, Haehyun, et al. “Prime+count: Novel cross-world covert channels on ARM TrustZone.” Proceedings of the 34th Annual Computer Security Applications Conference. 2018. [Link]
  • Zhang, Ning, et al. “TruSense: Information leakage from TrustZone.” IEEE INFOCOM 2018-IEEE Conference on Computer Communications. IEEE, 2018. [Link]
  • Bukasa, Sebanjila Kevin, et al. “How TrustZone could be bypassed: Side-channel attacks on a modern system-on-chip.” IFIP International Conference on Information Security Theory and Practice. Springer, Cham, 2017. [Link]
  • Machiry, Aravind, et al. “BOOMERANG: Exploiting the Semantic Gap in Trusted Execution Environments.” NDSS. 2017. [Link]
  • NEW! Lipp, Moritz, et al. “ARMageddon: Cache attacks on mobile devices.” 25th USENIX Security Symposium (USENIX Security). 2016. [Link]

📎 Applications of TrustZone

  • Park, Chang Min, et al. “Rushmore: securely displaying static and animated images using TrustZone.” Proceedings of the 19th Annual International Conference on Mobile Systems, Applications, and Services. 2021. [Link]
  • Mishra, Tanmaya, Thidapat Chantem, and Ryan Gerdes. “TEECheck: Securing Intra-Vehicular Communication Using Trusted Execution.” Proceedings of the 28th International Conference on Real-Time Networks and Systems. 2020. [Link]
  • Park, Heejin, et al. “StreamBox-TZ: secure stream analytics at the edge with TrustZone.” 2019 USENIX Annual Technical Conference (USENIX ATC). 2019. [Link]
  • Lee, Seungho, et al. “How to securely record logs based on ARM TrustZone.” Proceedings of the 2019 ACM Asia Conference on Computer and Communications Security. 2019. [Link]
  • NEW! Abera, Tigist, et al. “DIAT: Data Integrity Attestation for Resilient Collaboration of Autonomous Systems.” NDSS. 2019. [Link]
  • Liu, Tianyuan, et al. “Alidrone: Enabling trustworthy proof-of-alibi for commercial drone compliance.” 2018 IEEE 38th International Conference on Distributed Computing Systems (ICDCS). IEEE, 2018. [Link]
  • Brasser, Ferdinand, et al. “Regulating ARM TrustZone devices in restricted spaces.” Proceedings of the 14th Annual International Conference on Mobile Systems, Applications, and Services. 2016. [Link]

Background reading:

  • Pinto, Sandro, and Nuno Santos. “Demystifying ARM TrustZone: A comprehensive survey.” ACM Computing Surveys (CSUR) 51.6 (2019): 1-36. [Link]
  • Li, Wenhao, Yubin Xia, and Haibo Chen. “Research on ARM TrustZone.” GetMobile: Mobile Computing and Communications 22.3 (2019): 17-22. [Link]
  • Shepherd, Carlton, et al. “Secure and trusted execution: Past, present, and future-a critical review in the context of the internet of things and cyber-physical systems.” 2016 IEEE Trustcom/BigDataSE/ISPA. IEEE, 2016. [Link]
  • Ngabonziza, Bernard, et al. “TrustZone explained: Architectural features and use cases.” 2016 IEEE 2nd International Conference on Collaboration and Internet Computing (CIC). IEEE, 2016. [Link]
  • Sabt, Mohamed, Mohammed Achemlal, and Abdelmadjid Bouabdallah. “Trusted execution environment: what it is, and what it is not.” 2015 IEEE Trustcom/BigDataSE/ISPA. Vol. 1. IEEE, 2015. [Link]

Class Participation and Paper Presentation

This course requires active participation. We will engage in open discussions and critique the papers studied in the class.

Each student will be required to present the papers from the reading list. You are encouraged to propose changes to the reading list — please let me know if there is a paper related to the embedded/IoT/edge/systems domain that you would like to read and present. The number of papers assigned to each student for presentation will depend on the course enrollment. At the beginning of the semester, you will be asked to pick the papers from the reading list. We will finalize paper assignments by Week 2.

Students who lead the discussion should prepare a lecture complete with detailed slides. The presenter is required to email me the slides (preferably before the start of the corresponding class) and those slides will be made available for other students on the course website. After the talk, each student will be randomly picked to ask questions.

I strongly recommend reading William Griswold’s advice on how to read a research paper. Consider Griswold’s advice and eight key points while reviewing the paper.

Homework Assignment

The homework assignment involves developing trusted applications using TrustZone OP-TEE framework. Details will be discussed in the class.

Mid-Term Exam

There will be a mid-term exam on Week 8. The exam will be closed-book, in class. The contents of the exam will be based on 3-4 selected papers and topics discussed in the class. The exam format will be short questions, multiple-choice questions (MCQ), small programming problems. Details of the exam will be discussed in the class and the reading materials will be posted on the course website.

Final Project

Students will engage in a semester-long project of their choice related to the area of real-time security. The final project could be one of the following types:

  1. Exploration: Students will survey the related research fields and/or explore a new research problem Some problems of interest are as follows (NOTE: this is NOT the list you are required to choose from):
  • Lightweight machine learning models for TrustZone-enabled systems
  • Scheduling TrustZone applications for real-time systems
  • TrustZone I/O management
  • Review of TrustZone security vulnerabilities
  • Review of existing TEE implementations I also encourage you to consider other research projects on the topics related to broader IoT/mobile/systems/security domains. Please email me and discuss the topics/project ideas if you select this category.
  1. Replication: understand and reproduce the results from a published, peer-reviewed article. The paper can be from the reading list or other related research. Please reach out to me before selecting the paper for your project.

Project Deliverables:

  • Project proposals (2 pages maximum) must be submitted and approved by the instructor by end of Week 2.
  • Students will present updates of their projects in Week 6 and Week 11 Week 10.
  • The final project report should be written using LaTeX. Use the IEEE conference format template for your report. Reports can be up to 10 pages, excluding references (and appendices, if any).
  • Students will present their findings at the end of the term (Week 16, see course schedule). The final talk should be no more than 25 minutes and additional 10 minutes for Q&A/discussion. Final project presentations will be recorded. Details are provided on Blackboard.
  • Final project reports are also due on Week 17 (December 9, 2021).

The students will be required to submit their final code/source files (by December 9, 2021). I encourage you to publicly share all sources in online repositories (GitHub/Bitbucket). It is completely fine if you want to keep your code private — please inform me before and privately share code/source files with me.

👉🏿 Have a question? Reach out to me at monowar [dot] hasan [at] wichita [dot] edu