Ask Computer Engineering Expert

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.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92748518

Have any Question?


Related Questions in Computer Engineering

Does bmw have a guided missile corporate culture and

Does BMW have a guided missile corporate culture, and incubator corporate culture, a family corporate culture, or an Eiffel tower corporate culture?

Rebecca borrows 10000 at 18 compounded annually she pays

Rebecca borrows $10,000 at 18% compounded annually. She pays off the loan over a 5-year period with annual payments, starting at year 1. Each successive payment is $700 greater than the previous payment. (a) How much was ...

Jeff decides to start saving some money from this upcoming

Jeff decides to start saving some money from this upcoming month onwards. He decides to save only $500 at first, but each month he will increase the amount invested by $100. He will do it for 60 months (including the fir ...

Suppose you make 30 annual investments in a fund that pays

Suppose you make 30 annual investments in a fund that pays 6% compounded annually. If your first deposit is $7,500 and each successive deposit is 6% greater than the preceding deposit, how much will be in the fund immedi ...

Question -under what circumstances is it ethical if ever to

Question :- Under what circumstances is it ethical, if ever, to use consumer information in marketing research? Explain why you consider it ethical or unethical.

What are the differences between four types of economics

What are the differences between four types of economics evaluations and their differences with other two (budget impact analysis (BIA) and cost of illness (COI) studies)?

What type of economic system does norway have explain some

What type of economic system does Norway have? Explain some of the benefits of this system to the country and some of the drawbacks,

Among the who imf and wto which of these governmental

Among the WHO, IMF, and WTO, which of these governmental institutions do you feel has most profoundly shaped healthcare outcomes in low-income countries and why? Please support your reasons with examples and research/doc ...

A real estate developer will build two different types of

A real estate developer will build two different types of apartments in a residential area: one- bedroom apartments and two-bedroom apartments. In addition, the developer will build either a swimming pool or a tennis cou ...

Question what some of the reasons that evolutionary models

Question : What some of the reasons that evolutionary models are considered by many to be the best approach to software development. The response must be typed, single spaced, must be in times new roman font (size 12) an ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As