5 ms·
> Facebook said that it tracks mouse movements to help its algorithm distinguish between humans and bots. Stupid cat and mouse game. How difficult would it be
by amelius 8y ago
> Facebook said that it tracks mouse movements to help its algorithm distinguish between humans and bots.
Stupid cat and mouse game. How difficult would it be for a bot to simulate a human's mouse movements? I suppose not very difficult.
Also, doesn't this conflict with rare types of input devices? Or people with a motor function disability?
> to also determine if the window is foregrounded or backgrounded
Shouldn't there be an API for that?
- lucb1e 8y agoAs for the former, I'm pretty sure I'd trigger as robot since I use keyboard mostly (using some special features in Firefox) just because they make it a lot faster and nicer. As for the latter, iirc there are blur/focus(-like) events for the window object. Maybe mouse movements gives them better confidence? Because of course you want to make absolutely sure your users are seeing all the ads.
- apexalpha 8y ago>Stupid cat and mouse game. How difficult would it be for a bot to simulate a human's mouse movements? I suppose not very difficult. http://idlewords.com/talks/website_obesity.htm http://idlewords.com/talks/website_obesity.htm An interesting read on this cat and mouse game.
- TekMol 8y agoHow difficult would it be for a bot to simulate a human's mouse movements? Very very hard. Because the bot author does not have the giant database that FB has to analyze how humans move the mouse around. Also the bot author does not know which aspects FB looks at to determine if it's a human. And even if the bot author had all that information, it would still be super hard to write an AI that accomplishes a given task in a way that mimicks a human successfully. It would mean to win a 'mouse turing test'. Shouldn't there be an API for that? What the API returns is under the control of the user. So the API does not help FB to fingerprint you. This issue touches on the real privacy problem the net is facing. It's not the wrong cookies or privacy policies. It's fingerprinting. There is no technical solution to it.
- amelius 8y ago> Very very hard. Because the bot author does not have the giant database that FB has to analyze how humans move the mouse around. Don't forget that Facebook's false positive rate should be very low. There are lots of humans on their platform, and they should all pass the test. This makes it easier to construct a bot that will pass the test.
- Klathmon 8y agoIt won't hurt if humans fail the test every so often, as long as it's under a threshold that humans regularly can overcome. I can imagine it would be easy to trick the system a few times (either as a bot pretending to be human, or a human acting like a bot), but tricking it consistently over months or years is going to be damn near impossible.
- amelius 8y agoAlso don't forget that Facebook probably has to do all detection in Javascript on the client, i.e. with limited resources. I suspect they don't send every mouse-movement to the server. This also means they probably don't have fine-grained historical data.
- Klathmon 8y agoNot necessarily. I've only given it a few minutes thought, but position and time data is really small, and easy to compress (you don't need to send anything while the user isn't moving the mouse). If it's sent in batches or over an already open websocket, it's not like it's using a ton of resources on the client. Assuming all of their users (guessing a billion daily active users) are on desktop half of the time (a wildly incorrect assumption I'm sure), and the mouse position data is 1mb per person for the data you care about (which again, seems like a lot), that's 500tb. For $25k you could store it all. That's nothing compared to the benefits of being able to identify bots on your platform.
- 8y ago
- luigi23 8y agoGoogle's already doing it with captcha: https://security.stackexchange.com/questions/78807/how-does-googles-no-captcha-recaptcha-work https://security.stackexchange.com/questions/78807/how-does-... But does Facebook track user during everyday session or just during some validation-action?
- AznHisoka 8y agoI actually think its difficult to simulate mouse movements. Is there even a way to do so using PhantomJS or Headless chrome?
- jhowell 8y agoI would imagine that FB is not using these libraries but instead using their engineering teams to develop these "solutions." Perhaps some of our friends are actually "working against" our privacy.
- ajnin 8y ago> Shouldn't there be an API for that? There is one : https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibi... Although I think it can be a privacy concern and somewhat of an anti-feature. For instance, Youtube uses that API to stop playback on mobile when the page or browser is not in the foreground. Of course, there's an extension for that ...
- learnstats2 8y ago> How difficult would it be for a bot to simulate a human's mouse movements? I suppose not very difficult. I also suppose not very difficult in principle (imitate any nearby human's movements and Facebook should not complain), but it is not within the focus of a general bot developer and therefore makes the whole project exponentially more difficult.
- taurine 8y ago> Stupid cat and mouse game. I suspect this is part of covering their ass for GDPR. Pose everything as a security problem, so you can claim you have legit interest in tracking all of that. > How difficult would it be for a bot to simulate a human's mouse movements? Simulating? Extremely difficult. Perturbing pre-recorded paths is a bit easier to do, but requires pre-recording of a lot of paths. One of the fastest ways to get your Poker bot banned is to not fix this one way or the other. > Also, doesn't this conflict with rare types of input devices? Or people with a motor function disability? It still tracks the mouse movements, just now being able to classify their users as disabled or using an arcane device (both of which are interesting tidbits to add to your advertisement profile).