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

> Wait, what? So many articles and journals I read on the topic just talk about prime fields, modular reduction and blah blah blah like it’s asking someone to buy milk and eggs at the grocery store.

No kidding, it's so frustrating! I have to read some articles/ papers like 20x and open a bunch of wikipedia tabs to understand wtf they're talking about. If they gave a simple, high level explanation it would save tons of time - while a wikipedia article is going to be very in depth, it's not tailored to the context of what I'm reading, so I often have to look at a whole bunch of things to start to build a good model in my head for wtf they're trying to convey.

This post, on the other hand, is perfect for me. Thank you so much for writing it I'm learning a ton.

comment 5y ago · link · parent

Are you saying this based on experience? My assumption was that it was a number of factors.

1. Researchers are often weak coders, and they may be self conscious about their code.

2. My own experience is that researcher code is totally undocument, or broken. I've repeatedly found that the code linked to from a paper has no straightforward way to be built, or appears to have compiler errors etc.

3. It's more work, and researchers have the incentive to put out a compelling paper, not to put out code (because we don't hold them to that standard).

My own experiences have led to me to mostly dismiss papers where I can't find the code or can't get it to build.

comment 5y ago · link · parent

LTS is a noble effort but leaves quite a lot to be desired, and doesn't really change the fact that Greg (and others) have multiple decades of history hiding vulns and pushing back on CVEs.

comment 5y ago · link · parent

The vulnerability would be buried. Greg is extremely, consistently reluctant to issue CVEs without security engineers bending over backwards.

comment 5y ago · link · parent

I could imagine that, though I think there are likely many efficient ways to implement immutable edits, especially if:

a) You're constraining the time-to-edit b) You're constrained to a single edit

But it could be a lot of work to ensure that it's a consistent experience since you'd have to untangle the "cache this thing for-literally-ever" expectations that may exist.

comment 5y ago · link · parent

> Let's say in a rather far out case someone spoofs internal resolution.

Seems trivial. Why wouldn't they?

> You are generally already owned at that point

Well, you might be, since your network is relying on self signed certificates with no PKI.

> heads up, the cert for this IP now mismatches.

Good thing everyone is already trained to click through certificate warnings.

Or you could just do PKI properly and avoid the entire issue, or not have an intranet and avoid the entire issue.

comment 5y ago · link · parent

Could you elaborate? There's Azure AD, or you could do yourself a massive favor and not use AD at all. And like... why would you want AD and an intranet but not someone to manage it at all? Recipe for disaster.

The simplest solution to this problem, by far, is to just avoid it entirely. Don't have an intranet. Don't manage AD. Just don't do those things.

Pick an identity provider, pick a file sharing service, pick a video chat service, and set up SSO for them. It's 0 maintenance, far safer, and far easier to use.

comment 5y ago · link · parent

> We need a simple solution for this -- a solution that works even for small businesses that do not have an IT department. (That means installing certificates on each end-user's machine is not a reasonable solution.)

I don't get it. Why even have an intranet then? Use Google Drive to share files, or Dropbox, or whatever. Why do you have an intranet at all if you don't want to manage an intranet?

comment 5y ago · link · parent

Why would an attacker in your intranet who's looking at your network traffic be passive? When people talk about passive attackers they're talking about the NSA/ your ISP, not someone who's hands-on-keyboard sniffing traffic.

There's virtually no reason to do encryption without authentication in your intranet.

comment 5y ago · link · parent

Yeah, could be interesting. I guess it works for the JVM? I feel like people will still want to use their own runtimes but idk

comment 5y ago · link · parent

But we can ground airplanes in a matter of hours. It doesn't really feel comparable.

comment 5y ago · link · parent

Those policies will only catch someone after the fact. Firing someone is the bare minimum, it prevents a single repeat offender, but they could already do damage.

None of this should even be possible.

comment 5y ago · link · parent

In a sane world this would be a company-ending event, or at least seriously impact their stock and C level execs.

The idea that:

a) User data access is not just allowed but normal (or at least that it was at one point)

b) That it's allowed at all so widely

c) That (a) and (b) are true despite repeated abuse

is absolutely insane. "Nearly every month" is insane. It should be criminal, but it isn't.

Sadly, it's all too common for engineers to have way more access than is necessary, though this seems extreme. I see no reason why any engineer, outside of extreme circumstances that should set off alarm bells, should have access to sensitive user data like passwords. It should generally not be the case that direct access of data is needed at all.

comment 5y ago · link · parent

I feel the same way. I find it very odd that GC is something that WASM ever intends to think about. If shipping your entire runtime sucks, find a smaller runtime?

comment 5y ago · link · parent

Yeah, astronauts are definitely the ideal control group.

comment 5y ago · link · parent

I don't really know much about the agent. I'm not super concerned with keeping it updated though.

comment 5y ago · link · parent

SSM is much preferred to a jump host for a number of reasons.

1. You don't have to expose a jump host at all, which is one less exposed asset to manage and worry about.

2. Your security team should already be collecting Cloudtrail logs, so they get auditing of SSM/SSH "for free".

3. You can control SSM access via your SSO provider, which means you can trivially enforce a bunch of policies all in one place vs having to configure SSHD.

4. You can control SSM access via IAM.

5. You can limit session duration easily.

6. No more SSH agent hijacking, at least I don't think.

I also wouldn't call this a loophole, you have to explicitly have permissions to use SSM.

comment 5y ago · link · parent

No question, trains in other countries are on another level.

comment 5y ago · link · parent

Right but that's why CORS exists, so I'm trying to figure out what this mitigation is for. Like, you can't just fetch with credentials by accident - I guess if you don't use http cookies, which sure that's fine, maybe you can?

This isn't my area of security so I'm trying to figure out what the scenario is supposed to be where this mitigation is important.

comment 5y ago · link · parent

Students will always cheat tbh. I doubt this will radically change anything with regards to that.

comment 5y ago · link · parent

Can you explain the risk with regards to no-cors requests? Like presumably an attacker requesting an image isn't scary, right? I'd think the real issue would be the attacker making credential'd requests.

comment 5y ago · link · parent

Not really, since now you're stuck maintaining this broken thing, and breaking user deployments for something that isn't valuable.

comment 5y ago · link · parent

So SF would be dead last, presumably?

comment 5y ago · link · parent

I think there's two things at work here.

1. It's extremely frustrating how much bad security work is done, and how much of it is justified in the name of "defense in depth". So many useless hours spent on mitigation without understanding the threat.

2. Everyone talks in hyperbole. It's shorter and more to the point, and nuance is usually not important in conversation among experts - we already know the nuance. The difficult bit is if you're not an expert, but talk with them, the implicit nuance is lost.

There's also a lot of resentment. I resent compliance. It is a massive waste of both time and money at my company, and is driven purely by sales. We would be safer without compliance because we could have spent that time elsewhere.

> In reality there can be a lot of value in keeping an attacker guessing and creating uncertainty by using deception or a variety of other techniques that could be described as obscurity.

This isn't security through obscurity. I see this all the time, really. If you're keeping an attacker guessing, that's not obscurity, that's a secret. If you're doing it via deception, that's not obscurity, that's a trap. Security through obscurity is "the implementation is less popular, therefor safer", which is nonsense.

I agree with many of the statements though.

comment 5y ago · link · parent

Sure, that would be reasonable, though the two posts citing failure seem to be talking much more explicitly about the attempts - "all these efforts have failed", "gave up".

If it's "people expected this to already be done and it isn't" yeah sure, of course.

comment 5y ago · link · parent

I know Cruise is a different company.

As for selling off their self-driving division, I don't get how that's a failure or giving up, given that the article lists an explicit 400M investment. The article (rightly) points out that Uber doesn't need to own self driving to benefit from it, and given that it's a hard problem, they spun it out into its own company that can receive independent funding.

comment 5y ago · link · parent

I'd call it great, having lived in NYC, Boston, and SF. It's extensive and runs 24/7. That counts for a lot.

comment 5y ago · link · parent

I mean, just don't take a taxi if you're leaving Manhattan. There's a great subway system for that.

comment 5y ago · link · parent

It's funny to think of how expensive taxis felt. I remember when they bumped up the initial charge to 2.50.

I'd bet that a given uber ride is 3-4x as expensive, easily, these days.

comment 5y ago · link · parent

I'm not saying "We've arrived", I'm saying that this doesn't look like failure.
1
858687
164