News for hackers. Stuff that matters.
Re:V8: A Year with Spectre by milkey_mouse on Tuesday April 23, 2019 @11:07AM (#19729348)
Singularity heavily relies on capabilities. What if accessing the current wall clock time was a zealously guarded capability? I wonder what percentage of apps could function with no access to (real time) timers at all, or an extremely granular one?

I can't find a link at the moment, but I recall a paper showing even a very granular clock will suffice for Spectre exploits, albeit with lower bandwidth. Also, something else would need to be done about multithreading, as an application could always just spin up another thread counting as fast as it can to make a poor man's timer.

Re:V8: A Year with Spectre by Legogris on Tuesday April 23, 2019 @11:14AM (#19729425)
> I can't find a link at the moment, but I recall a paper showing even a very granular clock will suffice for Spectre exploits, albeit with lower bandwidth.

The linked article mentions this and the linked paper gives some references: https://gruss.cc/files/fantastictimers.pdf

Re:V8: A Year with Spectre by Klathmon on Tuesday April 23, 2019 @11:26AM (#19729539)
I may be wrong, but isn't there an almost unlimited amount of ways that you could determine wallclock time?

Any kind of networking access can get it (with enough samples, you can get some crazy precision over even the most inconsistent networks), and really any kind of I/O could be abused when combined with another exploits.

And if your permissions system doesn't allow I/O, is there really a lot that your program can do?

Re:V8: A Year with Spectre by da_chicken on Tuesday April 23, 2019 @12:00PM (#19729863)
You don't even need networking. If you can create a temp file, you can probably get the creation or modified time on the file.
Re:V8: A Year with Spectre by monocasa on Tuesday April 23, 2019 @02:56PM (#19731665)
Hell, you can make a passable timer for these purposes as long as you have two threads. No need to leave your process.