Wilders Security Forums  

Go Back   Wilders Security Forums > Official ESET Support Forum > ESET Home Users Products Forum > ESET Smart Security
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old March 3rd, 2009, 04:59 AM
Stem Stem is offline
Firewall Expert
 
Join Date: Oct 2005
Location: UK
Posts: 4,948
Default Excessive DNS lookups by ESS ( & DNS cache poisoning)

Hello,

I have been trying to find the reason for the reported problems of the "DNS cache poisoning" reports and I am starting to think this is due to excessive amounts of DNS lookup performed by "ekrn.exe" and "egui.exe". For lack of better wording, they are completely bonkers.

These lookups consisted of repeated reverse lookups of my DNS IPs 26 in succession, each lookup was replied to, then a lookup of u56.eset.com, which was replied to directly, but the firewall then sent out a further 20 DNS lookups for the same site not waiting for a response, after the replies arrived, the firewall then sent out another 20 DNS lookups for u56.eset.com and u40.eset.com again not waiting for replies,and even with replies the lookups where repeatably made over and over again.

At the time I was just browsing one site.

Below is just a small snippet of the firewall log, I have your applications placed with specific rules for DNS lookups.



03/03/2009 09:05:32 192.168.1.101:2107 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:05:32 0.0.0.0:2107 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:05:32 0.0.0.0:2106 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:05:32 192.168.1.101:2106 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:05:25 192.168.1.101:2105 194.168.8.100:53 UDP Allow communication for ekrn.exe(2)
03/03/2009 09:05:25 0.0.0.0:2105 194.168.8.100:53 UDP Allow communication for ekrn.exe(2)
03/03/2009 09:05:25 192.168.1.101:2105 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:05:25 0.0.0.0:2105 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:05:21 0.0.0.0:2105 194.168.8.100:53 UDP Allow communication for ekrn.exe(2)
03/03/2009 09:05:21 192.168.1.101:2105 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:05:21 0.0.0.0:2105 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:05:21 192.168.1.101:2105 194.168.8.100:53 UDP Allow communication for ekrn.exe(2)
03/03/2009 09:05:19 192.168.1.101:2105 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:05:19 0.0.0.0:2105 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:05:18 0.0.0.0:2105 194.168.8.100:53 UDP Allow communication for ekrn.exe(2)
03/03/2009 09:05:18 192.168.1.101:2105 194.168.8.100:53 UDP Allow communication for ekrn.exe(2)
03/03/2009 09:05:17 0.0.0.0:2105 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:05:17 192.168.1.101:2105 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:04:52 192.168.1.101:2097 194.168.8.100:53 UDP Allow communication for ekrn.exe(2)
03/03/2009 09:04:52 0.0.0.0:2097 194.168.8.100:53 UDP Allow communication for ekrn.exe(2)
03/03/2009 09:04:52 192.168.1.101:2089 194.168.8.100:53 UDP Allow communication for ekrn.exe(2)
03/03/2009 09:04:52 192.168.1.101:2089 194.168.8.100:53 UDP Allow communication for ekrn.exe(2)
03/03/2009 09:04:52 192.168.1.101:2089 194.168.8.100:53 UDP Allow communication for ekrn.exe(2)
03/03/2009 09:04:52 0.0.0.0:2089 194.168.8.100:53 UDP Allow communication for ekrn.exe(2)
03/03/2009 09:04:52 192.168.1.101:2081 194.168.8.100:53 UDP Allow communication for ekrn.exe(2)
03/03/2009 09:04:52 192.168.1.101:2081 194.168.8.100:53 UDP Allow communication for ekrn.exe(2)
03/03/2009 09:04:52 192.168.1.101:2081 194.168.8.100:53 UDP Allow communication for ekrn.exe(2)
03/03/2009 09:04:52 0.0.0.0:2081 194.168.8.100:53 UDP Allow communication for ekrn.exe(2)
03/03/2009 09:04:31 0.0.0.0:2101 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:04:31 192.168.1.101:2101 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:04:31 192.168.1.101:2097 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:04:31 192.168.1.101:2097 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:04:31 0.0.0.0:2097 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:04:31 192.168.1.101:2089 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:04:31 192.168.1.101:2089 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:04:31 192.168.1.101:2081 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:04:31 192.168.1.101:2081 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:04:31 192.168.1.101:2081 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:04:31 0.0.0.0:2089 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:04:31 192.168.1.101:2089 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:04:31 192.168.1.101:2089 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:04:31 192.168.1.101:2081 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:04:31 0.0.0.0:2081 194.168.4.100:53 UDP Allow communication for ekrn.exe
03/03/2009 09:04:30 0.0.0.0:2100 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:30 192.168.1.101:2100 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:29 0.0.0.0:2099 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:29 192.168.1.101:2099 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:28 0.0.0.0:2098 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:28 192.168.1.101:2098 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:21 192.168.1.101:2096 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:21 0.0.0.0:2096 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:21 192.168.1.101:2095 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:21 0.0.0.0:2095 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:17 0.0.0.0:2094 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:17 192.168.1.101:2093 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:17 0.0.0.0:2093 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:17 192.168.1.101:2094 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:15 192.168.1.101:2092 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:15 0.0.0.0:2092 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:14 0.0.0.0:2091 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:14 192.168.1.101:2091 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:13 0.0.0.0:2090 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:13 192.168.1.101:2090 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:06 192.168.1.101:2088 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:06 0.0.0.0:2088 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:06 192.168.1.101:2087 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:06 0.0.0.0:2087 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:02 0.0.0.0:2086 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:02 192.168.1.101:2085 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:02 0.0.0.0:2085 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:02 192.168.1.101:2086 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:00 192.168.1.101:2084 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:04:00 0.0.0.0:2084 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:03:59 0.0.0.0:2083 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:03:59 192.168.1.101:2083 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:03:58 192.168.1.101:2082 194.168.4.100:53 UDP Allow communication for egui.exe
03/03/2009 09:03:58 0.0.0.0:2082 194.168.4.100:53 UDP Allow communication for egui.exe
  #2  
Old March 3rd, 2009, 05:35 AM
Stem Stem is offline
Firewall Expert
 
Join Date: Oct 2005
Location: UK
Posts: 4,948
Default Re: Excessive DNS lookups by ESS

Well I must admit the firewall is picking out my lazy attempts to fool it into thinking I am making a late DNS reply.

UDP packets dropped due to;-

1/ Incorrect UDP packet length
2/ Detected unexpected data in protocol


Interesting. Will continue.


- Stem
  #3  
Old March 3rd, 2009, 06:06 AM
Stem Stem is offline
Firewall Expert
 
Join Date: Oct 2005
Location: UK
Posts: 4,948
Default Re: Excessive DNS lookups by ESS

OK,


I can now confirm that a late DNS reply will give an alert of "DNS cache poisoning"

That along with the excessive amounts of DNS requests being sent out by ESS and the possible late replies due to that will give a lot of warnings.


EDIT:

ESET: Why do your applications contained in ESS make so many DNS lookups?,... must be a bug


- Stem

Last edited by Stem : March 3rd, 2009 at 06:13 AM. Reason: edit
  #4  
Old March 3rd, 2009, 07:19 AM
Stem Stem is offline
Firewall Expert
 
Join Date: Oct 2005
Location: UK
Posts: 4,948
Default Re: Excessive DNS lookups by ESS ( & DNS cache poisoning)

This is actually ridiculous,
I was offline, then decided to check my e-mail. The response from the firewall was to make 27 DNS lookups, making repeated reverse lookups for the DNS server and DNS lookups for my e-mail.


This needs fixing, this is basically flooding the ISP DNS servers

- Stem
  #5  
Old March 3rd, 2009, 11:54 AM
NOD32 user's Avatar
NOD32 user NOD32 user is offline
Very Frequent Poster
 
Join Date: Jan 2005
Location: Australia
Posts: 1,766
Question Re: Excessive DNS lookups by ESS ( & DNS cache poisoning)

Quote:
Originally Posted by Stem
This is actually ridiculous,
I was offline, then decided to check my e-mail. The response from the firewall was to make 27 DNS lookups, making repeated reverse lookups for the DNS server and DNS lookups for my e-mail.


This needs fixing, this is basically flooding the ISP DNS servers

- Stem
Hi Stem,

I'm curious, do you have 'Resolve host names' enabled or disabled, and does it make any difference either way?

Click image for larger version

Name:	Screenshot - 4_03_2009 , 3_48_28 AM.png
Views:	13
Size:	63.9 KB
ID:	206809

Cheers
__________________
1. What is right is always The Truth.
2. Every Truth is supported in agreement by every Truth.
3. If the facts would persuade you otherwise, see 1.

ESET Reseller (Australia)
  #6  
Old March 3rd, 2009, 12:36 PM
stratoc
 
Posts: n/a
Default Re: Excessive DNS lookups by ESS ( & DNS cache poisoning)

i shall follow this with interest, the firewall has been doing it since it was released. eset support told me it was my router and to ignore it? to be honest, i have never used a software firewall before and am still confused about there effectiveness (if any) as eset's is so light i kept it anyway. please keep up your test and thanks.
http://samspade.org/d/firewalls.html
  #7  
Old March 4th, 2009, 10:11 AM
Stem Stem is offline
Firewall Expert
 
Join Date: Oct 2005
Location: UK
Posts: 4,948
Default Re: Excessive DNS lookups by ESS ( & DNS cache poisoning)

Quote:
Originally Posted by NOD32 user
I'm curious, do you have 'Resolve host names' enabled or disabled, and does it make any difference either way?

Hello,

I have just restored a previous image as I want to make any windows updates needed. I will re-install ESS later and check the setting.
If that is enabled by default, then it would of been set, but I would still have the question as to why so many lookups.


- Stem
  #8  
Old March 4th, 2009, 11:25 AM
funkydude's Avatar
funkydude funkydude is offline
Incredibly Massive Poster
 
Join Date: Apr 2004
Posts: 6,003
Default Re: Excessive DNS lookups by ESS ( & DNS cache poisoning)

That is off by default. But I got curious and looked at my OpenDNS statistics but couldn't find a mention of many DNS queries. Ever query was once per visit.

EDIT: Yet I do have excessive queries to wpad.home?
__________________
OpenDNS with DNSCrypt

SSD: Windows 8 Pro x64 | IE10 (Enhanced Protected Mode) & Fanboy's TPLs
HDD: Xubuntu 12.04 LTS (x64) | Firefox: ABP(Fanboy's list) & HTTPS Everywhere

Last edited by funkydude : March 4th, 2009 at 11:34 AM.
  #9  
Old March 5th, 2009, 01:22 AM
Stem Stem is offline
Firewall Expert
 
Join Date: Oct 2005
Location: UK
Posts: 4,948
Default Re: Excessive DNS lookups by ESS ( & DNS cache poisoning)

Hi,

I have been looking more at this, and find that the excessive DNS outbounds are related (on this setup) to my setting custom rules for DNS access on a per application basis.

After allowing a global rule for the DNS lookups, the problem with the excessive DNS lookups stopped.


- Stem
  #10  
Old March 5th, 2009, 01:36 AM
NOD32 user's Avatar
NOD32 user NOD32 user is offline
Very Frequent Poster
 
Join Date: Jan 2005
Location: Australia
Posts: 1,766
Lightbulb Re: Excessive DNS lookups by ESS ( & DNS cache poisoning)

Quote:
Originally Posted by Stem
Hi,

I have been looking more at this, and find that the excessive DNS outbounds are related (on this setup) to my setting custom rules for DNS access on a per application basis.

After allowing a global rule for the DNS lookups, the problem with the excessive DNS lookups stopped.


- Stem
Hi Stem,

Thanks for the postback of course - glad to know it wasn't serious.

Cheers
__________________
1. What is right is always The Truth.
2. Every Truth is supported in agreement by every Truth.
3. If the facts would persuade you otherwise, see 1.

ESET Reseller (Australia)
  #11  
Old March 8th, 2009, 02:55 PM
Stem Stem is offline
Firewall Expert
 
Join Date: Oct 2005
Location: UK
Posts: 4,948
Default Re: Excessive DNS lookups by ESS ( & DNS cache poisoning)

Quote:
Originally Posted by stratoc
i shall follow this with interest, the firewall has been doing it since it was released.
I presume you refer to the "DNS cache poisoning attack" logs?


Quote:
Originally Posted by stratoc
eset support told me it was my router
Possible, but unlikely, certainly after having the same alerts and checking.

Quote:
Originally Posted by stratoc
and to ignore it?
Good advice.


The only way I have found up to now to cause the firewall to give such an alert ("DNS cache poisoning attack" ) is to send a "DNS reply" to a closed port, single packets to closed ports are of no concern and IMHO think such packets should simply be dropped by default.



- Stem
 

Wilders Security Forums > Official ESET Support Forum > ESET Home Users Products Forum > ESET Smart Security « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 05:24 AM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums