Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: NANOG: users

DNS Attacks

 

 

First page Previous page 1 2 Next page Last page  View All NANOG users RSS feed   Index | Next | Previous | View Threaded


ken.gilmour at gmail

Feb 19, 2012, 11:45 PM

Post #26 of 35 (226 views)
Permalink
Re: DNS Attacks [In reply to]

--
Sent from my smart phone. Please excuse my brevity
On Feb 19, 2012 4:10 p.m., "Robert Bonomi" <bonomi [at] mail> wrote:
>
> > From ken.gilmour [at] gmail Sun Feb 19 05:04:39 2012
> > Date: Sun, 19 Feb 2012 11:59:37 +0100
> > Subject: Re: DNS Attacks
> > From: Ken Gilmour <ken.gilmour [at] gmail>
> > To: Robert Bonomi <bonomi [at] mail>
> > Cc: nanog [at] nanog
> >
> > On Feb 18, 2012 10:24 PM, "Robert Bonomi" <bonomi [at] mail>
wrote:
> > >
> > > Even better, nat to a 'bogon' DNS server -- one that -- regardless of
the
> > > query -- returns the address of a dedicated machine on your network
set up
> > > especially for this purpose.
> >
> > What happens when the client sends a POST from a cached page on the end
> > user's machine? E.g. if they post login credentials. Of course, they'll
get
> > the error page, but then you have confidential data in your logs and now
> > you have to protect highly confidential info, at least if you're in
europe.
> >
>
> *WHAT* 'confidential data' in which logs? <grin>
>
> The aforementioned dedicated machine isn't a real web-server, or a real
> 'any other' server -- it is solely a special-purpose application machine,
> When you connect to it on say, port 80, it doesn't log anything from the
> port -- it just logs (1) the timestamp, and (2) the connecting IP address
> (and _nothing_ else); then it copies out a previously prepared static
file,
> and disconnects.
>
> You build a separae app that reads that logfile, matches IP
ddress/timestamp
> to a customer account, and feeds a message into the 'customer records'
system
> that this customer -has- been notified of this problem, and when, in case
> they call for support.
>
> If one is 'really' paranoid, the 'logfile' can be implemented as a 'pipe'
> between the processes, so that the data never hits disk in the first
place. ;)
>
> I've got proof-of-concept code for a single program that handles HTTP
(port
> 80), SMTP (port 25 and port 587), POP3 (port 110), IMAP2 & 4 (port 143),
IMAP3
> (port 220), TELNET (port 23), FTP (port 21), and NNTP (port 119), so far.
> I'm planing to add IRC, and various SSL-based protocols as well.
>

So you're suggesting that the client sends a DNS request to one of the sink
holes, which is intercepted by an appliance via some sort of NAT and then
dropped? That's also illegal in Europe. You are denying users the right to
information.

Using a redirect to some sort of Web server (a weird sort of DNS poisoning)
will at least inform a user that they're infected. But then that opens
another can of worms. I am imagining some sort of Facebook style "free
notification system" free to what extent? It also trains users to accept
foreign security advice aka fake AV warnings.


oscar.vives at gmail

Feb 20, 2012, 7:38 AM

Post #27 of 35 (225 views)
Permalink
Re: DNS Attacks [In reply to]

I am a mere user, so I all this stuff sounds to me like giberish.

The right solution is to capture the request to these DNS servers, and
send to a custom server with a static message "warning.html". Nothing
fancy. With a phone number to "get out of jail", so people can call
to "op-out" of this thing, so can browse the internet to search for a
solution.

This or do nothing.

http://www.guardian.co.uk/world/2012/jan/18/iran-death-sentence-porn-programmer
Interpol helps Iran capture a programmer for creating porn sites.

Now, if the Interpol want you to block a DNS server, or worse, to spy
on users conecting to a DNS server. Will you help? doing nothing is
also a good option, methinks. Start medling, redirecting dns trafic,
spyiing on the user... all these things are dirty and can't end well.

(note, of course, I am a user, so I have a user opinion. )



--
--
ℱin del ℳensaje.


Valdis.Kletnieks at vt

Feb 20, 2012, 9:00 AM

Post #28 of 35 (226 views)
Permalink
Re: DNS Attacks [In reply to]

On Mon, 20 Feb 2012 16:38:00 +0100, Tei said:
> The right solution is to capture the request to these DNS servers, and
> send to a custom server with a static message "warning.html".

Not all DNS lookups are for websites. The lookup could be for NTP, or SMTP,
or ssh, or a World of Warcraft server, or....


morrowc.lists at gmail

Feb 20, 2012, 9:55 AM

Post #29 of 35 (230 views)
Permalink
Re: DNS Attacks [In reply to]

On Mon, Feb 20, 2012 at 12:00 PM, <Valdis.Kletnieks [at] vt> wrote:
> On Mon, 20 Feb 2012 16:38:00 +0100, Tei said:
>> The right solution is to capture the request to these DNS servers, and
>> send to a custom server with a static message  "warning.html".
>
> Not all DNS lookups are for websites.  The lookup could be for NTP, or SMTP,
> or ssh, or a World of Warcraft server, or....

thank you.


morrowc.lists at gmail

Feb 20, 2012, 9:57 AM

Post #30 of 35 (226 views)
Permalink
Re: DNS Attacks [In reply to]

On Mon, Feb 20, 2012 at 10:38 AM, Tei <oscar.vives [at] gmail> wrote:
> I am a mere user, so I all this stuff sounds to me like giberish.
>
> The right solution is to capture the request to these DNS servers, and
> send to a custom server with a static message  "warning.html". Nothing
> fancy.   With a phone number to "get out of jail", so people can call
> to "op-out" of this thing, so can browse the internet to search for a
> solution.


in this case, the fbi/dns-changer case, the information is pretty
straightforward for theisp folk... 'client machine makes dns queries
not to the isp dns server (or one of several free dns services), but
to a known bad set of netblocks'

the easy fix is to just stand up (forever, ha!) dns servers on the ip
blocks inside the ISP's network, done and done... they can then start
notifying the customers via mail/email/carrier-pidgeon that they are
infected, along with instructions about how to get un-infected.

-chris


joelja at bogus

Feb 20, 2012, 1:00 PM

Post #31 of 35 (225 views)
Permalink
Re: DNS Attacks [In reply to]

On 2/20/12 09:57 , Christopher Morrow wrote:
> On Mon, Feb 20, 2012 at 10:38 AM, Tei <oscar.vives [at] gmail> wrote:
>> I am a mere user, so I all this stuff sounds to me like giberish.
>>
>> The right solution is to capture the request to these DNS servers, and
>> send to a custom server with a static message "warning.html". Nothing
>> fancy. With a phone number to "get out of jail", so people can call
>> to "op-out" of this thing, so can browse the internet to search for a
>> solution.
>
>
> in this case, the fbi/dns-changer case, the information is pretty
> straightforward for theisp folk... 'client machine makes dns queries
> not to the isp dns server (or one of several free dns services), but
> to a known bad set of netblocks'
>
> the easy fix is to just stand up (forever, ha!) dns servers on the ip
> blocks inside the ISP's network, done and done...

given the size and distribution of the ip blocks in question I doubt
very much that they will go unused forever...

from a previous message in this thread.

Quoting the FBI:
85.255.112.0 through 85.255.127.255
67.210.0.0 through 67.210.15.255
93.188.160.0 through 93.188.167.255
77.67.83.0 through 77.67.83.255
213.109.64.0 through 213.109.79.255
64.28.176.0 through 64.28.191.255

which map quite nice to various rir prefix assigments. it's almost like
someone cribbed the whois inetnum field when they loaded their scattergun...

inetnum: 85.255.112.0 - 85.255.127.255

while I have no doubt that some of those prefixes my be run by rather
than simply host to bad actors, if they're returned to rirs, they will
be assigned again, so a static filter policy will return to bite us
again like it always does.

> they can then start
> notifying the customers via mail/email/carrier-pidgeon that they are
> infected, along with instructions about how to get un-infected.
>
> -chris
>
>


morrowc.lists at gmail

Feb 21, 2012, 2:05 PM

Post #32 of 35 (209 views)
Permalink
Re: DNS Attacks [In reply to]

On Mon, Feb 20, 2012 at 4:00 PM, Joel jaeggli <joelja [at] bogus> wrote:

> be assigned again, so a static filter policy will return to bite us
> again like it always does.

sure, so you are saying there's a timelimit on how long the supposed
ISP can run this infrastructure... and that they have until then to
lower their loss rate(s) when customers are cutoff and call their
support center because: "The Intertubes are down!".

sounds accurate to me... of course, they've already been getting
notifications of infected folks, so hopefully they have a jump on the
problem already? :)

it's wishful thinking monday!
-chris


mysidia at gmail

Feb 21, 2012, 2:29 PM

Post #33 of 35 (211 views)
Permalink
Re: DNS Attacks [In reply to]

On Sun, Feb 19, 2012 at 4:59 AM, Ken Gilmour <ken.gilmour [at] gmail> wrote:
> What happens when the client sends a POST from a cached page on the end
> user's machine? E.g. if they post login credentials. Of course, they'll get
> the error page, but then you have confidential data in your logs and now
> you have to protect highly confidential info, at least if you're in europe.

Either you don't log the data on the webserver, or you notify the
user that the POST form data has now been posted, and display the link
to the public web page where their posted data now appears, on the
error page.

Once your user has shared "confidential" information unsolicited with
an unknown third party, and the general public, the information's
confidentiality was spoiled by the act of posting, regardless of the
content of the information

--
-JH


Valdis.Kletnieks at vt

Feb 21, 2012, 3:15 PM

Post #34 of 35 (208 views)
Permalink
Re: DNS Attacks [In reply to]

On Tue, 21 Feb 2012 16:29:04 CST, Jimmy Hess said:
> Once your user has shared "confidential" information unsolicited with
> an unknown third party, and the general public, the information's
> confidentiality was spoiled by the act of posting, regardless of the
> content of the information

I see lawyers booking their vacations in Tahiti now.....


hrlinneweh at sbcglobal

Feb 21, 2012, 6:17 PM

Post #35 of 35 (212 views)
Permalink
Re: DNS Attacks [In reply to]

Here is a repeat
http://www.theregister.co.uk/2012/02/16/ghost_domains_dns_vuln/

-henry
________________________________
From: "Valdis.Kletnieks [at] vt" <Valdis.Kletnieks [at] vt>
To: Jimmy Hess <mysidia [at] gmail>
Cc: nanog [at] nanog
Sent: Tuesday, February 21, 2012 3:15 PM
Subject: Re: DNS Attacks

On Tue, 21 Feb 2012 16:29:04 CST, Jimmy Hess said:
> Once your user has shared "confidential" information unsolicited with
> an unknown third party, and the general public,   the information's
> confidentiality was spoiled by the act of posting, regardless of the
> content of the information

I see lawyers booking their vacations in Tahiti now.....

First page Previous page 1 2 Next page Last page  View All NANOG users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.