Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

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

@insanitybit
Submissions

comment 6y ago · link · parent

The post is how they are not using rust, how could you possibly have come to the conclusion that the builds are going to get more complicated?

comment 6y ago · link · parent

https://summitroute.com/downloads/aws_security_maturity_road...

Scott Piper is the definitive AWS security expert, and this is a guide he publishes and maintains. I'd also suggest following him on Twitter, I learn a lot just from his idle tweets.

https://twitter.com/0xdabbad00

comment 6y ago · link · parent

It is explicitly a journal entry.

comment 6y ago · link · parent

Sure, long term maybe you have to pivot or whatever. But companies spend millions on these multicore licenses today.

comment 6y ago · link · parent

If you can execute code on the host I don't think this attack is necessary, unless maybe you disable execution entirely for unsigned programs.

The attacker can drop/ exec files as they please, regardless of whether they're signed.

Anyone can feel free to correct me.

comment 6y ago · link · parent

> That's a licensing hack: since most enterprise software is paid per-core.

Shit. That's actually awesome and could easily pay for itself.

comment 6y ago · link · parent

> Google doesn't monetize developing Blink/Chromium.

I disagree here. Of course they do. They could not monetize Chrome successfully without:

a) Having huge amounts of control over the direction of the web

b) Having a best-in-class browser that people want to use

If IE had every feature of Chrome with regards to management and monetization it would still not matter, people do not want IE. If IE were a drastically better browser than Chrome, they would.

Choosing Servo gives them an opportunity to leap ahead of Chrome in areas they care about.

comment 6y ago · link · parent

Scathing. Well written. Extremely hard to argue with.

GCP will fail, I think everyone knows it, and even if they don't, they fear it.

comment 6y ago · link · parent

I feel very similarly. This isn't just boneheaded project management, that would be simply killing great projects. Firing huge amounts of top tier talent is absolutely another story altogether.

comment 6y ago · link · parent

Not that monetizable? See my initial post?

Google absolutely monetizes the hell out of Chrome, in areas they compete with MS (O365? GSuite?).

comment 6y ago · link · parent

> They've had that advantage since Chrome came out. Didn't stop them from losing almost all their market share.

Absolutely. But it certainly is a huge benefit to them.

> Chrome has been technologically ahead of IE since it came out.

No doubt, in a number of ways that's certainly true. IE needs to compete on tech.

> Why do we think Servo will be better?

Because it solves real problems for browsers - security and performance, in a more than incremental way.

comment 6y ago · link · parent

This is a really weak response. The post announcing the feature makes an extremely strong case for why this is a good thing.

comment 6y ago · link · parent

> Other browsers have to put in significant effort just to play catch up and can't really offer any new renderer/js feature without Chrome's blessing.

Microsoft still runs the dominant operating system! They have a huge opportunity here to complete. The same way Chrome advertises on Google.com, Microsoft can provide the default fucking browser that is HUGE.

> Plus, we have a decade's worth of evidence that Chromium

Chrome is 12 years old. It's been super popular for less than a decade.

Its multiprocess architecture, by far its most long term scalable feature, was behind Internet Explorer's (they started multiproc trend with, iirc, IE8).

> Even if we set aside the problems with market share the Chromium team has consistently put out a faster engine than Firefox or IE.

Acquire Servo, do better? That's my entire point.

comment 6y ago · link · parent

Sure. At the same time, is it really smart for them to just completely abandon the idea of independence?

There's a lot that a browser can do for a company. Google has built GSuite and ChromeOS around Chrome - the integration with the browser is absurd and right up Microsoft's alley.

Microsoft could build Azure Active Directory, O365, Windows, etc, around a next gen browser and I think they'd be smart to do so.

comment 6y ago · link · parent

I don't believe this is an attack. It hides the full address, but you can hover over it to see the whole thing, or even enable full addresses easily.

I believe this is legitimately done to improve UX for users who may be phished. Tying this to AMP is a mistake.

comment 6y ago · link · parent

Sure. We are always germy. But if you feel explicitly under the weather and you have to go out to the store to pick up something, it would be great if you wore a mask - even if it isn't covid times.

I've never done that. I've always just gone to the store. I didn't even really think about it, like of course I'm not going to be wiping my nose and touching things, but I'm also not sanitizing my hands the instant I walk into a grocery story - something I now do every single time.

I do wonder what the effect would be of just having sick people wear masks when they go out?

comment 6y ago · link · parent

It sounds like the build tooling was forcing them to distribute a dependency across every lambda build, which was forcing a redeploy of all services, which is a code issue that maybe looks like a tooling issue. Just going off of context.

Regardless, it doesn't sound like microservices, it sounds like a distributed monolith.

Having built a product out of microservices and lambdas I definitely have not found that build tooling has ever forced a full redeploy. I suspect this is just a case of converting a monolith to a microservice being much more difficult than people realize.

comment 6y ago · link · parent

> 23 microservices he had carved up out of a Java Spring app. A small change anywhere in the code meant he had to redeploy all of it,

Those aren't microservices, by definition.

comment 6y ago · link · parent

Hi, I downvoted you. Normally I don't bother explaining why a low content post was downvoted, but whatever, I'm here.

1. Even if you were right it doesn't matter. Coming to the comments to split semantics while obviously missing the point of the entire article is adding incredible noise. There was more than one sentence in the article and more than enough context to forgive an ambiguous or even incorrect sentence.

2. I don't agree that you're right. You state there's only one interpretation. I could just as easily interpret it as "Why didn't we see the NSA coming for our network?" or "Given all of these NSA attacks, how did no one detect them entering the network?".

So between those things I downvoted it.

comment 6y ago · link · parent

Honestly, no matter how you interpret the sentence, the article is so blatantly not about whether you thought the NSA was hacking companies, it was why the security community failed to concretely detect it.

All of the talk of how some people on HN totally for real knew the NSA was hacking people is irrelevant and a total distraction from the far more interesting question of why we needed a leaker to confirm it.

comment 6y ago · link · parent

Not really many relevant comments in this thread. Everyone seems to have read the first sentence (if even), interpreted it as 'why did no one think the NSA was hacking?', and responded. It's a shame, this is a great piece, I think.

The question is, with all of these companies performing IR, why didn't they see mass exfiltration and C2?

I think the article lays out largely correct claims.

I personally would imagine (2) and (5) to be the most significant.

Regarding (2), it is so hard during an incident to know exactly what is attacker behavior and what isn't, to know that it's all the same attacker, etc. It isn't so uncommon to go digging into an incident only to find some unrelated malware - and in fact many companies find out they're owned from their pentesters.

With regards to (5), defenders have frankly been to slow to evolve. The people investigating these attacks likely only have a rudimentary understanding of TCP/IP, have virtually no ability to read or write code, and mostly are trained to build and enforce policy. The idea that they can catch even basic attackers in realtime is a joke, that they are to also be tasked with catching the NSA is just a depressing, hard to swallow reality.

Attackers are out here building up toolchains from scratch - anyone who isn't doing that is called a script kiddy. And yet defenders who can't build a single thing, who can only throw tools at a problem, are the standard. Attackers are flat out better than defenders - they work smarter, they have better capabilities, and defenders don't even seen to care en masse.

As Alex Stamos said (paraphrasing), most companies aren't even "playing the game", and it's a select few that even know what game to play - not even that they're playing well, but at least they showed up to the right ballpark (I'm butchering his statement). The vast majority of companies employee outdated models of security and incident response is probably the least mature, with devops pushing more and more infrastructure and product security engineers over IT admins.

No doubt that NSA's scale allowing novel forms of exfil like passive collection also played a major part.

What a sad state.

Having taken VC money to try to improve the situation I do always laugh when thinkst talks about that :) but much respect!

comment 6y ago · link · parent

It's a contract for a few years. They'll probably re-up it, the question is for how much money.

comment 6y ago · link · parent

I mean that your statement implies that people are advising to perform expensive work without considering the cost, specifically the cost in terms of time, and that's not true. No one has said that. The article addresses cost in a number of places - maybe not explicitly the cost of time, but it seems weird to focus on that.

The article explicitly addresses that it's not so simple to just rewrite a codebase:

> Moving a large codebase to a new programming language is extremely difficult. If people want to convert QEMU to Rust that would be great, but I personally don't have the appetite to do it because I think the integration will be messy, result in a lot of duplication, and there is too much un(der)maintained code that is hard to convert.

comment 6y ago · link · parent

First off, I upvoted you, and I wish people wouldn't just downvote.

That said,

> Half of those are classes of bugs that would probably still exist with the usage of Rust, that is, they're simply a diversion from what you expected and what actually happens that the borrow checker can't save you from.

It's unclear what you're referring to. The linked article is talking about vulnerabilities in QEMU drivers, which are almost exclusively memory safety issues from my own experience and memory. The post you're replying to is just about tools and techniques for avoiding them.

> but it is also important to consider the amount of time it actually takes to implement either.

No one has said otherwise and the article even explicitly addresses this.

So I find your point really unclear.

comment 6y ago · link · parent

In fact it's not science at all. I didn't claim it was science, I claimed it was so obvious and intuitive that science was unnecessary.

> without any memory safety bug at all.

Most QEMU escapes I have seen are memory safety issues in emulated devices.

comment 6y ago · link · parent

Honestly, I think anyone who has written Rust, even low level Rust, intuitively understands that it wouldn't even be close. It's not really worth measuring - like measuring C vs Java, no one really needs to do it because it's so obvious that C will have many times more memory safety issues.

comment 6y ago · link · parent

Rewriting the device drivers would be huge. Having been tasked with "Make a QEMU environment safe against advanced attackers" memory safety issues in device drivers were by far the most concerning issue, and the hardest to mitigate.

comment 6y ago · link · parent

Damn, that sucks. I use GSuite to SSO to AWS though.
1
113114115
164