Multicore DRAM Bank-& Row-Conflict Bomb for Timing Attacks in Mixed-Criticality Systems
Antonio Savino, Gautam Gala, Marcello Cinque, Gerhard Fohler
TL;DR
The paper addresses the vulnerability of timing guarantees in multicore mixed-criticality systems due to shared DRAM resources. It introduces the Navigate algorithm to map DRAM request handling and a DRAM Bank-&-Row-Conflict Bomb to create targeted contention, validating the approach on a Cascade Lake Xeon with a DDR4-2666 DIMM and showing up to a $WCET$ increase of ~150%. The contributions include a detailed methodology for stress testing DRAM behavior, quantitative demonstrations of interference, and a comparative discussion with prior work. The work highlights the need for DRAM-aware runtime protections to preserve safety-critical performance and suggests directions toward mitigations and extensions to newer memory technologies such as DDR5.
Abstract
With the increasing use of multicore platforms to realize mixed-criticality systems, understanding the underlying shared resources, such as the memory hierarchy shared among cores, and achieving isolation between co-executing tasks running on the same platform with different criticality levels becomes relevant. In addition to safety considerations, a malicious entity can exploit shared resources to create timing attacks on critical applications. In this paper, we focus on understanding the shared DRAM dual in-line memory module and created a timing attack, that we named the "bank & row conflict bomb", to target a victim task in a multicore platform. We also created a "navigate" algorithm to understand how victim requests are managed by the Memory Controller and provide valuable inputs for designing the bank & row conflict bomb. We performed experimental tests on a 2nd Gen Intel Xeon Processor with an 8GB DDR4-2666 DRAM module to show that such an attack can produce a significant increase in the execution time of the victim task by about 150%, motivating the need for proper countermeasures to help ensure the safety and security of critical applications.
