Re:Reading privileged memory with a side-channel
by mtanski on Wednesday January 03, 2018 @06:52PM
(#16066660)
JIT engines (and compilers) often generate a familiar instruction patterns. Many JIT engines Target specific languages (like JS) and as result have "simpler" optimizers (less time to do this) and possibly more stable instruction patterns. So my money is on somebody fuzzing the required JS code.
Re:Reading privileged memory with a side-channel
by bitmapbrother on Wednesday January 03, 2018 @07:39PM
(#16066923)
You can develop Android applications in C/C++ using the NDK, thus, giving you full software control if needed.
I think the key to the statement is in any case that you need to differentiate between what is possible on the processor architecture level when you have full software control, and what is possible on an operating system level, where 3rd party applications are further restricted in various arbitrary ways such as only allowed to use Java, limited access to high resolution timing primitives, etc. that can make practical exploitation impossible, even if the flaw is present.
It's difficult to reason about because it's hard to tell if you can manipulate a JIT runtime into generating the code you need for the exploit to work - and as the JavaScript implementations show, the answer is often "yes".