Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions

@insanitybit
Submissions

comment 4y ago · link · parent

Adblockers might be an existential threat to Google, but MV3 won't change anything for Google. Google AdSense ads will almost certainly still get blocked, they're not hard to block/ obfuscated.

I really doubt this will change anything for Google with regards to ads. At most you can argue that this is "step 1" in a larger plan to eventually bypass these adblockers or something, which I'll totally buy, but V3 has gotten better at blocking ads over time, not worse.

comment 4y ago · link · parent

My point is that users don't care if they have enough RAM.

comment 4y ago · link · parent

If that pressure doesn't exist than why does it have to come from somewhere? I also run exactly 0 electron apps but definitely would like to have more ram - 64GB would give me some breathing room, 128GB would probably be optimal.

comment 4y ago · link · parent

Ultimately if your language supports constructing strings from untrusted input + a query language, you have an injection problem. The question is mostly one of scope. As an example, CQL doesn't have nearly the same power of SQL, and so an injection is just not as big of a deal - it's still possible, and in some cases it could be bad, but it's not nearly the same kind of primitive as SQL.

Similarly, removing primitives would probably solve a lot of injection use cases, but if someone does something insane like inject DESC into their query, it's over.

Because SQL is so powerful it's really just up to the libraries to try to help where they can, we'll never truly be rid of injection vulns as they're fundamental to any program that treats data as code.

comment 4y ago · link · parent

At least github supports 2FA, signing of commits, SSO, etc. It can be a lot more trustworthy than a package distro.

comment 4y ago · link · parent

Attackers do what makes money. A lot of that is market driven - you buy what exploits are available, what tools are available, etc. You monetize in a fairly standard way. Attackers aren't all just random people thinking "oh I could hack that" - that's a tiny minority of them.

Eventually, due to a lot of factors, threat landscapes start shifting and attackers start moving their targets and tooling. One of the bigger shifts would be the huge, rapid improvement to both OS and browser security that occurred within a few years, radically increasing the cost of attacking desktop users via malicious websites. Another would be crypto, where 'account takeover' attacks that could lead to wallet access are now easier to monetize + crypto itself as a tool for transfers.

With regards to supply chain, enough of these changes occurred that some attackers took the leap and have started looking at this area. There are probably a lot of reasons why - prevalence of dependencies, increased interest in tech companies, etc.

If it continues to prove viable (it's obviously viable from an attack perspective, unclear if it's something attackers will rally around to monetize) we'll see it escalate and get better tooling around the attacks.

comment 4y ago · link · parent

A lot of safety/security isn't hard, people just don't do it if it isn't forced on them/ easy.

comment 4y ago · link · parent

Yep, dug into this the other day and POC'd it to prove that (even without prctl, just direct writing) you can overwrite those values and that will be shown in proc.

comment 4y ago · link · parent

Statically compiled binaries almost always still use a libc, either by dynamically linking it or by statically linking it.

comment 4y ago · link · parent

I never called it undefined behavior. But you shouldn't modify that stack space directly, you should either use setenv via libc or you should use prctl.

comment 4y ago · link · parent

> Your argument seems to be that it is possible to characterise an extreme site in some sort of systemic manner.

My argument is exactly the opposite. That there are lots of grey areas that can not be categorized, but Kiwifarms is not one of thsoe grey areas, as Cloudflare discovered when they started getting dox'd by KF. There's no need for a system here, KF is very squarely a horrible site.

The rest of your post with regards to my argument is obviously moot since it is the opposite.

I am very familiar with KF and have been for quite a few years. I actually haven't kept up (much) on KF in recent years, but I saw that people were pushing for its removal and I was very glad to see it.

As for other sites being "way worse", there are a few... but not that many, actually. Most of the really bad sites are relegated to onion and are much harder to access. Those are really more of a problem for the FBI at that level of shit. I'd advocate for them to be taken down too, of course, if they were worse and also using CF or other services.

comment 4y ago · link · parent

They seem very interested. There's lots of benchmarks and discussion. It just looks like zstd would take more space than xz - it wasn't a universally better solution. The concerns noted are totally reasonable and are based on real world issues that the teams that maintain this infra have. What's obvious, however, is that there was a lot of interest.

comment 4y ago · link · parent

You're focusing a lot on "they", and I don't really get why. You can instead focus on the argument being made and at that point it'll be a lot easier to engage. If you're trying to say that we shouldn't make decisions based on the feelings of vague interest groups, ok, but I wasn't making the argument that we should.

comment 4y ago · link · parent

Being on the internet more is a key factor when talking about toxicity on the internet.

comment 4y ago · link · parent

> Who are they?

People. Me. Others. I don't have a list.

> Why are Cloudflare listening to this "they" instead of all the alternate "they" who object to alternate sites?

They're presumably listening to both? I don't understand the question.

> There is someone group organised to go after every "bad" site and a lot more besides. How do you even know that they've correctly identified Kiwikarms as a problematic site?

Because there's a long history of documented problems.

> Are you a Kiwifarms regular to be so sure about what how it works?

I don't understand why that would be relevant. Again, long documented history.

> Cloudflare have already banned the Daily Stormer

Right, the Daily Stormer was a self-described site for neo-nazis.

> I can find people who are willing to call ~30% of any country neo-nazis

Irrelevant.

> They certainly don't agree with your boundaries for what is "very clear", unless you happen to be posting on behalf of the Cloudflare CEO.

The first half of this sentence doesn't go with the second half.

comment 4y ago · link · parent

(2) doesn't seem important. This problem is easy - take down kiwifarms. No one is asking for Cloudflare to take down 100% of every single site that may or may not be classified as "bad" - they're asking for this one site to be taken down. Maybe even some others, too. There's a huge grey area of "bad", but there are also plenty of sites that very clearly fall to one side or the other. Solving "grey" is hard, solving kiwifarms is not.

comment 4y ago · link · parent

I think you have to be really in denial if you think that, on average, gamers are not a more toxic community than others. I think it's not that video games make people bad or something like that. But you probably have some demographics - like young men, for example - who have a lot going on in their lives and aren't always well equipped to handle it. The internet desensitizes everyone and I think that that can be a really bad mix with some people who spend time online and might have a hard time in their actual lives.

Online harassment would presumably be cathartic for some of those people. People lash out for a reason and this is just lashing out at scale.

comment 4y ago · link · parent

I've been playing more games online lately and I've found two things:

1. Lots of really nice people. I just spent an hour playing a game with a man in Brazil and we used Google translate to chat and teach each other our respective languages while we played.

2. It's actually really easy to get angry. Like, I'm an adult and even I have to be like "hey it's a game chill" to myself - I've never blown up at anyone but... holy shit, it's kind of insane how bad some people are lol. And it's frustrating. Like go to the objective, the game is literally blaring that you should go there, why are you going elsewhere????? over and over again.

With regards to gaming it's just a sort of "worst case" for human collaboration. It's fast paced, high pressure, and communication is both the most important part and also by far the hardest. It is absolutely no surprise to me, whatsoever, that anyone who plays a lot of video games might get angry easily.

Also, as someone who grew up very "on the internet", there's a lot of bitter and angry people out there. They're kind of relatable in a way. Like the whole "I want to fucking die" meme is sort of a meme but also sort of real and relatable, but when you smash that into your brain every day it stops being a meme, and I think that's the case with most irony poisoned internet discussions.

comment 4y ago · link · parent

What is hypocritical? I'm sure there are many sites that I'd like to see Cloudflare take down. If I don't list every single one of them is that hypocritical?

Kiwifarms just comes to mind for me because someone I know kill themselves and the site took a serious role in that. I'm sure I'd be disgusted, and advocate for the takedown of, many sites.

comment 4y ago · link · parent

Ah, interesting, I'll have to dig into it more :) I've never used OpenBSD so I've just had to watch on the sidelines. Anywhere I can read more about this?

comment 4y ago · link · parent

I was just discussing this sort of thing with some colleagues. Because the stack frame for main contains a bunch of other stuff - environment variables, cli args, etc - it makes it unreliable to try to instrument Linux systems and collect that information. A process can change its name, args, env, at any time. That sort of information is really helpful for forensics.

Currently your only option is to pull data directly from kernel structures, which is fine, but most people aren't doing that.

And then of course there's other cool stuff like being able to 'lock' system calls to the system provided libc, which openbsd can do since they already only support their provided libc.

Unfortunately none of this is likely to get to Linux at any point because:

a) I bet some insane userland processes fuck with their stacks

b) Linux doesn't mandate any libc

edit: Seems like there's some "what is this" being asked. Here's my loose understand!

For starters, libc is the interface to the kernel. Very few programs make syscalls directly (except go programs i guess? lol) on Linux, but on openbsd it's just flat out not allowed. OpenBSD doesn't have the "GNU/Linux" dichotomy - it's all one package deal. As such, they get to mandate how userland calls into the kernel.

Of course, you don't have to listen to openbsd today, because you can just... make those system calls directly. Easy. And this is relevant for security because attackers will do something called ROP, which effectively "reuses" bits of your already-executable code to issue system calls (you can google "return to libc" or "ret2libc").

So, first thing's first, have the kernel actually ensure that the sycall is issued from the memory that libc is mapped into. Cool, solved sort of.

But what if the attacker overwrites that libc? Now you've verified that the call is coming from libc but you don't have integrity.

With immutability the kernel will now enforce that system calls come from libc and that the code can't be overwritten.

Of course, this can extend beyond libc, but I'm assuming that's the main point. This would presumably be a general system call that programs can use themselves to do all sorts of fun things.

edit: Can't respond to replies, HN rate limited me :) sorry. Sounds like I need to read up a bit more, this doesn't address the use case I'd had in mind sadly, but still very cool nonetheless.

comment 4y ago · link · parent

`Of or relating to pharmacy or pharmacists.`

You probably aren't getting marijuana from a pharmacy and no pharmaceutical company has a patent on marijuana, which I think both technically and colloquially puts it well outside of the realm of pharmaceuticals.

comment 4y ago · link · parent

Is that before or after insurance? Some quick googling and all I can find is anywhere from 100s of millions to 10s of billions.

comment 4y ago · link · parent

How fast do you want? My bet is that you can get EC2 to boot up very quickly, ie: ~1 minute or less with a bit of effort.

comment 4y ago · link · parent

I would still consider it a multi-tenant system. It's a single database to manage, which distributes your customers using their identity as a partitioning key.

comment 4y ago · link · parent

Thanks. That sounds reasonable.

comment 4y ago · link · parent

I don't. How much? I'd also be curious to compare that number to:

1. How much we have mined on earth

2. Expectations on how much we expect to mine over time

comment 4y ago · link · parent

No, I didn't read it and I don't really see your point. I didn't say Chrome has no vulnerabilities.
1
293031
164