News for hackers. Stuff that matters.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by greyface- on Sunday August 27, 2023 @02:06AM (#37279845)
> It does tend to get me profiled as a "bot" by CloudFlare

Since Cloudflare employees are known to lurk here, I'd like to know: is this considered a false positive, or working as intended?

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by rs_rs_rs_rs_rs on Sunday August 27, 2023 @02:15AM (#37279886)
Not a CF employee but I am pretty sure it's working as intended as they built and use this:

https://github.com/cloudflare/mitmengine

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by fulafel on Sunday August 27, 2023 @03:30AM (#37280272)
Here's hoping that, if they do it, they'll start blocking corporate TLS mitm regimes too.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by michaelt on Sunday August 27, 2023 @04:16AM (#37280529)
Blocking? Cloudflare provides corporate TLS MITM regimes.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by sgammon on Sunday August 27, 2023 @04:03PM (#37286113)
"Corporate MITM" is built into the very idea of PKI. Running your own custom PKI is a completely valid way to operate a network. This is a feature because it allows anyone to establish their own trust tree, completely outside of the public certificate trust network.

"Regimes" sounds pejorative but in truth, companies have a duty and in many cases a legal obligation to protect their networks. Prima facie, I don't see any reason at all why interception of traffic in this circumstance is "bad," except maybe a potential for political misuse like any other written medium.

I actually think the reverse would be substantially worse: if _only_ the public trust chain was valid in major browsers, we would be completely hosed and there would be no distinguishing factor at all between remote attestation and trust.

Thus, corporate TLS interception is, at worst, a necessary byproduct of a very well chosen tradeoff.

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by userbinator on Sunday August 27, 2023 @05:42PM (#37286897)
And as a personal user, I also should have the right to intercept the traffic on my network.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by josephcsible on Sunday August 27, 2023 @06:02PM (#37287052)
I have a minor quibble with "my network". You should have the right to intercept the traffic originating or terminating at your devices, but not to intercept any traffic going between other people's devices just because it's on your network.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by userbinator on Monday August 28, 2023 @03:54PM (#37299596)
Then it wouldn't be my network anymore.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by josephcsible on Monday August 28, 2023 @06:43PM (#37301336)
Should your ISP be able to MITM all of your traffic just because it's going over their network? If not, then what's the difference?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by sgammon on Monday August 28, 2023 @12:58AM (#37289933)
That's what I'm standing up for in this comment, but you've characterized it as opposition. I don't understand, perhaps you'd like to clarify.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by userbinator on Monday August 28, 2023 @03:52PM (#37299576)
I'm not opposing, just adding more context.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by rightbyte on Sunday August 27, 2023 @05:38AM (#37280982)
Ever since Google started pushing HTTPS I understood that non-encryption would be a future privacy problem.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by yrro on Sunday August 27, 2023 @09:49AM (#37282699)
Why? This isn't the 90s any more. You shouldn't use your employer's systems for anything other than work.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by netsharc on Sunday August 27, 2023 @10:11AM (#37282890)
Hah, remember how Amazon invented "Cyber-Monday"? They claim the Monday after Thanksgiving when people go back to work it'll be their first encounter with Internet-connected computers after the Thanksgiving vacation, and it's the time where they'll be most busy shopping for Christmas presents...
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by yrro on Sunday August 27, 2023 @10:24AM (#37283023)
So that's where thta came from...
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by mynameisvlad on Sunday August 27, 2023 @02:25PM (#37285318)
Amazon was barely a blip when Cyber Monday first came out, let alone the inventors of the term.

> The term "Cyber Monday" was coined by Ellen Davis, and was first used within the ecommerce community during the 2005 holiday season. According to Scott Silverman, the head of Shop.org, the term was coined based on 2004 research showing "one of the biggest online shopping days of the year" was the Monday after Thanksgiving (12th-biggest day historically). Retailers also noted the most significant shopping period was December 5 through 15 of the previous year. In late November 2005, The New York Times reported: "The name Cyber Monday grew out of the observation that millions of otherwise productive working Americans, fresh off a Thanksgiving weekend of window shopping, were returning to high-speed Internet connections at work Monday and buying what they liked." At the time, a lot of people had slow Internet at home. The idea for having such a holiday was created by Tony Valado, in 2003 while working at 1800Flowers.com, and coined "White Wednesday" to be the day before Thanksgiving for online retailers.

https://en.wikipedia.org/wiki/Cyber_Monday

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by hedora on Sunday August 27, 2023 @09:53AM (#37282720)
Why should they only allow MItM’ed traffic when a third party is the one defeating the encryption?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by fulafel on Sunday August 27, 2023 @11:11AM (#37283427)
Privacy of communications is a protected right in lots of jurisdictions, not by default overridden by employer interests. From a values pov it makes sense as well, privacy is a human right and the fact that you're at work doesn't invalidate that, social interactions at work can be of a personal nature that is good to keep confidential.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by jupp0r on Sunday August 27, 2023 @11:19AM (#37283498)
You never watch a conference talk on YouTube at work?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by dylan604 on Sunday August 27, 2023 @11:50AM (#37283810)
I've always created a google account specific for that company though, so it is still technically segregated from my personal anything
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by cbsmith on Sunday August 27, 2023 @01:43PM (#37284932)
Corporate TLS mitm is so often misunderstood. There are, unfortunately, a lot of legit reasons to do so.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by thegeomaster on Sunday August 27, 2023 @05:56AM (#37281087)
Use this to evade it: https://github.com/lwthiker/curl-impersonate

Greetings from a country whose (almost) entire IP space is blacklisted by Cloudflare!

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by issafram on Sunday August 27, 2023 @08:40AM (#37282126)
Which country?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by kyrra on Sunday August 27, 2023 @08:53AM (#37282237)
From his profile:

> Software engineer from Belgrade, Serbia

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by SOLAR_FIELDS on Sunday August 27, 2023 @08:52AM (#37282220)
Wow thanks, I was looking for this exact piece of software a few weeks ago when testing against some geo restrictions
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by pmarreck on Sunday August 27, 2023 @09:10AM (#37282382)
necessity: still the mother of invention

greetings from the other side of the world, commandline brother. I did not know of this tool, but I do now. Thanks

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by foobarbazetc on Sunday August 27, 2023 @11:40AM (#37283707)
Wow. Need this as a golang net/http shim.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by rollcat on Sunday August 27, 2023 @09:34AM (#37282567)
> We consider an HTTPS connection to be intercepted when there is a mismatch between the expected client request signature corresponding to the browser identified by the User Agent, and the actual client request fingerprint of the request.

Sounds like something that would be "trivial" to defeat, by means of "emulating" other TLS implementations more closely?

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by homarp on Sunday August 27, 2023 @09:55AM (#37282758)
which is what https://github.com/lwthiker/curl-impersonate does: it's a special build of curl that can impersonate Chrome & Firefox
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by nwellinghoff on Sunday August 27, 2023 @12:38PM (#37284284)
Can this be used as a proxy to your real browser? Can you paint the whole picture/setup for a noob?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by cbsmith on Sunday August 27, 2023 @01:54PM (#37285051)
Presumably so. You'd just need to compile the curl-impersonate for the appropriate browser you want to impersonate, and then link it in to a proxy that used libcurl for its https traffic.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by voytec on Sunday August 27, 2023 @09:56AM (#37282762)
I have no releation to CF but from my perspective, if a human is marked as a bot - that's a false positive.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by aardvarkr on Sunday August 27, 2023 @11:09AM (#37283412)
99.9999% of humans won’t be decrypting protobuf traffic but a large % of bots are out of necessity to interact with the website. That’s what I’d call a good filter.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by adrr on Sunday August 27, 2023 @11:17AM (#37283484)
Since you’re not a Cloudflare customer, you need to think like a customer who is using Cloudflare’s bot protection. Do you want to filter people who are blocking your ads through mitm? I would guess yes.