13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 5y ago · link · parent
"Special hardware" is literally everywhere. It's more accurate to call it "special" if it doesn't support NX.
> Somebody must have thought so, because it is so prevalent now.
FWIW, those people (pippac iirc/ paxteam?) were well aware of ROP when they created it. It's sad how hard it is to find the original sources these days, the docs are all so old - someone can maybe find security.txt?
comment 5y ago · link · parent
70% of the scenarios impact 99.99% of users as well as the project's intended scenario.
> being limited to the same host.
Yes, that's the point, of course.
comment 5y ago · link · parent
Well I did link to a blog post that explains this, so I feel like it's sort of on you at this point. But I guess the short answer is that in Rust you know exactly what 'unwrap' will do on a None, and in C/C++ you can't.
> can you imagine your long running application (e.g a server) stopping in production..
Yes. It happens all the time, and in fact it is inevitable. Far better than the program misbehaving, which is what undefined behavior leads to. In fact if you're building a serious, production service, you might want to skip panicking altogether and just kill the process.
comment 5y ago · link · parent
In rust an unwrap of a None is defined and memory safe.
comment 5y ago · link · parent
If it's a paper reference I search for the paper's ID/ title - Google won't do any better than DDG, this is a pinpoint search. If it's a term, like recently I was looking into Entity Resolution, I wikipedia it. I run into things I don't know constantly and my search engine has virtually nothing to do with how I discover new information.
comment 5y ago · link · parent
For the last 1%, I use duckduckgo, which almost always ends up just proxying me to one of those other sites.
Search feels very "solved" to me, I don't see the point in using Google.
comment 5y ago · link · parent
comment 5y ago · link · parent
Despite your repeated statements that async has harmed Rust, I don't have any problem whatsoever day to day writing 10s of thousands of lines of async code with regards to what you've brought up.
comment 5y ago · link · parent
P.S. please add a (2012) to the topic, this is NINE years old who cares.
comment 5y ago · link · parent
Yes, I think your comment was not worthwhile and ultimately just took up space on the page, so I would have flagged it, but it's deleted. I would be very happy to have seen a post about things like at-most-once guarantees and the actor model.
comment 5y ago · link · parent
lol idk kiiiinda sounds like you might be the one taking things too seriously?
comment 5y ago · link · parent
Sorry, but this entire thread is nonsense, and it's just a clear demonstration of a lack of threat modeling and frankly a lack of understanding of what attacker capabilities are.
comment 5y ago · link · parent
That's not really true at all.
> since it's impossible in every sense of the word
Ok? Lots of things are impossible, and lots of those things are also still very very hard and costly. Hash collisions aren't impossible, and yet here we are, with a world hinging on them being very hard.
> , they can do whatever they want
Not really.
> Most post-exploitation frameworks (prominent example: DanderSpritz) have modules to remove stuff from the windows event logs without leaving traces.
You realize that:
a) DanderSpritz's logic to bypass the event log was a huge deal
b) It's literally an NSA leaked exploit????? Like are you kidding me using an NSA developed exploit as "pretty basic stuff" lol
Sorry but I think I'm gonna stop responding here.
comment 5y ago · link · parent
As for endpoint logs, yes, a privileged attacker could disrupt them. But honestly, even with regards to your endpoint, attackers often don't disable logging - though I do see it, for sure. For "blessed" logging like Windows Event Log you'll have an even harder time - they do take measures to protect the files on disk, even against privileged attackers, and supported methods of deleting the event log actually themselves generate a "Someone deleted the event log" event, which I would highly recommend you watch out for :)
The simplest advice for dealing with this is to ship logs off of the device ASAP and to make sure that disrupting the service requires privileges.