Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

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

@insanitybit
Submissions

comment 5y ago · link · parent

> But giving the keys to the castle to some mid-tier company is just a recipe for disaster

It sucks, because I know my company is quite small but we take security extremely seriously (we have 9 people, 4 are security engineers, and the other 5 have varying degrees of experience in security). I think people might worry that, because of our size, we won't be as secure as a larger company. But the irony is that larger companies are often far less secure than us, because we've done shit right from day 1.

There's just not a lot of ways to prove it. Compliance is meaningless. You could get a pentest report, but it really comes down to who's doing the pentest, and so if your pentest becomes a public doc the incentive is to have them go easy on you - not to mention that lots of reports contain "findings" that are nonsense but a casual reader might misunderstand.

We plan to give talks and blog about how companies at our stage can do things that would make companies 100x our size jealous, because that's kinda the only thing we can do to really explain that it's possible.

I think it's totally criminal that companies ask for RCE on all of your devices and then push out some closed source C++ app that's probably parsing all sorts of random shit, reading poorly authorized commands from some C2, etc.

comment 5y ago · link · parent

I'm quite excited for copilot. I don't even know that I'd have caught that bug, but I'm sure I could see myself having written it, so it's really no worse - that's why I work on a team with others who likely would have.

I'm not worried about it suggesting subtly wrong code. I write subtly wrong code all day every day, and sometimes I catch it, and sometimes I don't. I write tests, I use types, etc. I'll use the same tools to reduce bugs from copilot that I do for myself.

I'm not really worried at all.

comment 5y ago · link · parent

Oh yeah, I guess I should have mentioned I'm talking explicitly about the nightly const feature.

comment 5y ago · link · parent

Rust's const generics eval is quite powerful. It may be able to represent this.

comment 5y ago · link · parent

I feel like graph languages can be so esoteric. It would be nice to have something closer to RDF, but with filter syntax, and the ability to group filters.

I've never built a language, so maybe I'm just crazy, but what's wrong with, say,

https://gist.github.com/insanitybit/cd997e8d367889708edc3ec2...

Basically I defined the subject in a sort of 'namespace' of constraints ("parent", "children", etc), and then the edge or predicate constraint on it.

I guess it's easy to just "make up" a language, and implementing is the difficult part, and then it's like "ok well then how do you solve <some unanticipated problem because idk what I'm even talking about>" but also, graphql, as much as it isn't good for a database API, is also quite straightforward and familiar looking and I feel like taking something like rdf as a basis would be reasonable.

comment 5y ago · link · parent

Sure it is. That's a major component - you can perform joins (edge traversals) across backend APIs.

comment 5y ago · link · parent

Yeah, I don't have to have a substantive response to a strawman.

comment 5y ago · link · parent

> Proposing the opposite is to propose suicide.

That feels extreme... I don't think the opposite of "some jobs will leave the US" is "I'm going to kill myself".

Ditto the rest of your post. Nothing but a bunch of straw man/ slippery slope.

comment 5y ago · link · parent

If jobs start going to other countries we should bring them back by investing in education and producing the best devs in the world. If we can't compete, good for whoever beats us.

Trying to hoard the jobs won't work in the long run anyway.

comment 5y ago · link · parent

VC money is unfathomable. It's not drying up any time soon. They may choose to shift it if there's some kind of crash, but it's too much money to just run out.

comment 5y ago · link · parent

None of what was described in that post sounded like it required any kind of deeply technical knowledge to solve at all.

comment 5y ago · link · parent

Replace "ironic" with hypocritical and I think it's still pretty fair. Less so, strictly.

comment 5y ago · link · parent

You're trying to talk about consequences of my statement, which I'm trying very hard not to talk about, because I don't care. I'm only talking about this very specific instance.

> Again, that is a disclosure timeline. Not a demand for a fix in that timeline.

Yes and it is based on the expectation of a fix within that timeline being practical.

> You're trying to convert it to a demand for a fix no matter what. That is not productive.

No I'm not, you're trying to say that I am, repeatedly, and I keep telling you I don't care about discussing disclosure policy broadly. I'm only talking about this once instance.

> It seems like a much stronger approach than the "lol PZ hypocricy" option.

Take that up with the person who posted about P0 initially. I'm only saying that it's ironic and that I support the 90 day window as being a very reasonable time to fix things, and that them going 3x over is a bad look.

comment 5y ago · link · parent

No need to be sorry, it's a perfectly reasonable question.

1. Security is a huge threat to Windows, 0365, etc. Microsoft and "malware" go together a little too much in the public's eyes and that hurts their business. Addressing this through hardware is reasonable, but they even have an entire product line now around this - Sentinel.

2. Microsoft likely sees GSuite as a major threat to 0365. Where Microsoft's major client is Windows, GSuite's client is ChromeOS. ChromeOS has mandated TPM 2.0 and baked it into every system, and they offer GSuite features that integrate with that - it's a massive security win for ChromeOS users, and Microsoft has to have TPM 2.0 to compete.

I hope that clears this up for TPM 2.0.

As for the intel series, I can't comment, I haven't looked into it and as I said elsewhere I feel that MS could easily reduce the requirement.

comment 5y ago · link · parent

> Installing the non-alpha upgrade will improve this experience how?

For one thing it'll cut the 30% of the story that involved figuring out the compatibility issue iteratively.

comment 5y ago · link · parent

TPM 2.0 requirement was announced to OEMs back at the 8.1 launch I believe. If they haven't been pushing TPM 2.0, talk to your OEMs.

comment 5y ago · link · parent

Why would non techie people be building their own computers instead of buying from an OEM? Or installing an alpha OS that, on first release, didn't even tell you why it wasn't compatible?

> Do we even know if UEFI compatible hardware and SecureBoot is enabled by all OEMs by default?

If they have a Windows 8 sticker on them, or above, yes.

comment 5y ago · link · parent

Most other people aren't going to build their own computer and try to install an alpha preview of an OS on it. It kinda sounds like you signed up for that boring work to me.

comment 5y ago · link · parent

So the moral of this story is that your recent computer was actually compatible with Windows 11 and that installing an OS that's currently in alpha onto a computer that you built yourself requires being computer savvy - yeah?

comment 5y ago · link · parent

Thanks for being the person who I knew would try to make this about Java. I don't care about Java, it was a trivial example.

The rest of your post doesn't really have to do with mine. Yeah, you can cut down on boilerplate with changes to languages... duh. But in terms of conveying context there's always a tradeoff of explicit vs implicit, and one of those costs is taking the time to actually turn your mental model into a written implementation - this eases that burden.

As I said, it's a fancy autocomplete.

comment 5y ago · link · parent

This makes sense if you know nothing about how Microsoft is structured or making money, but otherwise falls apart. Windows licenses are not what they're prioritizing.

But it is obviously money - kinda silly to point out that that's why a business does things, but yeah, you nailed it.

Microsoft sees threats to its business in a number of forms, and believes that this hardware requirement will address them.

comment 5y ago · link · parent

TPM 2.0 seems straightforward. Windows is their client for integrating with services they actually monetize - Sentinel, Azure, 0365. In order for those services to compete they need a client that has these capabilities. TPM 2.0 provides that.

The intel generation could be moved back one, I believe, and still meet their requirements though.

comment 5y ago · link · parent

> Given the line you drew was that there must be a fix in 90 days, if the company agrees it is a vulnerability, the logical conclusion is that the companies would end up claiming "not a vulnerability" when they mean WONTFIX.

OK, but that doesn't apply here, which is why I don't get why you're bringing up general policy issues in this specific instance. Google did acknowledge the vulnerability, as noted in the disclosure notes in the repo.

So like, let me just clearly list out some facts:

* Project 0 feels that 90 days is a good timeline for the vast majority of vulns to be patched (this is consistent with their data, and appears accurate)

* This issue was acknowledged by Google, though perhaps not explicitly as a vulnerability, all that I can see is that they ack'd it with "Good catch" - I take this as an ack of vulnerability

* This issue is now 3x the 90 day window that P0 considers to be sufficient in the vast majority of cases to fix vulnerabilities

I don't see why other information is supposed to be relevant. Yes, vendors in some hypothetical situation may feel the incentive to say "WONTFIX" - that has nothing to do with this scenario and has no bearing on the facts.

> If you think this particular issue should have been fixed within a given timeline, it should be on the merits of the issue itself.

That's not P0s opinion in the vast majority of cases - only in extreme cases, to my knowledge, do they break from their 90 day disclosure policy.

> Not just by following a "everything must be fixed in 90 days" dogma.

Dogma here is quite helpful. I see no reason to break from it in this instance.

> Seems like those would have been far more interesting discussions than a silly game of gotcha.

I'm not saying "gotcha", I'm saying that:

a) 9 months to fix this feels very high, Google should explain why it took so long to restore confidence

b) The fact that they have an internal culture of 90 days being a good time frame for patching purely makes it ironic - it is primarily the fact that I think this should have been patched much more quickly that would bother me as a customer.

> (If you believe there is no such thing as a vulnerability that cannot be fixed, or that's not worth fixing, then I don't know that we'll find common ground.)

Nope, 100% there are vulns that can't be fixed, vulns that aren't worth fixing, etc. But again, Google didn't say this was a "WONTFIX" though, and they did ack that this is a vuln. If it wasn't possible to fix it they could say so, but that isn't what they said at all, they just said they weren't prioritizing it.

If it's the case that this simply isn't patchable, they should say so. If they think this doesn't matter, why not say so? It certainly seems patchable.

comment 5y ago · link · parent

I'm totally aware of all of this and I strongly agree with P0s policy.

comment 5y ago · link · parent

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configur...

Not mTLS, but AWS metadata v2 has moved to an authenticated session-based system. Of course, an attacker who can make arbitrary requests can create tokens for limited sessions, but it's certainly an improvement.

comment 5y ago · link · parent

I don't know what point you're trying to make here. Google acknowledges that this is a vulnerability ("nice catch"), Google pushes every other company to fix vulns in 90 days (or have it publicly disclosed, which is based on the assumption that vulns can be fixed in that time), and Google did not fix it in 90 days.

If you're asking me to create a perfect framework for disclosure, I'm not interested in doing that, and it's completely unnecessary to make a judgment of this single scenario.

> A company can both admit that something is a vulnerability, and not fix it, if that's the right tradeoff.

Google's 90 days policy is designed explicitly to give companies ample time to patch. And yes, this is them paying the PR cost - I am judging them negatively in this discussion because I agree with their 90 day policy.

comment 5y ago · link · parent

> what you're saying would mean that vendors should feel obligated to fix issues they don't consider to be vulnerabilities

Why would it?

> Is there maybe some additional qualifying factor that's required to trigger this obligation that you've left implicit?

That they consider it a vulnerability seems fine.

comment 5y ago · link · parent

They didn't fix it within that timeline. I don't know why everyone is saying "well they didn't stop disclosure in 90 days", but they didn't fix it in the timeline that they have allocated as being reasonable for all vulns they report.

comment 5y ago · link · parent

I agree - they've been really strict about this too, and have even talked about reducing this window. To go 3x over the window is a bad look.

comment 5y ago · link · parent

wow huh, never thought of that - just learned about "taxes" being a thing from hacker news, thanks for the insight, no one here ever would have made the massive leap to know that governments are funded through taxation

good thing there are two comments about it!!!

1
878889
164