The editor of an ecclesiastical newspaper was up past midnight in Israel a few months ago, trying to post an Editor's Journal blog.
Here in Raleigh I watched through an encrypted shell connection as his blog server smoothly delivered services to users somewhere, while on the same machine a Firefox browser misinformed me that the site was down. On a second machine, my Wireshark network analyzer argued that the "site-down" messages were coming from what presented itself as one of a major ISP's Domain Name System servers -- not from the Southern Connections blog server.
Domain Name System (DNS) servers translate human-friendly names like southernconnections.com, which we can remember and use, into numerical Internet addresses like 207.243.70.226, which are required by the machines which drive Internet services.
Hoping to duck around what to my eye was a species DNS blockage, I fed Firefox a carefully crafted mixture of numerical internet address and text, only to be dumped onto a page of ads. Whereupon I turned to the Wireshark machine and we dug out the owner of the ad page's domain name -- a British company called Barefruit.
That's when I began growling at myself about ISP techs who misconfigure DNS manipulation software.
EarthLink, for example, has used Barefruit since August of 2006 to return Web pages full of search terms and advertising when a DNS server can't the Web page a Web surfer asked for. Usually because a case of fumble fingers on the keyboard misspelled something. That practice has a lot of ugly names, like typosquatting.
This process of creating on the fly a subdomain of an Internet domain someone else owns, and displaying ads there, is said to make Earthlink, Quest and other ISPs a lot of money. Whether that's something they should be doing is a legal and political issue. I think not, and will explore why another time.
There is also an abundance of associated legal issues which are out of my realm, but my encounters with the live process in the wild have taught me that it's not a tame technology, and can be quite aggressive. Without pointing at any particular vendor, more aggressive than it is probably intended to be.
This time, the editor was losing sleep in Israel, trying to post a blog to the Editor's Journal, and I wanted to find some configuration of my own which had provoked the beast. One I could change and send the beasat away. Being at fault myself was fine, as long as I could solve the problem.
I knew there was nothing amiss in my DNS tables (though I reviewed and tested them again to be sure). Every DNS table I set up has the protective "wildcard" entry which purveyors of this service say offers immunity.
Of course I explored use of a variety of DNS servers, finding none that were both guaranteed to quiet the issue and likely to be of use in Israel.
So I scoured the blog configuration and source code for anything that could emit the illusion of a DNS error or like provocation, and changed nothing which talked to the network. Nor did I change anything else about the messages Southern Connections' servers were emitting.
Yet the problem went away, albeit too late to make the editor's time in Israel more pleasant. It left like some nocturnal predator, padding off for inscrutable reasons to another hunting ground.
I hadn't caused or fixed it. Until Saturday when learned from Wired's Threat Level blog of Seattle network security analyst Dan Kaminsky's recent work, I wasn't sure understood it correctly.
Kaminsky showed that dozens of ISP's like and including Earthlink are using Barefruit or other, similar technologies to mount advertising on what are by some standard "unused" subdomains of live, legitimate Web presences, that security-threatening javascript was involved and other issues are in play.
Let me illustrate. For these purposes, journal.example.com is a subdomain of example.com. The "journal" subdomain is "unused" if it isn't properly recorded in the DNS tables of example.com's owners. As a result, when a DNS server is asked about journal.example.com, unless that wildcard entry I mentioned earlier is present , the DNS server answers "NXDOMAIN."
That means "no such domain" and according to those involved, that "NXDOMAIN" message is the trigger which deploys ad-rich subdomain pages to some unfortunate Web user.
Unless the editor is in Israel losing sleep, trying to post a blog entry his Web strategy requires him to publish. Then in keeping with Murphy's Law, a well-known subdomain can be interfered with in various and perhaps technologically subtle ways which amount to denial of service.
When it goes awry like that, it is expensive for companies like mine. It means sleepless nights for those of us who put our clients first, and for our clients. It is disruptive for consumers of Internet services in ways network neutrality would prevent . And in this case, as Kaminsky explained and demonstrated, the hijacking also deployed pages which were flawed in ways that endangered those who received them.
Kaminsky, who is well-known for his part in the Sony rootkit incident, was I think right to suggest that even viewed solely from a security standpoint, the process makes securing client domains problematic. It thereby threatens us all. One domain and a time.
Posted by gwfrink3
@ 07:23 PM EDT
Stumble It!
[
Comments [1]
]