Skip to content

davidboominkim/cache-attack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cache-attack

A simulation of a covert channel attack, specifically PRIME+PROBE, using a trojan and a spy in order to exchange secret messages. The secret message to be exchanged is "transmitted-secret.txt," which is encoded by the trojan, character by character, by invoking cache misses in certain cache blocks. These cache misses are then repeatedly probed by the spy in order to determine the character that is being sent by the trojan.

To run the covert channel attack, compile and run the processor using "covert.c"

The variable "SAMPLES," which is the number of repeated probes per character, and the associativities of the trojan/spy arrays might differ depending on the cache/processor of the machine the code is compiled on.

Sources: UVA Undergraduate Computer Architecture

About

cache attack simulation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages