13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 6y ago · link · parent
Others, like perhaps an RCE, are not being seen. This is for a lot of reasons.
* Many are being found by whitehats/ researchers, so by the time they're made public an attacker is already playing catch-up - it can take days or weeks to build a good exploit chain, so starting from "A patch is out" or "The vuln is disclosed" is not encouraging.
* In general, exploitation of vulnerabilities is actually quite rare. Patching practices, mitigation strategies, etc, have radically improved over the last decade. It isn't that the attackers can't do it, but the majority of attacks will just phish you, install malware, and try to make money the simplest way possible.
Does that mean you accept that risk of vulnerable software? These are not strong mitigating factors and are mostly about risk profiling and motivation. So that decision is up to you.
comment 6y ago · link · parent
612k engineers. Let's assume that Amazon aims to hire the top 20% (I would expect software engineering skills to follow a power curve), so roughly 100k qualified workers.
That's pretty small if you're looking to employ 2-5k of them. That's a lot of competition given that there are likely at least 50 companies making Amazon-type offers.
I'm not saying they can't hire people if 10% of that pool decides they won't work there, but I'd imagine they would want to extend their pool to maybe top 30% at some point.
comment 6y ago · link · parent
Immediate things I worry about are around URL parsing.
Is evil.com<insert something here>steampowered.com going to pass as "steampowered.com" when it isn't? Will it handle punycode? All sorts of shit can go wrong when parsing a URL, and it's a real world problem when people implement the mitigation you're describing[0].
https://labs.detectify.com/2016/07/27/how-i-made-lastpass-gi...
This is just for starters. I think if I were being paid to think about it I'd probably be able to come up with some more. Can I mess with DNS? Can I inject some other malicious payload into the page, to take advantage of other vulns? etc etc etc
I would be extremely wary of this technique as a real boundary rather than just an assertion in code.
comment 6y ago · link · parent
Is it? Past behavior on the scale of decades, with leadership and org changes, market changes, culture changes in between?
I don't think that my behavior 10 or 20 years ago is a very good predictor for my behavior today.
comment 6y ago · link · parent
https://github.com/spacejam/rio/issues/12#issuecomment-58375...
comment 6y ago · link · parent
I think the assumption is that "longer term" is "within your runway" for some set of startups. Early stage startups can have years of runway.
If you're a startup that's recently closed an amount that will carry you through this period I think you're probably in the ideal position. There is an open and obvious question as to how long that may be, but if you have multiple years of runway it feels safe.
comment 6y ago · link · parent
If zoom were transmitting text this would be relatively more serious.
comment 6y ago · link · parent
On both ends. Agent hijacking can happen on client or server, with an attacker present. And is there any machine you can 'trust' ? That's a big ask, and I think the modern 'zero trust' is fundamentally averse to the concept.
comment 6y ago · link · parent
> The Control thread is designed to be entirely deterministic when its inputs and scheduling decisions are fixed. We use this property to fuzz it with pseudorandom simulation testing. With a seed for our random number generator, we can generate random initial filesystem state, schedules, and system perturbations and let the engine run to completion. Then, if we fail any of our sync correctness checks, we can always reproduce the bug from the original seed. We run millions of scenarios every day in our testing infrastructure.
comment 6y ago · link · parent
So, audit is one subsystem people use. ebpf is another.
OSQuery[1] is a tool that'll make it pretty easy to hook into audit and collect things like process executions.
Once you have instrumentation you want to start writing those rules. This is where systems like ElasticSearch, Splunk, or in the case of my product, Grapl, come in.
What Grapl makes particularly easy, and what other systems make quite hard, is the type of detection you're talking about - process tree analysis, or generally any kind of analysis that spans many events/ entities. This is because Grapl will take the instrumentation output and generate a graph, which makes joins across the data quite efficient, and it exposes the graph via Python, so you can express pretty arbitrary logic. Other systems make joins quite painful and slow[2][3]
Grapl's not at the point where a power user could just get it up and running - though it will be very soon. I've written detection logic very much like what you're describing though[4].
Linux is actually doing fairly well here, in my opinion. OSX was probably the worst, but the ESF will change this. Windows, with Sysmon, is still probably the simplest and best solution for instrumentation (though ETW is pretty strong too).
[0]https://github.com/insanitybit/grapl [1]https://osquery.readthedocs.io/en/stable/
[2]https://docs.splunk.com/Documentation/Splunk/8.0.2/SearchTut... (ctrl + f 'In large production environments, it is possible that the subsearch in this example will timeout before it completes.')
[3]https://www.elastic.co/guide/en/elasticsearch/reference/curr...
[4] https://github.com/insanitybit/grapl-analyzers/blob/master/a... , https://github.com/insanitybit/grapl-analyzers/blob/master/a...
comment 6y ago · link · parent
The goal here is not "Prove this software meets a spec" it is "This software is the spec, and we must not regress". There are many more systems that act as a defacto spec than that are built to an external one.
If you choose to then move to a world where you want an external spec, as I said, at that point some of these tests will be thrown away or refactored. Most systems never make it to that stage.
This is especially common when you have legacy software where the person or team that wrote the code is no longer there. It takes a monstrous amount of effort to derive a meaningful spec, and step 0 is always preserving existing behavior.
comment 6y ago · link · parent
You don't have an external spec to test against in this case, the existing implementation details are the spec, and so the goal is to preserve them.
I'd say going from: * Find one input * Get coverage * Mutation test to ensure you have assertion density
is probably a fine way to accomplish the goal.
Eventually you'd want to define an external specification for the code that isn't just "the service works, therefor ensure the service does what it's been doing", at which point some of these tests may be removed, or at least enhanced.
comment 6y ago · link · parent