Better HN
topnewbestaskshowjobs
Log inSign up

hacknat

3,103 karma · joined Jan 5, 2013 (13y ago) · 999 submissions

Submissions

comment 8y ago · link · parent

Sorry I should have defined my terms. When I said Universalism I wasn’t referring to religion, more the modernist concept that there are a universal set of values the objectively exist (i.e. my morality is good and yours is bad). Certainly I think this concept sprang out of religion, but it has certainly taken on a life of its own outside of religion, as most people think of it anyway.

comment 8y ago · link · parent

I think that’s a fair point, but this is the first society in which the people you are most familiar with aren’t necessarily in your ethnic group (though even in the US it’s not so much the case).

comment 8y ago · link · parent

I definitely didn’t mean that in a statist way, as in enforced morality. I just meant that societies that don’t use kinship bonds inevitably use something else to maintain cohesion in society, religion has been used, founding myths (American republicanism, etc), and now it seems there’s a backlash against it all. My only point was that maintaining social cohesion in a pluralist society is no mean feat.

As a side note, short of making sure everyone gets a strong foundation in philosophy, I don’t see how you can maintain an agreed upon set of values in a pluralist society without some sort of myth. You call it “accepting things that aren’t true”, but myth goes beyond truth, IMO. Most values are untestable hypotheses, so they don’t really fall into a modern definition of knowledge or truth, at least as I learned them in my undergrad science courses. Humans are wired to think in narrative terms so inevitably the process of transmitting values across generations is going to generate some distracting cruft that is patently absurd, but that doesn’t mean the attempt at transmitting values is absurd.

comment 8y ago · link · parent

I would prefer someone I have a good working relationship with over a friend. My best friends are not in my field, but I have people in my life who I love working with, because we just click and are able to get stuff done. I wouldn’t say they were super close friends though as we don’t necessarily bond over anything other than work.

comment 8y ago · link · parent

I think you’ve made a straw man of her argument. She didn’t claim there was no morality in the ancient world or no moral perspective in the folklore, just that there are no good guy/bad guy tropes. I have yet to see you give a textual example, at least in the Odyssey, that contradicts her.

comment 8y ago · link · parent

One of my biggest beefs with the Game of Thrones “there are no bad guys” assertion is the Wights. Seems to me they are George Martins Orcs.

comment 8y ago · link · parent

In Beowulf the antagonist is a monster, she at least gives a corollary in the Arthur legendarium. Also, who is portrayed as being evil in the Odyssey? The only two examples I can think of are the suitors and Polyphemus, but the text refers to Odysseus being cunning against these foes rather than “morally justified”. Odysseus even plays the suitors game, because in that culture their behavior is justified. Honestly I think Odysseus is one of the most morally ambiguous characters in all of literature, he’s practically the first anti-hero, to use him as a counter example seems like a huge stretch to me.

comment 8y ago · link · parent

David wasn’t the king who proposed to slice the baby in half it was Solomon, and the whole point of that story is to illustrate how wise Solomon is not to belabor some point about an evil mother.

comment 8y ago · link · parent

I racked my brain in disagreement at first with her claim (I took a fair amount of ancient literature classes in college and continue to read ancient literature when I can), only to find I couldn’t come up with many examples that contradict her. In fact I even began to think on the Bible, the one document I’m sure we would all think of as being moralizing, but even it contains passages that don’t assume the good guy/bad guy trope:

In the Joshua narrative (a part of the Bible that troubles a lot of people for its wholesale slaughter of ethnic groups) before they sack Jericho Joshua sees an angel and asks which side he is on, and the angel replies, “neither” (Joshua 5). Similarly in Deuteronomy the existence of other deities is presumed in some passsages, but they are meant for “other nations” (Deuteronomy 4). And my favorite example, God tries to kill Moses after he commissions him (Exodus 4:18).

Here’s the thing though, when ethnicity and familial ties no longer are the thing binding a society together, the only thing left is ideology. If we want to live in a pluralist society we have no choice, but to embrace narratives that bind us together through morality and ideology. Universalism is a powerful tool, it can create a society like the US, which has many faults and sins to be sure, but is the only society in history to elect a member of, what was very recently, a slave class to its highest political office. Universal also has its dark side in things like the fascisms of the early 20tj century.

It seems like we might be migrating back (or around?) to a non-Universalist sentiment around the world in the current backlash against globalization. The impetus definitely has some nationalism and racism in it, but it feels different to me than a moralizing racism of the past that assumed racial superiority, and now seems to be rooted in a theory of primacy (it’s not that we’re better, but we come first, e.g. “America first”).

It makes sense to me that we are migrating away from Universalism. Our collective psyche cannot fathom the indirect violence that we are all wreaking on each other right now (and the immense catastrophes we are all about to suffer).

comment 8y ago · link · parent

Posts on creating a successful startup seem to all suffer from a lack of 2nd order thinking. Even some of the posts from PG. I’m sorry, but it is blindingly obvious, IMO, that startups should focus on surviving, whereas someone like Jeff Bezos has to think about how to serve an ace (and can suffer a good deal of failures before it would threaten his company).

The unending stream of platitudes that come with these posts are also quite obvious, but also somewhat useless: don’t hire too fast, but don’t hire too slow; find a market, but don’t copy your competition.

I think PG said in a post once that the YC partners joked that their job was to give founders advice that they would then ignore. So that makes me think that the advice/wisdom people should be dispensing/pursuing is: what can you do to make sure you follow all this good advice in a disciplined way? It seems like a lot of intelligent people fail to do so, why? How can you make yourself the exception?

I don’t necessarily have the answers, but from my limited experience the best advice you can give an aspiring founder is:

1. Don’t found a company. You have a good idea and you think you can execute? Great, go find someone who is very likely already doing it and help them out. You’ll have way more fun and probably make more money.

2. Okay, you absolutely have to do this? The thing you have to really nail to follow all this great advice is culture. I have been at many startups, the ones that suceeded all had one thing in common: a highly functional culture. What does that mean? It doesn’t necessarily mean everyone having warm fuzzies and a Swedish masseuse. It means that information in your organization can move effectively from anywhere in your company to anywhere else and people will feel empowered to act on that information. This is not the default mode for any organization. The default mode for any organization is territorialism/feudalism. Humans have evolved to be zero sum thinkers, they can’t help it. You have to create and organization that fights this constantly.

comment 8y ago · link · parent

I think the death of net neutrality is an act of desperation (clearly someone is behind it, because...why now, why the spam comments, why so fast, etc), because cable was a medium of control, but broadband is a utility with little opportunity for resource extraction. Here comes 5g and lots of wireless bandwidth for even more price competition which will either put incredible pressure on the ISPs to violate net neutrality to extract value or create a proliferation of ISPs, ala the 90s that race to the bottom, some of whom will offer net neutrality as a feature of their service. Curious to see how the increase in bandwidth affects the market in the coming years. Wireless presents all kinds of interesting possibilities.

comment 8y ago · link · parent

Yeah. I was about to say don’t get mad at the West, because we don’t trust you, get mad at your own government. If China was a free and open society to the point where I could simply understand the relationship their businesses have with their government than we don’t have a problem, but that relationship is just too murky for my liking right now.

comment 8y ago · link · parent

Everyone is assuming the author is giving up on Langsec. Read carefully, he called Spectre/Meltdown a setback. I think he’s making a subtler point that the fundamentals of programming have become more of a pragmatic activity than a mathematical one, if you’re being practical about your goals that is. I’m currently on the kubernetes multi-tenancy working group (which isn’t really a working group yet) and its really funny to see how much effort is going into securing containers, but core bits like the CNI receive little attention. A wise security professional, ex hacker said that he actually liked over engineered security systems as a hacker, because it told him what not to focus on. Container security pretty good? Okay then figure out how to do what you want without breaking out of the container (definitely possible in the case of Spectre/Meltdown).

There is a fundamental cognitive bias in our field to solve the technically challenging problems without realizing that there are practical vulnerabilities that are far more dangerous, but a lot more boring to solve (the most common way orgs are exploited is through a combination of social attacks and something really trivial).

I think the author is frustrated because he feels the interesting work is unimportant in comparison to the practical.

That isn’t to say that this work isn’t helpful. I’m very glad to be working daily in a typesafe, memory safe language, but I have bigger fish to fry now as a security professional on the frontline.

comment 8y ago · link · parent

Can anyone point me to the ethnic breakdown of the opioid epidemic? Does it cut across ethnicity/race evenly or does one group suffer more (my guess would be white men).

comment 8y ago · link · parent

Because Intel writes almost all of the x86 arch code for Linux, so AMD gets stuck footing the bill for hardware bugs like this, even if AMD isn’t affected. From Linus’s perspective it’s the same arch, because, well, it is.

comment 8y ago · link · parent

Not to mention mood disorders are still not well understood. Anxiety and Depression actually manifest different symptoms in other cultures.

comment 8y ago · link · parent

Also seems like Magenta doesn’t have users and groups as a first class construct. It looks like there are primitives to create them in user space, but the kernel only has one construct (Jobs) by which security is administered, rather than the many different security paradigms of a nix system (i.e. a process can have access based on what user it’s running as, uid not, SecComp control, etc). This makes security much easier to manage at the kernel level as all security granted to processes is explicitly granted rather than inferred, as is often the case in nix.

Honestly, I think the multi-user assumptions that *nix started with are largely irrelevant now. Most people don’t have multi-user needs on their devices (you can’t even do it on iOS), and even servers are moving towards single-user constructs with containers, etc. I think the an operating system built around a multi-user model will be viewed as the edge case in the coming decades rather than the norm.

comment 8y ago · link · parent

Yeah and I’m wrong about that part anyways. You can’t cap out or block getuid without breaking glibc. I meant setuid, but that call isn’t used in this exploit. I got confused.

comment 8y ago · link · parent

Oops good call. I meant setuid, but either way I was wrong.

comment 8y ago · link · parent

It’s not a full kernel memory CVE, you have +-255 bytes access to kernel memor from the cred pointer. I have no idea if that extends to userns or not. Also I think your confusing Java threads for system threads they are not the same.

I think your being overly alarmist. You have to trust someone else’s code at some point, otherwise you’ll be paralyzed by non-productivity.

comment 8y ago · link · parent

You don’t need to use containerd. Other runtimes make it possible (per container offsets have been possible in runc for over year).

comment 8y ago · link · parent

You knew old Bolsheviks? Or did you know some Western sympathesizers? Big difference, but either way you’d have to be north of 80 years old.

Chomsky on Leninism:

https://youtu.be/Nz11K1wUbrc

Hint: he’s not a fan

comment 8y ago · link · parent

The most scathing analyses of Bolshevism I have heard have come from the likes of Chomsky and Zinn, who are/were hardly neo-liberals. For all of its faults at least capital aggregation doesn’t have a moral prerogative behind it.

comment 8y ago · link · parent

No it doesn’t matter. If they have waituid and getuid then they are off to the races.

comment 8y ago · link · parent

Because the Docker project doesn’t make money off of security. It is actually quite infuriating, because they have become the de facto container image standard. Most of their security has actually come from Twistlock (I am not a Twistlock employee, FYI). My recommendation to most Admins or Devs that are serious about container security is to let your developers use docker, but run your images with CRI-O on your servers: http://cri-o.io/

comment 8y ago · link · parent

Sure. User namespace-ing is a feature of container security that allows you to grant a process root access to a filesystem that itself is not root. To the running process it appears that it is or can run as root, but on the host it actually isn’t root, but some uid:gid offset. Here’s an article explaining more: http://man7.org/linux/man-pages/man7/user_namespaces.7.html

The gist is that a container is further sandboxed by the kernel that is agnostic of the higher level security precautions. It’s not perfect by itself, but used in conjunction with other features like AppArmor or SELinux and SecComp it can make a container virtually sandboxed.

comment 8y ago · link · parent

Randomized pids wouldn’t nexessarily help that much in this situation, especially if the getuid syscall is available. However, I agree with your general sentiment that there are basic security features that Linux could implement to make a lot of CVEs impotent. I think the community is coming round, but this stuff takes more work than most people may realize.

comment 8y ago · link · parent

This exploit is interesting, but if you are doing container security correctly it’s actually not a big deal. In particular if you are setting per-container usernamespaces, like you ought to be, then this exploit doesn’t do anything. In fact you can actively give a usernamespaced container any CAPs you want, because they are isolated to that container’s uid:gid offset.

Obviously, giving containers unecessary CAP privileges in unwise, but if you are practicing sound security best practices then there would be multiple layers of defense between you and this CVE. I think a strong AppArmor profile and SecComp profile would also make this CVE moot.

Edit: Also, this exploit relies on you being able to fork up to a certain pid value. You can and should take advantage of Linux’s per cgroup ulimit functionality. No container needs more than 255 threads (even if they do you can make special exceptions for such applications).

Edit2: Additionally this CVE relies on the getuid syscall being available, there is no reason to give a container this syscall, you should block it, ala this guide: https://rhelblog.redhat.com/2016/10/17/secure-your-container...

I have to say I’m more than a little dissapointed in Twistlock for not pointing out what countermeasures you can employ against this and other CVEs.

comment 8y ago · link · parent

Okay. He spent more time on his argument than you did countering it. Care to elaborate? It’s not self-evident to me that you’re right.
1
131415
34