Lab 1

docx

School

Western Sydney University *

*We aren’t endorsed by this school

Course

1

Subject

Computer Science

Date

Jan 9, 2024

Type

docx

Pages

5

Uploaded by TeGelas

Report
1.1 Screenshot for Kali VM 1.2 Screenshot for Metasploitable2 VM 1.3 Screen shot for Win7 VM
2.1 Use the command 'ipconfig' to determine the IP address of this VM. Write the result to your lab report. Ipconfig is a console application program of some computer operating systems that showing all current TCP/Ip network configuration values Ethernet adapter local are connection: Connection-specific DNS suffix: scem.uws.edu.au Link-local IPv6 address : fe80::a122:778a:260e:a852%11 Ipv4 Address : 192.168.1.101 Subnet Mask : 255.255.255.0 Default Gateway : fe80::1:1%11 192.168.1.1 Tunnel adapter isatap.scem.uws.edu.au: Media State : Media disconnected Connection-specific DNS suffix: scem.usw.edu.au 2.2 If you need the MAC address of the VM as well, what option you should add to the ‘ipconfig’ command? Ipconfig /all is showing all the network connection information 2.3 Use the command 'netstat -an -p tcp' to determine which TCP ports are in a listening state. Write the result to your lab report. It is showing all TCP active connections inside the computer such as: Proto, Local Address, Foreign Address and State 2.4 In your report, also explain the meanings of the options '-a' and '-n'. You can use the command ‘netstat /?’ to find out the answer. (Note: although ‘netstat’ is deprecated in Linux, it is not in Windows) -a, --all is displaying all sockets (default: connected) -n, --numeric is do not resolve names 3.1 Use the 'ip a' command to show the IP address and MAC address of this VM. Write the result to your lab report. (Hint: look for the result from the output for Ethernet interface ‘eth0’) Ip address : 192.168.1.102/24 MAC address : 00:50:56:94:8b:83 3.2 Use the command 'ss -ant | more' to determine which TCP ports are listening. Write the result to your lab report. It is showing all the local address port and peer address port are listen 3.3 In your report, also explain the meanings of the options '-a', '-n', and the operator ‘|’. a. -a is show all hidden files (ls options) b. -n is numeric sort (sort options) and show matching line number (grep options) c. | is pipe (redirect) output
4.1 Use the 'ip a' command to show the IP address and MAC address of this VM. Write the result to your lab report. (Hint: look for the result from the output for Ethernet interface ‘eth0’) Ip address :192.168.1.130/24 Mac address :00:50:56:94:43:80 4.2 Use the command 'ss -ant' to determine which TCP ports are listening. Write the result to your lab report. There is showing none of the local address and peer address are listen 4.3 Here you will notice that the result is very different from those of the previous two VMs. Explain this difference in your report after reading the Kali Network Service Policy, which can be found at: https://www.kali.org/docs/policy/kali-linux-network-service-policies/. (This site may be blocked in campus network, but accessible in your home network.) You only need to read the first paragraph of this policy. 4.4 Use the command 'ip r' to determine the default gateway for this VM. Write the result to your lab report. It is showing default via 192.168.1.1 dev eth0 proto dhcp metric 100 and 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.103 metric 100 4.5 Ping the Win7 VM. Press 'Ctrl + C' to stop the ping. Note: In Linux, if you want to limit the number of pings, use 'ping -c ', where is the number of ping probes (Eg, ping -c 6 192.16.0.2). Write the result to your lab report. If you cannot reach the Win7 VM, try to fix the problem. Ping to 192.168.1.101 is successful and displaying statistics of ping: 6 packets transmitted, 6 received, 0% packet loss, time 5007ms and rtt min/avr/max/mdev = 0.687/0.922/1.519/0.275ms 4.6 Ping the Metasploitable2 VM. Press 'Ctrl + C' to stop the ping. Write the result to your lab report. If you cannot reach the Metasploitable2 VM, try to fix the problem. Ping to 192.168.1.102 is successful and displaying statistic of ping: 6 packets transmitted, 6 received, 0% packet loss, time 5096ms and rtt min/avr/max/mdev = 0.526/0.700.1.178.0.219ms 5.1 Grab a screenshot for the results of these three commands respectively, and save the screenshots to your lab report.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
5.2 In your report, also explain the meanings of these three commands, especially, the option '-l' in 'ls -l '. (Hint: you can execute 'man ls ' to find out) cd /usr/share/metasploit-framework is the command for the easiest way to get the Metasploit framework fine in usr/share/ metasploit-framework Pwd is Print Working Directory which simply prints the name of the working directory or you can directly use the command to use pwd Ls is to views the content of current directory or targeted directory where you wanted to list the files in specific -l is use for to get a long listing format 6.1 Switch to a terminal to ping the default gateway. Press 'Ctrl + C' to stop the ping. Include a screenshot for this in your lab report.
6.2 Stop the Wireshark capture and observe the captured ping traffic. Include a screenshot about this in your lab report. 7.1 In your lab report, give your answer to the following cryptogram. Since you cannot play it using the website (you have to use paper and pencil instead), we offer you a hint that the first letter is ‘L’. Love is like quicksilver in the hand. Leave the fingers open and it stays. Clutch it and it darts away 7.2 Describe at least two techniques you use for finding out the answer quickly. a. Look for 2 letter word to test letters throughout the puzzle b. Expand search to 3 letter word that repeat throughout the puzzle c. Fill in WHO, WHAT, WHERE, WHEN, WHY and HOW if see question merks