LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-19-2017, 12:37 PM   #1
khulood
LQ Newbie
 
Registered: Sep 2017
Posts: 2

Rep: Reputation: Disabled
Help Please: Hardening DNS using Bind


I am going to work in project that is about hardening DNS using Bind and we have to test and validate my configuration by launching an attack. Unfortunately, I am new to linux and I don't know how to create an attack. Would you please support me on this part by providing ready attack.

Appreciate your immediate response as the deadline is due next week
 
Old 09-19-2017, 12:54 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by khulood View Post
I am going to work in project that is about hardening DNS using Bind and we have to test and validate my configuration by launching an attack. Unfortunately, I am new to linux and I don't know how to create an attack. Would you please support me on this part by providing ready attack.

Appreciate your immediate response as the deadline is due next week
First, you need to read the "Question Guidelines", "How to ask a smart question" and the LQ Rules. We are volunteers...asking for/expecting 'immediate response' is rude. Your deadlines do NOT make this important for anyone here.

Secondly, we are happy to help you with things, but we are certainly NOT going to do your work for you. We aren't going to provide you a 'ready attack', but will be glad to assist when you show what you have done/tried so far on your own.

Seems very, VERY odd that you got a job working on a project using DNS, Bind, and Linux...and don't know anything about Linux or how to actually do the job you've described. How did this occur? And you provide zero details about how you want to run this (command line? Bash/perl/ruby/python/java/whatever??), or tell us anything about the environment. All of these are things that someone who got a job to perform this task should know.

Show us your efforts and tell us where you're stuck and we'll be happy to assist. You can start by putting "how to test security on a dns server" into Google...lots of places to get you started.

Last edited by TB0ne; 09-19-2017 at 12:55 PM.
 
1 members found this post helpful.
Old 09-21-2017, 08:50 AM   #3
iodisciple
LQ Newbie
 
Registered: Sep 2017
Posts: 11

Rep: Reputation: Disabled
For securing I would use PowerDNS:
https://doc.powerdns.com/md/authoritative/migration/
 
Old 09-21-2017, 07:16 PM   #4
khulood
LQ Newbie
 
Registered: Sep 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
I have installed and configured BIND on fedora 26. I have done the following to secure it :-
1. Hiding the version string
2. Restricting the recursive queries.
3. Restricted zone transfers
4. also disabled named_ write_master_zones in selinux
5. I configured named-chroot
6. dnssec keys for trust relationships between master and slave DNS
7. Configured signed zone

I did above to harden my DNS. I want to test my DNS by actually creating attacks to it using some attacking tool. Can anyone suggest please.

Last edited by khulood; 09-21-2017 at 07:21 PM.
 
Old 09-22-2017, 08:34 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by khulood View Post
I have installed and configured BIND on fedora 26. I have done the following to secure it :-
1. Hiding the version string
2. Restricting the recursive queries.
3. Restricted zone transfers
4. also disabled named_ write_master_zones in selinux
5. I configured named-chroot
6. dnssec keys for trust relationships between master and slave DNS
7. Configured signed zone

I did above to harden my DNS. I want to test my DNS by actually creating attacks to it using some attacking tool. Can anyone suggest please.
Did you not read or understand what was posted before??? You seem to ignore getting told your first post was rude, and still don't seem to have read the "Question Guidelines", LQ Rules, or the "How to ask a smart question" links, nor have you provided any of the details asked of you previously.

We suggested:
  • That you look up some ways to test your DNS server on your own, and do basic research first
  • That you show us what YOU have done/tried so far on your own
  • That you tell us how you plan to run this attack, give us details about the language you've written this in, duration, parameters, etc. No details at all
Again, we are not going to be "providing ready attack", and your deadline is not important to anyone here besides you.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] BIND DNS newbie. nslookup cannot contact my DNS server. arashi256 Linux - Server 2 02-19-2015 04:04 AM
BIND - reverse dns queries only working locally, forward dns works fine. SloS13 Linux - Networking 3 08-25-2011 12:46 PM
Bind.DNS Help needed on Split DNS server manya Linux - Server 3 10-28-2010 08:39 AM
How to get Windows Clients to be served DNS from a Linux BIND-DNS Server texmansru47 Linux - Networking 12 07-10-2008 07:06 PM
LXer: DNS: The Bind Leading the Bind LXer Syndicated Linux News 0 06-15-2006 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration