Hands-on Ethical Hacking and Network Defense, 3e, ISBN 9781285454610
Ch. 2 Solutions-1
Chapter 2 Solutions
Review Questions
1. The Netstat command indicates that POP3 is in use on a remote server. Which port is
the remote server most likely using?
2. On a Windows computer, what command can you enter to show all open ports being
used?
3. Which protocol uses UDP?
4. Which protocol offers guaranteed delivery and is connection oriented?
5. TCP communication could be likened to which of the following?
6. Which of the following protocols is connectionless? (Choose all that apply.)
7. Which command verifies the existence of a node on a network?
8. FTP offers more security than TFTP. True or False?
9. List the three components of the TCP/IP three-way handshake.
SYN, SYN-ACK, and ACK
10. What protocol is used for reporting or informational purposes?
11. List the six flags of a TCP packet.
12. A UDP packet is usually smaller than a TCP packet. True or False?
13. What port, other than port 110, is used to retrieve e-mail?
14. What port does DNS use?
15. What command is used to log on to a remote server, computer, or router?
Hands-on Ethical Hacking and Network Defense, 3e, ISBN 9781285454610
Ch. 2 Solutions-2
16. Which of the following is not a valid octal number?
17. The initial sequence number (ISN) is set at which step of the TCP three-way
handshake?
18. A Ping command initially uses which ICMP type code?
19. “Destination Unreachable” is designated by which ICMP type code?
20. Whats the hexadecimal equivalent of the binary number 1111 1111?
Activities
Activity 2-4
1. Octal values are 4, 7, 5, 3, and 2.
3. Use 111 000 000 in binary and 700 in octal.
5. The calculation should be 777 – 020 = 757. Converting octal 757 gives the directory
permissions rwxr-xrwx.
6. Students should have done the following to solve this problem:
Default permission: 666
Case Projects
Case Project 2-1: Determining the Services Running on a Network
Answers may vary. The memo should include the most obvious services that would be running on
Hands-on Ethical Hacking and Network Defense, 3e, ISBN 9781285454610
Ch. 2 Solutions-3
Case Project 2-2: Investigating Possible E-mail Fraud