Question

In: Computer Science

DOS, Firewall, IDS 1. Suppose a system uses a buffer of 964 bytes to store TCP...

DOS, Firewall, IDS

1. Suppose a system uses a buffer of 964 bytes to store TCP connections. Assume that each incomplete TCP connection request needs 2 bytes of buffer. Also, an incomplete connection request is timed out after 5 milliseconds. If TCP connection requests are sent in a constant rate, how many minimum incomplete TCP connection requests must be sent per milliseconds to the system to launch a DoS attack?

2. Suppose the above system is connected to a firewall that can detect the number of incomplete TCP connections in the system at any point in time. Briefly discuss (in one paragraph) a firewall rule that can mitigate the above DoS attack.

3. Can intrusion detection mitigate DDoS attacks? Justify your answer.

Solutions

Expert Solution

Lets us first understand some of the basic terms.

DoS or DDoS attacks stands for Denial of Service attack, where a potential attacker overwhelms a server with illegitimate and incomplete connection requests, which creates an overload on the server resources and results in server breakdown.

A TCP connection is a stateful transmission control protocol that ensures a reliable connection between two remote hosts with the help of a three-way handshake (SYN - SYN ACK - SYN).

The disadvantages of TCP connections are the request needs to stored in the buffer before any authentication and validation procedures are implemented on the data packet. This opens the host to various networking attacks like DoS.

(1)

Size of buffer = 964 bytes.

Buffer size for each incomplete TCP connection request = 2 bytes.

TCP connection timeout after 5 milliseconds.

For successfully mitigating a DoS attack, the attacker needs to send a connection request before the timeout occurs. For this,

No of requests that can be stored in the buffer at any time = 964 / 2 = 482 requests.

This means that 482 requests need to be sent within 5 milliseconds to overwhelm the system.

No, of request to send in 1 millisecond = 482 / 5 = 96.4 requests.

(2)

A firewall is a software that monitors network traffic and enforces certain policies and rules to protect a host from malicious activities over the network.

If a firewall is configured to detect the number of incomplete TCP connections in a system the firewall can apply rules like Connection limiting and TCP normalizing to avoid any SYN attacks on the system. The Connection Limiting works by implementing an upper threshold to the number of incomplete TCP connections, if the number of incomplete connection reaches a max value, the firewall detains it from using any system resources by not passing the SYN packet to the server.

(3)

An Intrusion Detection System is also a network monitoring software that keeps track of the data packets through the network and tracks down any suspicious activity.

But how is an IDS different from a Firewall then, an IDS is a special type of software that not only detects the attack but also responds appropriately. An IDS has an alarm system or a triggering mechanism that is governed by concrete rules to keep such attacks like DoS at bay. The IDS also has a system administrator who keeps track of these rules. There are many types of IDS available like Network Intrusion Detection System(NDIS), Host DIS, Protocol DIS, etc.

For the above-given scenario, the NDIS is the best choice because it monitors traffic over the network and can also identify potential SYN attacks. NDIS implements methods like Signature and Anomaly detection.


Related Solutions

​The Discount Appliance Store uses a continuous review system (Q system).
The Discount Appliance Store uses a continuous review system (Q system).One of the company's items has the following characteristics:- Demand =10 units/week (assume 52 weeks per year)- Ordering or Setup Cost (S)=$ 45) order- Holding cost (H)=$12 unit/year- Lead Time (L)=3 weeks (constant)- Standard Deviation in Weekly Demand = 8 units- Cycle-Service Level =70%What is the EOQ for this item?What is the desired safety stock?What is the desired reorder point R?What is the total annual cost?Suppose that the current policy...
C++ Questions: 1. True/False: an int uses 4 bytes in memory on all systems. 2. True/False:...
C++ Questions: 1. True/False: an int uses 4 bytes in memory on all systems. 2. True/False: a double typically offers better precision than a float. 3. True/False: The following two statements are equivalent assuming isPair is a variable of type bool: if (isPair) if (isPair == true) 4. Provide a value we could put in the blank so that the value of x will be 20 after the code snippet. int x = _____; x *= 4; 5. Provide a...
Goldberg Company is a retail sporting goods store that uses an accrual accounting system. Facts regarding...
Goldberg Company is a retail sporting goods store that uses an accrual accounting system. Facts regarding its operations follow: Sales are budgeted at $250,000 for December and $225,000 for January, terms 1/eom, n/60. Collections are expected to be 50% in the month of sale and 48% in the month following the sale. Two percent of sales are expected to be uncollectible and recorded in an allowance account at the end of the month of sale. Bad debts expense is included...
Goldberg Company is a retail sporting goods store that uses an accrual accounting system. Facts regarding...
Goldberg Company is a retail sporting goods store that uses an accrual accounting system. Facts regarding its operations follow: Sales are budgeted at $320,000 for December and $290,000 for January, terms 1/eom, n/60. Collections are expected to be 50% in the month of sale and 48% in the month following the sale. Two percent of sales are expected to be uncollectible and recorded in an allowance account at the end of the month of sale. Bad debts expense is included...
Goldberg Company is a retail sporting goods store that uses an accrual accounting system. Facts regarding...
Goldberg Company is a retail sporting goods store that uses an accrual accounting system. Facts regarding its operations follow: Sales are budgeted at $250,000 for December and $225,000 for January, terms 1/eom, n/60. Collections are expected to be 50% in the month of sale and 48% in the month following the sale. Two percent of sales are expected to be uncollectible and recorded in an allowance account at the end of the month of sale. Bad debts expense is included...
Goldberg Company is a retail sporting goods store that uses an accrual accounting system. Facts regarding...
Goldberg Company is a retail sporting goods store that uses an accrual accounting system. Facts regarding its operations follow: Sales are budgeted at $250,000 for December and $225,000 for January, terms 1/eom, n/60. Collections are expected to be 50% in the month of sale and 48% in the month following the sale. Two percent of sales are expected to be uncollectible and recorded in an allowance account at the end of the month of sale. Bad debts expense is included...
The MEC Store uses a perpetual inventory system. The following transactions occurred during March 2022:
 The MEC Store uses a perpetual inventory system. The following transactions occurred during March 2022: March 2 Purchased merchandise from Flake Co. for $5,600 under credit terms of 1/15, n/30, FOB factory. 3 Paid $280 for shipping charges on the March 2nd purchase. 5 Sold merchandise to Shingle Co. for $3,700 under credit terms of 2/10, n/30, FOB shipping point. The cost of the merchandise was $1,780. 6 Received a $1,200 credit memorandum acknowledging the return of merchandise purchased on March 2. 7 Shingle Co. requested a price...
Goldberg Company is a retail sporting goods store that uses an accrual accounting system. Facts regarding...
Goldberg Company is a retail sporting goods store that uses an accrual accounting system. Facts regarding its operations follow: Sales are budgeted at $210,000 for December and $180,000 for January, terms 1/eom, n/60. Collections are expected to be 50% in the month of sale and 48% in the month following the sale. Two percent of sales are expected to be uncollectible and recorded in an allowance account at the end of the month of sale. Bad debts expense is included...
Great Buys Department Store uses the perpetual system of stock valuation. It records the following movement...
Great Buys Department Store uses the perpetual system of stock valuation. It records the following movement of stock for the first half of the year, 2010. Purchases Sales January 200 units @ $10 April 300 units @ $20 March 240 units @ $14 June 350 units @ $30 May 260 units @ $20 Required: (a) Using the information above, calculate the value of stock at the end of June using the following methods: (i) First in, First out (ii) Last...
Goldberg Company is a retail sporting goods store that uses an accrual accounting system. Facts regarding...
Goldberg Company is a retail sporting goods store that uses an accrual accounting system. Facts regarding its operations follow: Sales are budgeted at $190,000 for December and $160,000 for January, terms 1/eom, n/60. Collections are expected to be 50% in the month of sale and 48% in the month following the sale. Two percent of sales are expected to be uncollectible and recorded in an allowance account at the end of the month of sale. Bad debts expense is included...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT