News for hackers. Stuff that matters.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by guitarlimeo on Monday March 25, 2024 @11:01AM (#39817181)
As far as I know, current ad blockers can't block ads from Widevine (DRM protected) streams, so I guess it's only a matter of time until Chromium team comes up with Widevine for webpages and then it's game over for normal consumers.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by bawolff on Monday March 25, 2024 @11:08AM (#39817264)
While i know its evil, i always wished widevine was an option for creating captchas.

Most captcha solutions are defeated by services like 2captcha.net and generally aren't the most privacy respecting.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by Semaphor on Monday March 25, 2024 @11:27AM (#39817530)
Most captcha solutions are also hard for me, but easy for computers to solve. So I really hope their use doesn’t get expanded even further…
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by kedean on Monday March 25, 2024 @12:37PM (#39818395)
"Select every tile with motorcycles", shows an image of a single motorcycle parked on the street. Does the sliver of a tire that shows up in the bottom right tile count, or not? This is never clear, and I end up usually getting it wrong until they show me one that's unambiguous.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by jerf on Monday March 25, 2024 @02:20PM (#39819608)
"This is never clear, and I end up usually getting it wrong until they show me one that's unambiguous."

While those CAPTCHAs present a surface narrative of you having to get the problem correct, that's not how they really work. After all, it's not like they are creating those problems by hand. They're pushing the images through computers. You don't even know that what the CAPTCHA server considers correct is even close to objectively correct.

Really it's just a hook to engage you to collect a wide variety of streams to try to detect whether or not you are a human, like reaction speeds, how the mouse moves, etc. The correctness of your selection is only one small signal, and not even necessarily a large one.

The answer is, stop overthinking it. Your overthinking it is probably sending a signal that you're not a human because it's got all your timings wrong. Do what most humans do: Halfassedly click at the problem until it seems rightish and then click "Submit". Does the sliver of tire that shows up in the bottom right tile count? The human response to that question is "Who cares you dumb computer let me through to the content already", so, to maximize how human you look to the algorithm, channel your fellow human's feelings. If you feel frustrated at the CAPTCHA problem and wiggle your mouse angrily and maybe overshoot some of the squares you mean to click, so much the better and more human looking.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by xk_id on Monday March 25, 2024 @05:14PM (#39821337)
a tutorial on how to be human on internet
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by jerf on Monday March 25, 2024 @08:23PM (#39822903)
Putting Expert Human on my resume now, thanks.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by freedomben on Monday March 25, 2024 @06:43PM (#39822074)
Interesting, I guess this explains why I can never "solve" the damn things on my desktop. I use an Ultimate Hacking Keyboard which has a mouse layer, so I control the mouse cursor with my keyboard. It means that my mouse always travels in either perfectly horizontal, perfectly vertical, or perfectly diagonal patterns, and at very different timings than a human using a traditional mouse would.

But, it pisses me off to no end that I can't use my fucking keyboard the way it is supposed to be used (which is a far superior design to the "normal" setup) to view some websites because it doesn't "look" human to the fucking server who expects me not to be a statistical outlier. As someone who has always been an outlier, I kind of hate the algorithmic future we live in and are headed even further toward. This is why we can't have nice things.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by mondalaci on Monday March 25, 2024 @08:10PM (#39822790)
Gotta outsmart the algorithm by introducing some jiggle like at https://forum.ultimatehackingkeyboard.com/t/mouse-jiggler-ma...

The forum folks may be able to provide a solution.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by freedomben on Monday March 25, 2024 @08:44PM (#39823050)
Dude thank you! This is awesome :-)
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by DEADMINCE on Thursday March 28, 2024 @02:40PM (#39855723)
> I can't use my fucking keyboard the way it is supposed to be used (which is a far superior design to the "normal" setup)

Surely this is just your preference and the setup isn't objectively better. I can see see some people prefer moving a mouse with a keyboard but they likely wouldn't be as quick/precise as people with an actual mouse.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by whitehexagon on Monday March 25, 2024 @01:12PM (#39818820)
The last time I got blocked by captcha I went through a dozen of them in a row before being told I wasnt human enough (possibly true after 30 years in IT!) and so on principal I reject all websites that include captcha. And anyway, why are we training these image recognition tools for free.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by Sabinus on Monday March 25, 2024 @08:45PM (#39823053)
Were you trying to access archive.is using the CloudFlare DNS resolvers?
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by hedora on Tuesday March 26, 2024 @11:37AM (#39829226)
I used to have an internet connection from a small ISP that used carrier grade nat. Same issue. I think most of these captcha systems basically just look at IP or other reputation, and then make end-users do mechanical turk style work for free.

Someday, I'm hoping some sociologists look for evidence of socioeconomic discrimination in captcha implementations.

In my experience, performing the exact same actions with your mouse in Mountain View leads to a completely different outcome than it does in lower income areas (red-voting white, ethnic minorities, etc) surrounding the Bay Area.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by arprocter on Monday March 25, 2024 @12:56PM (#39818614)
I've had 'click all the lettuces' - it told me I was wrong for not clicking on a cabbage
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by hunter2_ on Monday March 25, 2024 @01:01PM (#39818693)
It's not comparing your response to some hard truth, it's comparing your response to a typical response. Sort of like how LLMs dish stuff out based on what's probable, not based on hard truth.

So when you fail, it's not really saying you're wrong, it's saying you're not like most.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by autoexec on Tuesday March 26, 2024 @11:18AM (#39828992)
I'm not helping. I always try to get a few wrong just to screw with their training.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by ghayes on Monday March 25, 2024 @12:53PM (#39818588)
I have never successfully gotten a “click all motorcycle squares” to succeed. With a VPN, nothing usually works until “click until there are no more X.” It’s so consistent that I’m pretty sure it’s designed that way, since the final task is time-gated.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by Sohcahtoa82 on Monday March 25, 2024 @01:27PM (#39819026)
> With a VPN, nothing usually works until [...]

Bots are very likely to use VPNs, so captcha services make things a real pain in the ass for anyone connecting from a VPN.

It's the same story with Tor. Coming from a VPN/Tor is a strong signal that you're more likely to be a malicious user.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by freedomben on Monday March 25, 2024 @06:47PM (#39822103)
I'm guessing they also use failed CAPTCHA statistics as more "proof" that those users are malicious. How much should we bet that each time I fail a CAPTCHA because it's utter shit, and happen to be on a VPN, somebody somewhere counts it as a "blocked bot" or "blocked attack"? I guess I don't want to know as it will probably make me angry.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by Nextgrid on Monday March 25, 2024 @08:33PM (#39822977)
ReCaptcha will serve you impossible captchas (as in it will always behave as incorrect even if the answer is correct) if it doesn't like you.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by darepublic on Monday March 25, 2024 @09:23PM (#39823342)
On these captchas I used to sweat it but now I just think "fuck it" and don't overthink anything. And I always pass, perhaps for a variety of reasons secondary to the actual tiles selected
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by bawolff on Monday March 25, 2024 @12:42PM (#39818466)
Which is mostly because computers are good at solving them. A DRM based captcha wouldn't have that issue in theory.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by costco on Monday March 25, 2024 @12:36PM (#39818384)
Widevine has already been reverse engineered. You just need to extract a device private key and there are numerous methods for doing so. "Web Environment Integrity" will never work.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by avidiax on Tuesday March 26, 2024 @01:30AM (#39824529)
It will not work to prevent someone from copying a webpage.

It will work to make ad-blocking difficult enough that most people don't bother anymore.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by Adverblessly on Monday March 25, 2024 @03:00PM (#39820056)
I'd prefer to see proof-of-work based captchas. I'd much rather give up 10 minutes of CPU time for a token that can be revoked as soon as I actually use it for evil than give up all of my privacy (and two minutes of my personal time) for the privilege of using your annoying website.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by Symbiote on Monday March 25, 2024 @05:05PM (#39821267)
That is what those Cloudflare "checking your connection before proceeding" page is doing.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by YetAnotherNick on Monday March 25, 2024 @05:31PM (#39821473)
Spammers would actually prefer it I think. I think for each captcha solved, spammer are ready to pay more than real users(be it electricity or real money). They were already paying real humans before AI became good enough for solving captcha.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by avidiax on Tuesday March 26, 2024 @01:31AM (#39824534)
Spammers are probably not using their own computer or electricity, so this would be very attractive for them.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by throw10920 on Tuesday March 26, 2024 @09:54AM (#39827852)
No, it would not. Spammers are still paying for the devices - most botnets are built and used (to spam) by different actors. Systems that require more computational power to spam take up more of their resources, making spamming significantly less profitable.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by YetAnotherNick on Tuesday March 26, 2024 @10:52AM (#39828675)
Depends on how much do you want real users to spend per captcha in electricity cost? If say it is $1/captcha it would be untenable for real users. If it is 0.01 cent, it wouldn't hurt spammer's margins.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by throw10920 on Tuesday March 26, 2024 @11:22AM (#39829067)
Yes, $1/captcha is clearly infeasible - it'd be far too slow, first of all.

I don't have any knowledge of what spammers' financials are like, but it's possible that even 0.01c/captcha would still be impactful if the click rate is low enough.

Probably the best way to start tuning the PoW difficulty is just by starting out with what users are willing to tolerate - e.g. 3s solve time on the median mobile device. The gap between mobile and desktop devices has significantly lessened over the past decade, so desktop-grade equipment won't have that much of an advantage - say 1s per captcha, which is a lot for a spammer who would otherwise be able to send out dozens of spam per second.

It's not about making spam impossible, but about making it unprofitable enough that the criminals go elsewhere. Economic warfare.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by YetAnotherNick on Wednesday March 27, 2024 @04:11PM (#39843990)
According to google search, captcha solving companies charges 0.3c per captcha[1], which basically translates to half an hour of PoW for digitalocean instance. So if the PoW is less than half hour, spammers would need to pay less with PoW.

[1]: https://2captcha.com/pricing

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by throw10920 on Wednesday March 27, 2024 @11:30PM (#39847482)
Then I guess the value comes with the privacy and human-friendliness, then :)
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by YetAnotherNick on Thursday March 28, 2024 @02:26AM (#39848286)
Web filled to the brim with bot content isn't my idea of human friendly.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by throw10920 on Thursday March 28, 2024 @09:56AM (#39851504)
I'm not sure what comment you're replying to, but I think you got the wrong one. Nothing that I'm proposing results in a "web filled to the brim with bot content".
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by bawolff on Monday March 25, 2024 @08:06PM (#39822759)
Proof of work captchas are pretty hard to tune. You need it high enough to deter spammers (who can pre-compute and dont care about latency), but low enough not to deter real users on low powered devices who are using your site live and get more frustrated every second they have to wait.

It might work for spammers who really are just making billion of attempts, but then again if they are making that many attempts then you can block on the IP level.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by hedora on Tuesday March 26, 2024 @11:44AM (#39829291)
This is basically how Apple does things. Instead of proof of work, they bake the tokens into devices.

The basic idea is that they'll happily let you sneak a few spam messages through iMessage if you're willing to spend a few hundred dollars on a burner iPhone. This is one reason why they're so resistant to allowing gateway protocols between iMessage and third party devices or RCS.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by Dwedit on Tuesday March 26, 2024 @04:17AM (#39825298)
Captchas can be forwarded to other people. Think of things like VNC.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by throw10920 on Tuesday March 26, 2024 @10:01AM (#39827935)
Widevine (or any other DRM-based "proof of human" solution) would be far less compute-freedom and privacy respecting than a captcha.

Hashcash[1] was invented two and a half decades ago and is still the best solution. It doesn't require manual work or user privacy invasion and deters mass spammers.

[1] https://en.m.wikipedia.org/wiki/Hashcash

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by 3pt14159 on Monday March 25, 2024 @11:11AM (#39817299)
If an ad can be rendered on a page or if it uses audio it can be blocked. We have it easy right now with how trivial it has been to block ads, but we could face off against rendering and wiping them in real time if we need to.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by dannyw on Monday March 25, 2024 @02:55PM (#39820006)
Not really. Modern DRM uses Intel ME / AMD / ARM equivalent. These execute code the OS doesn’t have privilege to access.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by 3pt14159 on Tuesday March 26, 2024 @11:15AM (#39828952)
Oh really, that's news to me. I thought one could always read the video frames one at a time.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by dannyw on Tuesday March 26, 2024 @06:22PM (#39833522)
Nope, it gets access to its own framebuffer that’s composited in the GPU. OS sees a black viewport, and only a black viewport.

The comms is encrypted on the bus using strong cryptography, so you can’t sniff it.

All these software blobs are signed and encrypted, you can’t replace it without the signing key.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by 3pt14159 on Wednesday March 27, 2024 @10:06AM (#39839294)
Thanks for letting me know! Really interesting stuff.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by NelsonMinar on Monday March 25, 2024 @12:11PM (#39818088)
That'd be a good reason to finally break Widevine.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by xyst on Monday March 25, 2024 @11:09AM (#39817279)
Until quantum computing becomes mainstream and then consumers can break drm on the fly!
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by thomastjeffery on Monday March 25, 2024 @12:06PM (#39818037)
You don't need quantum computing. You just need a debugger. The user already has the encryption key, else they would not be able to see the content.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by bawolff on Monday March 25, 2024 @12:40PM (#39818444)
Widevine has different levels. In level 1 & 2 the key is in a TPM.

Even for level3, i can only inagine that the amount of obfuscation must be pretty intense.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by xg15 on Monday March 25, 2024 @02:37PM (#39819791)
"Post-Quantum" crypto is already being rolled out in expectation of that though.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by Mindwipe on Monday March 25, 2024 @11:59AM (#39817971)
> As far as I know, current ad blockers can't block ads from Widevine (DRM protected) streams, so I guess it's only a matter of time until Chromium team comes up with Widevine for webpages and then it's game over for normal consumers.

Only where the the adverts are embedded with an encrypted single stream.

Hard to do targeted advertising that way though.

It is a lever that you can pull that's better than nothing though.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by michaelt on Monday March 25, 2024 @12:44PM (#39818495)
Most modern video formats allow you to splice multiple videos together without recompressing, so long as they use the same codec, resolution and framerate and you do it at an I-frame.

So long as you can run code on your CDN edge servers - which Youtube undoubtedly can - there's no technical reason this couldn't be done.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by allendoerfer on Monday March 25, 2024 @11:06AM (#39817226)
Don't be evil.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by okasaki on Monday March 25, 2024 @11:09AM (#39817272)
They already tried with the Web Integrity Environment, but it wasn't very popular.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by xg15 on Monday March 25, 2024 @12:45PM (#39818503)
Didn't they more or less try this with the Web Environment Integrity API? Luckily, people caught on quickly and caused enough backlash for them to abandon it - this time.

I'm not sure how things will work out the next time though.

Re:Show HN: Detecting adblock, without JavaScript, by abusin... by undefeated on Monday March 25, 2024 @03:05PM (#39820114)
At least we got some of my all-time favorite GitHub issues tho
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by _shantaram on Tuesday March 26, 2024 @05:11AM (#39825672)
Out of curiosity, could you post a couple?
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by RockRobotRock on Friday March 29, 2024 @03:44PM (#39868186)
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by hereme888 on Monday March 25, 2024 @02:56PM (#39820019)
By the time that happens my hope is that we might have the new GPT-5 with personal agents curating information for us.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by dpig_ on Tuesday March 26, 2024 @01:26AM (#39824501)
I already have a personal (NSA) agent that does this for me.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by hereme888 on Tuesday March 26, 2024 @10:36AM (#39828447)
I'm not sure if I missed a joke about the NSA, or if there's a computer agent you use, in which case i'd love to hear about it.
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by eipi10_hn on Monday March 25, 2024 @08:20PM (#39822873)
Hmm... For example which sites?
Re:Show HN: Detecting adblock, without JavaScript, by abusin... by musicale on Wednesday March 27, 2024 @02:37AM (#39836225)
It's only a matter of time before I get an AI-fueled graphics overlay that eliminates anything that looks like an ad from my screen (click to reveal false positives), and then it's game over for advertisers.

Hopefully HDMI/HDCP splitters will add an adblock feature as well.