List the time for the worm finishes infecting all computers

Assignment Help Computer Engineering
Reference no: EM131909851

Assignment

You are required to simulate simple worm propagation (like the Code Red worm) in a medium-scale network by using discrete-time simulation technique introduced in class. You can do this programming project on your own computer, with any programming language among C or java or Perl or Python, but make sure your code can run under department Eustis machine.

Assume that in an isolated network with =100,000 IP address space. The IP addresses can be treated as having value from 1 to 100,000. There are N = 1000 computers vulnerable to the worm under consideration in this network. These vulnerable computers have specific IP addresses as:

1, 2, 3,..., 10,

1001, 1002, ...., 1010,

2001, 2002, ..., 2010,

.....

In other words, each cluster of 10 computers with the consecutive IPs are vulnerable to the worm, and in every 1000 consecutive IP addresses there will be one cluster of 10 vulnerable computers (so there are 100 clusters of vulnerable computers overall).

Now the worm starts its infection within this network from 1 initially infected machine that has the IP address of 1001. At each discrete time tick, a worm-infected computer can scan IP addresses within this network (the network has IP addresses). If it finds a vulnerable computer, it infects the vulnerable computer immediately and this newly infected computer can start infecting others from the next discrete time tick (no networking delay is considered, or we can say the delay is assumed to be one time unit). Let us use I(t) to represent the number of infected computers at time tick t (t=1, 2, 3, ....). Thus initially I(0) = 1.

1). Simulate a random-scanning worm propagation (like Code Red worm)

Simulate a worm propagation with the scan rate of =3. You need to simulate the worm propagation for 3 runs in order to get the vector of the number of infected, I(t), 3 times. Each of your simulation run should end when all vulnerable machines have been infected.

a). Draw a single figure shows the I(t) from these 3 simulation runs. This figure will exhibit the statistical variance in worm propagation process, but all statistically follow the worm propagation model we introduced in class. (Hint: you can save the simulated I(t) results in a file, then use Excel to import the data and draw the figure using Excel)

b). List the time for the worm finishes infecting all vulnerable computers in each run; so you need to provide 3 time values.

2). Simulate a local-preference scanning worm propagation

The above random scanning has been used by most Internet worms, but some other worms have used local-preference scanning (such as Code Red II). You need to simulate such a scanning strategy: for an infected computer with IP value x, each time it picks an IP address y trying to infect, the value y is computed as:

(1). With probability p = 0.8, it picks value y such that y Î[x-10, x+10]

(2). With the remaining probability 0.2, it picks a random IP value y between 1 to 100,000.

Again simulate the worm propagation with =3 for 3 runs, then

a). Draw one figure showing the I(t) of these 3 simulation runs.

b). List the time for the worm finishes infecting all vulnerable computers in each run; so you need to provide 3 time values.

Reference no: EM131909851

Questions Cloud

Perspectives on an issue or time-oriented : People oriented ( a friend willing to lend an ear). Or Action Oriented ( can grow frustrated with a disorganized Speaker) Content oriented
What are optimal production rate and optimal order quantity : Suppose that due to technological constraints, P must satisfy 2D = P = 3D. What are the optimal production rate and the optimal order quantity?
What is the interest rate on the company note payable : Rent for the year on the company's office space is $60,000. The rent is paid in advance. What is the interest rate on the company's note payable
Tradition of communication theory : Which tradition of communication theory would be the best position from which to study the following research question
List the time for the worm finishes infecting all computers : List the time for the worm finishes infecting all vulnerable computers in each run; so you need to provide 3 time values.
How does interpersonal communication affect our daily lives : How does interpersonal communication affect our daily lives? What if we don't leave the house or talk to anyone?
Estimating the managing conflict : Your bags are packed for a family vacation to Jamaica, and you leave in three days. There is no way that you can get a refund since
What is the theoretical basis for the accounting standard : What is the theoretical basis for the accounting standard that requires certain long-term leases to be capitalized by the lessee
Verbal or nonverbal communication : Which do you consider has greater weight when interpreting a message from someone else, verbal or nonverbal communication? Why?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd