• No results found

A model to measure the effectiveness offiltering malicious traffic under dosattack in peer to peer network

N/A
N/A
Protected

Academic year: 2022

Share "A model to measure the effectiveness offiltering malicious traffic under dosattack in peer to peer network"

Copied!
7
0
0

Loading.... (view fulltext now)

Full text

(1)

A model to measure the effectiveness of filtering malicious traffic under dos

attack in peer to peer network

MAYANK BHARGAVA1, MANVENDRA SINGH1 KATPALLY AKSHAY2, GEETHA MARY A.2, E. ANUPRIYA2

and N.CH.S.N. IYENGAR2*

1School of Information Technology and Engineering,

2School of Computing Science and Engineering VIT University, Vellore -632014

[email protected]

ABSTRACT

Denial-of-service attack (dos attack) or distributed denial- of-service attack (DDoS attack) is an attempt to make a computer resource unavailable to its intended users. Although the means to carry out, motives for, and targets of a dos attack may vary, it generally consists of the concerted efforts of a person or people to prevent an Internet site or service from functioning efficiently or at all, temporarily or indefinitely. Perpetrators of dos attacks typically target sites or services hosted on high-profile web servers such as banks, credit card payment gateways, and even root name servers.

This paper proposes the model to measure the effectiveness of filtering malicious traffic which aims at the target computer in a peer to peer network. The model performs the detection using the rate of input traffic classified as normal and suspicious or malicious traffic. After identifying the traffics category it can drop the part of input traffic that is not categorized as normal traffic. As a result the target computer can survive the attack.

Keywords: DenialofService, Peer to peer network, ns2.

(2)

INTRODUCTION

Internet security is a fashionable and fast moving field; the attacks that are catching the headlines can change significantly from one year to the next.

Regardless of whether they’re directly relevant to the work you do, network based attacks are so high-profile that they are likely to have some impact, even if you only use hacker stories to get your client to allocate increased budgets to count the more serious threats. The traditional intent and impact of dos attacks is to prevent or impair the legitimate use of computer or network resources. Regardless of the diligence, effort, and resources spent securing against intrusion, internet connected systems face a consistent and real threat from dos attacks because of two fundamental characteristics of the internet.

The internet is comprised of limited and consumable resources.

Internet security is highly interde- pendent. Defending against dos attacks is far from an exact or complete science.

Rate limiting, packet filtering, and tweaking software parameters can, in some cases, help limit the impact of dos attacks, but usually only at points where the dos attack is consuming fewer resources than are available. In many cases, the only defense is a reactive one where the source or sources of an on-going attack are identified and prevented from continuing the attack.

Early dos attack technology

involved simple tools that generated and sent packets from a single source aimed at a single destination. Over time, tools have evolved to execute single source attacks against multiple targets, multiple source attacks against single targets, and multiple source attacks against multiple targets.

In general, two common mecha- nisms used in ids/ips software are signat ure and anomaly dete ction.

Signature detection applies known attacking patterns collected from the past attacks to identify the pattern of incoming traffic. Anomaly detection learns and classifies incoming traffic to be normal or malicious traffic based on specific statistical behaviour of the traffic or intelligent techniques such as neural networks or mining are applied. Signature detection performs well for detecting known attacks, but could not recognize unknown attacks.

It also works fast as all signatures are kept in memory. On the other hand, anomaly detection could recognize s om e unk now n a t tac ks. B ut , the techniques are likely complicated and do not perform well since statistics of some specific traffic patterns must be collected and analysed before such patterns are classified.

This paper proposes the model to m ea s ure t he e f f e c t ive ne s s of filtering dos malicious traffics aim at the target computer in a peer to peer network. To determine if the incoming traffic is malicious or not we check the incoming traffic rate on the fly. If

(3)

the traffic is malicious based on the threshold values, we perform t he filtering and hence reduce the traffic.

Related works

Most IDS mechanisms are relied on network monitoring tools such as ethereal, ntop etc. They captured all packets and analysed packets and network statistics.3 Proposes a model to measure the effectiveness of filtering malicious traffic while actual attacks aim at a target server. The model performs a simple anomaly detection using the rates of input traffic which is classified into normal, suspicious and malicious traffic based on the pre-defined threshold values. If the input traffic is regarded as suspicious or malicious, the model will substantially drop part of the input traffic to an acceptable level so that only the small amount of traffic is allowed to pass and reach the target server.

As a result, the server survives the attacks.4 A new post-processing method has been described to prevent harmful contents in P2P networks. P2P networks are a new way to distribute harmful content like pornography, violence, and illegal software. Preventing harmful content in P2P networks differs from blocking the harmful site in the tech- nical viewpoint.

The results shown by the above researches showed the ability for successful survival increased substan- t ia lly w he n t he re s pons e s we re coordinated.

Proposed work

We propose a model to measure the effectiveness of filtering malicious traffic when the target computer is under DoS attack in peer to peer net work . The m odel us e s s im ple anomaly detection for traffic analysis.

The model contains three phases 1. Every node analyses its own traffic coming to it.

2. Depending on the bandwidth the packets can be categorize as normal, malicious and suspicious.

3. Packets will be stored in a queue and thus different queuing methods (SFQ, drop tail) can be used to filter the packets. If traffic coming from a source node exceeds the limit allotted then the destination node can drop the packets and block the source node.

Figure 1: Flowchart of the proposed model

(4)

Implementation

The implementation of the propose d mode l f ocus e s on UDP traffic only. Design a peer to peer network using TCL code. Create a NS object. Add the line “$ns rtproto DV”

after the creation of NS object. Assign different colors to different sources.

For example (red, blue, green) NAM is used in order to visualize things and three different files to save the traffic.

Write code to tell NS what to do on exit e.g. it can be used to closes the trace files and displays it in a graphical form. Use “attach-traffic” function to attach traffics to the sources. Record the changes in a recording function to see changes. Log everything from the beginning. $nsrun command can be used to run the process.

PACKET TYPE TRAFFIC RATE THRESHOLD

NORMAL <65

MALICIOUS/ 65-1500

SUSPICIOUS

Figure 3: Traffic rate threshold Figure 2: Overview of proposed

model

EXPERIMENTS AND RESULT In our experiment we considered a peer to peer network consisting of six nodes.

Every node is linked to each other by the network. We considered a case in which two nodes (node 0 and node 5) are sending data to a third node (node 3) in the network. The node 0 s t art s to se nd dat a a t 5 seconds and node 5 starts at 0.5 seconds. Initially when only node 0 was sending data there was no packet loss. Since the resources allotted by node 3 were available but as soon as the node 5 starts to send packets as we ll, t he re was c onge s t ion a t destination node and to avoid the node unava ilabilit y node 3 s ta rts discarding the packets. The below graph shows the burst of the first flow peak at 0.1 m bits/sec and second at 0.2 m bits/sec.

Figure 4: Nodes in peer to peer network

(5)

The next figure 6 shows the 4 nodes connected in a peer to peer network.

Figure 5: Graph showing the burst flow of traffic

Data is being transferred from node 0,1 and 2 to node 3.

Figure 6: Four Nodes connected in peer to peer network For the above network the burst graph is shown in the following figure 7.

(6)

CONCLUSIONS

This paper focuses on measuring the effectiveness of filtering traffic when the computer is under DoS attacks.

The timeout of the node is an essential indicator to the effectiveness of the filtering mechanism, and illustrates the effectiveness of the intrusion prevention as well. Intuitively, the timeout would be shorter when the attacking rates increase. Even though a set of slow machines are used, we believe that similar trends of experi- mental results for faster machine with large memory would be obtained as well.

In addition, this work implements a simple anomaly detection mechanism on the fly by just computing the arrival

rate of the input traffic, and the traffic can be easily classified based on a predefined thresholds. Thus, we show that anomaly detection is possible and fast without complicated mechanisms.

This work also illustrates simple intrusion prevent ion by dropping unwa nt ed traffic. We also investigate how much the traffic should be filtered to allow the server survived. The results indicate that the server timeout falls down rapidly when the attacking rate increases, and higher filtering rate always gives the server survive longer than lower filtering rate. In addition, we found that the traffic filtering rate must be very high for the server to survive the attack.

REFERENCES

1. N.S. Fundamentals-2, Padma Haldar, Figure 7: Graph showing the burst rate of peer to peer network.

(7)

USC/ISI

2. Chinawat Wongvivitkul, Sudsan- guan Ngamsuriyaroj, “The effects of filtering malicious traffic under DOS attack”, Asia Pacific Advanced Network 2007, 27-31 August 2007, Xian, China.

3. Ho Gyun Lee, Taek yong Nam, Jong So0 Jang, “ The Method of P2P Traffic Detecting for P2P Harmful Contents Prevention”, Communi- cation Technology, 2005, ICACT 2005, pp. 777-780.

4. Netscreen. http://www.juniper.net/

5. ns-2 Network Simulator. http://

www.isi.edu/nsnam/ns/

6. Ntop. http://www.ntop.org/

7. Lau F, Rubin S.H., Smith M.H. and Trajkovic L., Distributed Denial of Service Attacks. Proceedings of IEEE International Conference on Systems, Man, and Cybernetics, October (2000).

8. Kashiwa D., Chen E.Y. and Fuji H.

Active Shaping: A Countermeasure against DDoS Attacks. Proceedings of 2nd European Conference on Universal Multiservice Networks;

April (2002).

9. Houle K.J. and Weaver G.M., Trends in Denial of Services Attack Tech- nology. CERT Coordination Center, Camegie Mellon University, October (2001).

10. Long M., Wu C-H, and Hung J.Y., Denial of Service Attacks on Network-Based Control Systems:

I m pa c t a nd M it iga t ion, I EEE Transactions on Industrial Infor- matics, 1 (2), May (2005).

11. Sterne D. et. al., Autonomic Res- ponse to Distributed Denial of Service Attacks. Proceedings of the 4th International Symposium on Recent Advances in Intrusion Detection, October (2001).

References

Related documents

This study analyzes the impact of full coverage deposit insurance policy as well as bank specific factors and macro economic conditions on bank failure over a sample of 35 privately

Nacional para la Evaluación de la Educación, México, D.F., 2009, p.84-86.. is the need to go perform some paid or unpaid work depending on sex, this is a major problem for the

12.1 The Organizing Committee shall establish simplified customs procedures through the customs consultative committee, and details of the applicable custom

2007 ISACA After Hours Seminar - Improving IT Risk &amp; Compliance Management (RCM) - Herr Bruno Wiederkehr Enterprise Model Knowledge Management Asset Management Corporate Security

(related to values, norms and attitudes adverse to the rule of law that prevent formal reforms from becoming effective); (3) political economy constraints (including lack of

Can the interior geometry of an irregular shaped pressure vessel, subjected to internal pressure on its surfaces, be designed to efficiently store high pressure gas using topology

List”. Select a schedule from the Schedule drop-down list or choose “Click Here To Add New Schedule”. In the Status field, select Enabled or Disabled to enable or disable

For instance, although the waivers have brought state Medicaid and mental health agencies together in the effort to strengthen coverage for intensive home and community services