13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 7y ago · link · parent
That said, the part I was referring to is:
> The mere fact of such a thing being possible is a usability defect. On what basis do I trust that my work is not going to disappear on me like that again?
The possibility of a bug happening is hardly a usability defect in my mind. Or if you want to call it one, it seems like a perfectly reasonable one - this was a defense born out of necessity when malicious extensions were more of a problem.
And I think that the "On what basis" question definitely implies a total lack of trust, but sure, maybe not. The basis is that this is a single instance of a failure over the course of the features' lifetime, for a feature that has existed for absolutely ages.
I pointed to Chrome as an example of similar issues cropping up across codebases to show that these sorts of bugs do happen. I don't consider that whataboutism.
All bugs are foreseeable and preventable. Systems are complex. I think you're putting the issue in a very unfair light, even though it's very reasonable to be upset about time and effort that is lost because of the issue.
comment 7y ago · link · parent
https://bugs.chromium.org/p/chromium/issues/detail?id=952287
Chrome has bugs too.
Firefox will continue to have bugs. All software will continue to have bugs. I'm so sorry that you lost some tabs in your browser but shit really does happen and acting like this is some violation due to overzealous security controls is inane.
comment 7y ago · link · parent
The article paints this as unusual but if the NPS was doing this in NYC that seems unlikely? It was over a decade ago when I was there and I think I was told it was somewhat standard.
comment 7y ago · link · parent
But I also put way more in than an extra 2 hours a day.
comment 7y ago · link · parent
At small companies where you have more wild-west type procedures you can probably get away with saying "Github is good enough", but my experience is that even mid sized companies start to put all of their bags in the interview basket.
comment 7y ago · link · parent
But programming in your free time will (likely) make you more effective in your job, garner recognition/ place you in a programming community, teach you about new problem spaces, etc.
So while that may not help you move from job to job (I'd argue, however, that it does), it'll help you accelerate your career within a company.
I don't think it's contentious to say that practice will improve your skill, and improving your skill generally leads to a better (by some definition) career.
comment 7y ago · link · parent
At the same time I've never done that and it's in large part why my career has gone so well.
It's "OK" either way, live life how you want to. But if someone asked me for career advice and said they don't know how much time they should spend outside of work on programming, I'd have a hard time telling them "no time at all".
If your goal is to advance your career, yeah, my advice is to program in your free time.
If your priorities are different - maybe your career is already set, and you want to focus on life - sure, don't program in your free time.
comment 7y ago · link · parent
Even the syscall monitoring, I wonder if it's really "Given a known sequence of suspicious syscalls" as opposed to "Given a known sequence of good syscalls" eg: signatures vs baselining. Or "These syscalls semantically amount to this behavior".
From what I have seen of AMSI it's not much harder than classic AV to bypass.
I appreciate the Fileless classifications - that seems like a larger value add, but I'd love to see us also better define TTP and Behavior based detections. It implies that we are observing generalized behaviors as suspicious when in reality it's almost always some sort of combination of predefined signatures.
It is not a "behavior" (in a meaningful way) when an attacker uses specific parameters on powershell or some LOLBAS executable, it's just a very specific technique, which is subject to change. The higher level "Got a process to execute and do a thing" is what the behavior is, to me, and what we should detect.
To be fair LOLBAS and Fileless are still uncommon approaches for malware, so it is not surprising that it's taking time to hammer out how we should be building out our view of the issue.
Still, ATP is a great product, not trying to be overly negative. I think Microsoft is in a really good position to start hammering out the definitions for some of these concepts. I'll give this article another read I'm sure.
comment 7y ago · link · parent
You choose closed source and you throw away early adopters - people are way, way less likely to try out closed source software from what I've seen. They'll even resent you for it.
You choose open source with a permissive license - you bootstrap, get users, and some larger company comes along and essentially takes it from you.
You choose GPL3 or some less permissive license and no one will ever use your software.
How do you see this working?
comment 7y ago · link · parent
On Ubuntu there is no default tool for this, to my knowledge. I installed `pinta`, and it's way overkill and far more complex than paint.
A sane, default, "draw box on image" app is a good thing.
comment 7y ago · link · parent
I think the issue is that no one had the expertise to clear it up. So how do you move forward?
Someone has to get called in and there's no process for that. Or the person pushing the feature needs to explain the security implications of the feature.
Maybe some sort of 'requires security triage' tag could get applied to issues like this, and the rust security wg or whoever is qualified ot make these calls could review.
Ultimately, my opinion is that if you're making a PR with security implications, and there are people saying "I'm uncomfortable and don't understand the security implications", it's on you to explain them.
Otherwise progress should not continue.
comment 7y ago · link · parent
I feel the opposite. Where user safety is concerned, if a problem is not understood the solution should not be implemented.
In an example where it's "disable security feature X", and the developers don't know the implication, would you really want them to just say "well whatever, I don't understand the implications, but let's push forward" ?
comment 7y ago · link · parent
It sounds like what they did was attempt to split a monolith into separate services, which is distinctly different from a microservice approach.
comment 7y ago · link · parent
Sure, it's totally a matter of idiom - this is why I stated that a big problem with microservices is people jumping into it thinking it's SOA. Microservices, as a discipline, requires some care. It could be argued that the care required is too high to be worth it though.
> If you are separating functionality using functions, the compiler helps you spot problems. If using classes or libraries, the linker can help spot problems.
Maybe you could be more specific? I don't see how a compiler will help prevent coupling of modules/ internal components. What problems are you referring to?
I agree about microservices being an idea without an obvious implementation - that's a fair criticism.
comment 7y ago · link · parent
But yeah, of course there's shared code between your codebases - things like JSON libraries, etc, are always going to be shared. The issue is more about what you're sharing - if it's a very stable, small library, it's probably fine. If it's something really core that's going to change a lot, or that two services may diverge in agreement upon, duplication may be worthwhile.
comment 7y ago · link · parent
Similarly, if I build a microservice architecture, and then say "My monolith is too hard to manage because it's in so many pieces" I think it would be fair to say "You didn't build a monolith".
comment 7y ago · link · parent
It can also be really annoying sometimes to scale a monolith - a big one can have a lot of different parts like multiple threadpools/ database pools. One component hits a threshold, you add more instances, now your other component is overprovisioned, maybe even failing due to too many DB connections, or you hit weird thread contention issues.
I've had some pain in the past scaling monoliths in similar situations.
comment 7y ago · link · parent
While the article mentions separate CI/repos/etc, that's not actually necessary or even super relevant to microservices. To my knowledge there is no real link between microservices and isolation of build/ deployment systems.
To me, the big issue with people adopting microservices is not understanding that it doesn't just mean SOA. If you just start splitting your service into multiple processes you gain some benefits, but you're going to incur huge overhead for releases - you probably have tons of shared code/ leaky interfaces. I think this causes most of the pain people have with microservices - and I think that a big part of people making this mistake is building a monolith (when they've answered "yes" to some of the proposed questions in the article) and then trying to split it later, often rushed, because that approach isn't going well.
Personally, my current side project is implemented using microservices. I rewrote one of them this weekend, and that service gets by far the most attention. I also use multiple languages, which is important and allows me to move really quickly (I fall back to Python for library support sometimes so that I can move faster). There's only a single shared library that virtually never updates (it's a fairly low level representation of a graph), and so I therefor virtually never have to worry about redeploying the world.
It's not perfect - I have to figure out how to deal with some of the downsides at some point, but I believe microservice-first was the right call. Oh and it uses a single repository, currently.
comment 7y ago · link · parent
I think "Can I deploy a bugfix without redeploying the world" is one of the base criteria for determining if you have implemented microservices or not.
comment 7y ago · link · parent
> This is going to be developed live? Yup. Check out My Youtube Channel or my Twitter. I announce my streams typically a few hours ahead of time, and schedule the streams on Youtube. Further for streams I think are more impactful, I try to schedule them a few days out.
> I'm going to try to do much of the development live, and I'll try to help answer any questions about why certain things are being done. If this project fails, but I teach some people about OS development and get other excited about security research, then it was a success in my eyes.
> I have already scheduled a stream for an intro on Wednesday: Intro Video
https://github.com/gamozolabs/orange_slice#this-is-going-to-...