• DocumentCode
    2581325
  • Title

    Exploiting Hardware Performance Counters

  • Author

    Uhsadel, Leif ; Georges, Andy ; Verbauwhede, Ingrid

  • Author_Institution
    Dept. ESAT/SCD-COSIC, K.U. Leuven, Leuven-Heverlee
  • fYear
    2008
  • fDate
    10-10 Aug. 2008
  • Firstpage
    59
  • Lastpage
    67
  • Abstract
    We introduce the usage of hardware performance counters (HPCs) as a new method that allows very precise access to known side channels and also allows access to many new side channels. Many current architectures provide hardware performance counters, which allow the profiling of software during runtime. Though they allow detailed profiling they are noisy by their very nature; HPC hardware is not validated along with the rest of the microprocessor. They are meant to serve as a relative measure and are most commonly used for profiling software projects or operating systems. Furthermore they are only accessible in restricted mode and can only be accessed by the operating system. We discuss this security model and we show first implementation results, which confirm that HPCs can be used to profile relatively short sequences of instructions with high precision. We focus on cache profiling and confirm our results by rerunning a recently published time based cache attack in which we replaced the time profiling function by HPCs.
  • Keywords
    cache storage; cryptography; operating systems (computers); cache profiling; cryptography; hardware performance counter; operating system; security model; software project profiling; Counting circuits; Cryptography; Hardware; Microprocessors; Operating systems; Pollution measurement; Power measurement; Runtime; Software performance; Time measurement; cache attack; hardware performance counter; side channel attack; timing attack;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Fault Diagnosis and Tolerance in Cryptography, 2008. FDTC '08. 5th Workshop on
  • Conference_Location
    Washington, DC
  • Print_ISBN
    978-0-7695-3314-8
  • Type

    conf

  • DOI
    10.1109/FDTC.2008.19
  • Filename
    4599558