Mastodon

Behind the notification service of “Have I been pwned?”

These real world experiences with Azure are now available in the Pluralsight course "Modernizing Your Websites with Azure Platform as a Service" [http://www.pluralsight.com/courses/modernizing-websites-microsoft-azure]A few weeks ago now I launched the notification service for Have I been pwned? [https://www.troyhunt.com/2013/12/have-you-been-pwned-now-you-can-be.html] (HIBP). The premise of the service is that whilst it’s great to be able to go to the HIBP website [https://haveibeenpwned.com/]...

To what extent is an organisation liable when they get security wrong?

I was amused (and frankly a little bewildered) the other day to see this bloke in the paper [http://www.couriermail.com.au/news/queensland/brisbane-motorist-fined-for-leaving-car-window-slightly-down-on-hot-day/story-fnihsrf2-1226793936291] : What he’s holding there is a fine… for leaving his car windows down a little. You see, the police down here took a view that in doing so he was inviting criminals to break into his car by very clearly leaving his security in a compromised state. This, in...

Revealing the security secrets within ASP.NET with Pluralsight

Did you know that every time you submit a Web Forms page it sends a hash-based message authentication code with it so that the website can ensure the View State hasn’t been tampered with? Or that every time you use the MVC Razor syntax to emit anything to the page it HTML encodes it? Unless, of course, you’re using the Html.Raw helper – oh and that none of that does you any good in the JavaScript and CSS contexts or the HTML attribute context? Were you aware that ASP.NET limits the size of the...

Scammer identifies “viruses” in a brand new Windows Azure VM then asks to be bought porn

I thought I’d seen it all when it comes to cold call virus scammers, you know, the guys who call you up from “Windows” because they’ve had reports of viruses from your machine? I’ve recorded their audio [https://www.troyhunt.com/2011/10/anatomy-of-virus-call-centre-scam.html], recorded their video [https://www.troyhunt.com/2012/02/scamming-scammers-catching-virus-call.html], antagonised them [https://www.troyhunt.com/2012/04/type-www-ok-w-w-w-d-o-t-antagonising.html], interviewed one of the blo...

Searching the Snapchat data breach with “Have I been pwned?”

Well we almost made it through the first day of the new year without a major data breach; it got to about mid-afternoon my time then wammo! The 2014 breach count was off and racing. If I’m honest, I actually spent some procrastinating over whether this could really be considered a breach and indeed if the data was even of any functional value to an attacker. I came to the conclusion that it is and, well, it is. Let me explain the thinking and why I’ve made it searchable via Have I been pwned? [...

Why do I keep seeing requests for “gen204” in my web logs? Because of foreigners!

I noticed an odd trend when reviewing the ELMAH [https://code.google.com/p/elmah/] logs in Have I been pwned? [https://www.haveibeenpwned.com/] recently. I was seeing a lot of 404 “Page not found” errors for paths like this: /gen204?client=te-lib-alt&trans=confSum=982,numLowConf=0,numPhrases=1,cB15=1,cB19=1 /gen204?client=te-lib-alt&trans=confSum=4726,numLowConf=0,numPhrases=5,cB15=1,cB19=4 /gen204?client=te-lib-alt&trans=confSum=2000,numLowConf=0,numPhrases=2,cB20=2 Uh, ok, this doesn’t look...

Have you been pwned? Now you can be automatically told when you are!

Just under three weeks ago now, I launched Have I been pwned? [https://www.troyhunt.com/2013/12/introducing-have-i-been-pwned.html] which could tell you if you owned one of 154 million email addresses that had been caught up in recent data breaches. Subsequently, the site turned out to be wildly popular [https://www.troyhunt.com/2013/12/introducing-have-i-been-pwned.html] and as with such things, a lot of good ideas came up in terms of features people would like to see. Without doubt, the numbe...

Micro optimising web content for unexpected, wild success

These real world experiences with Azure are now available in the Pluralsight course "Modernizing Your Websites with Azure Platform as a Service" [http://www.pluralsight.com/courses/modernizing-websites-microsoft-azure]I had a little problem last week. I built a very small website [http://haveibeenpwned.com] – really just a one pager with a single API – whacked it up on an Azure website and then promptly had a quarter of a million people visit it in three days. Uh, bugger? Ok, what’s behind the...

Too big for Google – when Analytics fails you

This is one of those “I’m writing this because it will be useful for someone else when they really need it” posts. The other day, Google Analytics stopped logging traffic to “Have I been pwned?”: The thing had launched with a bang and everything was awesome then… nothing. Heaps of data for Dec 5 (the first full launch day) through 7 then absolutely nothing for the 8th and the day I took the image on the 9th. Odd thing was, I’d just seen the stats during the day on the 8th and when looking at...

Have I been pwned? You can now ask the API!

I got a lot of requests after launching HIBP for an API and I saw some great ideas come up in terms of how it might be used for very constructive purposes. Truth be told, there was an API from day one insofar as this was precisely what the web UI was hitting every time you searched for an email address anyway, I just hadn’t published any docs on it or promoted its existence. That said, I did give it a bit of tweaking to make it more “RESTful” (this, apparently, is what all APIs must be these da...