Skip to content

Detecting hardware based virtualization with hardware events

Notifications You must be signed in to change notification settings

m8/detect_vtx_fr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Detecting Hardware Virtualization with 2 Stage Page-Walk Cost

Flush & Reload based technique to detect hardware based virtualization. Steps:

  1. Create a target page
  2. Fill TLB with random pages
  3. Flush(target_page[0])
  4. let tlb_cache_miss = Measure Time(target_page[0])
  5. Flush(target_page[0])
  6. let cache_miss = Measure Time(target_page[0])
  7. return tlb_cache_miss - cache_miss

Results

x: clock cycle y: sample

About

Detecting hardware based virtualization with hardware events

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages