Since Spectre and Meltdown's disclosure in 2018, a new category of attacks has been identified and characterized by the scientific community. The Foreshadow attack, which was the first one to target Intel's secure enclave technology (namely SGX) has been developed shortly after. It opened the way to micro architectural attacks on Intel's architecture, and led to the quick development of micro architectural attacks until today. While Spectre and Meltdown are often considered as the first micro architectural attacks, one can argue that cache attacks, as introduced by Osvik et al. in 2006, can be seen as the first types of micro architectural attacks that were developed. Now, even though there are many variants, they are still the most prominent type of micro architectural attacks. One example of cache micro architectural covert-channel is the Prime+Probe. Lately targeting the Intel architecture, the micro architectural attacks are now challenging a wider variety of CPUs. Recently, CPUs running the RISC-V Instruction Set Architecture have been targeted. One famous and widely used RISC-V CPU is the ETH Zurich's CVA6 (formerly Ariane) core. CVA6 is a 6-stage, single issue, in-order CPU. To the best of our knowledge, there is no existing document presenting very detailed aspects of the CVA6's micro architecture, especially with respect to the data cache. Such information is mandatory to deeply understand any architectural or micro architectural study successfully, such as the replication of the Prime+Probe attack on the CVA6 CPU proposed by Nils Wistoff. This paper presents the implementation of the Data cache in the CVA6 CPU from OpenHW Group by focusing on its memory structure and explaining through several examples what happens when a request for memory allocation occurs.
翻译:自2018年Spectre和Meltdown的披露以来,科学界已经确定并定性了一个新的攻击类别。 Foreshadow袭击是针对英特尔安全飞地技术(即SGX)的首种攻击,是随后不久开发的。它打开了进入英特尔建筑结构微型建筑攻击的道路,并导致微观建筑攻击的快速发展,直到今天为止。虽然Spectre和Meltdow经常被视为第一次微型建筑攻击,但人们可以争辩说,正如Osvik等人在2006年介绍的那样,隐藏攻击可以被视为最初类型的微型建筑攻击。尽管有许多变异,但是它们仍然是针对英特尔安全飞飞地技术(即SGX)的首类攻击。它打开了微型建筑攻击的微型建筑攻击,直到今天为止,虽然Spectreather和Meldown攻击经常被视为第一次微型建筑攻击,但最近,运行RIC-VS-Sation Stuart的计算机系统结构被作为攻击目标,其中一个著名的和广泛使用的RIC-V CPU的显微缩结构攻击类型攻击。 是一个著名的和C-VPU的显微缩的内存储器,而现在的C的C的C的C 向C 核心文件,这是目前C的C的C的C的C的C的C的C号数据库,这是目前C的C的中央的中央的中央的中央的中央的中央的中央的中央数据库, 的中央的中央的中央的中央的中央数据库, 和中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央的中央