Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

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

@insanitybit
Submissions

comment 9y ago · link · parent

Do you observe this behavior in a completely new Firefox profile?

comment 9y ago · link · parent

Most people are willing to accept the risk that the NSA is listening in on them. Most people are not willing to accept the risk of an arbitrary person being able to steal their identity.

comment 9y ago · link · parent

OK, but it means a billion android devices are vulnerable to various attacks. It would be cool if we could have, idk, backported security fixes for devices that hold tons of critical information?

comment 9y ago · link · parent

I don't think they're trying to suggest using rust, just curious why Cloudflare chose a language with a GC for workloads that apparently do not play well with GC.

"We already used Go" is a totally valid reason. "It's rare (or as you say potentially never an issue) that we actually need to avoid GC" is another.

comment 9y ago · link · parent

It's a statement of agreement, followed by an elaboration on their point. Seems completely fine.

comment 9y ago · link · parent

I still trust Chrome's sandbox - I have less understanding of where Firefox does sandboxing, how it works across platforms, etc. Whereas I have a solid understanding of how Chrome uses seccomp on Linux.

While pieces of Firefox are moving to Rust the majority of attack surface is still in C++, so I want a strong sandbox if I'm going to run that browser.

comment 9y ago · link · parent

I don't think so. If you were willing to hire a team to implement some solution that existed in OSS form, why wouldn't you just pay for the OSS version, which would likely be cheaper (since you're spreading the price across many different companies). This is already the appeal of OSS - it's cheap, other people build and use it so it's well tested, etc. Those are significant benefits, and worth paying for over an in-house team.

And we already have pricing models for small/medium sized businesses vs large ones. OSS could easily have similar models.

comment 9y ago · link · parent

Hopefully more developers stop giving their work away for free so that this attitude can change.

comment 9y ago · link · parent

Not really, no.

comment 9y ago · link · parent

This is making a ton of assumptions about your target. Is it a desktop user? Then possibly. Is it a server? What type? Does it have a keyboard/ monitor? Maybe a USB is how you access this device - so a USB that can get control over the kernel is suddenly your most viable attack method.

comment 9y ago · link · parent

> I don't see many scenarios in which launching a USB denial of service attack would be the most effective thing to do.

High security servers that don't have typical interfaces are super common in government facilities. Sometimes they'll shove glue into the USB and sometimes the USB is the only method of accessing the system.

comment 9y ago · link · parent

But if you actually read the descriptions there are plenty that look like they'd have great potential for code execution.

comment 9y ago · link · parent

It's unclear whether or not these are all strictly DOS. Some seem like they may be exploitable.

comment 9y ago · link · parent

It's not really comparable to IE. MS had a pretty explicit goal of destroying Netscape - to the extent that they were making deals with other companies to break compat with Netscape.

Chrome is breaking 'autofill=false' on webforms because its really bad to have autofill=false most of the time. For example, this was breaking password managers, forcing users to have a worse experience around something as security critical as entering a password. If the goal is to have the user never remember their passwords to avoid phishing, this is a really important thing.

I'm entirely, 100% in support of them ignoring 'autofill=false' because most of the time I see this as a security flaw on websites. This isn't anticompetitive - they aren't trying to break websites on Firefox, they aren't contacting websites to get them to do some Chrome specific thing. They're ignoring a really bad default that hurts users.

comment 9y ago · link · parent

Attacks on servers are of a different nature. No one runs Linux desktop, so it is not a valuable target for trojans or other attacks like that.

If it were popular we'd see just as much malware for linux.

comment 9y ago · link · parent

I guess I'm not everyone. I'd bet that the majority of the 'busts' are due to:

a) Infiltrating chats where people are more likely to share sensitive information / trust the people they're talking to

b) Poor configurations/ setups on either the client or server (client browser bundle has noscript, but it's not on the strictest settings, js is enabled iirc)

c) Exploitation of client or server due to out of date versions, things like that

Historically I think it's always fallen into one of these cases - and not just what the FBI etc say publicly but we've seen these exploits ITW. I wouldn't be surprised if the NSA and other agencies have the power to deanonymize TOR users but if it were trivial why is the majority of TOR traffic still going towards illegal content? Last I read (a paper a year ago) TOR is still primarily all about drugs, followed by child pornography (mostly drugs though iirc). If they can track all of these people by breaking TOR completely... why don't they?

comment 9y ago · link · parent

This seems extremely unfair. As has been pointed out they did disclose this, Chrome shipped a patch a while back by disabling the optimization.

Microsoft is contributing interesting, valuable information with this post.

comment 9y ago · link · parent

Spin up 100k threads on linux vs 100k actors in erlang.

comment 9y ago · link · parent

So they give you two products and a month of prime... what response did you want on the customer service end?

comment 9y ago · link · parent

What makes you think debian is missing ASLR?

comment 9y ago · link · parent

Building policy by just auditing is a bad idea - you'll end up with overly general roles. Policy building is best left to the author of the applications so that they can test against it and lock it down.

comment 9y ago · link · parent

"Some attacks will be harder to employ, some less" - I'm interpreting this sentence that way.

comment 9y ago · link · parent

> It isn't "due to C." This is a popular meme on HN, but it's incorrect in its focus.

You can call it a meme but that doesn't change my opinion.

> Some attacks will be harder to employ, some less, but on average probably about the same quantity and seriousness will occur.

This is unfounded, I don't really know how to respond to it other than that nothing has ever really worked this way in security. You don't get less secure in one area because you were more secure in another.

comment 9y ago · link · parent

"All of the performance of C without the footguns"

Nowhere in this sentence do I see "for every platform C targets".

Given no other requirement other than C without the footguns (memory unsafe) is there a good reason not to use the safe version? I'd say there are some, but they aren't crazy compelling (ie: developers have to learn rust, maybe harder to hire for, etc).

comment 9y ago · link · parent

> I'm quite bored by the obsession of some for replacing C.

That's fine... but the billions of dollars spent on security and the massive trove of user data that's been exfiltrated due to C is kinda a problem regardless of whether you are bored or not.

> Nobody would criticize assembly for letting you shoot yourself in the foot, C is much the same.

I wouldn't criticize a developer for writing bad code. I'd criticize the language for letting them, or the developer for choosing such a language. Same with C and Assembly.

> The biggest threat to the tech sector is Linus dying and being replaced by some charlatan who insists on replacing C and using Jira.

That is... not the biggest threat. It seems extremely unlikely that that is where linux kernel development would go.

comment 9y ago · link · parent

You can express what you're talking about (non aliasing mutable pointers) for free, at compile time.

In fact, you can't express this in C (or, restricted, whatever), so I do wonder if your assumption that because it's UB it'll compile to the optimal code is true.

comment 9y ago · link · parent

But as a new project they didn't have to worry about breaking things, supporting current users, etc.

comment 9y ago · link · parent

I think it's best to keep unsafe blocks as small as possible. Within an unsafe block there is undefined behavior, so you want to get out of there ASAP.

Just my opinion.

1
154155156
164