







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








HAND IN DATE: 15 th^ November 2019 (Friday)
WEIGHTAGE: 10%
Student declaration: I declare that:
Student Name Student ID 1 Yap Jia Suan 0337095
Table of Contents
Question 1 (20 marks)
a. What is a honeypot and a honeynet? What is the difference in the purpose of deploying a honeynet compared to deploying a regular IDS? Give an example to illustrate the difference. (10 marks)
Honeypot is a source of information that is designed to detect and trap any attempt to penetrate into an information system (Hakiem, n.d.). There are 3 different types of honeypot which are production honeypot, research honeypot and pure honeypot. Production honeypots is often used by companies and corporations to help
b) What roles can honeynets play with regards to identifying the sources of spam emails? How? (10 marks)
Honeynet can be used as simulation of resources such as open mail relays that spammers commonly exploit and also determine the source and destination of email addresses used by spammers (Specey, 2017). Honeynet provides fake open proxy and open relays services that record every activity and block spam related traffic. An open relay is an email server which accepts electronic messages from and to anyone on the internet. Spammers often use open relay to hide traces of malicious activities, where the spammer contacted the open relay, receives email messages and then forwards to the destination of STMP server. However, when a spammer contacts an open relay that is configured to log any activity, the IP address of the spamming machine gets stored in the open relay log files. Hence, for spammer, using a single open relay is considered risky. Thus, spammers often use one or more open proxies in order to hide their activities. In conclusion, to identify the source of spammers, it is necessary to encourage them to use the honeypot services and to trace the spammer actions, logging must be enabled for every open proxy, open relay and web server (Mauro et al, n.d.). Furthermore, another technique to identify the source of spam mails by using honeynet and honeypot is through spam trap. Most of the spammer uses email harvesting technique so that a crawler will issues a HTTP request to fetch a web document. The crawler engines will inspect web pages throughout the internet to search for email address that are listed on corporate sites, blogs or also forum. All these email addresses are then used by spammers to perform attack. In order to prevent this situation from happening, a SMTP server can be set as a honeypot using a domain. The email addresses that created using the domain are used to attract spammers as there is no real human behind the email address, all the messages will only be categorized as pure spam. Thus, email security companies can trace this flood of spam, image spam and malware (Mauro etal, n.d.).
Question 2 (20 marks, 5 marks each)
Explain how would use a firewall (and what category) for each of the following scenarios. You need to justify your selection:
a. A bookstore lists the books on sale through its website. We do not want any client to launch a SQL injection or XSS/XSRF attack when they attempt to access the website.
In this scenario, web-based application firewall will be used. This is because this firewall can protect web application by filtering and monitoring HTTP traffic between web application and the internet. By having a web application firewall in front of a web application a shield is placed between the web and the internet. A web-based application firewall is a type of reverse proxy where it protects the server from exposure by having clients pass through the WAF before reaching the server (Cloudflare, n.d.).
b. An organization wants to give remote login access for its employers to their office computer. The office computers could differ in the operating system employed and do not have a strong authentication mechanism.
Proxy firewall can be used in this scenario as a proxy firewall provides internet access to computers on a network. Proxy firewall often deployed to provide safety and security by controlling the information going in and going out of the network. Proxy firewall can filter, cache, log and control request coming from a client to keep the network secure and free from intruders or viruses (How Proxy Firewall Work, n.d.).
c. A user wants to prevent an XSRF attack to be launched when he opens an email on his PC.
In this scenario, personal firewall can be used to prevent attack. Personal firewall are system level firewalls that used to protect a system from network based threats. Personal firewall is able to control what ports your system is allowed to listen on. Personal firewall also control what processes on the system that are able to make network connections as personal firewall allow all traffic to pass through except data that meets a predetermined set of criteria (ScienceDirect, n.d.).
d. A network administrator wants to restrict clients from downloading beyond a certain number of bytes from a file server over a time period.
a. Filter packets with spoofed source addresses at the originating network gateway router itself. This can be achieved by using two filtering techniques which are ingress filtering and egress filtering. Ingress filtering is a defensive approach whereby a router is designed such that inbound traffic is block if its source address is suspicious flagged as not genuine. The incoming packets originating from IP address that is not match with the prefix of the domain are blocked. This can reduce a denial service of attack that can be caused by IP spoofing and also protects the system from resource exhaustion. While egress filtering is a defense mechanism where outbound traffic is assigned to IP addresses that are known to be legitimate so that it protects other domains from being hit by huge traffic from the IP addresses of the company if the company devices become botnets (Muharish, 2016).
b. The volume of ICMP packets (like Echo Reply/Request, Destination not reachable, etc) that are transmitted in and out of the networks should be within a threshold. In ICMP flood attack, attacker tends to saturates the bandwidth or number of data send per second of the victim’s side. The bandwidth of attacker must be higher than the bandwidth of victim. Hence, by limiting the volume of ICMP packets in and out of the network can reduce the bandwidth exceeding the limit and the disruption of the availability of the network (Harshita, 2017).
c. Deploy a reverse proxy. By deploying reverse proxies at multiple hosting locations, HTTP flood can be prevented. This is because a reverse proxy is able to split the crush of incoming traffic into fractions thereby lessening the possibility of the network becoming overwhelmed. This type of architecture can be deploy after an attack has begun or baked into the network architecture of a website as a preventative defense (Weiss, 2012).
■ Describe the two Internet layer solutions discussed to prevent Denial of Service attacks. (5 marks)
a. (^) Trace the path of certain control packets back to the source.
The source IP can be blocked whenever the intentions are confirmed. However, with IP being stateless, this would require coordination among the ISPs and their routers in the internet.
b. No directed broadcasts over the internet. Attacker can spoof a source IP address and send IP directed broadcast with ICMP/UDP echo packets to launch a denial of service attack against the spoofed source address. Hence, in order to prevent denial of service attack, IP directed broadcast need to be disabled on subnets that are connected to the internet so that any packets with the broadcast IP address arriving at the subnet with IP directed broadcast disabled will then be rejected.
■ Describe the two transport layer solutions discussed to prevent Denial of Service attacks. (5 Marks)
a. When the available resources are being tied up to existing open connection, drop some randomly chosen open connection. This is the easies way to free up resources even though some users might be affected due to connection loss.
b. Modify TCP code to generate an encrypted cookie with the incremented sequence number and the resources requested. For example, send it to the requesting client along with the SYN-ACK packet. The legitimate client should respond back with the cookie so that the server can commit the resources. While on the other hand, non legitimate clients such as a bot in a botnet would not be able to respond and therefore preventing bot from accessing resources thereby reduced the risk of distributed denial of service attack. But, there are also some drawbacks of using this solution such as more time is required by the server to perform encryption
(1) Identify all the possible paths (i.e., the sequence of nodes in each path) for the attack tree. For clarity, label each path with a unique number. (8 marks)
Path 1: 1-2-6-3- Path 2: 1-2-6-3-9, Path 3: 1-2-7-3- Path 4: 1-2-7-3-9, Path 5: 1-4-11-5-13-16- Path 6: 1-4-11-5-13-17- Path 7: 1-4-11-5-15-18, Path 8: 1-4-12-5-13-16- Path 9: 1-4-12-5-13-17- Path 10: 1-4-12-5-15-18,
(2) For each of the paths identified, compute the cost for the attack leading to the root node Based on the paths, and the probability of apprehension determined, identify the paths according to each of the following criterion:
1 1-2-6-3-8 5 2 1-2-6-3-9,10 13 3 1-2-7-3-8 7 4 1-2-7-3-9,10 15 5 1-4-11-5-13-16-14 20 6 1-4-11-5-13-17-14 17 7 1-4-11-5-15-18,19 20 8 1-4-12-5-13-16-14 14 9 1-4-12-5-13-17-14 11 10 1-4-12-5-15-18,19 14
(i) The most expensive path. (3 marks)
Answer:
And
Answer: 1-4-11-5-15-18, (ii) The least expensive path. (3 marks)
Answer: 1-2-6-3-
(iii) The attack path that involves the maximum # of leaf nodes (break any tie by choosing the most expensive path). (3 marks)
Answer: 1-4-11-5-13-16-
And
Answer: 1-4-11-5-15-18,
(iv) The attack path that involves the minimum # of leaf nodes (break any tie by choosing the least expensive path). (3 marks) Answer: 1-2-6-3-
Wafi, H., Fiade, A., Hakiem, N. and Bahaweres, R. (2017). Implementation of a modern security systems honeypot Honey Network on wireless networks. [online] ResearchGate. Available at: https://www.researchgate.net/publication/ 318577179_Implementation_of_a_modern_security_systems_honeypot_Honey_Network_on _wireless_networks [Accessed 14 Nov. 2019].
Weiss, A. (2012). How to Prevent DoS Attacks. [online] Esecurityplanet.com. Available at: https://www.esecurityplanet.com/network-security/how-to-prevent-dos-attacks.html [Accessed 14 Nov. 2019].