Free Certification Practice Tests and Study Guides
Join Us! | Login | Help





Rogue DNS

 
Post new topic   This topic is locked: you cannot edit posts or make replies.     |##| -> |=|     MC MCSE Certification Forums -> Network Infrastructure Exams
View previous topic :: View next topic  
Author Message
ilatak
Becoming a Regular
Becoming a Regular


Joined: 23 Oct 2004
Posts: 25
Location: canada

Post subject: Rogue DNS
Posted: Mon Jul 25, 2005 6:18 pm
Reply with quote

Help others: Review your books and training products here

While preparing for exam I came across "rogue" DNS server's expresion. Technically I didn't see any protection against it yet. So I was wondering what can you do detect or prevent rogue DNS existance on your LAN?

Alhough I was wondering if this would work:

If you have DNS and DHCP running on you LAN but don't have active directory, is it posible to create new DNS server with the same pc suffix, point it to primary DNS and configure secondary zone - so hijacking the zone's information? Is active directory makes this imposible?
_________________
Don't Drink And Drive
Kill, can not be innocent
Kill can not be, innocent
Back to top
Offline View user's profile Send private message
gorebrush
Moderator
Moderator


Joined: 10 Apr 2005
Posts: 1296
Location: Wales, UK

Post subject:
Posted: Mon Jul 25, 2005 6:28 pm
Reply with quote

Help others: Review your books and training products here

This is an interesting question as I have never come across "rogue DNS" and I've recently passed this exam.

In the MS Press book, there are only talk of Rogue DHCP Servers and Rogue Routers (RIP through broadcast traffic)

I don't see how a rogue DNS Server is possible. Let's say in our organisation we have 2 DNS Servers: -

192.168.10.1
192.168.10.2

and a DHCP Scope configured from 192.168.10.3 - 192.168.10.254

Then how can a DNS Server hijack responses and capture them from clients? Those clients would be set to use our two DNS Servers as specified by Scope, Server, Class or Client options.

And your second scenario -

You can prevent this by only allowing Zone Transfers to either

1. Specific Name Servers.
2. Name Servers specified on the Name Servers Tab.
3. No Zone Transfers at all.

The point of Active Directory integration

1. Replicates Zone Information with other DNS Servers in the domain, forest, or with Domain Controllers in the Domain, or with specified application directory partitions.
2. Allows you to setup ACL's on who can manually edit records, and configure the zone and so on.
3. Allows you to configure exactly how dynamic record updates are performed, Secure, Nonsecure and Secure, None.

I'd read up on this if I were you Cool
_________________
David Jones BSc (Hons)
MS Certs: MCSA: Messaging 2003, MCSE: 2003, MCTS: Vista, MCTS: Exchange 2007
Cisco Certs: CCNP
Studying: CCIE: R&S Written, Feb 28, 2011
Back to top
Offline View user's profile Send private message Visit poster's website MSN Messenger
jsprague
Site Admin
Site Admin


Joined: 18 Sep 2001
Posts: 7870
Location: Portland, Or

Post subject:
Posted: Mon Jul 25, 2005 7:51 pm
Reply with quote

Help others: Review your books and training products here

It is possible to create a rogue DNS server using a process called DNS cache poisoning. I don't know much about it other than a rogue server is set up which feeds erroneous DNS information to other DNS servers.
_________________
Did you know?
Buying discount exam vouchers saves you money and helps support this site.
Back to top
Offline View user's profile Send private message Visit poster's website
kidvelvet
Moderator
Moderator


Joined: 10 May 2004
Posts: 3556
Location: Hillsboro, OR

Post subject:
Posted: Mon Jul 25, 2005 10:45 pm
Reply with quote

Help others: Review your books and training products here

I thought Rogue DNS was an amber ale...or was that a stout? Smile
_________________
kidvelvet
www.kidvelvet.net

Yes, your problem is the most important. Just like everybody else's.
Back to top
Offline View user's profile Send private message Visit poster's website
jsprague
Site Admin
Site Admin


Joined: 18 Sep 2001
Posts: 7870
Location: Portland, Or

Post subject:
Posted: Mon Jul 25, 2005 11:20 pm
Reply with quote

Help others: Review your books and training products here

Laughing I know a secret place where you can find out.. Very Happy
_________________
Did you know?
Buying discount exam vouchers saves you money and helps support this site.
Back to top
Offline View user's profile Send private message Visit poster's website
kidvelvet
Moderator
Moderator


Joined: 10 May 2004
Posts: 3556
Location: Hillsboro, OR

Post subject:
Posted: Tue Jul 26, 2005 2:08 am
Reply with quote

Help others: Review your books and training products here

Why are you keeping it a secret? Laughing
_________________
kidvelvet
www.kidvelvet.net

Yes, your problem is the most important. Just like everybody else's.
Back to top
Offline View user's profile Send private message Visit poster's website
jsprague
Site Admin
Site Admin


Joined: 18 Sep 2001
Posts: 7870
Location: Portland, Or

Post subject:
Posted: Tue Jul 26, 2005 3:08 am
Reply with quote

Help others: Review your books and training products here

Well, beertutor.com is only for people that really like beer..

Oops, I leaked the secret Very Happy
_________________
Did you know?
Buying discount exam vouchers saves you money and helps support this site.
Back to top
Offline View user's profile Send private message Visit poster's website
gorebrush
Moderator
Moderator


Joined: 10 Apr 2005
Posts: 1296
Location: Wales, UK

Post subject:
Posted: Tue Jul 26, 2005 12:08 pm
Reply with quote

Help others: Review your books and training products here

jsprague wrote:
It is possible to create a rogue DNS server using a process called DNS cache poisoning. I don't know much about it other than a rogue server is set up which feeds erroneous DNS information to other DNS servers.


Actually what happens is..

Say if you resolve www.microsoft.com

and the answer comes back cross-domain, for example

www.msn.com

"Protection against cache polluting" will discard this record, as it is not the same as the one requested.
_________________
David Jones BSc (Hons)
MS Certs: MCSA: Messaging 2003, MCSE: 2003, MCTS: Vista, MCTS: Exchange 2007
Cisco Certs: CCNP
Studying: CCIE: R&S Written, Feb 28, 2011
Back to top
Offline View user's profile Send private message Visit poster's website MSN Messenger
ilatak
Becoming a Regular
Becoming a Regular


Joined: 23 Oct 2004
Posts: 25
Location: canada

Post subject:
Posted: Wed Jul 27, 2005 8:11 pm
Reply with quote

Help others: Review your books and training products here

Below is the quote from MS Press for server 2003, I guess the scenerio that I was thinking about is posible for server 2000 by default.

Gorebrush, you are right about cong. stuff but if not configured properly this situation can occur on server 2003 also. (Zone transfer Tab => Enble Zone Transfer => Configure to transfer to any zone)


"Off the Record In Windows 2000, the default setting on the Zone Transfers tab for primary
zones was to allow transfers to any server, but this feature created an unnecessary security
hole. Think about it: why would you want to enable anyone who can access your DNS server to
set up a secondary server and peruse your network’s resource records? Restricting zone transfers
by default is a lot smarter—it allows you to prevent unauthorized copying of zone data."
_________________
Don't Drink And Drive
Kill, can not be innocent
Kill can not be, innocent
Back to top
Offline View user's profile Send private message
avon1982
Moderator
Moderator


Joined: 23 Apr 2005
Posts: 722
Location: india

Post subject:
Posted: Thu Jul 28, 2005 11:15 am
Reply with quote

Help others: Review your books and training products here

Whenever a client is configured with a dns server ,whenthe client send a dns query the query message it contains a transaction id client source port and source ip address whenever configured server replies the client will accept the information if all three field match exactly Hence one would require to use transation id prediction attack to be succesfull
DNS Hijacking : If an attacker is able to insert himself between the client and the DNS server he may be able to intercept replies to client name resolution queries and send false information mapping addresses to incorrect addresses. This type of attack is verymuch a race condition, in that the attacker needs to get his reply back to the client before the legitimate server does. THis would require for primary dns server to be slow in responding to the querry for dns hijacking to be succesfull as the
client alaways uses the preferred dns server first

Zone Tranfer will as stated allow transfers to ip address in the name servers list as configured but this does not prevent ip spoofing attacks as
as any primary server masquerading the actual name server can request
a zone transfer
The solution atleast partially is the DNSSEC implemention of secure zone When DNSSEC is enabled for a zone the secure zone has its own public and private keys used to encrypt and decrypt digital signatures
The digital signature is added to zone in form of new resource record SIG
When DNS server hosting the secure zone answers authoratively to a query it respond to the resolver with the requested resource record alongwith SIG record .The resolver can use Public key to authenticate the record The distrubution of public key poses a challenge as there is no standardised mechanism ,as keys could be distrubuted using voice communication oripsec etc Also time synchronisation is important to prevent replay attacks
The DNSSEC deployment is cumbersome and not trivial task as it requires
the exchange of keys and keys required to be changed periodically hence at present the implementation is not scalable to large organisation and depends whether it implemented at root level or for child domains and negotiation for crypto algorithms which have to be done before hand
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.     |##| -> |=|     MC MCSE Certification Forums -> Network Infrastructure Exams All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum






IT Showcase