Author Topic: Question Regarding DNS Logs - DDoS attack?  (Read 5804 times)

0 Members and 1 Guest are viewing this topic.

Offline DamonX

  • Serf
  • *
  • Posts: 35
  • Cookies: 2
    • View Profile
Question Regarding DNS Logs - DDoS attack?
« on: February 26, 2013, 06:00:36 pm »
Hi,

I am working on a project where we are analyzing DNS logs for potential attacks.  I know its DDoS attack but I want to go a little deep to get more insight of whats going on. 

Can someone please give me more insight on who is attacking and who's the target here for these couple logs:


Quote
24-Jan-2012 00:05:37.427 security: info: client 202.108.12.146#48073: query (cache) './NS/IN' denied

I know IP address (202.108.12.146) is coming from China, and its requesting root server, but who is the target here.  Its also a DDoS attack but who are they targeting.?

Quote
24-Jan-2012 07:22:56.921 security: info: client 66.103.64.10#2816: query (cache) './A/IN' denied

Looks same as above but IP address is from L.A and now its ./A/IN.  Same question, who is the target and whats going on.

This one is interesting:

Quote
24-Jan-2012 16:58:10.237 security: info: client 166.205.218.203#36710: query (cache) 'www.facebook.com/A/IN' denied

Does that mean Facebook is being attack and our DNS server is being used as botnet?  I know its denying query becoz recursion is off but still are they targeting FB here?

I will really appreciate if anyone can provide me more info on there three lines.

Thanks

Damon


Offline Mordred

  • Knight
  • **
  • Posts: 360
  • Cookies: 135
  • Nvllivs in Verba
    • View Profile
Re: Question Regarding DNS Logs - DDoS attack?
« Reply #1 on: February 27, 2013, 01:03:26 am »
A quick Google search of the root Name Server query showed as one of the top results this: http://blog.tomh.us/post/72857274/blocking-recursive-root-dns-queries-with-iptables

This guy had exactly the same problem back in '09 and also shows you how to fix it.
\x57\x68\x79\x20\x64\x69\x64\x20\x79\x6f\x75\x20\x65\x76\x65\x6e\x20\x66\x75\x63\x6b\x69\x6e\x67\x20\x73\x70\x65\x6e\x64\x20\x74\x68\x65\x20\x74\x69\x6d\x65\x20\x74\x6f\x20\x64\x65\x63\x6f\x64\x65\x20\x74\x68\x69\x73\x20\x6e\x69\x67\x67\x72\x3f\x20\x44\x61\x66\x75\x71\x20\x69\x73\x20\x77\x72\x6f\x6e\x67\x20\x77\x69\x74\x68\x20\x79\x6f\x75\x2e

Offline DamonX

  • Serf
  • *
  • Posts: 35
  • Cookies: 2
    • View Profile
Re: Question Regarding DNS Logs - DDoS attack?
« Reply #2 on: March 03, 2013, 02:27:02 am »
I understand that its a DDoS attack but I was wondering if someone can analyze it and provide me more details.