this post was submitted on 24 Aug 2024
375 points (97.0% liked)

Asklemmy

43336 readers
819 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy πŸ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

The simplicity of it is logic defying. It used to be that you had to find crosswalks or move puzzle pieces or type blurred letters and numbers, but NOW all the sudden I can just click a box and HEY!, I'm human?

That's hardly the Turing Test I'd expected.

you are viewing a single comment's thread
view the rest of the comments
[–] platypode@sh.itjust.works 188 points 2 weeks ago (8 children)

It tests whether your mouse movement looks human--we're really bad at things like moving in straight lines, so it's pretty evident from a mouse movement log whether you're a human or a simple bot. It also takes a bunch of auxiliary browser/environment data into account. It's not perfect, but it's complicated enough to defeat to provide fine protection against cheap spam.

[–] random_character_a@lemmy.world 46 points 2 weeks ago (3 children)

Shitty situation if you are used to using hotkeys and only use mouse cursor when no other means are available by moving it using numpad.

[–] Thorry84@feddit.nl 43 points 2 weeks ago

If it's in doubt it just gives you extra challenges. So in the end everybody will get there, or not and then fuck you I guess.

[–] ThisIsAManWhoKnowsHowToGling@lemmy.dbzer0.com 32 points 2 weeks ago (1 children)

Nah that's different as well. What they are filtering out is

  • a mouse teleporting to the exact center of the checkbox
  • a mouse smoothly gliding in a straight line to the center if the checkbook
  • a mouse traveling in a straight line to the center of the checkbook with some momentary stutters to add noise

Et cetera. Humans are much noiser than anything a python script will spit out. Of course there are ways to get around this, like recording and reenacting a human mouse movement, but the point of any capcha system is to make it significantly more difficult to bot, not impossible.

[–] Jessica@discuss.tchncs.de 4 points 2 weeks ago (2 children)

No OP was right. If the reCaptcha is on the same page as a login, and I use my password manager to fill the fields, I fail the reCaptcha almost every time. I have to manually paste in the user name and password separately to slow things down to act more human...

[–] deranger@sh.itjust.works 3 points 2 weeks ago (1 children)

This never happens to me, I always instantly autofill with my password manager.

[–] Kyouki@lemmy.world 1 points 2 weeks ago

Some sites fail, have noticed this as well.

[–] AsudoxDev@programming.dev 1 points 2 weeks ago* (last edited 2 weeks ago)

I hate to bring this up to you, but you seem to be losing your humanity as we speak.

[–] savedbythezsh@sh.itjust.works 14 points 2 weeks ago (3 children)

Yeah, never thought about this before, but how do blind users deal with captchas?

[–] TheBat@lemmy.world 29 points 2 weeks ago

There are audio captchas.

[–] bionicjoey@lemmy.ca 6 points 2 weeks ago

Normally there are audio captchas

[–] s3p5r@lemm.ee 6 points 2 weeks ago

Some provide screen-reader instructions, but most places barely remember blind people exist. It's another example of people with disabilities being ignored and marginalised.

And then even if they do remember blind people exist, they probably forget there are people who aren't blind who can't do their tests for other reasons, like dyslexia or dexterity impairments.

And then you have hCaptcha who makes disabled people to sign up to their database to use their cookie.

[–] Jimmycrackcrack@lemmy.ml 18 points 2 weeks ago (2 children)

I've learned from these that I must definitely move my mouse like a robot since it always asks me to do more puzzles afterwards. This is even if I try jiggling it around after clicking just to try and convince it.

[–] ICastFist@programming.dev 25 points 2 weeks ago (1 children)

Could also be browser settings. I often get infinite captcha'd on private Firefox tabs

Yeah this is my experience as well. I don't have much technical knowledge about it, but Firefox with ublock seems to be the enemy of captcha and CloudFlare

[–] Lucidlethargy@sh.itjust.works 1 points 2 weeks ago (1 children)

This is really interesting... Can you elaborate? I've never one had a follow up to the check mark.

I use a high dpi mouse, what do you use?

Spoiler: I think resolution matters here. The top comment is wrong, if anyone cares enough to take notice...

[–] Jimmycrackcrack@lemmy.ml 1 points 2 weeks ago

Cheapest Logitech mouse I could find in the supermarket about 6-7 years ago.

As others have said, it might be more to do with my browser choice, browser settings and extensions. That said I remember when I first started seeing these years ago that sometimes it'd think I was a robot and sometimes it wouldn't and maybe it was a placebo effect, but I felt fairly confident then that me jiggling the mouse really helped. Now it doesn't matter what I do. My natural movement, a deliberately wonky but still single and continuous movement or a totally artificial mouse wiggle after the clock, I'll always have to do captchas.

[–] pineapplelover@lemm.ee 14 points 2 weeks ago (2 children)

What if you're on a phone or tablet?

[–] xmunk@sh.itjust.works 7 points 2 weeks ago

Clicking percision and reaction time are still measurable and the checkbox can fall back to other captcha tactics if it has low faith in the user.

[–] brianorca@lemmy.world 5 points 2 weeks ago

It's also checking your other traffic. (Since Cloudflare handles traffic for so many companies.) Are you visiting other sites in a realistic fashion, or are you doing 99% of your traffic trying to do one thing over and over.

[–] user224@lemmy.sdf.org 8 points 2 weeks ago

But it also works with touchscreen taps, and randomizing tap position, duration, and delay is fairly simple.

[–] Phil_in_here@lemmy.ca 5 points 2 weeks ago (1 children)

My question is how is it not trivial to add a noise wave or some shit to the bot path? Obviously, I have zero technical knowledge of how bots, pathing, or anti-bot analysis works

[–] nick@campfyre.nickwebster.dev 13 points 2 weeks ago

It uses other signals too, like what other sites you've visited with that checkbox on it, what CloudFlare has seen your IP address doing in the past, etc.

The google one is able to see if you're logged into a google account and take that into account.

There's even a new variant of the Google captcha that is invisible and doesn't even bother to show a checkbox.

[–] Melatonin@lemmy.dbzer0.com 5 points 2 weeks ago (6 children)

Interesting that my mouse movement is available to anyone who wants it.

It seems like a small step from that to accessing my keyboard.

[–] sbv@sh.itjust.works 45 points 2 weeks ago (1 children)

Your mouse movement and keyboard events are available to webpages that you've loaded, when the browser window is focused.

This isn't nefarious - it allows websites to build nice UIs that most people enjoy using, most of the time.

There's lots of shady stuff going on in browsers, this isn't really one of them.

[–] Melatonin@lemmy.dbzer0.com -3 points 2 weeks ago (2 children)

Hmm, I can think of some ways to misuse this. And I'm not very smart at all.

[–] Takumidesh@lemmy.world 7 points 2 weeks ago (1 children)

I mean, how do you think websites work? Of course your mouse and keyboard events are available, otherwise you wouldn't be able to interact with a website at all.

[–] Melatonin@lemmy.dbzer0.com 5 points 2 weeks ago* (last edited 2 weeks ago)

This was the slap on the head I needed. I now get what you mean by interact with my keyboard. In other words = can tell what I'm typing. Like perfectly normal function of websites.

I didn't understand the "focus" part and how it helped. I think I said earlier, I'm not particularly smart.

[–] naticus@lemmy.world 4 points 2 weeks ago (1 children)
[–] Melatonin@lemmy.dbzer0.com 1 points 2 weeks ago (3 children)

Like those sites that ask me to sign in using Google (or other options) and then Google asks me for the password?

Pretty easy to grab passwords I think.

[–] howrar@lemmy.ca 12 points 2 weeks ago

Those websites send you directly to Google, so they no longer have control of the web page when you're entering your password.

[–] Aatube@kbin.melroy.org 9 points 2 weeks ago

This is why Google sign-in can’t be embedded and uses the password input type for the password type. Most SSOs do this as well.

[–] naticus@lemmy.world 5 points 2 weeks ago

To clarify, websites can't capture keyboard events that were typed into a different website like you're thinking. Think of going to a web game that let's you use WASD for controlling your character. It's able to capture those events on that page because its in focus. When a site goes out of focus (such as switching tabs or switching to another window that's not the browser), it loses that ability. Overall, it's very secure.

I was more wondering how you thought capturing the mouse movements would lead to security issues.

[–] MoonManKipper@lemmy.world 16 points 2 weeks ago

If you’re using a webpage JavaScript can see your mouse cursor and anything you type. But only if the browser has focus. So if you’re typing in another window it can’t

[–] Shadow@lemmy.ca 14 points 2 weeks ago

Your mouse movement on that page is. Just like if you typed into the page.

It's not tracking you in other windows and apps.

[–] linearchaos@lemmy.world 9 points 2 weeks ago (1 children)

They can only access it while you're focused on their webpage. CORS is all about that.

If you click off to another web page and enter information or type of password into a secondary app they can't gather that. As soon as they lose focus they lose the ability to capture your data.

[–] Septimaeus@infosec.pub 3 points 2 weeks ago

Nbd, but it sounds like you’re talking about encapsulation of event capture (viewport stops receiving events after losing focus).

CORS is a protocol for client-side enforcement of a server-side security policy. It ensures that a resource request (e.g. β€œmy-totally-safe-resource.wasm”) only loads from a location your server permits (e.g. β€œmy-valid-origin.biz”, β€œfriends-valid-origin.org”, etc).

[–] kionite231@lemmy.ca 5 points 2 weeks ago

There is a lot of other data available to sites you visit unless you are using some kind of fingerprint protection

[–] boatswain@infosec.pub 2 points 2 weeks ago

If loaded with pages didn't have access to keyboard events, you wouldn't be able to write comments on Lemmy posts. I'm not a front-end guy, but that should be limited to just white the browser is focused.

This feels only partially accurate. I'm a web developer, and I know websites don't track all of what you suggest. Can you clarify, or come clean on what actually takes place?

Honestly, I doubt it... I'm sorry. I don't mean to be abrasive.

[–] Vince@lemmy.world 1 points 2 weeks ago (1 children)

Couldn't I just record my mouse movements clicking on it a couple dozen times and randomly replay one of those recordings?

[–] Catsrules@lemmy.ml 3 points 2 weeks ago

It could store the mouse movements to compare later.