Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Network & Security Expert

Question 1:

Snort Rules

Scenario

A small company has a network set up behind a NAT router. The router is connected to the Internet via a single ISP provided dynamic IP address. The ISP provided access address may change over short periods of time.

The internal network is RFC 1918 Category 2 compliant, and uses the private address space 192.168.2.0/24. The gateway router is configured to use DHCP allocated IP addresses to internal hosts as they connect. However, a record is kept within the router of what IP addresses have previously been allocated to specific MAC addresses. Whenever those MAC addressed hosts disconnect from and later reconnect to the network they are reallocated the same IP address. It is only if the router has a power off episode, or is manually reset, that allocation of different IP addresses may occur (and even then, the same addresses may be allocated as before).

The company operates an approved internal web server at 192.168.2.21:80, to facilitate in-house development of web pages and web sites that will later be deployed to an external server for public access. It is a company policy that only one approved internal web server is to be in operation on the network.

It has come to the notice of the IT manager that a company employee has set up a rogue web server on the internal network, using a personal laptop. The employee is using that web site to provide undesirable material to a small clique of employees, to whom the web server address has been provided secretly.

Considerations

- The rogue web server may be on any internal IP address, and will be using any of the ephemeral ports. It will not be using a well-known port.
- The clients accessing the rogue web server may come from any internal IP address using any ephemeral port.
- The MAC addresses of all company host devices are on record.

Your job

Use snort to monitor for any internal network HTTP traffic destined for any internal host on any port address other than the authorised company internal web server and produce an alert message.

You are to write a .conf file containing the snort rule(s) that will accomplish a solution and run it against the pcap file provided.

The snort monitoring will identify when breaches have occurred. The Wireshark pcap file containing the captured packets can be time correlated with the logged snort alerts to obtain MAC addresses for source and target.

If your rule is correct the alert.ids file will show entries like the following:

[**] [1:1000010:1] Unauthorised HTTP traffic [**]
[Classification: ] [Priority: 1]
09/12-19:10:29.439844 192.168.2.5:49496 -> 192.168.2.2:6400
TCP TTL:64 TOS:0x0 ID:18940 IpLen:20 DgmLen:408 DF
***AP*** Seq: 0xE8349C5 Ack: 0xBCB171EE Win: 0xFFFF TcpLen: 32
TCP Options (3) => NOP NOP TS: 1210791384 0

[**] [1:1000010:1] Unauthorised HTTP traffic [**]
[Classification: ] [Priority: 1]
09/12-19:10:29.440554 192.168.2.2:6400 -> 192.168.2.5:49496
TCP TTL:128 TOS:0x0 ID:1065 IpLen:20 DgmLen:1300 DF
***A**** Seq: 0xBCB171EE Ack: 0xE834B29 Win: 0xFE9B TcpLen: 32
TCP Options (3) => NOP NOP TS: 195453 1210791384

[**] [1:1000010:1] Unauthorised HTTP traffic [**]
[Classification: ] [Priority: 1]
09/12-19:10:29.449929 192.168.2.5:49496 -> 192.168.2.2:6400
TCP TTL:64 TOS:0x0 ID:18942 IpLen:20 DgmLen:367 DF
***AP*** Seq: 0xE834B29 Ack: 0xBCB1799C Win: 0xFFFF TcpLen: 32
TCP Options (3) => NOP NOP TS: 1210791384 195453

[**] [1:1000010:1] Unauthorised HTTP traffic [**]
[Classification: ] [Priority: 1]
09/12-19:10:29.450478 192.168.2.2:6400 -> 192.168.2.5:49496
TCP TTL:128 TOS:0x0 ID:1067 IpLen:20 DgmLen:485 DF
***AP*** Seq: 0xBCB1799C Ack: 0xE834C64 Win: 0xFD60 TcpLen: 32
TCP Options (3) => NOP NOP TS: 195453 1210791384

[**] [1:1000010:1] Unauthorised HTTP traffic [**]
[Classification: ] [Priority: 1]
09/12-19:10:43.904673 192.168.2.5:49496 -> 192.168.2.2:6400
TCP TTL:64 TOS:0x0 ID:18947 IpLen:20 DgmLen:451 DF
***AP*** Seq: 0xE834C64 Ack: 0xBCB17B4E Win: 0xFFFF TcpLen: 32
TCP Options (3) => NOP NOP TS: 1210791413 195509

[**] [1:1000010:1] Unauthorised HTTP traffic [**]
[Classification: ] [Priority: 1]
09/12-19:10:43.913290 192.168.2.5:49497 -> 192.168.2.2:6400
TCP TTL:64 TOS:0x0 ID:18950 IpLen:20 DgmLen:451 DF
***AP*** Seq: 0xBF45540D Ack: 0xBEFA2FE2 Win: 0xFFFF TcpLen: 32
TCP Options (3) => NOP NOP TS: 1210791413 0

[**] [1:1000010:1] Unauthorised HTTP traffic [**]
[Classification: ] [Priority: 1]
09/12-19:10:43.913886 192.168.2.2:6400 -> 192.168.2.5:49497
TCP TTL:128 TOS:0x0 ID:1071 IpLen:20 DgmLen:571 DF
***AP*** Seq: 0xBEFA2FE2 Ack: 0xBF45559C Win: 0xFE70 TcpLen: 32
TCP Options (3) => NOP NOP TS: 195597 1210791413

[**] [1:1000010:1] Unauthorised HTTP traffic [**]
[Classification: ] [Priority: 1]
09/12-19:10:43.919054 192.168.2.5:49498 -> 192.168.2.2:6400
TCP TTL:64 TOS:0x0 ID:18956 IpLen:20 DgmLen:365 DF
***AP*** Seq: 0x18030D8E Ack: 0xCFE60A18 Win: 0xFFFF TcpLen: 32
TCP Options (3) => NOP NOP TS: 1210791413 0

[**] [1:1000010:1] Unauthorised HTTP traffic [**]
[Classification: ] [Priority: 1]
09/12-19:10:43.946959 192.168.2.2:6400 -> 192.168.2.5:49498
TCP TTL:128 TOS:0x0 ID:1075 IpLen:20 DgmLen:660 DF
***AP*** Seq: 0xCFE60A18 Ack: 0x18030EC7 Win: 0xFEC6 TcpLen: 32
TCP Options (3) => NOP NOP TS: 195598 1210791413

[**] [1:1000010:1] Unauthorised HTTP traffic [**]
[Classification: ] [Priority: 1]
09/12-19:11:11.614057 192.168.2.3:1923 -> 192.168.2.2:6400
TCP TTL:128 TOS:0x0 ID:44619 IpLen:20 DgmLen:496 DF
***AP*** Seq: 0xC9090643 Ack: 0x550D4778 Win: 0xFFFF TcpLen: 20

[**] [1:1000010:1] Unauthorised HTTP traffic [**]
[Classification: ] [Priority: 1]
09/12-19:11:11.656165 192.168.2.2:6400 -> 192.168.2.3:1923
TCP TTL:128 TOS:0x0 ID:1079 IpLen:20 DgmLen:230 DF
***AP*** Seq: 0x550D4778 Ack: 0xC909080B Win: 0xFE37 TcpLen: 20

[**] [1:1000010:1] Unauthorised HTTP traffic [**]
[Classification: ] [Priority: 1]
09/12-19:11:19.504867 192.168.2.3:1926 -> 192.168.2.2:6400
TCP TTL:128 TOS:0x0 ID:44648 IpLen:20 DgmLen:450 DF
***AP*** Seq: 0xEC018654 Ack: 0x5E762A07 Win: 0xFFFF TcpLen: 20

[**] [1:1000010:1] Unauthorised HTTP traffic [**]
[Classification: ] [Priority: 1]
09/12-19:11:19.540195 192.168.2.2:6400 -> 192.168.2.3:1926
TCP TTL:128 TOS:0x0 ID:1082 IpLen:20 DgmLen:555 DF
***AP*** Seq: 0x5E762A07 Ack: 0xEC0187EE Win: 0xFE65 TcpLen: 20

[**] [1:1000010:1] Unauthorised HTTP traffic [**]
[Classification: ] [Priority: 1]
09/12-19:11:19.550534 192.168.2.3:1926 -> 192.168.2.2:6400
TCP TTL:128 TOS:0x0 ID:44650 IpLen:20 DgmLen:451 DF
***AP*** Seq: 0xEC0187EE Ack: 0x5E762C0A Win: 0xFDFC TcpLen: 20

[**] [1:1000010:1] Unauthorised HTTP traffic [**]
[Classification: ] [Priority: 1]
09/12-19:11:19.590606 192.168.2.2:6400 -> 192.168.2.3:1926
TCP TTL:128 TOS:0x0 ID:1083 IpLen:20 DgmLen:792 DF
***AP*** Seq: 0x5E762C0A Ack: 0xEC018989 Win: 0xFCCA TcpLen: 20

Note: The classification identifier has been deleted.

Tips:

- You will need to familiarise yourself with the HTTP header contents. You need to identify some text pattern in the HTTP header that will unambiguously indicate whether a client is accessing a web server, or vice versa. (remember, the rogue web server is operating on a non-standard ephemeral port.)

- Make sure you include the standard Snort classtypes in your rule. Refer to the SNORT documentation to determine which classtype is appropriate for this exploit as described above. You will probably have to make use of the classification.config file (located in the Snort\etc\ directory) - research how to make reference to this file from your rules file.

- Failure to use the correct syntax in your rule will mean the rule is ineffective. This means you will lose marks on this question.

Note: Duplicating the contents from the text, lecture slides, weekly notes or the Internet is not acceptable (even if it is referenced) and will not attract any marks. Your solutions must be written in your own words. If you cannot write your answer in your own words, then you have not yet mastered the topic and require further reading or advice from your tutor. Any information taken from an external source (either from the textbook or any other source) must be referenced appropriately. Failure to do so constitutes plagiarism.

a) Identification of Addresses

By inspecting the alert.ids entries you should be able to identify:

1. The IP address, and port number of the device hosting the rogue web server.
2. The IP addresses and port numbers of all devices that have accessed the rogue web server.

You are to enter this information into the table following

Description

IP Address

Port Number

Rogue Web Server

 

 

Accessing Client #1

 

 

Accessing Client #2

 

 

Explain in your own words how the MAC addresses of these devices can be discovered from the pcap file.

Question 2:

Certificates

A. Because there are multiple certificate authorities (CAs) for the Web PKI it is possible to buy multiple certificates for the same domain signed by different CAs. How would a browser treat these different certificates?

B. ) Suppose that an imposter is able to obtain a certificate for a domain that the imposter doesn't own. (For example, in January 2001, an imposter tricked VeriSign into signing two certificates for "Microsoft Corporation" to be used for signing new software to be installed.) What sorts of attacks could an imposter pull off once in possession of such "fake" certificates for i. installing software.

ii. Viewing Web pages

C Typically the public SSH keys used by servers are not signed by any certificate authority, but the SSH protocol does support checking certificates.

i. Why, in practice, are server certificates rarely signed?

ii. What is the benefit of checking server certificates?

Question 3:

Firewall Rules

Assume you have the following firewall rules:

Rule

No.

Transport

Protocol

Source

IP

Source

Port

Destination

IP

Destination

Port

Action

1

UDP

0.0.0.0/0

any

129.174.17.180

53

allow

2

TCP

55.66.77.0/24

any

129.174.17/180

22

allow

3

TCP

55.66.77.12

4500

129.174.17/180

22

deny

4

TCP

127.0.0.1

443

129.174.17/180

6000

allow

5

TCP

0.0.0.0/0

any

129.174.17/180

6000

deny

6

UDP

0.0.0.0/0

any

129.174.17/180

32768

deny

7

TCP

0.0.0.0/0

any

129.174.17/180

32769

deny

8

TCP

0.0.0.0/0

any

129.174.17/180

32768

deny

9

TCP

0.0.0.0/0

any

129.174.17/180

80

allow

10

UDP

129.174.16.20

1025

0.0.0.0/0

65535

allow

11

UDP

129.174.20.100

1025

0.0.0.0/0

65535

allow

12

UDP

129.174.18.100

1025

0.0.0.0/0

65535

allow

13

any

0.0.0.0/0

any

0.0.0.0/0

any

allow

14

TCP

0.0.0.0/0

any

0.0.0.0/0

any

deny

15

UDP

0.0.0.0/0

any

0.0.0.0/0

any

deny

16

TCP

0.0.0.0/0

any

129.57.17.180

6000:6010

deny

17

TCP

0.0.0.0/0

any

129.174.17.180

0:1024

deny

18

any

0.0.0.0/0

any

129.174.17.180

any

deny

a) Define what a rule conflict is and Identify any conflicts.

b) Identify any redundancies and explain which rule would be applied using each of the following 3 matching strategies:
1. FIRST
2. BEST
3. LAST

Question 4:

Firewalls

a) What is a proxy firewall and how is it different from a network (or transparent) firewall?

b) What does NAT stand for, and how does the mechanism work? Describe what, if any, security NAT provides (or fails to provide).

c) Where would you place a web server in an organization assuming that you can use a network firewall and why?

Question 5

You are the Chief Information security Officer (CISO) of a small medium sized - accounting Services Company. In the last few weeks, senior staff have been complaining that some confidential information has been disclosed via email without any authorisation. You are approached by the Chief Information Officer (CIO) to discuss the issue and see the most appropriate way to tackle this problem. You suspect that some of the employees might be using their technical skills to access sensitive information either from the mail servers or during transmission. To counteract this malpractice, you suggest to the CIO the implementation of encryption. Before you actually implement the system, you want to conduct a pilot using the GNU Privacy Guard (GPG) software.

The pilot requires that you install GNU Privacy Guard (GPG) software onto your own computer and complete the following activities.

Note: The GNU Privacy Guard is available for free download from http://www.gnupg.org/ and "A Practical Introduction to GNU Privacy Guard in Windows" by Brendan Kidwell is available at http://www.glump.net/howto/gpg_intro

After installing GPG software onto your own computer, complete the following tasks:

1. Generate your own key-pair by using GPG software and do not create a pass-phrase for your private key (in a real world this is not a good practice. Just for the sake of this assignment, do not create a pass-phrase). You must use screen-shots to show that you have successfully completed this task. A valid screen-shot is similar to the one shown in Figure 1. Pay attention to the red circles, which demonstrate the success of key pair generation.

Figure 1 Key Pair Creation

2114_figure.png

2. Export your public key and paste it into your assignment document. You must use two screen-shots to show that you have successfully completed this task. One screen-shot is to show the use of gpg command and the other is to show the exported public key. For example, the screen-shot in Figure 2, shows a public key, which is exported into the file: CC-pubkey.txt.

Figure 2 Screen-shot of a Public Key

507_figure1.jpg

3. Explain the how to import the courses public key from the key-server http://pgp.mit.edu (we have created a public key and stored it at the MIT PGP Public Key Server under the name COIT20262-T1-2016). Include in the assignment document the gpg command line, individual options you used and their meaning. As above, use screenshots of website interactions, with accompanying explanations of the screenshots to explain the steps involved in importing this public key from the key-server http://pgp.mit.edu.

4. Create an ASCII text file to store your full-name, your student number, and your student CQU email address (please do not use any other email address). Then using the course public key, encrypt this text file. The resulting file should also be ASCII armored so that it is readable once decrypted by your lecturer / tutor. Failure to do so will result in loss of marks. Submit the resulting encrypted file along with your assignment solutions document (word document) via the online submission system and following the naming convention given above.

Hints:

Where required be detailed and specific about your actions explaining exactly what you did, and why you did not. Document the exact GPG commands you have used, and provide an explanation of what the command does, including the individual command line options, and/or provide screenshots of any interactions with websites.

Brendan Kidwell's practical guide is not the only one available on the Internet. There are plenty of other documents on the Internet that explain how to use GPG for various functions.

Please make sure you will do this assignment very good,

Make sure you will write every thing mentioned.


Attachment:- ass2 pcap.rar

Computer Network & Security, Computer Science

  • Category:- Computer Network & Security
  • Reference No.:- M91787693
  • Price:- $90

Priced at Now at $90, Verified Solution

Have any Question?


Related Questions in Computer Network & Security

Shadow register setsa describe the use of shadow register

Shadow Register Sets a. Describe the use of shadow register sets. b. How many shadow register sets are supported? c. What instructions are used to move data between them? Floating Point Numbers. We have heretofore focuse ...

Data model development and implementationpurpose of the

Data model development and implementation Purpose of the assessment The purpose of this assignment is to develop data models and map Database System into a standard development environment to gain understanding of data m ...

Topic is impacts of data breaches the report will divide in

Topic is "Impacts of data breaches". the report will divide in to 5 section which is : "" 1-Abstract: comprehensive overview of the report in 150 to 200 words. 2- Introduction: Describe the topic and its issue in 250 to ...

Compare the importance of three categories described in the

Compare the importance of three categories described in the article: 1. window of exposure, 2. full public disclosure, 3. reasonable disclosure for three types of software applications: 4. military, 5. medical, 6. educat ...

Rsa internet securitywhy is rsa believed to be hard to

RSA, Internet security Why is RSA believed to be hard to break? I. E. The complexity of what computational problem leads to the belief that it is secure? RSA can be used to authenticate messages by concatenateing to the ...

Suppose there is no inflation and an insurance company

Suppose there is no inflation and an insurance company offers a contract that would pay $500,000 with certainty 50 years from now. What is the most that this contract would be worth today if: 1. The rate of interest is 7 ...

True or false1 tcp ensures error free transmission2 the

TRUE or FALSE 1. TCP ensures error free transmission. 2. The process that initiates the communication is the server. 3. A host can serve as both server and client in a P2P network. 4. Audio and video applications cannot ...

In a short paragraph explain the transmission of data for a

In a short paragraph, explain the transmission of data for a TCP connection between a client computer and a web server to request a web page. Assume that the server responds with a web page that fits in one packet. Assum ...

1 these assignments need to be properly supported with

1. These assignments need to be properly supported with references to the scientific literature. 2. Use a 12pt font for the body of your assignment. 3. The assignment many be up to four (4) pages long, including any appe ...

Question in regards to encryption does the public key and

Question : In regards to encryption, does the public key and private key come from the sender or does the receiver already have the private and is given the public key by the sender? The response must be typed, single sp ...

  • 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