News for hackers. Stuff that matters.
Re:Mimicking a device is becoming almost impossible by uniqueuid on Monday June 28, 2021 @03:24AM (#27658991)
Browser automation is an arms race between fraud detection and criminals, with users and some legitimate use cases (cough science) caught in between.

I find it's very useful to think of the problem not as governed by technical possibility, but rather by costs.

Good spoofing detection does not prevent fraud, it increases its costs to fraudsters (hoping to render fraud uneconomical).

Bad spoofing detection harms legitimate users and is inefficient against capable actors.

All of this gets much more interesting and complex when we consider privacy (and privacy compliance) to be part of the puzzle - now fraud prevention incurs a cost to the defender as well.

Finally, it's important to consider asymmetric risk/benefit counts. Are you defending against a single major heist, or against billions of tiny events (click fraud)? The trade-off will look different.

Re:Mimicking a device is becoming almost impossible by kfichter on Monday June 28, 2021 @06:36AM (#27660085)
> Bad spoofing detection harms legitimate users and is inefficient against capable actors.

On a somewhat related note: I used to write sneaker buying bots and captcha was one of the best things to happen to the bot industry.

Captcha was easily "bypassed" by services that had humans sitting at computers generating tokens. Recaptcha tokens are valid for two minutes by default, so you'd be able to generate tokens up to two minutes in advance and have dozens of tokens available when the product in question became available for purchase. Real buyers had to wait for drop and then spend 15s+ filling out the captcha. Bots would take most of the stock in less than a second. I always felt like this was a fantastic example of a bot prevention mechanism that actually actively harmed "legitimate" users.

Re:Mimicking a device is becoming almost impossible by rdtwo on Monday June 28, 2021 @10:36AM (#27662547)
Yeah I find that very interesting, on many sites the Anti bot software prevents humans from checking out at all. All the footlocker sites make it impossible for people to checkout. Yeezy supply is basically impossible as well. The only thing that somewhat works is the Apple Pay shortcut for sites with Apple Pay enabled.

Can I ask why you quit the Bot industry? It seems super lucrative right now.

Re:Mimicking a device is becoming almost impossible by kfichter on Monday June 28, 2021 @05:21PM (#27668327)
It was definitely lucrative (sort of, I never broke $100k/yr but I have plenty of friends who did) but it was never particularly satisfying. I'm a competitive person but I love the collaboration of open source software. I tried creating a few open source bot projects but the economics of the bot industry just doesn't have room for projects like that. You also can't do well in the sneaker industry without making it your entire life. At the end of the day, money alone can't satisfy the soul. And I didn't care enough about sneakers. C'est la vie.
Re:Mimicking a device is becoming almost impossible by uniqueuid on Monday June 28, 2021 @10:20AM (#27662334)
Thanks, this is an excellent example.

You could actually call this a symbiotic lock-in. I once read an excellent post on how SEO (despite being a gray area for search engines) entrenches Google's market share because many SEO practitioners specialize in it.

If your ecosystem has become so specialized that most well-adapted users are bots, you have a problem (or not, if you can monetize bots).

Re:Mimicking a device is becoming almost impossible by slugiscool99 on Monday June 28, 2021 @12:15PM (#27663776)
Fascinating. You'd think the captcha would have implemented a check to ensure it was completed out on the same device.
Re:Mimicking a device is becoming almost impossible by KirillPanov on Monday June 28, 2021 @01:41PM (#27664921)
The captcha-solving services reverse-proxy requests from the human-for-hire through the botmaster's headless browser. In other words, all the javascript runs on the botmaster's machine. Only the images (or screenshots) are sent to the human-for-hire, and clicks/screenshots are sent back from the human-for-hire to the botmaster.

This is the whole point of this article: device detection is generally a false sense of security.

Re:Mimicking a device is becoming almost impossible by toast0 on Monday June 28, 2021 @02:23PM (#27665590)
These sorts of things increase the cost (you had to pay humans to do captchas and to setup the system), which can help.

It really depends on what the benefits of bypassing the detection are and if those benefits can be had elsewhere at lower cost. For ticket sales or limited run product sales or similar things, the benefits of buying (and presumbably reselling) the limited item is high, and there's a limit to what you can do to detect humans (and as you've described it can be counter productive). For spam prevention, making it cost more to spam means spammers are encouraged to find somewhere else to spam, which is good for your users (while using your product anyway). But it won't stop everything, some people are going to manually type their spams, and some people will build robots to tap out their spams more like a person; and if you ruin the experience for users (especially new users) that doesn't work either; a network with zero messages is spam free, but doesn't help anyone.

Re:Mimicking a device is becoming almost impossible by coldacid on Monday June 28, 2021 @04:19PM (#27667449)
If you know where to look, the human labour is almost free compared to the profit you could be making.
Re:Mimicking a device is becoming almost impossible by 867-5309 on Monday June 28, 2021 @05:03PM (#27668082)
indeed. ~$0.15 per captcha for >$200 sneakers is nothing. it may be shady but people are making a living filling out captchas all day. "Want easy stable income? All you need is a computer!"
Re:Mimicking a device is becoming almost impossible by paulpauper on Monday June 28, 2021 @09:45AM (#27661887)
If the landing page generates unique captachaa that are random how does this help unless the hashes are valid globally
Re:Mimicking a device is becoming almost impossible by minitoar on Monday June 28, 2021 @11:25AM (#27663128)
Presumably it’s something like N headless browsers all waiting to click “checkout” on a cart with a decoy item in it, then when the drop happens they all update their carts with the new item and then post checkout with your precreated captcha token.
Re:Mimicking a device is becoming almost impossible by rdtwo on Monday June 28, 2021 @12:30PM (#27663984)
That’s one way yes, that called precart. That’s a common but less sophisticated method than what’s available
Re:Mimicking a device is becoming almost impossible by minitoar on Monday June 28, 2021 @12:36PM (#27664079)
Cool! Tell us about the other ways.
Re:Mimicking a device is becoming almost impossible by 867-5309 on Monday June 28, 2021 @05:05PM (#27668101)
first rule of sneaker bot club..
Re:Mimicking a device is becoming almost impossible by rdtwo on Monday June 28, 2021 @10:38AM (#27662575)
Some capcha has this vulnerability. In general bots solve capcha faster than humans now
Re:Mimicking a device is becoming almost impossible by aledalgrande on Monday June 28, 2021 @01:18PM (#27664616)
Even things like hCaptcha?
Re:Mimicking a device is becoming almost impossible by rdtwo on Monday June 28, 2021 @03:29PM (#27666645)
I think balko bot can solve in 2-3 sec now. It absolutely destroys Shopify.
Re:Mimicking a device is becoming almost impossible by rapsey on Monday June 28, 2021 @09:57AM (#27662027)
Recaptcha sends the same image to multiple browsers at the same time and it gets solved by consensus I think.
Re:Mimicking a device is becoming almost impossible by colejohnson66 on Monday June 28, 2021 @11:12PM (#27671285)
You’re thinking of reCaptcha “v2”. That was when it was about digitizing books. One distorted photo of a word had a known spelling, and the other didn’t. If you spelled the known one right, it let you through. If enough people spelled the unknown one the same way, it would “learn” how to OCR that word (of sorts). If you had time to spare/waste, you could spell the first one right, and put garbage for the second one. About half the time, it would let you through.

Not sure how reCaptcha “v3” (the photos of streets one) works. It could work the same way, but just with more known and unknown (unclassified) pictures? It’s also a lot more harsh if you get it wrong: artificial delays, switching to the “click until no more remain” mode (with more delays), and more. Sometimes, it just refuses to let you through no matter what: https://youtu.be/zGW7TRtcDeQ It’s extremely frustrating.

Re:Mimicking a device is becoming almost impossible by luffapi on Monday June 28, 2021 @09:33AM (#27661732)
I don’t understand why programmatic access is being equated with fraud. Device identification is never a benefit for end users. Lack of privacy, waste of resources, hostile ux… we’re basically talking about DRM.
Re:Mimicking a device is becoming almost impossible by slownews45 on Monday June 28, 2021 @12:29PM (#27663972)
Then start a website that doesn't try to identify and or block bots and rake in the cash from this user benefit.

My own experience briefly running sites - bot traffic is 100% trash on almost every metric. Actual conversions, spam, click fraud, other fraud (spam talking about work from home), privacy violations (trying to scrap all user profiles, capturing deleted user content etc).

Re:Mimicking a device is becoming almost impossible by luffapi on Monday June 28, 2021 @12:43PM (#27664170)
I’ve run plenty of large sites and apps, and yeah I always try to represent the users in product planning and for that the reason not once have I allowed captchas, fingerprinting… to be implemented.

The real reasons people implement these draconian measures range from inept cargo culting to nefarious business models. If you have a problem with spam, add user moderation and call it a day. That’s just a justification though, there is never a pro-user reason to destroy ux and privacy.

Re:Mimicking a device is becoming almost impossible by slownews45 on Monday June 28, 2021 @04:10PM (#27667288)
" there is never a pro-user reason to destroy ux and privacy"

Huh?

I require users to register (little to no privacy) and pay a bit - this results in a both better user experience and is a pro-user reason to destroy privacy. You can also blacklist most of the anon email providers / do SMS verification etc

Re:Mimicking a device is becoming almost impossible by luffapi on Monday June 28, 2021 @04:14PM (#27667355)
Destroying user privacy is absolutely anti-user. Why on earth would I want you, the website owner, to know who I am? I would like to remain anonymous, thus would never even consider using your site since it’s so hostile.

I’m also curious what your site is. Will you say, or do you wish to remain anonymous?

Re:Mimicking a device is becoming almost impossible by tovej on Monday June 28, 2021 @10:52AM (#27662751)
Yeah, HTTP should be a protocol that users can use freely (as long as they don't use it for Denial of Service). I don't see why I shouldn't be able to fetch a website, scrape it for information and reassemble that information in the way I want it to be presented.
Re:Mimicking a device is becoming almost impossible by chii on Monday June 28, 2021 @11:33AM (#27663213)
> reassemble that information in the way I want it to be presented

site owners want the advertising that was embedded to be seen and thus make revenue from it.

Re:Mimicking a device is becoming almost impossible by megous on Monday June 28, 2021 @11:46AM (#27663387)
Not all of them, some just want to sell stuff, but make it positively terrible to search for things. Some site owners provide you service, like banks, or chat services like Slack, or Jira, but the user interface is again a turd. Some just publish info on a blog, but you can expect it to go away, so why not save it for later.

Slack limits the amount of searchable messages to 10k, so if you save them regularly to local DB, you can search without limits.

All kinds of owners don't sell/show ads, or care about scraping.

Re:Mimicking a device is becoming almost impossible by mike_hearn on Monday June 28, 2021 @12:25PM (#27663918)
It's because programmatic access on websites with anything social, or with user generated content, is very strongly correlated with spam, and spam is quite often linked with fraud of various kinds. Like 99%+ of the time if something is posted by a bot outside of any officially provided APIs, it will be unwanted by other users.
Re:Mimicking a device is becoming almost impossible by luffapi on Monday June 28, 2021 @12:40PM (#27664127)
User moderation solves this. You’ll know if something is or is not wanted by users, as they will moderate the content itself.

There is no need to destroy privacy, waste resources, create terrible ux, gate content…

Re:Mimicking a device is becoming almost impossible by mike_hearn on Monday June 28, 2021 @01:52PM (#27665110)
Users have better things to do than constantly click "report spam" buttons on minor variants of the same content a million times in a row. People see spam reporting as equivalent to filing a complaint i.e. the company failed and they're informing it that it needs to do better.

Automation detection and privacy are orthogonal. The ideal bot detector yields a single bit of information: bot or not. It doesn't need to try to de-anonymize users or anything like that. As for UX, well, spam is a bad UX.

Re:Mimicking a device is becoming almost impossible by luffapi on Monday June 28, 2021 @01:54PM (#27665150)
There are a million creative ways to solve this that don’t involve dark patterns, poor ux and wasted resources. This comment does a better job than I’ve done explaining:

https://news.ycombinator.com/item?id=27664604

Re:Mimicking a device is becoming almost impossible by mike_hearn on Monday June 28, 2021 @06:10PM (#27668891)
That comment doesn't explain anything. It just says: spam? Remove the incentive.

The incentive is money. You can't just wave a magic wand and get rid of the incentive to spam things. Asserting that you can is wishful thinking.

Re:Mimicking a device is becoming almost impossible by marcinzm on Monday June 28, 2021 @12:53PM (#27664302)
Bots will then generate millions of fake users, upvote their own content and downvote all other competing content.
Re:Mimicking a device is becoming almost impossible by luffapi on Monday June 28, 2021 @12:53PM (#27664316)
You realize there’s no captchas or fingerprinting on this site right?
Re:Mimicking a device is becoming almost impossible by dmoy on Monday June 28, 2021 @01:03PM (#27664438)
This is an absolutely tiny site.

Things that work for small sites fall apart once you get 10~100 million+ people.

Look, I help do the actual user moderation for a large (10m+) subreddit, and it is a god damn nightmare. Plus, on top of that, we have to do automated bot detection anyways, because otherwise it's just neverending bot spam.

Re:Mimicking a device is becoming almost impossible by luffapi on Monday June 28, 2021 @01:09PM (#27664499)
I worked on a site with 200M active monthly users. No captchas. It’s totally doable.

Reddit is actually a good example of having millions of users with no captcha. They “fixed” their problem with user moderation.

You chose to become a moderator, so it must not be that much of a nightmare.

EDIT: Reddit does have a captcha now. My guess is it came along with the other users hostile changes in the new design.

Re:Mimicking a device is becoming almost impossible by marcinzm on Monday June 28, 2021 @01:30PM (#27664790)
Reddit does require a captcha and has for a long time.

edit: They have for at least the last 6 years based on online questions. Long before the new design.

Re:Mimicking a device is becoming almost impossible by luffapi on Monday June 28, 2021 @01:33PM (#27664827)
I see you are correct. They did not used to though.
Re:Mimicking a device is becoming almost impossible by TwoBit on Monday June 28, 2021 @01:20PM (#27664644)
Reddit repost bots execute with full (though unintended) support of moderators and legitimate users.
Re:Mimicking a device is becoming almost impossible by hombre_fatal on Monday June 28, 2021 @03:12PM (#27666367)
Users definitely don’t want to be exposed to spam much less have to take action against it.
Re:Mimicking a device is becoming almost impossible by Wowfunhappy on Monday June 28, 2021 @05:13PM (#27668224)
The government is giving out COVID vaccines. Appointments are free, but still difficult to come by due to limited quantities. Do you really want bots reserving all the appointments?
Re:Mimicking a device is becoming almost impossible by andyana on Wednesday June 30, 2021 @11:06PM (#27695875)
How does this make any money for the bot operators? Wouldn't it be easy to see who is advertising vaccination timeslots on Craigslist?
Re:Mimicking a device is becoming almost impossible by Wowfunhappy on Thursday July 01, 2021 @09:33AM (#27698865)
You could hire a bot service to snag a vaccine appointment sooner, while others have to wait.
Re:Mimicking a device is becoming almost impossible by Nextgrid on Monday June 28, 2021 @04:54AM (#27659501)
Another legitimate usage use-case is to wade through bullshit, dark patterns, ads & co in an automated way. See Invidious, Nitter, Teddit, etc.
Re:Mimicking a device is becoming almost impossible by uniqueuid on Monday June 28, 2021 @05:12AM (#27659592)
While I love those attempts (kind of like ublock origin on a server), you can easily see how they are stuck between a rock and a hard place. They have all the vulnerability of fraudsters, and none of the benefits of authentic users.

That's why most of them seem to be perpetually banned.

[edit] Now, if someone would build an onion router that ran on people's end devices and served as a proxy network for these front ends, that would be interesting ... but would probably end up getting lots of people blocked, so please don't take it seriously.

Re:Mimicking a device is becoming almost impossible by Nextgrid on Monday June 28, 2021 @05:15AM (#27659604)
> but would probably end up getting lots of people blocked

These scum companies rely on "engagement", so they can only block people if it's a minority. If _everyone_ participates, they have no choice but to accept it (or maybe change their product so there's no incentive to run these unofficial front-ends in the first place).

Re:Mimicking a device is becoming almost impossible by navierstokes on Monday June 28, 2021 @03:03PM (#27666240)
The recent Microsoft signed rootkit has specific requests for collecting CPU-ID. That says something about the state of device fingerprinting, but I'm not sure exactly what that is.

https://www.bleepingcomputer.com/news/security/microsoft-adm...

Re:Mimicking a device is becoming almost impossible by shakkhar on Tuesday June 29, 2021 @03:39PM (#27680758)
CPUID is just a bunch of flags used to discover the capabilities of your CPU: https://en.wikipedia.org/wiki/CPUID
Re:Mimicking a device is becoming almost impossible by gavanm on Monday June 28, 2021 @04:23AM (#27659295)
Some other genuine legitimate use cases are: Monitoring (Synthetic Users) Performance Testing (though usually in a separate dedicated environment)
Re:Mimicking a device is becoming almost impossible by evgen on Monday June 28, 2021 @05:00AM (#27659524)
If it is your site then you will be able to bypass the fraud detection, and if it is not your site then the site owner probably does not consider these legitimate use cases to be concerned about.
Re:Mimicking a device is becoming almost impossible by uniqueuid on Monday June 28, 2021 @04:25AM (#27659317)
Right, I guess it's important to have some automated way of testing the billions of configuration possibilities and network/device conditions that you could expect, because they are impossible to systematically test in human-driven QA.

How else would you test your SPA against millions of different content-modifying browser plugins, for example.

Re:Mimicking a device is becoming almost impossible by oauea on Monday June 28, 2021 @06:26AM (#27660018)
> How else would you test your SPA against millions of different content-modifying browser plugins, for example.

You don't.

Re:Mimicking a device is becoming almost impossible by captainmuon on Monday June 28, 2021 @01:17PM (#27664604)
I think we are trying to solve a social problem with a technical solution. Can we make an unbeatable spoof detector? I think we probably could, but we shouldn't. Locking down things takes the fun out of them.

Ideally, you could get rid of every captcha and just have an open API for everything. Somebody wants to create lots of email addresses to send spam? Remove the incentive to send spam.

Somebody posts thousands of manipulative tweets? Maybe the "feed" model of social media is wrong. Don't assume every random account is equally important. Better just have a simple social network where you can connect with your friends. Or even better, design your society such that it's decisionmaking is more resilient and can't be gamed.

The really hard but worthwile problem is not in tech, it is how we evolve our society along with the tech.

Re:Mimicking a device is becoming almost impossible by KirillPanov on Monday June 28, 2021 @01:44PM (#27664976)
This was the original attitude of the Old School Internet.

Unfortunately a new generation has come along that believes advertising-supported business models are their birthright.

Re:Mimicking a device is becoming almost impossible by zahrc on Monday June 28, 2021 @02:44PM (#27665926)
I’d honestly rather pay a (higher) fee to a service I like and is transparent. A service where my money is paying for the uptime and development and I give consent, and not where some “evil” AI is tracking my every step and then has the audacity to recommend me ads of things totally irrelevant to me.

I respect that services have running costs and I’m happy to cover my usage, but I have to understand that the average consumer doesn’t give a crap, or is simply ignorant and doesn’t know.

Re:Mimicking a device is becoming almost impossible by crazygringo on Monday June 28, 2021 @02:51PM (#27666045)
> Remove the incentive to send spam.

Good luck. Literally nobody has figured out a viable way to do that. At this point, we need to consider spam a fact of nature, like viruses.

> Locking down things takes the fun out of them.

Locking down things so we create a space that actually functions and doesn't succumb to abuse. What you call fun, others would call trolling they'd like to get rid of.

Re:Mimicking a device is becoming almost impossible by jpttsn on Monday June 28, 2021 @01:30PM (#27664794)
People hurt each other? Just remove their reasons. Not enough food? Just stop being hungry.

But how?

Re:Mimicking a device is becoming almost impossible by asdadsdad on Monday June 28, 2021 @01:40PM (#27664896)
lol
Re:Mimicking a device is becoming almost impossible by emodendroket on Monday June 28, 2021 @10:03AM (#27662112)
It seems to me that one way through this challenge is just automating the browser itself. Internet Explorer was particularly friendly to this but since it's out of support maybe browser extensions would be the way to go.
Re:Mimicking a device is becoming almost impossible by Siira on Monday June 28, 2021 @06:41AM (#27660115)
Scraping user-generated data should be made a legal right. It’s not like the companies paid for the data they collected from users, and the whole thing is anti-competitive as well, and hurts the economy.
Re:Mimicking a device is becoming almost impossible by judge2020 on Monday June 28, 2021 @09:14AM (#27661512)
UGC can range from a Facebook post about tacos to intimate details about one’s private life or medical history. Blanket statements like yours do nothing to help the conversation.
Re:Mimicking a device is becoming almost impossible by luffapi on Monday June 28, 2021 @09:26AM (#27661649)
You can get only scrape data you are allowed to access. If your eyes can see it, you should be able to scrape it. The analog hole is always there.
Re:Mimicking a device is becoming almost impossible by EMM_386 on Monday June 28, 2021 @07:14PM (#27669556)
This gets very tricky when you think about JavaScript.

What if you only pop up important information via an onBlur event in a dynamically created div element that is overlayed on the page, only after asynchronously querying a REST endpoint to get information from a database?

How would a crawler even know that this element is shown when you leave a specific input field? How would it know to wait a second while the database is getting the data?

Like it or not, we're well past the days of complete HTML documents being served for a request.