13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 4y ago · link · parent
They could launch a full identity provider like Okta.
2. Perhaps managing other authentication methods. Passwords are dying, especially with webauthn, so it makes sense to tak eon some money to explore how to be a player in that space.
They could compete with Duo, for example, and start offering a 2FA service.
Basically, I expect that the vast majority of this money will not be going towards the 1Password that you use today but instead towards breaking into new markets. Given the size, probably new markets that are somewhat established already.
comment 4y ago · link · parent
I would pretty much never ask a human being to write SELinux policies unless that was explicitly part of their job whereas I can pretty much point any developer to what systemd is providing and they'll be able to work with it.
comment 4y ago · link · parent
It turns out they just don't really drink water. It's always something in a can - flavored seltzers or soft drinks.
It kinda blew my mind that there are people out there who don't drink water. It feels as natural as breathing to me.
comment 4y ago · link · parent
I think there may actually have been a warrant for some part of the access, idk.
I'm not saying it doesn't happen but it would be quite a scandal to find that the government was performing warrantless exploitation of citizen's personal devices. Maybe someone can correct me here and show that this has been the case.
comment 4y ago · link · parent
ChromeOS can now run Android apps and a full linux environment.
comment 4y ago · link · parent
The article you linked to is about signing. It doesn't solve "I need to put an AWS key into the environment of a process".
comment 4y ago · link · parent
I think that this would require being the same user as the process you're trying to read. Access to proc/pid/environ should require that iirc. You can very easily go further by restricting procfs using hidepid.
And ptrace restrictions are pretty commonplace now I think? So the attacker has to be a parent process or root.
> 2. Environment variables are inherited to all subprocesses by default, unless you either unset them after you fork() (but before you exec()), or if you take special care to use execve() (or similar) function to provide your own custom-made environment for the new process.
Yeah, this goes to my "easy to leak" point.
Either way though you're talking about "attacker has remote code execution", which is definitely worth considering, but I don't think it matters with regards to env vs anything else.
Files suffer from (1), except generally worse. File handles suffer from (2) afaik.
Embedding the private key into the binary doesn't help too much if the attacker is executing with the ability to ptrace you, but it does make leaking much harder ie: you can't trick a process into dumping cleartext credentials from the env just by crashing it.
comment 4y ago · link · parent
I expect that UBI could start off very small and still have huge impact. A quick search shows that median income can range from ~40k-80k state to state. I'd bet you could radically change this country for way less than that.
comment 4y ago · link · parent
Maybe that's a good thing. It's insane how people in service industries are treated - like they're less than human. Shifting some power to them and giving the job a little more of an air of dignity or status would probably help a lot.
And the pay would obviously go up. People would be willing to do the job if it means life or death, but not for minimum wage - and that's a good thing.
comment 4y ago · link · parent
Some thoughts:
1. Hardcoded credentials are a plague. You should consider tagging all of your secrets so that they're easier to scan for. Github automatically scans for secrets, which is great.
2. Jenkins is particularly bad for security. I've seen it owned a million and one times.
3. Containers are overused as a security boundary and footguns like `--privileged` completely eliminate any boundary.
4. Environment variables are a dangerous place to store secrets - they're global to the process and therefor easy to leak. I've thought about this a lot lately, especially after log4j. I think one pattern that may help is clearing the variables after you've loaded them into memory.
Another I've considered is encrypting the variables. A lot of the time what you have is something like this:
Secret Store -> Control Plane Agent -> Container -> Process
Where secrets flow from left to right. The control plane agent and container have full access to the credentials and they're "plaintext" in the Process's environment.
In theory you should be able to pin the secrets to that process with a key. During your CD phase you would embed a private key into the process's binary (or a file on the container) and then tell your Secret Manager to use the associated public key to transmit the secrets. The process could decrypt those secrets with its private key but they're E2E encrypted across any hops between the Secret Store and Process and they can't be leaked without explicitly decrypting them first.
comment 4y ago · link · parent
Even distinguishing between Jarlsberg and Swiss seems like it could be a challenge, and that would be easy relative to a lot of others. On top of that if you have something like brie there's a million of them - I don't think I could distinguish brie de nangis from another brie unless I could touch it.