196 points · by timpattinson · 13y ago · 81 comments
https://en.wikipedia.org/wiki/Address_space_layout_randomiza...
Until this sort of thing matters to users, nothing will change.
TJ Max, UBS, Knight Capital, Heartland Payment Systems, Visa, Sony (already mentioned, but it's my fave), Stanford, Countless other hospitals, e-commerce vendors, banks, and other organizations that handle payment or personal information.
If you want to say "name a startup that's gone out of business because of a security problem" I'll let you away with that. There's still instances, and I'd love startups to pay more attention to security, but I know reality as well...
You can quibble about the numbers; the article doesn't come out and say it but the exact number may have been subject to some accounting shenanigans (probably the fully-legal kind, but that still leaves leeway). But it did cost them, both money and reputation.
That said, I tend to agree with your general point. But companies don't quite get off entirely without consequence... it's just rare enough that it's more like a bolt from the blue than a reliable penalty.
The two free games were nice too. They gave us choices from top rated titles.
sony
rsa
epsilon
saic
tricare
tjmaxx/marshalls
lifelock
hannaford
U.S. department of Vet affairs
For those particularly worried.
Still disturbing, but this seems to point to technical concerns.
The problem is executing code in the first place. There are other mechanisms in place that can prevent a crash to turn into direct code execution (NX-bit). To circumvent those, you can use Return Oriented Programming (ROP), where you prepare the stack such that you jump into a loaded library or other (completely innocent!) code in memory. The problem then is that you need to know where the code you want to jump to resides in memory, and thats where ASLR comes in. With ASLR, modules are randomly allocated in memory and an attacker can't predict where code he wants to jump to resides at.
(ROP is a pretty fascinating topic in itself. The problem is essentially that you are given a bunch of assembly, and your task is to figure out how to use, combine it into gadgets that emulate generic computing functionality (pop a value from the stack, push a value to the stack, call a function, ..) such that you can build your shellcode from those gadgets)
With a fork-based server, you don't care much about that. Every time you connect, you get a fresh new process - with the same addresses as the older copies even.
So brute-forcing those is more viable than a browser where you probably won't have more than 1 or 2 attempts per user.
I find it hard to believe that this is a deliberate attempt to weaken client-side security, so its more likely that they are using some legacy code that is somehow incompatible with ASLR. But ASLR has been in Windows since 2007, pre-dating Dropbox by about a year, so they either developed ASLR-incompatible code after the feature was live or the problem is in a third-part component.
Any other explanations? What problems can ASLR cause?
Perhaps they're using an old or unusual linker?
My assumption is that they disabled it for stability/reliability reasons that are specific to their application, and I was further hoping to understand what kind of bugs could be triggered by having ASLR enabled. I've written plenty of C and C++ over many years and can't think of any bugs that I've introduced or found where assumptions about address place layout were involved.
Since we're talking about Windows, I assume they're using Visual Studio and its linker.
Compatibility with old apps. There is software out there in the world that relies on the address space not changing, either deliberately or due to bugs. You could argue that they shouldn't do that, but people get pissed when their stuff doesn't work with the new Windows. The most cautious thing they can do for these apps is make it opt-in. (I believe the default may be different for amd64? Not sure..)
> decision for the ... admin
I believe the policy is also a system setting, and maybe even you can override the value in the PE header this way.
It's a result of upgrading from VC++4, to VC++5, to VC++6, to VS2003, to VS2005, to VS2008. They're set by the project upgrade wizard, for compatibility reasons.
Which is not to say that Dropbox didn't manually set the flag, I'm unsure if /DYNAMICBASE is set or unset for the sake of compatibility.
Or, better, how about fewer acronyms?
'less' is an acceptable comparative for both countable and uncountable nouns in all modern dialects of English except for US-English, where it's strictly expected that fewer be used for countables.
Perhaps caiob is from the UK, Australia, India, South Africa, New Zealand...
Usually the highly literate folks misusing less are from Germany, the Netherlands or Scandinavia. It’s jarring when I hear or see it in otherwise erudite discourse.
Now, I know many native speakers of English in the US and various commonwealth nations that are unaware of the distinction. So I suspect you’re right on the larger point that this particular persnickety rule is dying in the vernacular everywhere. But I’d love to see your source for this rule not being universal in formal speech or when written.
http://motivatedgrammar.wordpress.com/2008/09/30/10-items-or...
So is this a sign of that horror of horrors, the destruction of the English language by modern speakers who can’t be bothered to learn the rules of the grammar?
Unsurprisingly, no. As it turns out, this whole notion that fewer is countable and less is uncountable has been traced back to 1770 by the Merriam-Webster Dictionary of English Usage. And it wasn’t a rule back then, but rather a preference of a single author, Robert Baker. (That’s not to say that no one agreed with him, only that no one else seems to have put it in print back then.) So it’s not that modern ne’er-do-wells are ruining the language; at worst, they’re returning it to an earlier state. The OED attests countable less in 1481, derived from an Old English usage attested by no less a personage than King Alfred.
All right. So less used to be fine with countables. Then a dude came along and said he wasn’t fond of that, and his opinion eventually got codified into a rule. But, as MWDEU and the Google results point out, countable less remains common, despite the widespread acceptance of this rule outlawing it. Now, to me, that suggests that the rule that less can’t be used with count nouns is spurious.
Summary: The idea that less can’t be used with count nouns isn’t well supported; it’s a rule that hasn’t ever been strictly followed, especially for count nouns that can be perceived as masses. Groceries lend themselves to perception as a mass, so it’s no surprise that “10 items or less” is favored now, just as it has been historically. Please stop complaining about this.
http://www.pcworld.com/article/226280/dropbox_a_file_sharers...
Either this is lazy coding, or there is some malicious intent to spy.