<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5619903772322133597</id><updated>2011-04-21T22:10:03.772+02:00</updated><category term='SPF'/><category term='fpdns'/><category term='DNSSEC'/><category term='why writing a blog'/><category term='begin'/><category term='DNS'/><category term='survey'/><category term='general'/><category term='open resolver'/><category term='editorial'/><title type='text'>Thoughts of a g(r)εεk</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kryparos.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5619903772322133597/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://kryparos.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Giorgos</name><uri>http://www.blogger.com/profile/03928279546020436404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://creep09.googlepages.com/me1.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5619903772322133597.post-6172078727863109588</id><published>2008-01-17T21:14:00.000+01:00</published><updated>2008-01-18T00:44:45.062+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open resolver'/><category scheme='http://www.blogger.com/atom/ns#' term='DNSSEC'/><category scheme='http://www.blogger.com/atom/ns#' term='DNS'/><category scheme='http://www.blogger.com/atom/ns#' term='fpdns'/><category scheme='http://www.blogger.com/atom/ns#' term='SPF'/><category scheme='http://www.blogger.com/atom/ns#' term='survey'/><title type='text'>Security awareness rising? A DNS case study.</title><content type='html'>A couple of weeks ago I came across a &lt;a href="http://dns.measurement-factory.com/surveys/200710.html"&gt;survey&lt;/a&gt; which reveals some very interesting facts about the installed DNS servers around the world.&lt;br /&gt;&lt;br /&gt;The survey was performed to &lt;span&gt;almost &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;90 million IP addresses &lt;/span&gt;(out of the &lt;span style="font-weight: bold;"&gt;1.8 billion registered &lt;/span&gt;ones) in order to see what portion of them are DNS servers and investigate the characteristics of the found DNS server machines (what software is installed on them and how is it configured). 0.67% of the queries sent, received DNS specific replies which leads to the conclusion that there are around &lt;span style="font-weight: bold;"&gt;11 million DNS servers &lt;/span&gt;on the world. So what do they "wear"? In order to find that, the researchers relied on &lt;a href="http://www.rfc.se/fpdns/"&gt;fpdns&lt;/a&gt;, a proof of concept software which can fingerprint over 50 different types of DNS software.&lt;br /&gt;&lt;br /&gt;An impressive 70% of them uses the &lt;a href="http://www.isc.org/index.pl?/sw/bind/index.php"&gt;BIND&lt;/a&gt; open source server. 65% in total concerns BIND version 9, which is a significant improvement in terms of security comparing to its predecessors. That can definitely be seen as a step forward (taking into consideration the numerous security vulnerabilities that version 8 or earlier had in the past). Moreover, one of the impressive facts is that Microsoft DNS servers (both versions 2000 and 2003) hold only a bit more than 2.5% of the "market". That is indeed significantly low! Even though the software has not shown major security flaws in the past, it is still not trusted by companies and organizations who wish to implement the specific service. Can this be explained by having in mind the long standing bad reputation of Microsoft's products in terms of security?!&lt;br /&gt;&lt;br /&gt;Good news up to the point. So, where is the catch?!&lt;br /&gt;&lt;br /&gt;For a start, &lt;span style="font-weight: bold;"&gt;16 million machines &lt;/span&gt;were found to be acting as &lt;span style="font-weight: bold;"&gt;open resolvers &lt;/span&gt;(more than DNS servers in total ?!?!?!?!). The explanation given for this strange number was that some times you may not even get a reply from an existing name server (making it "invisible" and thus not counting in the first figure of the 11 million DNS servers), but it can still forward the DNS request (which means that there is some sort of mechanism/software handling that request)! But why are open resolvers a problem?&lt;br /&gt;&lt;br /&gt;According to a &lt;a href="http://condor.depaul.edu/%7Ejkristof/slides/msw2-dnsprobing.pdf"&gt;presentation&lt;/a&gt; by John Kristoff, the security implications of the use of an open resolver can be:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Reflection attacks through spoofing&lt;/li&gt;&lt;li&gt;Small queries can solicit large answers for amplication attack&lt;/li&gt;&lt;li&gt;Cache enumeration and spying enabled&lt;/li&gt;&lt;li&gt;Remote cache poisoning difficulty is reduced&lt;/li&gt;&lt;li&gt;Resolver and network resource theft&lt;/li&gt;&lt;/ul&gt;Another interesting approach is given in this &lt;a href="http://www.techiwarehouse.com/cms/engine.php?page_id=163e0b14"&gt;article&lt;/a&gt;: &lt;blockquote&gt;"&lt;span style="font-style: italic;"&gt;... Web sites that you never tried to reach could send a message looking like a response and it would be stored in the cache. This is a security hole that might allow unauthorized DNS servers to send invalid information for the purpose of misdirecting subsequent DNS queries.&lt;/span&gt;"&lt;/blockquote&gt;&lt;br /&gt;OK, open resolvers are bad. But there is more out there. And a good solution to some of the security problems of DNS is &lt;a href="http://www.dnssec.net/"&gt;DNSSEC&lt;/a&gt;. As mentioned in its web site:&lt;br /&gt;&lt;blockquote&gt;"... &lt;span style="font-style: italic;"&gt;DNSSEC was designed to protect the Internet from certain attacks, such as DNS cache poisoning. It is a set of extensions to DNS, which     provide: a) origin authentication of DNS data, b) data integrity, and c)     authenticated denial of existence.&lt;/span&gt;" &lt;/blockquote&gt;But how many use these features? As it seems only 0.0018% of the DNS Servers!!!! That is more than disappointing. How hard can it be to install and configure it? Well, according to my personal experience not so much. If university students can complete an assignment with that topic in a limited time frame during a course of a &lt;a href="http://www.dsv.su.se/en/masters/icss/"&gt;Master's program&lt;/a&gt; in &lt;a href="http://www.kth.se/"&gt;KTH&lt;/a&gt;, then I guess a more experienced Unix admin can do it equally fast (and probably/hopefully better).&lt;br /&gt;&lt;br /&gt;Another security issue which is closely related to the DNS protocol is the ever growing problem of spam. &lt;a href="http://en.wikipedia.org/wiki/Sender_Policy_Framework"&gt;SPF&lt;/a&gt; is a good (but not sufficient on its own) solution for dealing with the problem. In a few words, that SPF does, is checking the &lt;span&gt;"&lt;/span&gt;&lt;span style="font-style: italic;"&gt;From&lt;/span&gt;&lt;span&gt;"&lt;/span&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;field of an e-mail and if the e-mail comes from a forged DNS record, then it rejects it (through a TXT record format entry in the configuration file of the server). Fast and easy, right? Well, how many DNS servers implement it? Only 16% of them. Things get even worse if we consider those servers which implement the new type of SPF records (an RR record in the configuration file); 0.0022%!!!&lt;br /&gt;&lt;br /&gt;Having said all that, we must ask ourselves. Updating the software (BIND 9 over earlier versions) and choosing more secure products (open source software vs proprietary debate), can lead to improvement. But should we rely on that? There are more ways that security can be improved by taking simple (sometimes not even technologically advanced) measures. So, why don't we? Are we security aware enough after all? More than 99% of the DNS servers out there "shout" in despair.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5619903772322133597-6172078727863109588?l=kryparos.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kryparos.blogspot.com/feeds/6172078727863109588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5619903772322133597&amp;postID=6172078727863109588' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5619903772322133597/posts/default/6172078727863109588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5619903772322133597/posts/default/6172078727863109588'/><link rel='alternate' type='text/html' href='http://kryparos.blogspot.com/2008/01/security-awareness-rising-dns-case.html' title='Security awareness rising? A DNS case study.'/><author><name>Giorgos</name><uri>http://www.blogger.com/profile/03928279546020436404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://creep09.googlepages.com/me1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5619903772322133597.post-6196913187212708327</id><published>2007-11-11T18:25:00.000+01:00</published><updated>2007-11-11T19:05:16.284+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='begin'/><category scheme='http://www.blogger.com/atom/ns#' term='editorial'/><category scheme='http://www.blogger.com/atom/ns#' term='general'/><category scheme='http://www.blogger.com/atom/ns#' term='why writing a blog'/><title type='text'>Editorial</title><content type='html'>&lt;span style="font-size:85%;"&gt;I've been fighting the idea of blogs for many years now (as well as many of the other features of the Web2.0 universe). Well, you can say that I am the type of person that wants to keep things simple. Normal static web pages, no flashy stuff and a console with Vim editing your code is all that you should need to let people know about your electronic existence.&lt;br /&gt;&lt;br /&gt;What I realized though is that you cannot be an evangelist of something, if you haven't seen the alternative. Just like you cannot blame Linux if you haven't actually used it, I assume that's how it should be with blogging. "&lt;span style="font-style: italic;"&gt;Try it out by yourself and if it doesn't work for you or if it simply sucks (as you think even now), then just drop it and go do something else. But first give it a try&lt;/span&gt;", I kept saying to myself for some months now.&lt;br /&gt;&lt;br /&gt;So, here I am writing my first post!&lt;br /&gt;&lt;br /&gt;My intention is not to create a diary. I hate it when people write about the time they took their dog for a walk and it was then that they saw this cool new advertisement of condoms on the road! I don't intend to put out my everyday thoughts and activities. I don't want to write about religion, politics or women (even though all three topics can be extremely interesting to talk for hours about). At least that's my initial intention. We'll see how that will work.&lt;br /&gt;&lt;br /&gt;I will try to focus on geeky stuff. Stuff about computers (these tricky machines of the devil) or technology in general. Stuff that I come upon every once and a while and I would not like to forget (for those of you who don't know me, my memory is something more than just ridiculously lousy). Stuff that intrigue me into searching more about them and at the same time let others know. But mostly, things that concern a certain part of IT that I particularly enjoy working and talking about ... IT Security.&lt;br /&gt;&lt;br /&gt;So, let the game begin ...&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5619903772322133597-6196913187212708327?l=kryparos.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kryparos.blogspot.com/feeds/6196913187212708327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5619903772322133597&amp;postID=6196913187212708327' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5619903772322133597/posts/default/6196913187212708327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5619903772322133597/posts/default/6196913187212708327'/><link rel='alternate' type='text/html' href='http://kryparos.blogspot.com/2007/11/editorial.html' title='Editorial'/><author><name>Giorgos</name><uri>http://www.blogger.com/profile/03928279546020436404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://creep09.googlepages.com/me1.jpg'/></author><thr:total>1</thr:total></entry></feed>
