13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 4y ago · link · parent
1. Memory safety mitigations became much more common (Vista)
2. Browsers adopted sandboxing (thanks IE/Chrome)
3. Unsandboxed browser-reachable software like Flash and Java was moved into a sandbox and behind "Click to Play" before eventually being removed entirely.
4. Auto-updates became the norm for browsers.
And that genuinely bought us about a decade. The reason things are changing is because attackers have caught back up. Browser exploitation is back. Sandboxing is amazing and drove up the cost, but it is not enough - given enough vulnerabilities any sandbox falls.
So it's not that security is getting worse, it's that security got better really really quickly, we basically faffed around for a decade more or less making small, incremental wins, and attackers figured out techniques for getting around our barriers.
If we want another big win, it's obvious. Sandboxing and memory safety have to be paired together. Anything else will be an expensive waste of time.
comment 4y ago · link · parent
I'm searching your posts in this topic trying to find something of value and coming up short. You assert that you know rust, and therefor your opinions have merit, but... lots of people know rust and disagree. But somehow your opinions are More Right and the others are just religious Rust shills.
I don't think you know what you're talking about honestly. If you want to pick fights on HN that's cool, we all get that urge, but you're really bad at it.
comment 4y ago · link · parent
1. In the video he's saying that you can't replace memory safety mitigation techniques like ASLR with memory safe languages. He notes that there will always be some unsafe code and that mitigation techniques are free, so you'll always want them.
No one should disagree with that. ASLR is effectively "free", and unsurprisingly all Rust code has ASLR support and rapidly adopts new mitigation techniques as well as other methods of finding memory unsafety.
2. The link about replacing gnu utils has nothing to do with memory safety. At all.
Even if it were related, it would simply be an argument from authority.
comment 4y ago · link · parent
This is completely misleading. The vulnerabilities that exist in those languages are completely different. They often are also far less impactful.
Memory safety vulnerabilities typically lead to full code execution. It is so so so much easier to avoid RCE in memory safe languages - you can grep for "eval" and "popen" and you're fucking 99% done, you did it, no more RCE.
comment 4y ago · link · parent
It'll take years to have impact, but so what? They can start now, they have the money.
> nobody disagrees with this (someone will here, but they don't matter)
There are so many people out there who don't understand the basics. HN can be sadly representative.
comment 4y ago · link · parent
I would assume that rehabilitation does not focus on changing people's ideological values.
Am I wrong? Is that a thing in other countries?
comment 4y ago · link · parent
Rehabilitating someone with "radical" ideas would involve acknowledging and challenging their ideas. That's not how rehabilitation really works even in theory - most rehabilitation is taking criminals who aren't ideologically motivated and solving the much simpler problems of educating them so that they can work.
comment 4y ago · link · parent
On many OS's there are even more strict restrictions, where within a user a process can only dump the memory of processes that are its direct descendants.
comment 4y ago · link · parent
The main security benefit is here:
> 1Password will ask for your consent before an SSH client can use your SSH key. Because of this, there's no concept of adding or removing keys like with the OpenSSH agent.
This prevents SSH agent hijacking, requiring either a social engineering attack to bypass or a privesc.
comment 4y ago · link · parent
The problem is honestly just that unicode is used to convey things like "this is a PDF" or "this is going to execute code" and it's attacker controlled. It's a terrible UX that's been abused for as long as paths have existed.
So I guess hope that operating systems will find a better UX for "this executes" and that they'll stop "a process executed" from being a game over situation for users.
comment 4y ago · link · parent
Keeping in mind that "below market rate" is still "retirement within a few years at the Mozilla CEO's rate.
So even if your career were damaged, and it's easy to not have it damaged, you can retire after like 3 years. That's a fine insurance policy.
> If you succeed, you will get prestige, but you still won't get a lot of money.
Of course you'll get a lot of money.
1. You can give yourself a raise. If the Moz CEO had come in and we saw market share increasing do you think anyone would give a shit about increasing their pay? The issue is it's tanking and they laid off a ton of people at the same time they took a huge pay raise.
2. Executives are compensated with stock. Company does well, your stock goes up.
comment 4y ago · link · parent
At a time when the web was dangerous, Chrome advertised security. Remember when Flash wasn't sandboxed? When Java executed automatically? When nothing had auto-updates?
Firefox caught up, but at best it's "as good". What's it really doing for me?
The answer is presumably privacy. And that's cool. But most people have a hard time understanding what "privacy" means. Further, you can say Chrome is weak on privacy, but it's hardly as bad as people make it out to be.
So basically Mozilla is, at best, equivalent to Chrome, but Chrome was way better for a long time. So it's got to convince people to come back, but its only selling point is really vague.
And then you have some other stuff like companies can manage Chrome via GSuite. So now your work computer is X% more likely to run Chrome. So now you have to choose to have a different experience at home and at work.
What would I do?
1. I'd refocus on the mission. Privacy is critical, security is critical. That would mean a number of things - how is it that Brave is the first browser to integrate TOR? Isn't that insane? TOR has been using Firefox by default forever, and no one thought "maybe we should just support this thing, and start heavily contributing to it" ?
2. I'd invest heavily in next-gen performance and security. Chrome has In-The-Wild zero days being exploited - that's an opportunity. The web is heavier than ever - that's an opportunity.
I'd focus heavily on that. I'd push benchmarks and I'd market those features heavily.
3. I would fire every executive who took a multi-million dollar bonus while firing tons of employees.
That's just day 1 stuff.
Going further I'd consider what it would look like to see Mozilla in the Enterprise. Integrations and management features built into the LTS releases are an obvious start.