Skip to content
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

Add device performance leaks. #116

Open
NDevTK opened this issue Aug 8, 2021 · 6 comments
Open

Add device performance leaks. #116

NDevTK opened this issue Aug 8, 2021 · 6 comments

Comments

@NDevTK
Copy link
Contributor

NDevTK commented Aug 8, 2021

Can be used to detect browser activity,
Allows more ways to leak data from other origins.

let old;
for(;;) {
let start = performance.now();
let time = performance.now() - start;
if (time - old > 0.4) console.log(time);
old = time;
}

Has been used for keystroke timing attacks using "Interrupt-timing" https://www.misc0110.net/web/files/keystroke_js_slides.pdf

@BitnomadLive
Copy link

BitnomadLive commented Aug 13, 2021

They also published their code here:
https://github.com/IAIK/interruptjs
and the paper:
https://mlq.me/download/keystroke_js.pdf

@NDevTK
Copy link
Contributor Author

NDevTK commented Sep 9, 2021

Hi @BitnomadLive, Thanks for the feedback I did read this before however I have only just decided to reply!
I like this attack however its currently in a queue with #115 as a JavaScript traffic monitor would be nice for xsleaks. please make a article about this if your interested, it seems to be able to detect window.open and with a sharedarraybuffer it may get even better.

@terjanq
Copy link
Member

terjanq commented Sep 10, 2021

I think the PoC would be for https://xsleaks.dev/docs/attacks/timing-attacks/execution-timing/#timing-the-event-loop, correct? We definitely could add a snippet there.

@NDevTK
Copy link
Contributor Author

NDevTK commented Sep 10, 2021

Yeah seems like the correct place for it.
The fact it can detect activity in a different tab seems useful.

@BitnomadLive
Copy link

Hi sorry for answering so late. I will have to read through #115 and I will add some of my thoughts.

@NDevTK
Copy link
Contributor Author

NDevTK commented Oct 8, 2021

ok :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants