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

Why is multiple files worse than one? PDF is an insanely complex format, I don't think the argument of "I can just read a PDF file" is strong.

comment 4y ago · link · parent

Can anyone do long division other than children and those who pursue math academically? Seems impossible to imagine.

comment 4y ago · link · parent

> They did.

Got it, very interesting context, thank you.

comment 4y ago · link · parent

> Although his exploit used some memory corruptions, the vulnerable code was written in a memory-safe programming language: JavaScript!

That's not really anything new. There was what amounts to an "ACL" issue at the JS level, which exposed the vulnerable C++ code. Sort of like if you have a vulnerable web app behind an improperly configured firewall - you wouldn't say you exploited the firewall though if you owned the service behind it, although you could say that you exploited both.

VMs using unsafe languages have always had this problem. QEMU has this, V8, JVM, Flash, etc.

> This post looked at a great vulnerability demonstrating that even if you replace existing code with JavaScript, you could still be prone to memory corruption.

Well, no one replaced anything with javascript. It's a javascript VM. If it were a C VM the issue wouldn't be any better or worse, "attacker is executing code in the VM" is the assumed situation.

So yeah I think it's totally fine and good to say that VMs make for interesting exploit chains across languages and runtimes - that's for sure true and one of the biggest issues with implementing safe VMs (sharing memory across runtimes, needing to keep memory as RWX, all sorts of nutty stuff). But what we see here is exactly the same standard thing we always see - an unsafe C++ program did unsafe things with untrusted input.

comment 4y ago · link · parent

Even the idea of an "ideal death" just rings of denial to me. Yes, getting punched is getting better than stabbed, but I wouldn't exactly romanticize it.

The issue isn't the "dying", it's the endless trillions of years of experience we are deprived of in death.

comment 4y ago · link · parent

I generally feel that anyone not afraid of mortality has some extreme denial or depression going on (more often the former).

comment 4y ago · link · parent

Thank you, I'll have to look into this. I was thinking from a file namespacing perspective there shouldn't be overhead, but it makes sense that adding the overlay filesystems and mounts would impact performance.

comment 4y ago · link · parent

Hell ya, I hope this becomes the new standard! Thank you so much to whoever pushed this, steps like this are going to pay dividends down the line as we bolster supply chain security in other ways.

I do hope that, eventually, it will be mandatory for all publishing.

comment 4y ago · link · parent

> Depending on how I/O is handled, container I/O can be very slow, whereas a dedicated disk snapshot without CoW/overlays would be much faster.

Do you mean VM I/O can be very slow? I don't think containers should have any overhead, please correct me if I'm wrong though.

comment 4y ago · link · parent

That depends on the microvm. Device support in Firecracker, like GPUs, doesn't exist, which also makes Firecracker suitable for multitenant workloads. Something like QEMU has far more device support but is also significantly easier to escape out of.

comment 4y ago · link · parent

> This is not a winning proposition. Even if we presume these will fly from a VIP terminal so the time you spend at an airport is low, you still need to get there. I just can't see everyone being flown in and out on a helicopter but maybe my imagination is stunted. Once you begin to add up those hours, you are just not saving enough time for the surely astronomical cost.

This is true for getting to JFK from Manhattan, which is 40 minutes with 0 traffic and then the airport is absolutely massive and has long lines, but Boston -> Logan or SF to SFO is minutes. I think my total time from my door to my gate is ~30-40 minutes when I fly SFO.

comment 4y ago · link · parent

> Corporations are amoral constructs.

Such nonsense. Corporations are a legal entity, they exist on paper. Facebook is people. People make decisions. People are not amoral.

comment 4y ago · link · parent

I don't think I'm anywhere near my limit with regards to outrage towards Facebook. Facebook should have protected that data better, Facebook should have fought the warrant, and yeah I'm fine with Facebook refusing to hand over the data and going to court over it.

I believe that companies should be zealous advocates for their users, just as lawyers are for their clients. Facebook was not any kind of advocate here.

comment 4y ago · link · parent

> Should companies disobey the law by refusing to comply with a valid search warrant from a state government in the United States?

a) Yes, they should

b) At minimum they should fight the warrant and advocate for their users

c) They should protect that data such that they can't turn it over

comment 4y ago · link · parent

Presumably because many other religions focus much more on non-human life. I don't remember the bible super well but it was pretty human oriented as I recall. The Bhagavad Gita, again based on a weak recollection, was more about the universe and life (although plenty of human stuff).

comment 4y ago · link · parent

> The thing is, no one can explain to me how it's better than just requiring 2+ passwords

I'm sure many people can explain this. It's not hard. FIDO2 tokens are not phishable, the domain name is part of the challenge.

comment 4y ago · link · parent

When Twitter implemented its SMS 2FA TOTP was already standard.

comment 4y ago · link · parent

Yes

comment 4y ago · link · parent

> Give copies of the keys to all your co-workers, and leave one under the doormat too for a good time... Hah!

Straw man, not going to address this.

> write passwords on post its and put them on PC monitors back in 2019

This is fine

> requiring them to be changed every 3 months

NIST recommends against this

I don't really get your post.

comment 4y ago · link · parent

Buy two keys. Your phone is probably a key already, so just one additional key.

comment 4y ago · link · parent

Don't use SMS 2FA

comment 4y ago · link · parent

So, Twitter got hacked and was pulled in by the FCC and has had to submit periodic reports on how they're keeping data secure. And then they got hacked again, and now they got hacked again.

I hope we'll see some real damages for once.

comment 4y ago · link · parent

SMS 2FA never should have been deployed. It's a disaster and we'll be cleaning up this mess for decades.

comment 4y ago · link · parent

This assumes that everyone who has lots of money and advantages chooses to try to run companies. That's not the case at all. I grew up around ultra-wealthy people and many of them wanted to focus on the arts.

So you have a small sample size - extremely wealthy people. Then you cut that down massively again - those people who also want to run businesses. Then a bunch of other things to narrow the pool lol. But then, finally, you cut it down to "and then the ones who succeed".

I don't think, at that point, the numbers are going to be behind you.

comment 4y ago · link · parent

They absolutely still exist and clog up search results.

comment 4y ago · link · parent

The only time I've seen a cute error added it was an engineer who just wanted to add some playfulness to the product.

comment 4y ago · link · parent

People can be so humorless. God forbid anyone have some fun.

comment 4y ago · link · parent

You're reading way too much into it. It's just a cute error message, not some psyop to try to trick you into blaming yourself.
1
313233
164