Title :
A Hardware/Software Countermeasure and a Testing Framework for Cache Based Side Channel Attacks
Author :
Arora, Ankita ; Parameswaran, Sri ; Ragel, Roshan ; Jayasinghe, Darshana
Author_Institution :
Sch. of Comput. Sci. & Eng., Univ. of New South Wales, Sydney, NSW, Australia
Abstract :
Cache attacks have been described in the literature for over a decade now. Cache attacks are performed remotely by the use of time differences observed due to cache misses and hits, or by the use of power traces either by measuring power or by monitoring the bus between the processor and the memory to monitor the cache activity. In this paper, for the first time we have implemented a fast trace driven cache attack, and incorporated this attack into a flexible framework containing extensible processor(s). This simulator is modifiable and incorporates both Tensilica´s [9] processor simulator environment along with DRAMsim, a DRAM simulator. Thus we are able to make changes to processor´s instruction set, its cache architecture, and add additional hardware units. On this framework we have implemented a hardware / software countermeasure and shown that it is difficult to differentiate the cache misses for differing encryptions. The processor with the countermeasure is 30% more energy ef ficient, 17% more power efficient and 15% faster and when compared to processor without the countermeasure. The area of the processor with the countermeasure increases by 7.6%.
Keywords :
DRAM chips; cache storage; power aware computing; program testing; security of data; DRAM simulator; cache architecture; cache based side channel attacks; extensible processor; hardware/software countermeasurement; power measurement; processor simulator environment; testing framework; Cryptography; Electromagnetic radiation; Hardware; Power measurement; Software; Table lookup; Timing; Cache Attacks; Side Channel Attacks;
Conference_Titel :
Trust, Security and Privacy in Computing and Communications (TrustCom), 2011 IEEE 10th International Conference on
Conference_Location :
Changsha
Print_ISBN :
978-1-4577-2135-9
DOI :
10.1109/TrustCom.2011.138