News for hackers. Stuff that matters.
Re:Any page loaded in IE can track your mouse movements anyw... by meaty on Wednesday December 12, 2012 @09:19AM (#4910102)
Actually I do, to the point I have been appointed a couple of security positions in the past in the defence industry.

Code is executable.

Data is not. There should be no level of turing completeness.

Taking C as an example, loading a char* with data that contains code and jumping to it or letting it overwrite the code segment is precisely where it breaks down. The same is true when your json payload contains a function or your css contains an expression.

The main problem at the moment is that technologies freely interchange the two concepts. Code should be entirely immutable once compiled and data should not be executable.

Re:Any page loaded in IE can track your mouse movements anyw... by 7952 on Wednesday December 12, 2012 @11:57AM (#4911110)
But the pragmatic approach is to assume that data may become executable due to vulnerabilities and design around that fact. Assuming that you can control everything is fanciful and dangerous. Assuming that you control nothing, and everything can and will break is a much safer approach.
Re:Any page loaded in IE can track your mouse movements anyw... by meaty on Thursday December 13, 2012 @04:56AM (#4915109)
The pragmatic approach is to use a toolchain which prevents data being executable. Most high level languages without pointers and direct memory access (excluding dynamic languages) perform this feat quite well.

I disclaim the use of hacks like non executable segments here in certain CPU architectures (x86 LDT/GDT controlled access bits) as they are an afterthought.

Re:Any page loaded in IE can track your mouse movements anyw... by 7952 on Thursday December 13, 2012 @08:07AM (#4915526)
So you just have to force every piece of code on your computer to use that tool chain. "Dear Mr Zuckerberg, please make Facebook available in a form that allows me access without needing to rely on dynamic languages and uses a strictly defined toolchain (of my choosing)". Good luck with that.
Re:Any page loaded in IE can track your mouse movements anyw... by zmj on Wednesday December 12, 2012 @09:52AM (#4910280)
How do you implement an interactive page under that model?
Re:Any page loaded in IE can track your mouse movements anyw... by loungin on Wednesday December 12, 2012 @10:52AM (#4910632)
Maybe we should think about moving away from interactive pages. What does all that interaction get us, really?
Re:Any page loaded in IE can track your mouse movements anyw... by meaty on Wednesday December 12, 2012 @10:56AM (#4910660)
Agree. To be honest I'm not sure we should have gone past that point originally.
Re:Any page loaded in IE can track your mouse movements anyw... by brazzy on Wednesday December 12, 2012 @11:18AM (#4910810)
Can't tell if being facetious or just totally disconnected from reality.
Re:Any page loaded in IE can track your mouse movements anyw... by meaty on Wednesday December 12, 2012 @11:42AM (#4910993)
an idealist. There's nothing wrong with wanting to improve the status quo.
Re:Any page loaded in IE can track your mouse movements anyw... by saraid216 on Wednesday December 12, 2012 @06:16PM (#4913058)
You're not really talking about improving the status quo. You're talking about a temporal paradox in which you rewrite history.
Re:Any page loaded in IE can track your mouse movements anyw... by drivebyacct2 on Wednesday December 12, 2012 @11:25AM (#4910858)
>Actually I do, to the point I have been appointed a couple of security positions in the past in the defence industry.

>Code is executable.

>Data is not. There should be no level of turing completeness.

I'm sorry for the defence industry.

Re:Any page loaded in IE can track your mouse movements anyw... by meaty on Wednesday December 12, 2012 @11:44AM (#4911008)
Why? They make shit that works with huge investment when the rest of the world makes do with shit that doesn't work properly for very little investment.