CS 898CC (Security for Real-Time Internet-of-Things)Spring 2021

Overview and Schedule

In this seminar course, we will first review the basic principles of real-time systems and their security requirements. We will then study security vulnerabilities and explore state-of-the-art real-time security techniques. The body of the course will be readings and discussion of top papers in the field. The end of semester will culminate in an original research project.

The topics included the following:

  • Overview of real-time IoT systems and real-time scheduling theory
  • Existing vulnerabilities of real-time systems
  • Real-time security techniques
  • Domain specific security analysis:
    • Robotic vehicle (ground rover/UAV) security
    • Controller Area Networks (CAN) — vulnerabilities and security techniques

Course description and syllabus is available here (login with you WSU account).

WkDateTopicPresenterSlidesDeliverableRemarks
Week 1 02/01 (Mon) Course Logistics, Overview, and Introduction MH Lecture 1 Paper reading guides
[Ref. 1] [Ref. 2]
Week 1 02/03 (Wed) Safety and Security in Real-Time IoT MH Lecture 2 Submit presentation preference by Sunday (Feb. 7)
Week 2 02/08 (Mon) Background on Real-Time Systems,
Real-Time Scheduling
MH Lecture 3 NO CLASS. University is closed
Week 2 02/10 (Wed) Project Selection and Disussion MH Project proposal due by Friday, Feb. 12, 11:59 PM CT
Sunday, Feb. 14, 11:59 PM CT
Paper assignments must be finalized by Week 2
Week 3 02/15 (Mon) Real-Time Scheduling MH No Class.
[University is closed due to inclement weather]
Week 3 02/17 (Wed) Paper Review [Attacks on Real-Time Systems]
Butterfly Attack: Adversarial Manipulation of Temporal Properties of Cyber-Physical Systems
Abdurrahman Slides Presentation critique due by 11:59 PM CT
Week 4 02/22 (Mon) Paper Review [Attacks on Real-Time Systems]
A Novel Side-Channel in Real-Time Schedulers
Sreeraj Slides Presentation critique due by 11:59 PM CT
Week 4 02/24 (Wed) Paper Review [Integration of Cryptographic Primitives]
Network Scheduling for Secure Cyber-Physical Systems
Anoop Slides Presentation critique due by 11:59 PM CT
Week 5 03/01 (Mon) Project update Aakash, Anoop Project update
Week 5 03/03 (Wed) Project update Neha, Abdurrahman, Sreeraj Project update
Week 6 03/08 (Mon) Paper Review [Integration of Cryptographic Primitives]
Static Security Optimization for Real-Time Systems
Aakash Slides Presentation critique due by 11:59 PM CT
Week 6 03/10 (Wed) Paper Review [Scheduling, Memory Protection, and Isolation]
TaskShuffler: A Schedule Randomization Protocol for Obfuscation against Timing Inference Attacks in Real-Time Systems
Neha Slides Presentation critique due by 11:59 PM CT
Informal early feedback due

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 7 03/15 (Mon) Paper Review [Scheduling, Memory Protection, and Isolation]
Blinder: Partition-Oblivious Hierarchical Scheduling
Anoop Slides Presentation critique due by 11:59 PM CT
Week 7 03/17 (Wed) Paper Review [Scheduling, Memory Protection, and Isolation]
Real-Time Systems Security through Scheduler Constraints
Aakash Slides Presentation critique due by 11:59 PM CT
Week 8 03/22 (Mon) Paper Review [HW/SW-based security]
SecureCore: A multicore-based Intrusion Detection Architecture for Real-Time Embedded Systems
Sreeraj Slides Presentation critique due by 11:59 PM CT
Week 8 03/24 (Wed) Paper Review [HW/SW-based security]
Learning Execution Contexts from System Call Distribution for Anomaly Detection in Smart Embedded System
Abdurrahman Slides Presentation critique due by 11:59 PM CT
Week 9 03/29 (Mon) Project update Neha, Abdurrahman, Sreeraj Project update
Week 9 03/31 (Wed) Project update Aakash, Anoop Project update
Week 10 04/05 (Mon) Paper Review [Trusted Execution]
Optimized Trusted Execution for Hard Real-Time Applications on COTS Processors
Neha Slides Presentation critique due by 11:59 PM CT
Week 10 04/07 (Wed) Paper Review [Trusted Execution]
Virtualization on TrustZone-enabled Microcontrollers? Voila!
Sreeraj Slides Presentation critique due by 11:59 PM CT
Week 11 04/12 (Mon) Paper Review [Robotic Vehicle/UAV Security]
Cyber-Physical Inconsistency Vulnerability Identification for Safety Checks in Robotic Vehicles
Aakash Slides Presentation critique due by 11:59 PM CT
Week 11 04/14 (Wed) Paper Review [Robotic Vehicle/UAV Security]
Detecting Attacks Against Robotic Vehicles: A Control Invariant Approach
Anoop Slides Presentation critique due by 11:59 PM CT
Week 12 04/19 (Mon) Paper Review [CAN Security]
TEECheck: Securing Intra-Vehicular Communication Using Trusted Execution

Paper Review [CAN Security]
TACAN: Transmitter Authentication through Covert Channels in Controller Area Networks
Abdurrahman

Neha
Slides Presentation critique due by 11:59 PM CT Suggested reading:
1. Exploring controller area networks [Link]
2. Controller Area Network (CAN) Schedulability Analysis [Link]
Week 12 04/21 (Wed) Paper Review [CAN Security]
TACAN: Transmitter Authentication through Covert Channels in Controller Area Networks

Paper Review [CAN Security]
TEECheck: Securing Intra-Vehicular Communication Using Trusted Execution
Neha

Abdurrahman
Slides Presentation critique due by 11:59 PM CT
Week 13 04/26 (Mon) Slack day
[NO CLASS]
Week 13 04/28 (Wed) Final Project Presentation Abdurrahman
Neha
Final presentation
Week 14 05/03 (Mon) Aakash
Sreeraj
Anoop
Final presentation Last day of class
Week 14 05/05 (Wed)
Week 15 05/10 (Mon) 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.

📎 Attacks on Real-Time Systems

  • C. Chen, S. Mohan, R. Pellizzoni, R. B. Bobba, and N. Kiyavash, “A Novel Side-Channel in Real-Time Schedulers,” IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS), 2019, pp. 90-102. [Link]
  • R. Mahfouzi, A. Aminifar, S. Samii, M. Payer, P. Eles, and Z. Peng, “Butterfly Attack: Adversarial Manipulation of Temporal Properties of Cyber-Physical Systems,” IEEE Real-Time Systems Symposium (RTSS), 2019, pp. 93-106. [Link]
  • S. Liu, N. Guan, D. Ji, W. Liu, X. Liu, and W. Yi, “Leaking Your Engine Speed by Spectrum Analysis of Real-Time Scheduling Sequences,” Journal of Systems Architecture,
    Volume 97, 2019, pp. 455-466. [Link]
  • M. Bechtel and H. Yun, “Denial-of-Service Attacks on Shared Cache in Multicore: Analysis and Prevention,” IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS), 2019, pp. 357-367. [Link]

📎 Integration of Cryptographic Primitives

  • M. Lin, L. Xu, L. T. Yang, X. Qin, N. Zheng, Z. Wu, and M. Qiu, “Static Security Optimization for Real-Time Systems,” in IEEE Transactions on Industrial Informatics, vol. 5, no. 1, pp. 22-37, Feb. 2009. [Link]
  • T. Xie and X. Qin, “Improving Security for Periodic Tasks in Embedded Systems Through Scheduling,” ACM Transactions on Embedded Computing Systems, vol. 6, no. 3, pp. 1-19, 2007. [Link]
  • V. Lesi, I. Jovanov, and M. Pajic, “Network Scheduling for Secure Cyber-Physical Systems,” in IEEE Real-Time Systems Symposium (RTSS), 2017, pp. 45–55. [Link]
  • V. Lesi, I. Jovanov, and M. Pajic, “Security-Aware Scheduling of Embedded Control Tasks,” ACM Transactions on Embedded Computing Systems, vol. 16, pp. 188:1–188:21, 2017. [Link]

📎 Scheduling, Isolation, and Memory Protection

  • S. Mohan, M. K. Yoon, R. Pellizzoni, and R. Bobba, “Real-Time Systems Security through Scheduler Constraints,” in Euromicro Conference on Real-Time Systems (ECRTS), 2014, pp. 129-140. [Link]
  • M. Yoon, S. Mohan, C. Chen, and L. Sha, “TaskShuffler: A Schedule Randomization Protocol for Obfuscation against Timing Inference Attacks in Real-Time Systems,” in IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS), 2016, pp. 1-12. [Link]
  • M. Hasan, S. Mohan, R. Pellizzoni, and R. B. Bobba, “Contego: An Adaptive Framework for Integrating Security Tasks in Real-Time Systems,” in Euromicro Conference on Real-Time Systems (ECRTS), 2017, pp. 23:1–23:22. [Link]
  • M.K. Yoon, M. Liu, H. Chen, J.E. Kim, and Z. Shao, “Blinder: Partition-Oblivious Hierarchical Scheduling,” in USENIX Security Symposium, 2021. [Link]
  • C. Kim, T. Kim, H. Choi, Z. Gu, B. Lee, X. Zhang, D. Xu, “Securing Real-Time Microcontroller Systems through Customized Memory View Switching”, in Network and Distributed System Security Symposium (NDSS), 2018. [Link]
  • R. Walls, N. Brown, T. Baron, C. Shue, H. Okhravi, and B. Ward, “Control-flow integrity for real-time embedded systems”, In Euromicro Conference on Real-Time Systems (ECRTS), 2019, pp. 2:1-2:24. [Link]

📎 Hardware/Software-based security

  • D. Lo, M. Ismail, T. Chen, and G. E. Suh, “Slack-Aware Opportunistic Monitoring for Real-Time Systems,” in IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS), 2014, pp. 203–214. [Link]
  • S. Mohan, S. Bak, E. Betti, H. Yun, L. Sha, and M. Caccamo, “S3A: Secure System Simplex Architecture for Enhanced Security and Robustness of Cyber-Physical Systems,” in ACM Conference on High Confidence Networked Systems, 2013, pp. 65-74. [Link]
  • M.-K. Yoon, S. Mohan, J. Choi, J.-E. Kim, and L. Sha, “SecureCore: A multicore-based Intrusion Detection Architecture for Real-Time Embedded Systems,” in IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS), 2013, pp. 21–32. [Link]
  • M.-K. Yoon, S. Mohan, J. Choi, M. Christodorescu, and L. Sha, “Learning Execution Contexts from System Call Distribution for Anomaly Detection in Smart Embedded System,” in ACM/IEEE International Conference on Internet-of-Things Design and Implementation (IoTDI), 2017, pp. 191–196. [Link]
  • M. Hamad, Z. A. Hammadeh, S. Saidi, V. Prevelakis, and R. Ernst, “Prediction of Abnormal Temporal Behavior in Real-Time Systems,” in ACM Symposium on Applied Computing (SAC), 2018, pp. 359–367. [Link]
  • F. Abdi, C. Chen, M. Hasan, S. Liu, S. Mohan, and M. Caccamo, “Guaranteed Physical Security with Restart-Based Design for Cyber-Physical Systems,” in ACM/IEEE 9th International Conference on Cyber-Physical Systems (ICCPS), 2018, pp. 10-21. [Link]

📎 Trusted Execution Environments (TEEs) for Real-Time Systems

  • A. Mukherjee, T. Mishra, T. Chantem, N. Fisher, and R. Gerdes, “Optimized Trusted Execution for Hard Real-Time Applications on COTS Processors,” in ACM International Conference on Real-Time Networks and Systems, 2019, pp. 50–60. [Link]
  • S. Pinto, J. Pereira, T. Gomes, A. Tavares, and J. Cabral, “LTZVisor: TrustZone is the Key,” in Euromicro Conference on Real-Time Systems (ECRTS), 2017, pp. 4:1–4:22, 2017. [Link]
  • S. Pinto, H. Araujo, D. Oliveira, J. Martins, and A. Tavares, “Virtualization on TrustZone-enabled Microcontrollers? Voila!,” in IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS), 2019, pp. 293–304. [Link]

📎 Securing Robotic Unmanned Vehicles

  • H. Choi, S. Kate, Y. Aafer, X. Zhang, D. Xu, “Cyber-Physical Inconsistency Vulnerability Identification for Safety Checks in Robotic Vehicles,” in ACM Conference on Computer and Communications Security (CCS), 2020, pp. 263–278. [Link]
  • H. Choi, W.-C. Lee, Y. Aafer, F. Fei, Z. Tu, X. Zhang, D. Xu, and X. Xinyan, “Detecting Attacks Against Robotic Vehicles: A Control Invariant Approach,” in ACM Conference on Computer and Communications Security (CCS), 2018, pp. 801-816. [Link]
  • F. Fei, Z. Tu, R. Yu, T. Kim, X. Zhang, D. Xu, and X. Deng, “Cross-Layer Retrofitting of UAVs against Cyber-Physical Attacks,” in IEEEIEEE International Conference on Robotics and Automation (ICRA), 2018, pp. 550–557. [Link]
  • P. Guo, H. Kim, N. Virani, J. Xu, M. Zhu, and P. Liu, “RoboADS: Anomaly Detection Against Sensor and Actuator Misbehaviors in Mobile Robots,” in IEEE/IFIP International Conference on Dependable Systems and Networks (DSN), 2018, pp. 574–585. [Link]

📎 Security for Controller Area Networks

  • T. Mishra, T. Chantem, and R. Gerdes, “TEECheck: Securing Intra-Vehicular Communication Using Trusted Execution”, In ACM Conference on Real-Time Networks and Systems (RTNS), 2021, pp. 128-138. [Link]
  • H. Olufowobi, C. Young, J. Zambreno, G. Bloom, “SAIDuCANT: Specification-Based Automotive Intrusion Detection Using Controller Area Network (CAN) Timing,” in IEEE Transactions on Vehicular Technology, vol. 69, no. 2, pp. 1484-1494,. [Link]
  • K. Cho and K. Shin, “Fingerprinting Electronic Control Units for Vehicle Intrusion Detection,” In USENIX Security Symposium, 2016, pp. 911-927. [Link]
  • X. Ying, G. Bernieri, M. Conti, and R. Poovendran, “TACAN: Transmitter Authentication through Covert Channels in Controller Area Networks.” In ACM/IEEE International Conference on Cyber-Physical Systems (ICCPS), 2019, pp. 23-34. [Link]

Background reading:

Note: Not all the the papers listed below are directly related to security problems — they will help to gain understanding of real-time domain.

  • K. G. Shin and P. Ramanathan, “Real-Time Computing: A New Discipline of Computer Science and Engineering,” in Proceedings of the IEEE, vol. 82, no. 1, pp. 6-24, Jan. 1994. [Link]
  • J. A. Stankovic, I. Lee, A. Mok and R. Rajkumar, “Opportunities and Obligations for Physical Computing Systems,” in Computer, vol. 38, no. 11, pp. 23-31, Nov. 2005. [Link]
  • K. Ramamritham and J. A. Stankovic, “Scheduling Algorithms and Operating Systems Support for Real-Time Systems,” in Proceedings of the IEEE, vol. 82, no. 1, pp. 55-67, Jan. 1994. [Link]
  • G. Buttazzo, “Rate Monotonic vs. EDF: Judgment Day,” in Real-Time Systems, vol. 29, pp. 5–26, 2005. [Link]
  • R. Davis, A. Burns, R. Bril, and J. Lukkien, “Controller Area Network (CAN) Schedulability Analysis: Refuted, Revisited and Revised.” in Real-Time Systems, vol. 35, no. 3, pp. 239–272, 2007. [Link]
  • C. Chen, M. Hasan, S. Mohan, “Securing Real-Time Internet-of-Things”, Sensors no. 12: 4356, 2018. [Link] Survey on real-time security research

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 real-time/cyber-physical systems security 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 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 in the course website.

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

Presentation Critique:

The presenter will be ranked by other students. Other students (except the presenter) will be required to provide an anonymous critique/comment/feedback on the presentation (by using the provided form, see below). The evaluation criteria include (but not limited to):

  • clarity of presentation
  • level of engagement
  • ability to address questions
  • overall organization

The review and presentation feedback are due by 11:59 PM of the corresponding class day. I will combine all the feedbacks and make it available to the presenter.

💡 Please use the following form for submitting your evaluation.

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):
  • Exploring security issues in controller area networks (survey/exploration)
  • Security techniques for robotic vehicles (survey)
  • Sandboxing applications for robotic vehicles (exploration)
  • Integrating cryptographic techniques in real-time CPS (exploration)
  • Trusted execution environments (TEEs) for real-time applications (exploration) I also encourage you to consider other research projects on the topics related to broader CPS 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 4 and Week 8 Week 9.
  • 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 13/14, see course schedule). The final talk should be no more than 25 minutes and additional 10 minutes for Q&A/discussion.
  • Final project reports are also due on Week 15 (May 10, 2021).

The students will be required to submit their final code/source files (by May 10, 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