HN user

troyhunt

2,471 karma

[ my public key: https://keybase.io/troyhunt; my proof: https://keybase.io/troyhunt/sigs/lupKs_X7lTehE-ZA0SCQM4KFpW_14cIZ3MS2Zx6qt5c ]

Posts73
Comments50
View on HN
www.troyhunt.com 9y ago

Stupid security things

troyhunt
609pts159
www.troyhunt.com 9y ago

Where the Apple accounts hackers are threatening to wipe came from

troyhunt
3pts0
www.troyhunt.com 12y ago

Disassembling the privacy implications of LinkedIn Intro

troyhunt
1pts0
www.troyhunt.com 12y ago

Your corporate network is compromised: are your internal apps ready for attack?

troyhunt
3pts0
www.troyhunt.com 12y ago

For your security, please email your credit card and driver’s license

troyhunt
84pts67
www.troyhunt.com 12y ago

Everything you wanted to know about SQL injection (but were afraid to ask)

troyhunt
4pts0
www.troyhunt.com 13y ago

Your website has never been hacked (except for all the times that it has)

troyhunt
2pts0
www.troyhunt.com 13y ago

How to build (and how not to build) a secure “remember me” feature

troyhunt
253pts64
www.troyhunt.com 13y ago

Understanding the risk of mixed content warnings

troyhunt
1pts0
www.troyhunt.com 13y ago

Your login form posts to HTTPS, but you blew it when you loaded it over HTTP

troyhunt
4pts0
www.troyhunt.com 13y ago

Your Mac, iPhone or iPad may have left Apple with a serious security risk

troyhunt
17pts3
www.troyhunt.com 13y ago

Are we ready to do our banking via Facebook?

troyhunt
1pts0
www.troyhunt.com 13y ago

Should websites be required to publicly disclose password storage strategies?

troyhunt
5pts2
www.troyhunt.com 13y ago

Lousy ABC cryptography cracked in seconds as Aussie passwords are exposed

troyhunt
3pts0
www.troyhunt.com 13y ago

Operating system SmackDown: Windows 8 blitzes XP on 7 year old hardware

troyhunt
22pts1
www.troyhunt.com 13y ago

The ghost who codes: how anonymity is killing your programming career

troyhunt
3pts0
www.troyhunt.com 13y ago

What is LOIC and can I be arrested for DDoS'ing someone?

troyhunt
1pts0
www.troyhunt.com 13y ago

The impending crisis that is Windows XP and IE 8

troyhunt
63pts78
www.troyhunt.com 13y ago

Is Java the root of all evil and can you really live without it in the browser?

troyhunt
4pts1
www.troyhunt.com 13y ago

Inviting hackers into our homes via the Internet of things

troyhunt
7pts0
www.troyhunt.com 13y ago

Please login to your Facebook account: the execution of a data mining scam

troyhunt
2pts0
www.troyhunt.com 13y ago

EE-K DM'ing your password is Never a good idea

troyhunt
5pts2
www.troyhunt.com 13y ago

Stored procedures and ORMs won't save you from SQL injection

troyhunt
9pts3
www.troyhunt.com 13y ago

Hacktivism is dead. Long live opportunism

troyhunt
1pts0
www.troyhunt.com 13y ago

She did WHAT in school? The mechanics of a Facebook worm

troyhunt
2pts0
www.troyhunt.com 13y ago

Hacking is child’s play – SQL injection with Havij by 3 year old

troyhunt
3pts0
www.troyhunt.com 13y ago

Lessons for uncultured web developers

troyhunt
244pts112
www.troyhunt.com 13y ago

Why XSS is serious business (and why Tesco needs to pay attention)

troyhunt
52pts31
www.troyhunt.com 13y ago

Is Stack Overflow “secure”? Kind of...

troyhunt
71pts19
www.troyhunt.com 13y ago

Lessons in website security anti-patterns by Tesco

troyhunt
352pts118

Hey, thanks for pointing that out, that's the second time I've heard that recently. I think Ghoetery is getting a little over-excited and hiding the parent element containing Disqus which also contains the body of the post. I'm going to take a look at how to rejig the markup so that this doesn't happen in future.

It's harder to detect the framework when ASP.NET MVC is used. No view state in the source code, no .aspx extensions and the server response headers identifying IIS and ASP.NET can be removed. There's always HTTP server fingerprinting but you're moving on past the low-hanging fruit now.

Because rightly or wrongly, there's evidence that it increases consumer confidence and results in more purchases / subscribers / customer love. It's an empty promise, but people buy it anyway.

If there was something worth protecting on a personal blog site, it might be a different story.

1 is very on-topic - there's no way that data should be sent in the clear.

HSTS is good, but unfortunately only partially supported. Agree on the secure cookie, but of course you need to drop the dependency on accessing it over HTTP before you do that.

Years and years of experience? Often not, and that's speaking from years and years of experience!

Vast sums of money? Yes, at least the outsourcing vendors who churn this sort of thing out.

Unfortunately you're the exception Mark so good on you for that. Well I mean unfortunate for the greater web using population, but very fortunate for you!

Which bit was that Toshio? I can't see any MS defending, the post essentially said "This is what's happening, here's what to expect, these are some of the considerations". Whether what MS has done around OS and browser integration is wrong or right is not the issue, what we're all going to do about it is.

I'm not so sure that this is to their commercial advantage, in fact I think it could be quite the opposite. Where there is the motivation (i.e . by those managing the desktop environments), the IE8 dependency is an easy one to solve via alternate browsers. This, of course, takes people further away from the MS stack.

Given the web is credited as being created by a Brit in Switzerland, I think we can all agree that both its origins and its intent are international in nature.

Given that uncultured in this context is about lack of awareness of cultures beyond their own, your definition seems consistent with mine.

Well actually, we are talking about JavaScript, 5 separate .js files actually.

The challenge comes back to the fact that "Secure" in an HTTPS context is an absolute; either everything is loaded over HTTPS and you get a shiny padlock or it's not and you get a red cross (depending on the browser, of course). The browser itself obviously cannot discern what the developer feels should be loaded over a secure channel and what should not nor is there anything in the HTML/HTTP spec to support this (other than HSTS to force HTTPS).

The simple reason not to serve up HTTP content on an HTTPS page is that rightly or wrongly, the browser will tell your users that your site can't be trusted. I understand your point, but that's the implementation you'll find in the browsers of today.

Facebook is definitely a high value target, just ask a Tunisian who was using it early last year: http://www.thetechherald.com/articles/Tunisian-government-ha...

Not having HTTPS everywhere by default (although at least it's now a configurable option) is extremely serious for a site like Facebook. The fallout from governments monitoring political dissidents is just one example, the potential harvesting of personal information (including connections) is another that's closer to home. Remember Firesheep? http://en.wikipedia.org/wiki/Firesheep

Why doesn't Facebook force it everywhere? Perception of processing overhead (although debunked by Google), integration impact with non-HTTPS content (impact on ads has long been claimed as a barrier), re-engineering of one of the world's largest sites, etc. But it's heading in the right direction, Twitter, Facebook and Hotmail, for example have all made positive steps forward, I'm sure we'll see a much greater prevalence of HTTPS as time progresses.

The relevance is that none of the additional protections added to the technologies are available. We're in a very different threat landscape today than what we were in 9 years ago and the technologies provide advances to better protect ourselves. If you're using them!

Why rewrite? When there's a new major feature release, take the opportunity to change the target framework. Most servers also have a refresh cycle so update that at the time and roll it into the testing procedure. I'm not saying do this immediately after every new IIS / .NET release, but going 9 years without change is risky.

GMail is a good example of HTTPS everywhere.

When you embed HTTP elements you can no longer trust their authenticity. If, for example, you load JS into your banking app over HTTP it would be possible for a man in the middle attack to substitute it with a script which could re-write the page or siphon off sensitive data.

HTTPS says "We can verify the site you're connecting to and all data transited between it and yourself is encrypted". Embedded HTTP content invalidates that premise.

Actually, you do a lot with them; I could take a significant portion of them and log on to the account holders' Twitter / Facebook / GMail. Reuse is rampant and anyone who holds credentials has a duty of care to protect them.

I totally agree, which of course is why they shouldn't be commenting on it! But regardless of the Customer Care's Twitter account, their messaging is consistent with the misunderstandings demonstrated throughout the website.

Actually, I think it's very clear there were just a lot of bad dev practices happening across the different technologies. Classic ASP on Impact Data, PHP on the main Billabong site and current day .NET on the store. Clearly bad things were done on all.

However, some of those basic injection flaws in classic ASP would not have been possible on a more modern technology stack be that from Microsoft or other. A 5 year old version of PHP also isn't going to do you any favours. Newer frameworks are simply better at saving you from yourself - but that doesn't excuse the sloppy practices.

The comic is amusing, but it only works if you can apply it uniquely across accounts. Once you start creating unique passwords of that length you can't remember them. Get a password manager and forget about patterns - the XKCD approach doesn't work without serious compromise.