@inproceedings{kuhne2025dorami, author = {Kuhne, Mark and Volos, Stavros and Shinde, Shweta}, title = {Dorami: Privilege Separating Security Monitor on RISC-V TEEs}, booktitle = {34th USENIX Security Symposium}, year = {2025}, month = {August}, abstract = {TEE implementations on RISC-V offer an enclave abstraction by introducing a trusted component called the security monitor (SM). The SM performs critical tasks such as isolating enclaves from each other as well as from the OS by using privileged ISA instructions that enforce the physical memory protection. However, the SM executes at the highest privilege layer on the platform (machine-mode) along side firmware that is not only large in size but also includes third-party vendor code specific to the platform. In this paper, we present DORAMI, a privilege separation approach that isolates the SM from the firmware thus reducing the attack surface on TEEs. DORAMI re-purposes existing ISA features to enforce its isolation and achieves its goals without large overheads.}, url = {http://approjects.co.za/?big=en-us/research/publication/dorami-privilege-separating-security-monitor-on-risc-v-tees/}, }