WWW.ABSTRACT.XLIBX.INFO
FREE ELECTRONIC LIBRARY - Abstract, dissertation, book
 
<< HOME
CONTACTS



Pages:   || 2 |

«Proceedings of 10th Global Engineering, Science and Technology Conference 2-3 January, 2015, BIAM Foundation, Dhaka, Bangladesh, ISBN: ...»

-- [ Page 1 ] --

Proceedings of 10th Global Engineering, Science and Technology Conference

2-3 January, 2015, BIAM Foundation, Dhaka, Bangladesh, ISBN: 978-1-922069-69-6

A Realistic Approach and Mitigation Techniques for Amplifying

DDOS Attack on DNS

Muhammad Yeasir Arafat, Muhammad Morshed Alam and Feroz Ahmed

Domain name system (DNS) amplification attacks extremely exploit open recursive DNS servers

generally for performing bandwidth consumption amplifying distributed denial of service (DDoS)

attacks. The amplification effect lies in the fact that DNS response messages substantially larger than DNS query messages. In this paper, authors present and evaluate a practical approach that is able to distinguish between valid and bogus DNS replies. The propose scheme can effectively protect DNS servers acting both proactively and reactively. In this paper, authors shown DNS DDoS attack and also suggest a mechanism that can protect a DNS server from amplifying DDoS attacks especially the attacks targeting the bandwidth consumption of the victim server.

We propose a new defence based on Iptables and routine fail2ban detection. The attack flow detection mechanism detects attach flows based on the indication or stress at the server, since it is getting more difficult to identify bad flows only based on the incoming traffic patterns. Our analysis and the corresponding real-usage experimental results demonstrate that the propose scheme offers a flexible, strong and effective solution for amplifying DDoS attack on DNS.

Keywords: DDoS, DNS Amplification Attack, Recursive, UDP, iptables, fail2ban

1. Introduction Denial of service (DoS) attack is a malicious attempt to disrupt the service provided by networks or servers. The power of a DoS attack is amplified by incorporating over thousands of zombie machines through botnets and mounting a distributed DDoS attack. Although many defence mechanisms have been proposed to counter DDoS attacks, this remains a difficult issue, especially because the attack traffic tends to mimic normal traffic recently.

Over the past few years, the size and frequency of DDoS attacks have grown dramatically as attackers take advantage of botnets and other high-speed Internet access technologies to overcome their target’s network infrastructure. In fact, according to Arbor’s sixth annual worldwide Infrastructure security report, the largest-recorded DDoS attack has grown ten times in size from 2005 (10 Gbps) to 2013(300 Gbps). To make matters worse, the report also highlights a growing new trend with DDoS attacks. Not only are DDoS attacks getting larger and more frequent, but they are also becoming more sophisticated as they pinpoint specific applications (e.g., DNS, hyper text transport protocol (HTTP) or voice over internet protocol (VoIP) with smaller, stealthier attacks.

A DNS amplification attack is a popular form of DDoS, in which attackers use publically accessible open DNS servers to flood a target system with DNS response traffic. The primary technique consists of an attacker sending a DNS name lookup request to an open DNS server with the source address spoofed to be the target’s address. When the DNS server sends the DNS record response, it is sent instead to the target. Attackers normally submit a request for as much zone information as possible to maximize the amplification effect. In case of most attacks of this type observed by United States computer emergency readiness team (US-CERT), the spoofed queries sent by the attacker are of the type, “ANY” which returns all known information about a DNS zone in a single request. Because the size of the response is significantly larger than the request, the attacker is able to increase the amount of traffic directed at the victim. By

--------------------------------------------Department of Electrical and Electronic Engineering, School of Engineering and Computer Science, Independent University, Bangladesh, Email: yeasir08@yahoo.com, morshed380@yahoo.com & fahmediub@gmail.com Proceedings of 10th Global Engineering, Science and Technology Conference 2-3 January, 2015, BIAM Foundation, Dhaka, Bangladesh, ISBN: 978-1-922069-69-6 leveraging a botnet to produce a large number of spoofed DNS queries, an attacker can create an immense amount of traffic with little effort. In addition, because the responses are legitimate data coming from valid servers, it is extremely difficult to prevent these types of attacks. While the attacks are difficult to stop, network operators can apply several possible mitigation strategies.

The remainder of this paper is organized as follows. We first discuss related study of amplify DoS attack in DNS in Section 2. Then, described the characteristic of amplifying DDoS attack in Section 3. In Section 4, we showed how to amplifying DDoS attack in DNS. In Section 5, we propose a mitigation technique based on iptables, open recursive solution in bind. In Section 5, we also showed how to save DNS server using linux IPtables rules called fail2ban and showed how to find the BOT from DNS log file. Finally, conclusions are presented in Section 6.

2. Background and Related Study In the area of DNS traffic analysis, the most related work in this area is rendered by Oberheide et al. who analyse DNS queries that target dark net sensors. The authors characterize these traces and propose a mechanism to implement a secure DNS service on dark net sensors. Moreover, Paxson is among the first to pinpoint the threats of DNS reflectors on making DDoS attacks harder to defend. In another work, Tong, Xiao, WANG analyse corrupted DNS resolution paths and pinpoint an increase in malware that modified these paths and threatened DNS authorities.





In comparison to our work, Oberheide et al. have not linked or investigated any DNS DDoS traces through their analysis but solely focused on analysing DNS traffic. On the other hand, Paxson did not investigate dark net data. Therefore, all DNS amplification traces destined to unused IP addresses (dark net) cannot be detected through their analysis. However, dark net and other sources of data could be associated to extract further intelligence on DNS amplification DDoS activities such as the approximate number of infections. Future work could consider the latter task.

DNS queries and responses are mostly user datagram protocol (UDP) based, it is vulnerable to spoofing-based DoS attacks, which are difficult to defeat without incurring significant collateral damage. The key to prevent this type of DoS attacks is spoof detection. There is little research work towards the DNS amplification attacks. Adam, Zare provides a thorough analysis about reflection-based DoS attack. Two attack strategies against DNS are analysed. Unfortunately, these two attacks can be controlled by filtering out replies to spoofed request at the victim site and restricting recursive servers to serve local machines only. The DNS security extension (DNSSEC) is designed to provide data integrity and authentication instead of authenticating the requester. It has no protection against DoS attacks. Xi YE, Yiru YE present a simple and practical method that is able to distinguish between authentic and bogus DNS replies. The proposed scheme, acts proactively by monitoring in real time DNS traffic and alerting network administrators when necessary. Once the attack is confirmed, our approach is then activated to filter out all the illegitimate DNS responses by automatically updating firewall rules to ban bogus packets.

3. Characteristics of the DNS Amplification Attack In arrange to initiate a DNS amplification refection attack the attacker desires to execute two tasks. First task the attacker spoofs the address of the victim. This is the refection part; it wills origin all the replies from the DNS server to be directed to the victim's server. This can easily be done since in UDP no handshake like in transmission control protocol (TCP) is being done between the client and the server. Secondly the supplicant searches for responses that are several times bigger than the request. The attacker achieves an amplification factor because the response is several times larger than the request. The amplification can even be larger when DNSSEC is used, because of the signatures used the size of the response increases. The Proceedings of 10th Global Engineering, Science and Technology Conference 2-3 January, 2015, BIAM Foundation, Dhaka, Bangladesh, ISBN: 978-1-922069-69-6 amplification can even be larger when DNSSEC is used, because of the signatures used the size of the response increases. Now the attacker is ready to perform the attack. The attackers launch a stream of small queries originating from a group of infected computers (referred to as a botnet) to one or multiple authoritative DNS servers. The DNS servers will then reply to the resolver.

However, because the attacker spoofed the address of the victim, all the traffic is directed to the victim.

The victim gets overloaded with the amount of traffic send to it and possibly cannot make use of the internet connection anymore. Not only bandwidth is exhausted but also the resource on the client’s machine becomes flooded. The client’s machine can be so busy processing the incoming traffic that is exhaust the resources; this could lead to a halt of the client’s machine. So a DNS refection amplification attack could lead to two types of Denial of Service. DNS amplification attack process showed in Figure 1.

–  –  –

The bigger the amplification factor is, the quicker the bandwidth and resource consumption at the victim is inflicted. From the study of the DNS amplification attack, three major characteristics are identified. The first characteristic is that a DNS amplification attack must use port 53 and UDP protocol. The second characteristic of a DNS amplification attack is a massive volume of UDP packets over a very short time period (over 4000 UDP packets in response per second). The third characteristic of DNS amplification attack is that incoming and outgoing IP addresses of the packets do not match. Because attackers exploit IP spoofing, the incoming and outgoing IP addresses do not match in the victim server. Therefore through comparing the incoming and outgoing IP addresses an intelligent algorithm can detect if a DNS amplification attack has occurred.

4. Amplification DoS Attack on DNS An ANY query returns all the records for a specific domain name despite of the record type.

When launch to a recursive server, the server can solely return the records that it has cached.

The server can have to be compelled reply, despite of available recursion. This is currently the Proceedings of 10th Global Engineering, Science and Technology Conference 2-3 January, 2015, BIAM Foundation, Dhaka, Bangladesh, ISBN: 978-1-922069-69-6 most frequent attack because the ANY request usually returns a large collection of resource records, making a high amplification ratio.

Hacker creates their own domain and increases the DNS response size so that they can get higher amplification. In this case they use the domain fkfkfkfa.com which is not a legitimate domain name. Now check the interesting part not the animation. Command of DNS attack is given below [root@ns3 ~]# dig ANY fkfkfkfa.com @103.12.178.XXX +edns=0 +notcp +bufsize=4096 In this command using UDP packet with buffer size 4096. It says that the query takes 83 msec, server who response to this query. This is the part where are interested. It’s a 64 byte query and response is 4002 byte. Average DNS query size is 64 bytes but if we look at the response it is 4002 bytes. That means it’s amplifying the request by roughly 4002/64 = 62x times amplification.

Query output showed in Figure 2.

Figure 2: Response size of query

So 83.69.230.xxx can launch 1Mbps of DNS query, he can amplify it by 64 times and can send 64Mbps of traffic to ietf.org. It’s really impressive. That’s why it’s important to secure your DNS.

Usually I have 20/25 queries/second. But there are few spikes where I have 70 queries/second and most of them are ANY query. When I check my DNS query log what I get is really interesting.

To track my DNS query I have configured bind graph. Bellow is the output in Figure 3:

Proceedings of 10th Global Engineering, Science and Technology Conference 2-3 January, 2015, BIAM Foundation, Dhaka, Bangladesh, ISBN: 978-1-922069-69-6

–  –  –

5. Proposed Mitigation Mechanism In this paper, we approach some mechanism that can protect DNS amplifying attack, especially, the attacks targeting the resources, including consume bandwidth. It is not difficulty to lunch a DNS amplification attack, because 75% name server in world is an open resolver. Therefore, DNS amplification attacks may be stealthier and more dangerous for the DNS servers, owing to its amplification in attack effect and its difficulty to trace the attacker. The configuration information has been limited to Berkeley Internet Name Daemon (BIND9) and Microsoft’s DNS Server, which are two widely deployed DNS servers on federal networks.

5.1 Approach 1: Iptables Conventional host based firewall using IPtables. In practice there may be thousands of nodes.

Billions of packets can be directed at the victim, taking up all available bandwidth or causing DoS. The following Perl script has been developed to stop DoS attacks. There is a script for dropping packets from a offending IP/range if it exceeds 30 requests per second let’s say for our purposes the range is 202.4.96.0/24 #!/bin/bash /sbin/iptables -I INPUT 1 -p udp --dport 53 -m limit --limit 30/sec -s 202.4.96.0/24 -j ACCEPT /sbin/iptables -I INPUT 2 -p udp --dport 53 -s 202.4.96.0/24 -j DROP /sbin/iptables -I OUTPUT 1 -p udp --dport 53 -m limit --limit 30/sec -d 202.4.96.0/24 -j ACCEPT /sbin/iptables -I OUTPUT 2 -p udp --dport 53 -d 202.4.96.0/24 -j DROP /sbin/iptables -I FORWARD 1 -p udp --dport 53 -m limit --limit 30/sec -s 202.4.96.0/24 -j ACCEPT /sbin/iptables -I FORWARD 2 -p udp --dport 53 -s 202.4.96.0/24 -j DROP /sbin/iptables -I FORWARD 1 -p udp --dport 53 -m limit --limit 30/sec -d 202.4.96.0/24 -j

ACCEPT

/sbin/iptables -I FORWARD 2 -p udp --dport 53 -d 202.4.96.0/24 -j DROP Proceedings of 10th Global Engineering, Science and Technology Conference 2-3 January, 2015, BIAM Foundation, Dhaka, Bangladesh, ISBN: 978-1-922069-69-6

5.2 Approach 2: Disabling Recursion on Authoritative



Pages:   || 2 |


Similar works:

«White Paper The Technical and Operational Values of Barium Ferrite Tape Media By Mark Peters, Senior Analyst March 2014 This ESG White Paper was commissioned by Fujifilm and is distributed under license from ESG. © 2014 by The Enterprise Strategy Group, Inc. All Rights Reserved. Reserved. White Paper: The Technical and Operational Values of Barium Ferrite Tape Media 2 Contents Introduction – Tape’s Contemporary Relevance Tape’s Changing Uses Tape’s Essential Value Why the Tape Media...»

«NC State Building Codes Amendments Effective 1/1/2016 (adopted September 2014 through June 2015) (Note: some amendments may indicate earlier effective dates) The North Carolina Codes are available at www.iccsafe.org/NCDOI for purchase online. Soft-bound copies are available for walk-in purchase only at the following location. NC Department of Insurance, 322 Chapanoke Road, Suite 200, Raleigh, NC 27603 919x 240 (call for availability) The following pages represent a summary of the Building Code...»

«  SUMMIT FOR ADDRESSING DISPROPORTIONALITY PLANNING COMMITTEE The Summit for Addressing Disproportionality is one component of The Disproportionality Technical Assistance Network (DTAN). This event has been known as the Annual Disproportionality Conference (2005-2008), the CREATE a Culturally Responsive Environment Conference (2009), and the CREATE Conference (2010-2013). During 2013, the CREATE grant initiative underwent reconfiguration efforts reflecting the sustainability of the purpose,...»

«Final Technical Report Award Number G11AP20043 Reprocessing and Interpretation of an Industry Seismic Reflection Profile Across the South Georgia Rift in the Epicentral Area of the 1886 Charleston, SC Earthquake Martin C. Chapman, Jacob N. Beale and Jesse C. Buckner* Department of Geosciences Virginia Polytechnic Institute and State University 4044 Derring Hall, Blacksburg, Virginia, 24061 Phone: (540) 231-5036 Fax: (540) 231-3386 Email: mcc@vt.edu * BP Inc., Houston, Texas Project Period:...»

«DIRECTORY OF INFORMATION AUTHORISATION OF COLLECTIVE INVESTMENT SCHEMES (CIS) AND RELATED SERVICES IN AUSTRALIA CANADA FRANCE GERMANY HONG KONG ITALY JAPAN LUXEMBOURG MEXICO NETHERLANDS SPAIN SWEDEN SWITZERLAN UNITED KINGDOM UNITED STATES Individual members of the IOSCO Technical Committee Working Group on Investment Management have contributed the information set out in this Directory. Neither the individual members nor IOSCO guarantee the accuracy or completeness of the information included...»

«Portsmouth Master Transportation Plan PART II: Recommendations January 26, 2010 Mount Vernon Street Conceptual Redesign Acknowledgments The consulting team of Wallace, Roberts & Todd, LLC with Kimley-Horn & Associates and the ETC Institute would like to thank the following groups and individuals for their contributions to the Portsmouth Master Transportation Plan: City of Portsmouth Department of Planning Paul D. Holt, III, AICP Director, Planning George H. Brisbin, Jr., PE Manager of...»

«NANOPHOTONICS PARAS N. PRASAD A JOHN WILEY & SONS, INC., PUBLICATION NANOPHOTONICS NANOPHOTONICS PARAS N. PRASAD A JOHN WILEY & SONS, INC., PUBLICATION Copyright © 2004 by John Wiley & Sons, Inc. All rights reserved. Published by John Wiley & Sons, Inc., Hoboken, New Jersey. Published simultaneously in Canada. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or...»

«Lesen Sie die Empfehlungen in der Anleitung, dem technischen Handbuch oder der Installationsanleitung für NAD T750. Hier finden Sie die Antworten auf alle Ihre Fragen über die NAD T750 in der Bedienungsanleitung (Informationen, Spezifikationen, Sicherheitshinweise, Größe, Zubehör, etc.). Detaillierte Anleitungen zur Benutzung finden Sie in der Bedienungsanleitung. Bedienungsanleitung NAD T750 Gebrauchsanweisung NAD T750 Gebrauchsanleitung NAD T750 Betriebsanleitung NAD T750...»

«TECHNISCHE UNIVERSITÄT MÜNCHEN Lehrstuhl für Genomorientierte Bioinformatik Supersemantics for Knowledge Extraction Philipp A. Blohm Vollständiger Abdruck der von der Fakultät Wissenschaftszentrum Weihenstephan für Ernährung, Landnutzung und Umwelt der Technischen Universität München zur Erlangung des akademischen Grades eines Doktors der Naturwissenschaften genehmigten Dissertation. Vorsitzender: Univ.-Prof. Dr. D. Frischmann Prüfer der Dissertation: 1. Univ.-Prof. Dr. H.-W. Mewes 2....»

«Научный журнал КубГАУ, №106(02), 2015 года 1 УДК 69.007 UDC 69.007 05.00.00 Технические науки Technical sciences ОСНОВНЫЕ ЭТАПЫ ПОДГОТОВКИ ВЫTHE MAIN STAGES OF PREPARATION OF ПУСКНЫХ КВАЛИФИКАЦИОННЫХ РАБОТ BACHELORS AND MASTERS FINAL QUALIБАКАЛАВРОВ И МАГИСТРАНТОВ НА КАFIED WORKS AT THE DEPARTMENT OF ФЕДРЕ ОСНОВАНИЙ И ФУНДАМЕНТОВ BASEMENTS AND...»

«VPP COMPANY CODE COMPANY VPP007892 (TIC)-HITACHI AUTOMOTIVE PRODUCTS INC VPP007893 (USS-KEY) HITACHI AUTOMOTIVE PRODUCTS INC (Unisia Steering Systems) VPP008024 (YUMA) YUSHIRO MANUFACTURING AMERICAN, INC VPP004803 318, INC VPP000084 3M VPP002566 3M C/O MINNESOTA MINING MFG VPP006376 9-1-1 AIR CARGO VPP004664 A & G MANUFACTURING INC / A & G MERCURY VPP008180 A D LIFT TRUCK VPP004481 AAA COOPER TRANSPORTATION VPP003895 ABB INC VPP000108 ABC TECHNOLOGIES VPP004515 ABN AMRO BANK* VPP008142 ABS...»

«Geomechanical characterization of the CO2CRC Otway Project site, Australia Dissertation Vom Fachbereich Materialund Geowissenschaften der Technischen Universität Darmstadt zur Erlangung des akademischen Grades Doktor der Naturwissenschaften (Dr. rer. nat.) Genehmigte Dissertation on M.Sc. Chiara Maria Aruffo geboren am. 28. Juni 1986 in Castel San Pietro Terme (Bo), Italy Referent: Prof. Dr. Andreas Henk Korreferent: Prof. Dr. Charlotte Krawczyk Tag der Einreichung: 01 April 2015 Tag der...»





 
<<  HOME   |    CONTACTS
2016 www.abstract.xlibx.info - Free e-library - Abstract, dissertation, book

Materials of this site are available for review, all rights belong to their respective owners.
If you do not agree with the fact that your material is placed on this site, please, email us, we will within 1-2 business days delete him.