-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide from timing detections #19
Comments
Related solution by Daax: https://www.unknowncheats.me/forum/3247434-post5.html. |
One idea is to enable/disable |
Wow this is annoying... one issue I'm encountering is the Windows scheduler kicking us off the CPU right after we execute |
Optimization: we can ignore |
Agreed. I don't think it is ever possible to fully hide from timing attacks in a generic manner. Vm-exits will always cause overhead that can be observed. However, the scenario that Daax illustrates isn't too hard to evade as long as we don't share a timer between threads (although the detection can be easily amplified by counting in BOTH threads, but that is a different matter entirely). |
The latest commit evades attacks 1 and 3 but will still fail for method 2. |
List of timing detections to hide from:
rdtsc
+cpuid
+rdtsc
rdtsc
+cpuid
+rdtsc
+sleep()
rdtsc
+cpuid
+rdtsc
on VCPU1 while VCPU2 spamscpuid
The text was updated successfully, but these errors were encountered: