<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>DNS Spoofing/Pinning</title>
        <description>Hello

I read the article written by Martin Johns.
http://shampoo.antville.org/stories/1451301/

It was very interesting for me, and I made an online demonstration.
http://www.jumperz.net/index.php?i=2&amp;a=1&amp;b=7

Changing DNS record ( IP address of the attackers host ) to a private address, and
stealing information from Intranets. Please try this.
( Please don't send sensitive informations :)


By the way, DNS issue is very compricated.
If the web browser caches DNS record forever, there will be a problem about dynamic DNS.
( a scenario written at https://bugzilla.mozilla.org/show_bug.cgi?id=162871#c10 )

And if the web browser updates DNS record, attack like Martin's article( and my demonstration ) will become possible.


What do you think?


IMHO, it is a vulnerability of DNS protocol itself, not of web browsers.

Thanks.</description>
        <link>http://sla.ckers.org/forum/read.php?6,4511,4511#msg-4511</link>
        <lastBuildDate>Tue, 18 Jun 2013 20:16:14 -0500</lastBuildDate>
        <generator>Phorum 5.2.15a</generator>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,14526#msg-14526</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,14526#msg-14526</link>
            <description><![CDATA[I read the paper carefully and found that they( Stanford guys ) point that &quot;Multi-Pin Vulnerability&quot; is used( or needed ) to control the browser as a proxy.<br />
<br />
But I don't think so. The malicious code on the browser can communicate with the attackers another host using cross domain access technique like JSONP, FLASH with valid crossdomain.xml ( or policy-server ).<br />
<br />
So we don't need Multi-Pin. Single-pin ( to the target host ) is enough.]]></description>
            <dc:creator>Kanatoko</dc:creator>
            <category>Networking</category>
            <pubDate>Fri, 10 Aug 2007 09:43:10 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,14500#msg-14500</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,14500#msg-14500</link>
            <description><![CDATA[mal<br />
<br />
&gt;That paper has been posted here by christ1an some days ago<br />
<br />
I didn't know that. thanks.<br />
In that paper, my web site is called as &quot;black-hat community&quot;. lol<br />
<br />
&gt;FYI, I'm currently implementing its &quot;same subnet&quot; anti-rebinding<br />
&gt; policy (both in IPV4 and IPV6) as a new NoScript feature that I call &quot;DNS Nailing&quot;.<br />
<br />
Wow, you are Mr.NoScript! Great.<br />
I have used NoScript for months and it really works well. Thanks.<br />
I'll buy you a drink when you come to Tokyo :)]]></description>
            <dc:creator>Kanatoko</dc:creator>
            <category>Networking</category>
            <pubDate>Thu, 09 Aug 2007 10:31:10 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,14490#msg-14490</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,14490#msg-14490</link>
            <description><![CDATA[That paper has been posted here by christ1an some days ago, and it's very interesting indeed.<br />
<br />
FYI, I'm currently implementing its &quot;same subnet&quot; anti-rebinding policy (both in IPV4 and IPV6) as a new <b>NoScript</b> feature that I call &quot;<b>DNS Nailing</b>&quot;.]]></description>
            <dc:creator>ma1</dc:creator>
            <category>Networking</category>
            <pubDate>Thu, 09 Aug 2007 06:28:58 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,14489#msg-14489</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,14489#msg-14489</link>
            <description><![CDATA[It seems that this kind of attack is now called as &quot;DNS Rebinding&quot;.<br />
I like this term because it represents the issue correctly.<br />
<br />
And, just FYI<br />
&quot;Protecting Browsers from DNS Rebinding Attacks&quot; by Stanford University<br />
http://crypto.stanford.edu/dns/]]></description>
            <dc:creator>Kanatoko</dc:creator>
            <category>Networking</category>
            <pubDate>Thu, 09 Aug 2007 05:32:35 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,13978#msg-13978</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,13978#msg-13978</link>
            <description><![CDATA[This thread isn't getting any younger, but...<br />
<br />
Following the news the other day that IE doesn't actively implement DNS-Pinning; it seems Firefox (2.0.0.4) DNS pinning is either non-existent or somewhat strange too.<br />
<br />
Take a look and let me know what you think http://getahead.org/blog/mark .<br />
<br />
Goodwinster]]></description>
            <dc:creator>goodwinster</dc:creator>
            <category>Networking</category>
            <pubDate>Thu, 19 Jul 2007 14:24:32 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,13265#msg-13265</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,13265#msg-13265</link>
            <description><![CDATA[I know this thread is a bit old meanwhile but for those who want to catch up on DNS Pinning, this writeup may help:<br />
http://christ1an.blogspot.com/2007/07/dns-pinning-explained.html]]></description>
            <dc:creator>christ1an</dc:creator>
            <category>Networking</category>
            <pubDate>Tue, 03 Jul 2007 05:44:01 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,11355#msg-11355</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,11355#msg-11355</link>
            <description><![CDATA[Yah, although this was 11 years ago, and resembles Anti-DNS Pinning in a lot of ways, it is slightly different.  I think your work is different in a number of ways.]]></description>
            <dc:creator>rsnake</dc:creator>
            <category>Networking</category>
            <pubDate>Tue, 08 May 2007 20:19:40 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,10776#msg-10776</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,10776#msg-10776</link>
            <description><![CDATA[I am little bit confusing about keywords...<br />
I hope this is right :)<br />
<br />
&quot;DNS Spoofing&quot;<br />
-----<br />
An attack technique that break the same origin policy based on the hostname, by changing the DNS<br />
-----<br />
<br />
&quot;DNS Pinning&quot;<br />
-----<br />
Can be called as &quot;Anti-DNS Spoofing&quot;.<br />
Pins the DNS cache.<br />
Implemented by Browsers and Java Applet<br />
-----<br />
<br />
&quot;Anti-DNS Pinning&quot;<br />
-----<br />
Breaking the DNS Pinning by making the browser fail the connecting attempt.<br />
(Please read the Martin's article for more detail )<br />
-----<br />
<br />
<br />
<br />
And, FLASH is simpley vulnerable to The DNS Spoofing :)]]></description>
            <dc:creator>Kanatoko</dc:creator>
            <category>Networking</category>
            <pubDate>Tue, 24 Apr 2007 15:01:42 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,10770#msg-10770</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,10770#msg-10770</link>
            <description><![CDATA[I found this article today.<br />
http://www.cs.princeton.edu/sip/news/sun-02-22-96.html<br />
<br />
11 years ago! :p]]></description>
            <dc:creator>Kanatoko</dc:creator>
            <category>Networking</category>
            <pubDate>Tue, 24 Apr 2007 13:36:47 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,9587#msg-9587</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,9587#msg-9587</link>
            <description><![CDATA[Damn, i am late on this again. But the demo is so cool. I am impressed i must say. I am going to blog about this.]]></description>
            <dc:creator>hackathology</dc:creator>
            <category>Networking</category>
            <pubDate>Fri, 06 Apr 2007 09:15:00 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,6488#msg-6488</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,6488#msg-6488</link>
            <description><![CDATA[Martin has discovered a new attack vector using LiveConnect( Java and JavaScript interface ) and I published a demo.<br />
<br />
Martin's blog:http://shampoo.antville.org/stories/1566124/<br />
Demo:http://www.jumperz.net/index.php?i=2&amp;a=1&amp;b=9]]></description>
            <dc:creator>Kanatoko</dc:creator>
            <category>Networking</category>
            <pubDate>Mon, 05 Feb 2007 14:57:52 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,6486#msg-6486</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,6486#msg-6486</link>
            <description><![CDATA[RSnake<br />
&gt;Can you supply us with the source to the Flash Actionscript?<br />
<br />
Do you mean the source code of the FLASH file?<br />
If so, it has been here. http://www.jumperz.net/exploits/aflash.mxml.txt<br />
I have updated my demo and now it is faster than the old version as you say in your blog, but the FLASH file is not changed.<br />
I just remove the JavaScript part.<br />
<br />
WhiteAcid<br />
Thanks to your information about Ubuntu!]]></description>
            <dc:creator>Kanatoko</dc:creator>
            <category>Networking</category>
            <pubDate>Mon, 05 Feb 2007 14:53:27 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,6429#msg-6429</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,6429#msg-6429</link>
            <description><![CDATA[Wow. How did I miss this thread?<br />
I can confirm that it works with Flash 9 on Ubuntu too.]]></description>
            <dc:creator>WhiteAcid</dc:creator>
            <category>Networking</category>
            <pubDate>Sun, 04 Feb 2007 21:13:56 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,6427#msg-6427</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,6427#msg-6427</link>
            <description><![CDATA[This is great work!  Can you supply us with the source to the Flash Actionscript?  I'd love to see it.]]></description>
            <dc:creator>rsnake</dc:creator>
            <category>Networking</category>
            <pubDate>Sun, 04 Feb 2007 20:58:56 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,6253#msg-6253</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,6253#msg-6253</link>
            <description><![CDATA[There is a new discovery about FLASH and DNS.<br />
<br />
*FLASH does not pin DNS* :)<br />
<br />
I thought that FLASH will pin the DNS cache so we need to use the<br />
&quot;classical&quot; way ( shutting down the web server, using the closed port, using the firewall etc) same as JavaScript.<br />
<br />
But FLASH does the name resolution by itself, not depend on the web<br />
browsers ( maybe but depend on the OS ).<br />
I mean, there is no relationship between FLASH and the web browsers on<br />
the DNS cache and the name resolution.<br />
The web browsers( IE, Firefox and Opera ) pin the DNS cache.<br />
FLASH does not pins the DNS cache on the other hand.<br />
<br />
FLASH discards the old DNS cache after the TTL has passed.<br />
We don't need to use any techniques to make FLASH refresh the DNS cache.<br />
We just need to wait.<br />
<br />
So attacking FLASH is very easy.<br />
<br />
I noticed this thing and updated my demohttp://www.jumperz.net/index.php?i=2&amp;a=1&amp;b=8.<br />
The source code of the demo becomes very simple now ( because there is no<br />
need to use the closed port ).<br />
<br />
It may be inappropriate that I named this article as &quot;Anti-DNS Pinning + Socket in FLASH&quot; because there is no DNS Pinning ... :p<br />
<br />
How should we name this attack vector( breaking the same origin policy based on the hostname, by changing the DNS )?]]></description>
            <dc:creator>Kanatoko</dc:creator>
            <category>Networking</category>
            <pubDate>Thu, 01 Feb 2007 12:54:57 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,5361#msg-5361</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,5361#msg-5361</link>
            <description><![CDATA[bubenrazuma, it's not particularly good at CSRF, because cookies are not sent with the connection (since you are connecting to the IP address, and not the server name).  That's not such a big deal if you are just talking about intranet scanning where you want to see if a host is there or not and potentially see what sort of webserver it is running or if it has no virtual hosts running.  But yes, there are other potential uses, like this example:  http://ha.ckers.org/blog/20070105/lessons-learned-from-adobe-pdf-xss-patching/#comment-13035]]></description>
            <dc:creator>rsnake</dc:creator>
            <category>Networking</category>
            <pubDate>Tue, 16 Jan 2007 17:57:24 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,5337#msg-5337</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,5337#msg-5337</link>
            <description><![CDATA[And, what about the following approach to the protection:<br />
<br />
Application, when it is requested, checks for special cookie. If the cookie is absent, it is set with the explicit domain parameter and the browser is redirected to the app. again with additional parameter which is a hash of that cookie. If the cookie was not set successfully or is wrong, then DNS was spoofed.]]></description>
            <dc:creator>bubenrazuma</dc:creator>
            <category>Networking</category>
            <pubDate>Tue, 16 Jan 2007 03:59:17 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,5336#msg-5336</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,5336#msg-5336</link>
            <description><![CDATA[Hi all! I maybe miss the point, but why is this issue always discussed in the context of the intranet sites? Shouldn't it work for CSRF-ing any site in the Internet?]]></description>
            <dc:creator>bubenrazuma</dc:creator>
            <category>Networking</category>
            <pubDate>Tue, 16 Jan 2007 03:39:28 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,5169#msg-5169</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,5169#msg-5169</link>
            <description><![CDATA[Sure<br />
<br />
http://www.jumperz.net/exploits/aflash.mxml.txt<b> </b>http://www.jumperz.net/exploits/aflash.mxml.txt]]></description>
            <dc:creator>Kanatoko</dc:creator>
            <category>Networking</category>
            <pubDate>Fri, 12 Jan 2007 14:15:58 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,5166#msg-5166</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,5166#msg-5166</link>
            <description><![CDATA[Can you show us the socket code you used, Kanatoko?]]></description>
            <dc:creator>rsnake</dc:creator>
            <category>Networking</category>
            <pubDate>Fri, 12 Jan 2007 13:48:03 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,5091#msg-5091</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,5091#msg-5091</link>
            <description><![CDATA[I wrote a new article.<br />
http://www.jumperz.net/index.php?i=2&amp;a=3&amp;b=3<br />
This is about Anti-DNS Pinning + Socket in FLASH.<br />
<br />
Please enjoy :)]]></description>
            <dc:creator>Kanatoko</dc:creator>
            <category>Networking</category>
            <pubDate>Thu, 11 Jan 2007 14:42:01 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,5068#msg-5068</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,5068#msg-5068</link>
            <description><![CDATA[I had some more tests on IE, Firefox and Opera.<br />
<br />
To make the browser refresh the DNS record, we need to...<br />
<br />
--<br />
Step1: wait to the DNS record ( already in the browser cache ) to expire.<br />
Step2: make the browser access to a closed port.<br />
--<br />
<br />
::About Step1::<br />
On IE and Opera, the time needed is same as the TTL value of the DNS record.<br />
So this value can be very short.<br />
I use 8 seconds in my demo.<br />
<br />
On Firefox, the time needed is about 120 seconds at short.<br />
This value ( 120 ) is regardless of the TTL value in the DNS record.<br />
So we need to wait relatively long, to attack Firefox.<br />
<br />
<br />
::About Step2::<br />
There is no need to repeat this step multiple times.<br />
Once is enough, on all browsers.<br />
(kuza55 was right)]]></description>
            <dc:creator>Kanatoko</dc:creator>
            <category>Networking</category>
            <pubDate>Wed, 10 Jan 2007 23:25:44 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,4581#msg-4581</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,4581#msg-4581</link>
            <description><![CDATA[kuza55<br />
<br />
You are right. I have tested with connectiong to port 81 only one time, and the demo works. Thanks. I'll have more tests.<br />
<br />
<br />
jungsonn<br />
<br />
Sorry, I meant 'JavaScript' not 'JSP(Java)'.]]></description>
            <dc:creator>Kanatoko</dc:creator>
            <category>Networking</category>
            <pubDate>Fri, 29 Dec 2006 12:34:07 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,4570#msg-4570</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,4570#msg-4570</link>
            <description><![CDATA[If you're tunneling you don't have to build that into your browser, you just need to build a tool to communicate over the tunnel at the same time.  Of course you'd have to remember to turn it on, but it would probably be easier to write.]]></description>
            <dc:creator>rsnake</dc:creator>
            <category>Networking</category>
            <pubDate>Fri, 29 Dec 2006 10:17:30 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,4563#msg-4563</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,4563#msg-4563</link>
            <description><![CDATA[I've read it more closely now, I understand it a little better and think it's really a mutual flaw. It's not actually a DNS flaw only. In the first example it requires the browser simply to cache and re-initiates a new DNS session, I've always saw the danger of caching things, cached sessions, cached history, cached scripts, cached ftp sessions etc. So it really only can be solved by the firewall. It seems a sort of firewall hole punching like i talked before. Is this the case?<br />
<br />
At the moment i'm hacking a fresh copy of FireFox 2 to roll my own browser with a lot of modifications, and there is alot to be done: remove caching, no history, no password saver, strip the anti phishing filter, all phone home objects to mozilla, google, standard no-script &amp; tor build in, stripping toolbars and more features. And i also plan to build a signal to noise function in it, which runs a low process in the background imitating a causual surfer while i'm browsing myself or when i'm idle. (this to prevent traffic analysis), which is the next big thing when everything is encrypted, It's very hard to protect your self from traffic analysis. Packets can be tunneled/encrypted, but remains vulnerable to traffic analysis. If packet A is this size encrypted, it should be this size unencrypted. If packet B is this size as a request, and the response packet C is this size from a website. I can calculate what the site is you are visiting, dispite tunneling. which can be analysed by looking at the packetsizes. So signal to noise could solve that.<br />
<br />
btw kanatoko: where do you have the source? I can't find it on your site.]]></description>
            <dc:creator>jungsonn</dc:creator>
            <category>Networking</category>
            <pubDate>Fri, 29 Dec 2006 05:30:56 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,4557#msg-4557</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,4557#msg-4557</link>
            <description><![CDATA[Makes sense.  These are always good tactics to have in your back pocket.]]></description>
            <dc:creator>rsnake</dc:creator>
            <category>Networking</category>
            <pubDate>Thu, 28 Dec 2006 22:32:28 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,4549#msg-4549</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,4549#msg-4549</link>
            <description><![CDATA[rsnake Wrote:<br />
-------------------------------------------------------<br />
&gt; That's really interesting, Kuza55, thanks for<br />
&gt; sending the link...  But if you had a PHP include<br />
&gt; vuln on that site, I'd be way more worried about<br />
&gt; other things like using it as a shell or as a<br />
&gt; robot or whatever...<br />
<br />
<br />
Oh of course, and if you had a php include vuln ina  a site you would be able to do whatever you wanted, this is more for attacking sites on shared hosting. Either because you can get an account on the machine, or you found an include vuln in a site on the smae box.]]></description>
            <dc:creator>kuza55</dc:creator>
            <category>Networking</category>
            <pubDate>Thu, 28 Dec 2006 18:22:20 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,4545#msg-4545</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,4545#msg-4545</link>
            <description><![CDATA[That's really interesting, Kuza55, thanks for sending the link...  But if you had a PHP include vuln on that site, I'd be way more worried about other things like using it as a shell or as a robot or whatever...]]></description>
            <dc:creator>rsnake</dc:creator>
            <category>Networking</category>
            <pubDate>Thu, 28 Dec 2006 17:51:56 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,4541#msg-4541</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,4541#msg-4541</link>
            <description><![CDATA[Thats awesome Kanatako, I never even considered trying to get it to connect to closed prots! But is there a reason you try to connect to port 81 multiple times? Because from what I've heard it should be enough to do it once, no? I'm just wondering if its possible to speed this up a bit.<br />
<br />
rsnake Wrote:<br />
-------------------------------------------------------<br />
&gt; Cross domain policies doesn't apply to<br />
&gt; ports.  Poof.  Great find!<br />
<br />
Speaking of cross domain policies not applying to ports, you've probably already seen this, but just in case you haven't, this is another ineteresting way of exploiting the fact that cross domain policies disregard ports: http://blog.php-security.org/archives/62-Cross-Virtual-Host-Cookie-Theft.html]]></description>
            <dc:creator>kuza55</dc:creator>
            <category>Networking</category>
            <pubDate>Thu, 28 Dec 2006 17:00:26 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?6,4511,4539#msg-4539</guid>
            <title>Re: DNS Spoofing/Pinning</title>
            <link>http://sla.ckers.org/forum/read.php?6,4511,4539#msg-4539</link>
            <description><![CDATA[jungsonn, kuza55, rsnake, Thank you for your posts.<br />
<br />
Technical details of the demo.<br />
#I'm very sorry for my poor English<br />
( I wrote URLs as 'htp://', not 'http://' to avoid auto link )<br />
<br />
1. The user enters his private IP address ( for example, 192.168.0.1 ) and click 'start'.<br />
<br />
2. The form executed, the browser jumps to htp://www.jumperz.net/exploits/dnsp2.jsp, with a parameter 'address=192.168.0.1'.<br />
<br />
3. An unique string is generated ( actually a time, milliseconds like '1166986089765' ).<br />
   This string will be used as a 'one time subdomain'.<br />
   A DNS record is added to the configuration file of djbdns( http://cr.yp.to/djbdns.html ).<br />
<br />
   In this case, the line added to the configuration file will be '=1166986089765.jumperz.net:218.45.25.195:8'.<br />
   This line means:<br />
     hostname   = 1166986089765.jumperz.net<br />
     ip address = 218.45.25.195<br />
     ttl        = 8 seconds<br />
<br />
4. A system command that makes djbdns reload the configuration file is executed.<br />
<br />
5. The HTTP response is sent to the browser. This response looks like this:<br />
   ---<br />
   HTTP/1.1 302 found<br />
   Location: htp://1166986089765.jumperz.net/exploits/dnsp3.jsp?address=192.168.0.1<br />
<br />
   ---<br />
<br />
6. The browser redirected to 'htp://1166986089765.jumperz.net/exploits/dnsp3.jsp?address=192.168.0.1'.<br />
   At this time, 1166986089765.jumperz.net is binded to 218.45.25.195( attackers web server ), So the browser access to 218.45.25.195.<br />
   <br />
7. dnsp3.jsp changes the DNS record and makes djbdns reload the configuration file.<br />
   In this case, a line in the djbdns configuration file is replaced as:<br />
<br />
   before:<br />
    =1166986089765.jumperz.net:218.45.25.195:8<br />
<br />
   after:<br />
    =1166986089765.jumperz.net:192.168.0.1:600<br />
<br />
   And the page that contains the malicious script is loaded to the browser.<br />
<br />
8. The scripts starts. <br />
<br />
9. After sleeping a few seconds, the script makes the browser to access to 'htp://1166986089765.jumperz.net:81/'.<br />
   At this time the browser try to access to 218.45.25.195.<br />
   Because the port 81 ( of 218.45.25.195 ) is closed, the request fails. <br />
   The script repeats this ( trying access to port 81 ) a few times.<br />
<br />
10. The browser lookups DNS record.<br />
    As described at '7', at this time '1166986089765.jumperz.net' is binded to '192.168.0.1'.<br />
<br />
11. The script makes the browser access to 'htp://1166986089765.jumperz.net/'.<br />
    The HTTP request is actually sent to 192.168.0.1.<br />
    The script can access the content of the HTTP response, because of the 'same origin policy'.<br />
    The data is set to the form element and sent to www.jumperz.net.<br />
<br />
<br />
For more details, please see the sourse code of the dnsp3.jsp.<br />
And if you have questions, please feel free to ask me.<br />
<br />
Thanks]]></description>
            <dc:creator>Kanatoko</dc:creator>
            <category>Networking</category>
            <pubDate>Thu, 28 Dec 2006 14:43:11 -0600</pubDate>
        </item>
    </channel>
</rss>
