Bu24478485
Upcoming SlideShare
Loading in...5
×
 

Bu24478485

on

  • 265 views

 

Statistics

Views

Total Views
265
Views on SlideShare
265
Embed Views
0

Actions

Likes
1
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Bu24478485 Bu24478485 Document Transcript

  • Mr. Uriti Suresh, Mr. M.V.A. Naidu, Prof. D.S. Sharma / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 2, Issue 4, July-August 2012, pp.478-485 Spectral Based Detection of Smart Worms Mr. Uriti Suresh1 Mr. M.V.A. Naidu2 Prof. D.S. Sharma3 1 Student, Department of CSE, Sri Sivani College of Engineering, Chilakapalem-532001 2 Asst.Professor, Department of CSE, Sri Sivani College of Engineering, Chilakapalem-532001 3 Assoc.Professor & HOD, Department of CSE, Sri Sivani College of Engineering, Chilakapalem-532001ABSTRACT— The easy access and wide usage of the 1 INTRODUCTIONInternet makes it a prime target for malicious The easy access and wide usage of theactivity. In particular, the Internet has become a Internet makes it a prime target for malicious activity.powerful mechanism for propagating malicious In particular, the Internet has become a powerfulsoftware programs designed to annoy (e.g., deface mechanism for propagating malicious softwareweb pages), spread misinformation (e.g., false news programs designed to annoy (e.g., deface web pages),reports or stock quotes), deny service (e.g., corrupt spread misinformation (e.g., false news reports orhard disks), steal financial information (e.g. credit stock quotes), deny service (e.g., corrupt hard disks),card numbers), enable remote login (e.g., Trojan steal financial information (e.g. credit card numbers),horses), etc. Smart worms cause most important enable remote login (e.g., Trojan horses), etc. The twosecurity threats to the Internet. This is due to the most popular ways to spread such malicious softwareability of Smart worms spread in an automated are commonly referred to as worms (like the Codefashion and can flood the Internet in a very short Red) and email viruses (like the infamous Melissa andtime. Smart worms develop during their Love Bug). However it is increasingly difficult topropagation and thus create great challenges to distinguish malicious software programs using thesedefend against them. In this paper, we look into terms. For example, the recent Nimda attack was“Detection of Smart Worms”. The Smart Worms especially vicious because it combined both attackare different from traditional worms because of its methods. Active worms have been a persistent securityability to intelligently manipulate its scan traffic threat on the Internet since the Morris worm arose involume over time. Thereby, we analyze 1988. The Code Red and Nimda worms infectedcharacteristics of the Smart Worms and conduct a hundreds of thousands of systems, and cost both thecomprehensive comparison between its traffic and public and private sectors millions of dollars [1], [2].non-worm traffic (background traffic). Motivated Active worms propagate by infecting computerby our observations, we design a novel spectrum- systems and by using infected computers to spread thebased scheme to detect the Smart Worm. Our worms in an automated fashion. Active worms canscheme uses the Power Spectral Density (PSD) potentially spread across the Internet within seconds. Itdistribution of the scan traffic volume and its is therefore of great importance to characterize andcorresponding Spectral Flatness Measure (SFM) to monitor the spread of active worms, and be able todistinguish the Smart Worm traffic from derive methods to effectively defending our systemsbackground traffic. Using a comprehensive set of against them. An active worm refers to a maliciousdetection metrics and real-world traces as software program that propagates itself on the Internetbackground traffic, we conduct extensive to infect other computers. Many real-world wormsperformance evaluations on our proposed have caused important damage on the Internet. Thesespectrum-based detection scheme. The worms include ―Code-Red‖ worm in 2001 [1],performance data clearly demonstrates that our ―Slammer‖ worm in 2003 [2], and ―Witty‖/―Sasser‖scheme can effectively detect the Smart Worm worms in 2004 [3]. Many active worms are used topropagation. Furthermore, we show the generality infect a large number of computers and recruit them asof our spectrum-based scheme in effectively bots or zombies, which are networked together to formdetecting not only the Smart Worm, but traditional botnets [4]. These botnets can be used to: (a) launchworms as well. massive Distributed Denial-of-Service (DDoS) attacks that interrupt the Internet utilities [5], (b) accessIndex Terms—Worm, Camouflage, Spectrum Based confidential information that can be misused [6]Detection, Smart Worm. through large scale traffic sniffing, key logging, identity theft etc, (c) destroy data that has a high monetary value [7], and (d) distribute large-scale unwanted advertisement emails (as spam) or software 478 | P a g e
  • Mr. Uriti Suresh, Mr. M.V.A. Naidu, Prof. D.S. Sharma / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 2, Issue 4, July-August 2012, pp.478-485(as malware). Due to the substantial damage caused by being detected, and (b) position them self to launchworms in the past years, there have been significant subsequent attacks [4], [5], [6], [7]. Based on theefforts on developing detection and defense observations, we adopt frequency domain analysismechanisms against worms. A network based worm techniques and develop a detection scheme againstdetection system plays a major role by monitoring, wide-spreading of the Smart Worms. Particularly, wecollecting, and analyzing the scan traffic (messages to develop a novel spectrum-based detection scheme thatidentify vulnerable computers) generated during worm uses the Power Spectral Density (PSD) distribution ofattacks. In this system, the detection is commonly scan traffic volume in the frequency domain and itsbased on the self propagating behavior of worms that corresponding Spectral Flatness Measure (SFM) tocan be described as follows: after a worm-infected distinguish the Smart Worm traffic from nonwormcomputer identifies and infects a vulnerable computer traffic (background traffic). Our frequency domainon the Internet, this newly infected computer will analysis studies use the real-world Internet trafficautomatically and continuously scan several IP traces (Shield logs dataset) provided by SANs Internetaddresses to identify and infect other vulnerable Storm Center (ISC) [22], [23]2. Our results reveal thatcomputers. As such, numerous existing detection non-worm traffic (e.g., port-scan traffic for port 80,schemes are based on a unstated assumption that each 135 and 8080) has relatively larger SFM values forworm-infected computer keeps scanning the Internet their PSD distributions. Whereas, the Smart Wormand propagates itself at the highest possible speed. traffic shows comparatively smaller SFM value for itsFurthermore, it has been shown that the worm scan respective PSD distribution.traffic volume and the number of worm-infected Furthermore, We define several new metrics. Maximalcomputers exhibit exponentially increasing patterns Infection Ratio (MIR) is the one to quantify the[2], [11], [12], [13], [14]. Nevertheless, the attackers infection damage caused by a worm before beingare crafting attack strategies that intend to defeat detected. Other metrics include Detection Time (DT)existing worm detection systems. In particular, and Detection Rate (DR). Our evaluation data clearly‗stealth‘ is one attack strategy used by a recently- demonstrate that our spectrum-based detection schemediscovered active worm called ―Atak‖ worm [15] and achieves much better detection performance againstthe ―self-stopping‖ worm [16] avoid detection by the Smart Worm propagation compared with existinghibernating (i.e., stop propagating) with a pre- detection schemes. Our evaluation also shows that ourdetermined period. Worm might also use the spectrum-based detection scheme is general enough toambiguous scan [17] and traffic morphing technique to be used for effective detection of traditional worms ashide the detection [18]. This worm attempts to remain well. The remainder of the paper is organized ashidden by sleeping (suspending scans) when it follows. In Section 2, we introduce the backgroundsuspects it is under detection. Worms that adopt such and review the related work. In Section 3, wesmart attack strategies could exhibit overall scan introduce the propagation model of the Smart Worm.traffic patterns different from those of traditional We present our spectrum-based detection schemeworms. Since the existing worm detection schemes against the Smart Worm in Section 4. We concludewill not be able to detect such scan traffic patterns, it is this paper in Section 5.very important to understand such smart-worms anddevelop new countermeasures to defend against them. 2 BACKGROUND AND RELATED WORKIn this paper, we conduct a systematic study on smart- 2.1 Active Wormsworms. The Smart Worms have a self-propagating Active worms are similar to biologicalbehavior similar to traditional worms, i.e., they intend viruses in terms of their infectious and self-to rapidly infect as many vulnerable computers as propagating nature. They identify vulnerablepossible. However, the Smart Worms are quite computers, infect them and the worm-infecteddifferent from traditional worms in which it computers propagate the infection further to othercamouflages any noticeable trends in the number of vulnerable computers. In order to understand worminfected computers over time. The camouflage is behavior, we first need to model it. With thisachieved by manipulating the scan traffic volume of understanding, effective detection and defenseworm-infected computers. schemes could be developed to mitigate the impact of Such a manipulation of the scan traffic volume the worms. For this reason, tremendous research effortprevents exhibition of any exponentially increasing has focused on this area [12], [24], [14], [25], [16].trends or even crossing of thresholds that are tracked Active worms use various scan mechanisms toby existing detection schemes [19], [20], [21]. We propagate themselves efficiently. The basic form ofnote that the propagation controlling nature of the active worms can be categorized as having the PureSmart Worm cause a slow down in the propagation Random Scan (PRS) nature. In the PRS form, a worm-speed. However, by carefully controlling its scan rate, infected computer continuously scans a set of randomthe Smart Worms can: (a) still achieve their ultimate Internet IP addresses to find new vulnerablegoal of infecting as many computers as possible before computers. Other worms propagate themselves more 479 | P a g e
  • Mr. Uriti Suresh, Mr. M.V.A. Naidu, Prof. D.S. Sharma / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 2, Issue 4, July-August 2012, pp.478-485effectively than PRS worms using various methods, addressed by the programming language community.e.g., network port scanning, email, file sharing, Peer- However, while vulnerabilities exist and pose threatsto-Peer (P2P) networks, and Instant Messaging (IM) of large-scale damage, it is critical to also focus on[26], [27]. In addition, worms use different scan network-based detection, as this paper does, to detectstrategies during different stages of propagation. In wide spreading worms. In order to rapidly andorder to increase propagation efficiency, they use a accurately detect Internet-wide large scale propagationlocal network or hit list to infect previously identified of active worms, it is imperative to monitor andvulnerable computers at the initial stage of analyze the traffic in multiple locations over thepropagation [12], [28]. They may also use DNS, Internet to detect suspicious traffic generated bynetwork topology and routing information to identify worms. The widely adopted worm detectionactive computers instead of randomly scanning IP framework consists of multiple distributed monitorsaddresses [11], [21], [27], [29]. They split the target IP and a worm detection center that controls the formeraddress space during propagation in order to avoid [23], [41]. This framework is well adopted and similarduplicate scans [21]. Li et al. [30] studied a divide- to other existing worm detection systems, such as theconquer scanning technique that could potentially Cyber center for disease controller [11], Internetspread faster and stealthier than a traditional random- motion sensor [42], SANS ISC (Internet Stormscanning worm. Ha et al. [31] formulated the problem Center) [23], Internet sink [41], and network telescopeof finding a fast and resilient propagation topology [43]. The monitors are distributed across the Internetand propagation schedule for Flash worms. Yang et al. and can be deployed at end hosts, router, or firewalls[32] studied the worm propagation over the sensor etc. Each monitor passively records irregular port-scannetworks. Different from the above worms, which traffic, such as connection attempts to a range of voidattempt to accelerate the propagation with new scan IP addresses (IP addresses not being used) andschemes, the Smart worms studied in this paper aims restricted service ports. Periodically, the monitors sendto avoid the detection by the worm defense system traffic logs to the detection center. The detectionduring worm propagation. Active worms that are center analyzes the traffic logs and determines whetherpolymorphic [33], [34] in nature. Polymorphic worms or not there are suspicious scans to restricted ports orare able to change their binary representation or to invalid IP addresses. Network-based detectionsignature as part of their propagation process. This can schemes commonly analyze the collected scanningbe achieved with self-encryption mechanisms or traffic data by applying certain decision rules forsemantics preserving code manipulation techniques. detecting the worm propagation. For example,The Smart Worm also shares some similarity with Venkataraman et al. and Wu et al. in [20], [21]stealthy port-scan attacks. Such attacks try to find out proposed schemes to examine statistics of scan trafficavailable services in a target system, while avoiding volume, Zou et al. presented a trend-based detectiondetection [35], [36]. It is accomplished by decreasing scheme to examine the exponential increase pattern ofthe port scan rate, hiding the origin of attackers, etc. scan traffic [19], Lakhina et al. in [40] proposedDue to the nature of self-propagation, the C-Worm schemes to examine other features of scan traffic, suchmust use more complex mechanisms to manipulate the as the distribution of destination addresses. Otherscan traffic volume over time in order to avoid works study worms that attempt to take on newdetection. patterns to avoid detection [39]. Besides the above detection schemes that are based on the global scan2.2 Worm Detection traffic monitor by detecting traffic anomalous Worm detection has been intensively studied behavior, there are other worm detection and defensein the past and can be generally classified into two schemes such as sequential hypothesis testing forcategories: ―host-based‖ detection and ―network- detecting worm-infected computers [44], payload-based‖ detection. Host-based detection systems detect based worm signature detection [34], [45]. In addition,worms by monitoring, collecting, and analyzing worm Cai et al. in [46] presented both theoretical modelingbehaviors on end-hosts. Since worms are malicious and experimental results on a collaborative wormprograms that execute on these computers, analyzing signature generation system that employs distributedthe behavior of worm executables plays an important fingerprint filtering and aggregation and multiple edgerole in host based detection systems. Many detection networks. Dantu et al. in [47] presented a state-spaceschemes fall under this category [37], [38]. In contrast, feedback control model that detects and control thenetwork-based detection systems detect worms spread of these viruses or worms by measuring theprimarily by monitoring, collecting, and analyzing the velocity of the number of new connections an infectedscan traffic (messages to identify vulnerable computer makes. Despite the different approachescomputers) generated by worm attacks. Many described above, we believe that detecting widelydetection schemes fall under this category [19], [20], scanning anomaly behavior continues to be a useful[21], [39], [40]. Ideally, security vulnerabilities must weapon against worms, and that in practicebe prevented to begin with, a problem which must multifaceted defence has advantages. 480 | P a g e
  • Mr. Uriti Suresh, Mr. M.V.A. Naidu, Prof. D.S. Sharma / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 2, Issue 4, July-August 2012, pp.478-485 hosts on the ―local‖ address space. For example, the3 PROPOSED MODEL OF THE SMART Nimda worm selects target IP addresses as follows:WORM  50% of the time, an address with the same first two3.1 Smart Worm octets will be chosen. When an active worm is fired into the Internet,  25% of the time, an address with the same firstit simultaneously scans many machines in an attempt octet will be chosen.to find a vulnerable machine to infect. When it finally  25% of the time, a random address will be chosen.finds its Victim, it sends out a probe to infect thetarget. If successful, a copy of this worm is transferred The Smart Worm camouflages its propagation byto this new host. This new host then begins running controlling scan traffic volume during its propagation.the worm and tries to infect other machines. When an The simplest way to manipulate scan traffic volume isinvulnerable machine or an unused IP address is to randomly change the number of worm instancesreached, the worm poses no threat. During the worm‘s conducting port-scans. In order to effectively avoidspreading process, some machines might stop detection, the overall scan traffic for the Smart Wormfunctioning properly, forcing the users to reboot these should be comparatively slow and variant enough tocomputers or at least kill some of the processes that not show any notable increasing trends over time. Onmay have been exploited by the worm. Then these the other hand, a very slow propagation of the Smartinfected machines become vulnerable machines again, Worm is also not desirable, since it delays rapidand are still inclined to further infection. When the infection damage to the Internet. Hence, the Smartworm is detected, people will try to slow it down or Worm needs to adjust its propagation so that it isstop it. A patch, which repairs the security hole of the neither too fast to be easily detected, nor too slow tomachines, is used to defend against worms. When an delay rapid damage on the Internet. To regulate theinfected or vulnerable machine is patched, it becomes Smart Worm scan traffic volume, we introduce aan invulnerable machine. To speed up the spread of control parameter called attack probability P(t) foractive worms, Weaver presented the ―hitlist‖ idea [10]. each worm-infected computer. P(t) is the probabilityLong before an attacker releases the worm, he/she that a Smart Worm instance participates in the wormgathers a list of potentially vulnerable machines with propagation (i.e., scans and infects other computers) atgood network connections. After the worm has been time t. Our Smart Worm model with the controlfired onto an initial machine on this list, it begins parameter P(t) is general. P(t) = 1 represents the casesscanning down the list. Hence, the worm will first start for traditional worms, where all worm instancesinfecting the machines on this list. Once this list has actively participate in the propagation. For the Smartbeen exhausted, the worm will then start infecting Worm, P(t) needs not be a constant value and can beother vulnerable machines. The machines on this list set as a time varying function. In order to achieve itsare referred to as the ―hitlist‖. After the worm infects camouflaging behavior, the C-Worm needs to obtainthe hitlist rapidly, it uses these infected machines as an appropriate P(t) to manipulate its scan traffic.―stepping stones‖ to search for other vulnerable Specifically, the Smart Worm will regulate its overallmachines. In this paper we do not consider the amount scan traffic volume such that: (a) it is similar to non-of time it takes a worm to infect the hitlist since the worm scan traffic in terms of the scan traffic volumehitlist can be acquired well before a worm is released over time, (b) it does not exhibit any notable trends,and be infected in a very short period of time. There such as an exponentially increasing pattern or anyare several different scanning mechanisms that active mono-increasing pattern even when the number ofworms employ, such as random, local subnet, infected hosts increases (exponentially) over time, andpermutation and topological scanning [5]. In this paper (c) the average value of the overall scan traffic volumewe focus on two mechanisms, random scanning and is sufficient to make the Smart Worm propagate fastlocal subnet scanning. In random scanning, it is enough to cause rapid damage on the Internet. Weassumed that every computer in the Internet is just as assume that a worm attacker intends to manipulatelikely to infect or be infected by other computers. Such scan traffic volume so that the number of worma network can be pictured as a fully-connected graph instances participating in the worm propagation followin which the nodes represent computers and the arcs a random distribution with mean 𝑀𝑐represent connections (neighboring-relationships) This 𝑀𝑐 can be regulated in a random fashion duringbetween pairs of nodes. This topology is called worm propagation in order to camouflage the―homogeneous mixing‖ in the theoretical propagation of Smart Worm. Correspondingly, theepidemiology [7]. In local subnet scanning, computers worm instances need to adjust their attack probabilityalso connect to each other directly, forming P(t) in order to ensure that the total number of worm―homogeneous mixing‖. However, instead of selecting instances launching the scans is approximately 𝑀𝑐. Totargets randomly, the worms preferentially scan for regulate 𝑀𝑐, it is obvious that P(t) must be decreased over time since M(t) keeps increasing during the worm 481 | P a g e
  • Mr. Uriti Suresh, Mr. M.V.A. Naidu, Prof. D.S. Sharma / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 2, Issue 4, July-August 2012, pp.478-485propagation. We can express P(t) using a simple ratio of total number of vulnerable computers on the 𝑴𝒄 Internet over the total number of computers on thefunction as follows: 𝑷 𝒕 = 𝒎𝒊𝒏 , 𝟏 , where 𝑴(𝒕) Internet; β = S/V is called the pair wise infection rate; 𝑀(t) represents the estimation of M(t) at time t. From S is the scan rate defined as the number of scans thatthe above expression, we know that the Smart Worm an infected computer can launch in a given timeneeds to obtain the value of 𝑀(t) (as close to M(t) as interval. We assume that at t = 0, there are M(0)possible) in order to generate an effective P(t). Here, computers being initially infected and N−M(0)we discuss one approach for the Smart Worm to computers being susceptible to further worm infection.estimate M(t). The basic idea is as follows: A Smart The Smart Worm has a different propagation modelWorm could estimate the percentage of computers that compared to traditional PRS worms because of its P(t)have already been infected over the total number of IP parameter. Consequently, Formula (1) needs to beaddresses as well as M(t), through checking a scan rewritten as,attempt as a new hit (i.e., hitting an uninfected 𝒅𝑴(𝒕) = 𝛃. 𝐌 𝐭 . 𝐏 𝐭 . [𝐍 − 𝐌 𝐭 ]vulnerable computer) or a duplicate hit (i.e., hitting an 𝒅𝒕already infected vulnerable computer). This method Assuming that 𝑀(𝑡) = (1+ε) ·M(t), where 𝜀 is therequires each worm instance (i.e., infected computer) estimation error, the Formula (2) can be rewritten as,to be marked indicating that this computer has beeninfected. Thus, when a worm instance (for example, 𝒅𝑴(𝒕) 𝑴𝒄computer A) scans one infected computer (for = 𝛃. . [𝐍 − 𝐌 𝐭 ] 𝒅𝒕 𝟏 + 𝜺(𝒕)example, computer B), then computer A will detect With Formula (3), we can derive the propagationsuch a mark, thereby becoming aware that computer B modelhas been infected. Through validating such marks for the Smart Worm asduring the propagation, a Smart Worm infected 𝑴𝒄 𝛃. .𝒕 (𝑵−𝑴 𝟎 )computer can estimate M(t). 𝑴 𝒕 = 𝑵 − 𝒆 𝟏+𝜺(𝒕) where M(0) is the number of infected computers at3.2 Propagation Model of the SMART Worm time To analyze the Smart Worm, we adopt the 0.epidemic dynamic model for disease propagation,which has been extensively used for worm 4. DETECTING THE SMART WORMpropagation modeling [2], [12]. Based on existing In this section, we develop a novel spectrum-results [2], [12], this model matches the dynamics of based detection scheme. Our detection schemereal worm propagation over the Internet quite well. captures the distinct pattern of the Smart Worm in theFor this reason, similar to other publications, we adopt frequency domain, and thereby has the potential ofthis model in our paper as well. Since our investigated effectively detecting the Smart Worm propagation. InSmart Worm is a novel attack, we modified the order to identify the Smart Worm propagation in theoriginal Epidemic dynamic formula to model the frequency domain, we use the distribution of Powerpropagation of the Smart Worm by introducing the Spectral Density (PSD) and its corresponding SpectralP(t) - the attack probability that a worm-infected Flatness Measure (SFM) of the scan traffic.computer participates in worm propagation at time t. Particularly, PSD describes how the power of a timeWe note that there is a wide scope to notably improve series is distributed in the frequency domain.our modified model in the future to reflect several Mathematically, it is defined as the Fourier transformcharacteristics that are relevant in real-world practice. of the auto-correlation of a time series. In our case, theParticularly, the epidemic dynamic model assumes time series corresponds to the changes in the numberthat any given computer is in one of the following of worm instances that actively conduct scans overstates: immune, vulnerable, or infected. An immune time. The SFM of PSD is defined as the ratio ofcomputer is one that cannot be infected by a worm; a geometric mean to arithmetic mean of the coefficientsvulnerable computer is one that has the potential of of PSD. The range of SFM values is [0, 1] and a largerbeing infected by a worm; an infected computer is one SFM value implies flatter PSD distribution and vicethat has been infected by a worm. The simple versa.epidemic model for a finite population of traditional To illustrate SFM values of both the Smart Worm andPRS worms can be expressed as, normal non-worm scan traffic, we plot the Probability 𝒅𝑴(𝒕) = 𝛃. 𝐌 𝐭 . [𝐍 − 𝐌 𝐭 ] (Formula1) Density Function (PDF) of SFM for both C-Worm and 𝒅𝒕where M(t) is the number of infected computers at normal non-worm scan traffic as shown in Fig. 3 andtime t; N(= T · P1 · P2) is the number of vulnerable Fig. 4, respectively. The normal non-worm scan trafficcomputers on the Internet; T is the total number of IP data shown in Fig. 1 is based on real-world tracesaddresses on the Internet; P1 is the ratio of the total collected by the ISC. Note that we only show the datanumber of computers on the Internet over T ; P2 is the for port 8080 as an example, and other ports show 482 | P a g e
  • Mr. Uriti Suresh, Mr. M.V.A. Naidu, Prof. D.S. Sharma / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 2, Issue 4, July-August 2012, pp.478-485similar observations. From this figure, we know that such as worms. In general, an ITM system consists ofthe SFM value for normal non-worm traffic is very one centralized data center and a number of monitorssmall (e.g., SFM ∈ (0.02, 0.04) has much higher distributed across the Internet. Each monitor recordsdensity compared with other magnitudes). The Smart traffic that addressed to a range of IP addresses (whichWorm data shown in Fig. 2 is based on 800 C-Worms are not commonly used IP address also called the darkattacks generated by varying attack parameters defined IP addresses) and periodically sends the traffic logs toin Section 3 such as P(t) and Mc(t). From this figure, the data center. The data center then analyzes thewe know that the SFM value of the Smart Worm collected traffic LOGS and publishes reports (e.g.,attacks is high (e.g., SFM ∈ 0.5, 0.6 has high density). statistics of monitored traffic) to ITM system users.From the above two figures, we can observe that there Therefore the baseline traffic in our study is scanis a clear separation range of SFM ∈ (0.3, 0.38) traffic. With reports in a sampling window Ws, thebetween the Smart Worm and normal non-worm scan source count X(t) is obtained by counting the uniquetraffic. As such, the SFM can be used to sensitively source IP addresses in received logs. To conductdetect the Smart Worm scan traffic. The large SFM spectrum analysis, we consider a detection slidingvalues of normal non-worm scan traffic can be window Wd in the worm detection system. Wdexplained as follows. The normal non-worm scan consists of q (> 1) continuous detection samplingtraffic does not tend to concentrate at any particular windows and each sampling window lasts Ws. Thefrequency since its random dynamics is not caused by detection sampling window is the unit time interval toany recurring phenomenon. The small value of SFM sample the detection data (e.g., the destination count).can be reasoned by the fact that the power of Smart Hence, at time i, within a sliding window Wd, thereWorm scan traffic is within a narrow-band frequency are q samples denoted by (X(i − q − 1),X(i − q −2), . . ,range. Such concentration within a narrow range of X(i)), where X(i− j − 1) (j ∈ (1, q)) is the j-thfrequencies is unavoidable since the Smart Worm destination count from time i − j − 1 to i − j.adapts to the dynamics of the Internet in a recurringmanner for manipulating the overall scan traffic 4.1.1 Detection Decision Rulevolume. In reality, We now describe the method of applying anthe above recurring manipulations involve steady appropriateincrease followed by a decrease in the scan traffic detection rule to detect Smart Worm propagation. Asvolume. Notice that the frequency domain analysis the SFM value can be used to sensitively distinguishwill require more samples in comparison with the time the Smart Worm and normal non-worm scan traffic,domain analysis, since the frequency domain analysis the worm detection is performed by comparing thetechnique such as the Fourier transform, needs to SFM with a predefined threshold Tr. If the SFM valuederive power spectrum amplitude for different is smaller than a predefined threshold Tr, then a C-frequencies. In order to generate the accurate spectrum Worm propagation alert is generated. The value of theamplitude for relatively high frequencies, a high threshold Tr used by the Smart Worm detection can begranularity of data sampling will be required. In our fittingly set based on the knowledge of statisticalcase, we rely on Internet threat monitoring (ITM) distribution (e.g., PDF) of SFM values that correspondsystems to collect traffic traces from monitors (motion to the non-worm scan traffic. Notice that the Tr valuesensors) in a timely manner. As a matter of fact, other for the non-worm traffic can be derived by analyzingexisting detection schemes based on the scan traffic the historical data provided by SANs Internet Stormrate [20], variance [21] or trend [19] will also demand Center (ISC). In the worm detection systems, monitorsa high sampling frequency for ITM systems in order to collect port-scan traffic to certain area of dark IPaccurately detect worm attacks. Enabling the ITM addresses and periodically reports scan traffic log tosystem with timely data collection will benefit worm the data center. Then the data center aggregates thedetection in real-time. data from different monitors on the same port and publishes the data. Based on the historical data for4.1 Spectrum-based Detection Scheme different ports, we can build the statistical profiles of We now present the details of our spectrum- port-scan traffic on different ports and then derive thebased detection scheme. Similar to other detection Tr value for the non-worm traffic. Based on theschemes [19], [21], we use a ―destination count‖ as the continuous reported data, the value of Tr will be tunednumber of the unique destination IP addresses targeted and adaptively used to carry out worm detection. If weby launched scans during worm propagation. To can obtain the PDF of SFM values for the Smartunderstand how the destination count data is obtained, Worm through comprehensive simulations and evenwe recall that an ITM system collects logs from real-world profiled data in the future, the optimaldistributed monitors across the Internet. On a side threshold can be obtained by applying the Bayesnote, Internet Threat Monitoring (ITM) systems are a classification [65]. If the PDF of SFM values for thewidely deployed facility to detect, analyze, and Smart Worm is not available, based on the PDF ofcharacterize dangerous Internet threats SFM values of the normal non-worm scan traffic, we 483 | P a g e
  • Mr. Uriti Suresh, Mr. M.V.A. Naidu, Prof. D.S. Sharma / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 2, Issue 4, July-August 2012, pp.478-485can set an appropriate Tr value. For example, the Tr an internet worm,‖ in Proceedings of the 2-thvalue can be determined by the Chebyshev inequality Internet Measurement Workshop (IMW),[65] in order to obtain a reasonable false positive rate Marseille, France, November 2002.for worm detection. Hence in Section 5, we evaluateour spectrum-based detection scheme against the C- 2. D. Moore, V. Paxson, and S. Savage, ―InsideWorm on two cases: (a) the PDF of SFM values are the slammer worm,‖ in IEEE Magazine ofknown for both the normal non-worm scan traffic and Security and Privacy, July 2003.the C-Worm scan traffic, (b) the PDF of SFM values isonly known for the normal non-worm scan traffic. 3. C. C. Zou, W. Gong, and D. Towsley, ―Code-Notice that even if the Smart Worm monitors the port- red worm propagation modeling and analysis,‖scan traffic report, it will be hard for the Smart Worm in Proceedings of the 9-th ACM Conference onto make the SFM similar to the background traffic. Computer and Communication Security (CCS),This can be reasoned by two factors. First, the low Washington DC, November 2002.value of SFM is mainly caused by the closed-loopcontrol nature of Smart worm. The concentration 4. M. Garetto, W. B. Gong, and D. Towsley,within a narrow range of frequencies is unavoidable ―Modeling malware spreading dynamics,‖ insince the Smart Worm adapts to the dynamics of the Proceedings of the IEEE Conference onInternet in a recurring manner for manipulating the Computer Communications (INFOCOM), Sanoverall scan traffic volume. Based on our analysis, the Francisco, CA, March 2003.non-worm traffic on a port is rather random and itsSFM has a flat pattern. That means that the non-worm 5. Z. S. Chen, L.X. Gao, and K. Kwiat, ―Modelingtraffic on the port distributes similar power across the spread of active worms,‖ in Proceedings ofdifferent frequencies. Second, as we indicated in other the IEEE Conference on Computerresponses, without introducing the closed-loop control, Communications (INFOCOM), SanFrancisco,it will be difficult for the attacker to hide the CA, March 2003.irregularity of worm propagation traffic in the timedomain. When the worm attacks incorporate the 6. S. Staniford, V. Paxson, and N.Weaver, ―Howclosed-loop control mechanism to camouflage their to own the internet in your spare time,‖ intraffic, it will expose a relative small value of SFM. Proceedings of the 11-th USENIX SecurityHence, integrating our spectrum-based detection with Symposium (SECURITY), San Francisco, CA,existing traffic rate-based anomaly detection in the August 2002.time domain, we can force the worm attacker into a 7. Charles Wright, Scott Coull, and Fabiandilemma: if the worm attacker does not use the closed- Monrose, ―Traffic morphing: An efficientloop control, the existing traffic rate-based detection defense against statistical traffic analysis,‖ inscheme will be able to detect the worm; if the worm Proceedings of the 15th IEEE Network andattacker adopt the closed-loop control, it will cause the Distributed System Security Symposiumrelatively small SFM due to the process of closed-loop (NDSS), San Diego, CA, Febrary 2008.control. This makes the worm attack to be detected byour spectrum-based scheme along with other existing 8. R. E. Yantorno, K. R. Krishnamachari, J. M.traffic-rate based detection schemes. Lovekin, D. S. Benincasa, and S. J. Wenndt, ―The spectral autocorrelation peak valley ratio5 FINAL REMARKS (sapvr)- a usable speech measure employed as a In this paper, we studied a new class of co-channel detection system,‖ in Proceedings ofworms called Smart Worm, which has the capability to IEEE International Workshop on Intelligentcamouflage its propagation and further avoid the Signal Processing (WISP), Budapest, Hungary,detection. Our investigation showed that, by deploying May 2001.network monitor system in the entire network theSmart worm can be defended. Based on observation, 9. Y. Shinoda, K. Ikai, and M. Itoh,we developed a novel spectrum-based detection ―Vulnerabilities of passive internet threatscheme to detect the Smart Worm. This paper lays the monitors,‖ in Proceedings of the 14-th USNIXfoundation for ongoing studies of ―smart‖ worms that Security Symposium, Baltimore, MD, July-intelligently adapt their propagation patterns to reduce August 2005.the effectiveness of countermeasures. 10. X. Wang, W. Yu, X. Fu, D. Xuan, and W.6 REFERENCES Zhao, ―iloc: An invisible localization attack to1. D. Moore, C. Shannon, and J. Brown, ―Code- internet threat monitoring systems,‖ in red: a case study on the spread and victims of Proceedings of the 27th IEEE International Conference on Computer Communications 484 | P a g e
  • Mr. Uriti Suresh, Mr. M.V.A. Naidu, Prof. D.S. Sharma / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 2, Issue 4, July-August 2012, pp.478-485 (INFOCOM) Mini-conference, Phoenix, AZ, Proceedings of the 13-th International April 2008. Conference on Computer Communications and Networks (ICCCN), Chicago, IL, October 2004.11. R. Perdisci, O. Kolesnikov, P. Fogla, M. Sharif, and W. Lee, ―Polymorphic blending attacks,‖ in 17. J. Wu, S. Vangala, and L. X. Gao, ―An effective Proceedings of the 15-th USENIX Security architecture and algorithm for detecting worms Symposium (SECURITY), Vancouver, B.C., with various scan techniques,‖ in Proceedings August 2006. of the 11-th IEEE Network and Distributed System Security Symposium (NDSS), San12. John Bethencourt, Dawn Song, and Brent Diego, CA, Febrary 2004. Waters, ―Analysis-resistant malware,‖ in Proceedings of the 15th IEEE Network and 18. M. Bailey, E. Cooke, F. Jahanian, J. Nazario, Distributed System Security Symposium and D. Watson, ―The internet motion sensor: A (NDSS), San Diego, CA, Febrary 2008. distributed blackhole monitoring system,‖ in Proceedings of the 12-th IEEE Network and13. Monirul Sharif, Jonathon Giffin, Wenke Lee, Distributed Systems Security Symposium and Andrea Lanzi, ―Impeding malware analysis (NDSS), San Diego, CA, February 2005. using conditional code obfuscation,‖ in 19. W. Yu, X. Wang, D. Xuan, and D. Lee, Proceedings of the 15th IEEE Network and ―Effective detection of active worms with Distributed System Security Symposium varying scan rate,‖ in Proceedings of IEEE (NDSS), San Diego, CA, Febrary 2008. International Conference on Security and Privacy in Communication Networks14. Yubin Li, Zesheng Chen, and Chao Chen, (SECURECOMM), Baltimore, MD, August ―Understanding divideconquer-scanning 2006. worms,‖ in Proceedings of International Performance Computing and Communications 20. J. Ma, G. M. Voelker, and S. Savage, ―Self- Conference (IPCCC), Austin, TX, December stopping worms,‖ in Proceedings of the ACM 2008. Workshop on Rapid Malcode (WORM), Washington D.C, November 2005.15. C. C. Zou, D. Towsley, and W. Gong, ―Modeling and simulation study of the 21. X. Wang, W. Yu, A. Champion, X. Fu, and D. propagation and defense of internet e-mail Xuan, ―Detecting worms via mining dynamic worm,‖ IEEE Transactions on Dependable and program execution,‖ in Proceedings of IEEE Secure Computing, vol. 4, no. 2, pp.105–118, International Conference on Security and 2007. Privacy in Communication Networks (SECURECOMM), Nice, France, September16. C. Zou, Don Towsley, and Weibo Gong, 2007. ―Email worm modeling and defense,‖ in 485 | P a g e