Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

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

@insanitybit
Submissions

comment 4y ago · link · parent

Kinda nice that someone's going around showing how shitty the average company's security is. Not that I outright support crime, but it's good to have these anecdotes to point to - silver lining, I suppose.

There's really only so much you can say about a company's security through a bug bounty. You can't show how devastating a vuln would be, you're stuck on the perimeter, etc. It leads to companies improving appsec a lot, which is great, but everything else is still weak.

comment 4y ago · link · parent

Presumably they could have done more to not get hacked.

comment 4y ago · link · parent

Good, cursive is stupid. School already finds so many idiotic ways to waste your childhood, removing this one seems like a solid win.

As for the "tyranny of relevance", sure, we shouldn't only learn things that are strictly "beneficial". Abstract thinking is important and I can buy an argument that cursive forces our brain to think about language differently. Well, I can't buy it because I see no support for that let alone support for it being a better investment than, say, an additional hour of reading, or an additional hour of learning a new language, etc.

The discussion here is about whether this segregates the population into "those who have access to cursive materials and those who don't" but if anything that's a great case for not having cursive - it was a mistake then, it's a mistake now.

I find it odd that one student would choose not to read handwritten letters altogether because they're in cursive. Surely there's a transcript, and if your goal is to glean the emotion from the weight of the penmanship, I don't think that cursive will be a significant barrier. Or just learn cursive, I think an adult can likely learn cursive well enough to read it in an hour? It's... not hard. Reading crazy old cursive was never something we were taught, so no one has regressed there, that shit that just looks like '/-/-/-///--/----/~~~~' may as well have its own name, it isn't cursive. I mean, I guess that's kind of critical to this whole article - it maintains that only a few will be trained it it, but it's not a difficult skill and I suspect anyone who cares that they are "locked out" of that world would just pick it up in a weekend.

IDK, I get the point, and for a lot of things I see this as an issue, but fuck cursive Rest In Shit

comment 4y ago · link · parent

> Clearly it has upsides,

All that you've indicated is that it's used a lot, which is obviously because it has decades on every other option.

Anyway, I love Herb Sutter and I love this work he's doing. Awesome stuff.

comment 4y ago · link · parent

I believe what he said was that he can move a lot faster on things than his engineers. As the founder of a company I'm sympathetic. No one could ever understand the product as well as me, at this point, because I built almost all of the critical code (this is less and less the case, thankfully, and I'm very happy to say that there are now solid chunks of code where I am NOT the authority on code). That's not "they're worse engineers", they definitely aren't lol. But if you've spent years of your time on a codebase it's going to take years for anyone to be as quick to fix a bug.

I think this is sort of obvious. Imagine fixing a bug in your own personal project, compare that to fixing a bug in someone else's project. You can probably see the error and guess what the bug is, accurately, if it's your project. With someone else's code you're going to have to reverse engineer the system first.

comment 4y ago · link · parent

If you're stupid enough to fall for vendor buzzword garbage that's kind of on you though, right? It says nothing about ZTN.

comment 4y ago · link · parent

At Dropbox we had an explicit fallback on the DFIR team for the situation where our normal communication methods were considered compromised (not going to give details, obviously). I would hope that most security teams at a company of similar size have discussed this situation, it's not at all uncommon for attackers to sit in on calls, read messages between security people, or even access the SIEM to see what alerts are going off.

comment 4y ago · link · parent

People who call ZTN a meme are usually just ignorant. It's a very simple and effective solution. Mutual authentication, explicit authorization, attestation, and auditing. Not exactly buzz word soup.

comment 4y ago · link · parent

Explain why what is false? You're just making vague claims about anecdotal experiences. It seems unlikely, in general, that a security team would not support a Yubikey rollout. Even one that only cares about compliance would likely support it because it will make compliance easier - auditors care a lot about phishing and if you can say "OK, yeah, we had some users fail the phishing test again BUT our 2FA is phish-proof" that's an easier conversation.

I'm sure there are truly lazy and incompetent security teams out there but it makes no sense that they would be the majority or even particularly prevalent. Maybe you're just unlucky and ran into one, or maybe there were real reasons why a Yubikey rollout wouldn't work;

a) Who's going to ship the keys? Yubico provides services for that, will you use those? Pay for them?

b) Who's paying for this? Did your infra team ask the security team to pay for it? Who's paying for replacements and support?

c) Is this a high priority for the team vs other issues?

d) Do all of your vendors support Yubikeys or are you going to have to have a hybrid solution? What will migration from vendors configured for some other FMA solution to Yubikeys look like?

I support a rollout at any company, for the record, but these vague statements with the conclusion of "security people don't care" leave a lot to be desired.

comment 4y ago · link · parent

Regarding AWS, it's truly insane that they only support 1 device (breaking from the FIDO2 recommendation) but you can also put AWS behind SSO, and then have 2FA on the SSO.

comment 4y ago · link · parent

So an entire class of attacks would have been removed and the attacker would have moved to another class of attacks.

As for running code in the environment there are many, many ways to deal with that. Obviously it's an easier environment to audit, but it's also much easier to control.

comment 4y ago · link · parent

I'm fine with getting the router human.

comment 4y ago · link · parent

Bummer, pass.

comment 4y ago · link · parent

I can't find the code. My biggest problem with Envoy is it's in C++, what's this written in?

comment 4y ago · link · parent

First thing I do when I call an automated line is spam # because that seems to escalate to a human 9x/10.

comment 4y ago · link · parent

Yeah, but the discussion hasn't gone anywhere lol the conclusion of the article is basically "yeah I guess they don't care"

comment 4y ago · link · parent

I can't imagine the logs are off very much of the time then

comment 4y ago · link · parent

When do you turn the logs back off?

comment 4y ago · link · parent

So, to my knowledge io_uring is a complete seccomp bypass (for all functionality it implements). Docker allows io_uring because "so far it isn't that big of a deal" (paraphrasing from Github issue 2 years ago). Given that io_uring now provides file IO and process execution... isn't it about time that someone starts thinking about the security implications? Are we going to just have a universal seccomp bypass for anyone who uses io_uring? How're the audit hooks coming along? Or LSM hooks?

edit: K I've reached my HN rate limit again, thanks Dang.

Anyway, here's a source for the Docker seccomp filter since someone replied inquiring.

https://github.com/thaJeztah/docker/blob/master/profiles/sec...

comment 4y ago · link · parent

IDEs can go insane with process executions. VisualStudio shells out like crazy when doing builds.

Also, processes are an awesome abstraction - they give security and reliability. Reducing their cost is nice.

comment 4y ago · link · parent

I'm certainly curious to see how in-process sandboxing plays out with Spectre. Even the process boundary sometimes doesn't feel like enough, heavy handed as it may be. I wonder if there's a way to prove the absence of side channels by encoding side effects more directly and ensuring that those side effects never propagate across a boundary. The problem would probably be enumerating them... and then idk, everything has side effects to some degree, "the value was read, which caused a L cache line to flush" I guess it's probably not tractable.

I kind of, vaguely loosely, feel like running multiple 'workers' within a single process is just not a reasonable goal. Ultimately if you have a multi-tenant requirement you should be using separate processes and pinning them to separate physical CPUs, and hope that that is enough. Not to discourage this, I can't wait to look back in a decade and see how this all has changed.

edit: Also, there are other use cases. Like, maybe I'm a single tenant and I'm deploying multiple workers to a single VM. I trust myself, but it would still be nice to have it be hard for those boundaries to be violated - driving up the cost is sane.

It also sort of reminds me of the Sysiphean task of removing ROP gadgets from the Linux kernel.

comment 4y ago · link · parent

> , and lots of people even link to musl.

comment 4y ago · link · parent

At what scale is that a problem? I imagine that a simple solution is to just have aggregators. Vector, for example, can ship logs to another instance of Vector. So you can have N endpoint Vectors that ship to N/K Vector aggregators. Your aggregators can buffer aggressively as well. Plus, if your data can be condensed, like metrics, I believe a Vector transform would work as well (but I'm not sure).

I like this approach because, for security data, you want it off of the box as soon as possible. In an ideal world a log would go straight from the kernel to another box, or as close to that as possible (to avoid tampering/ DOS'ing). So for your security data you're already going to want to push that latency metric down, and now the question is what to do with the rest of them - obviously your service logs are less sensitive, but at the same time getting things shipped off of a box can save you a lot of headache.

This is hand wavy though, I'm honestly very curious to hear what others think as I haven't built the system I'm describing.

comment 4y ago · link · parent

A comparison to S3 Select would make sense since S3 Select lets you leverage RANGE, leverage compact formats like compressed Parquet, and would presumably have a similar fundamental cost ie: get + data transfer.

comment 4y ago · link · parent

Never even heard of libatomic, where is it specified that it's required to dynamically linked? I'm surprised to hear that.

comment 4y ago · link · parent

Other than libc I'm not sure what else would "almost always" be linked. It's going to depend on the language, but for Go/Rust at least static linking is pretty much the default, and lots of people even link to musl.

For other languages I'd say openssl is probably the next most common.

comment 4y ago · link · parent

At best 23% of Americans, ie: all Twitter users, voted.

comment 4y ago · link · parent

They do, no one wants to make it harder to get justice for anyone. The issue isn't "oh no it's too easy to get justice" it's "victims of a crime shouldn't be afraid to report it".

comment 4y ago · link · parent

That's how basically every modern military (and probably historically for quite a long time as well) works, except with a slightly sillier hat.
1
272829
164