[TryHackMe][CompTIA_Pentest+][Introductory_Networking]
- 5 minsSummary:
An introduction to networking theory and basic networking tools.
Tasks
The OSI Model: An Overview
Question : Which layer would choose to send data over TCP or UDP ?
Answer : 4Question : Which layer checks received packets to make sure that they haven’t been corrupted ?
Answer : 2Question : In which layer would data be formatted in preparation for transmission ?
Answer : 2Question : Which layer transmits and receives data ?
Answer : 1Question : Which layer encrypts, compresses, or otherwise transforms the initial data to give it a standardised format ?
Answer : 6Question : Which layer tracks communications between the host and receiving computers ?
Answer : 5Question : Which layer accepts communication requests from applications ?
Answer : 7Question : Which layer handles logical addressing ?
Answer : 3Question : When sending data over TCP, what would you call the “bite-sized” pieces of data?
Answer : Segments[Research] Which layer would the FTP protocol communicate with ?
Answer : 7Question : Which transport layer protocol would be best suited to transmit a live video ?
Answer : UDPEncapsulation
Question : How would you refer to data at layer 2 of the encapsulation process (with the OSI model) ?
Answer : FramesQuestion : How would you refer to data at layer 4 of the encapsulation process (with the OSI model), if the UDP protocol has been selected ?
Answer : DatagramsQuestion : What process would a computer perform on a received message ?
Answer : De-encapsulationQuestion : Which is the only layer of the OSI model to add a trailer during encapsulation ?
Answer : Data LinkQuestion : Does encapsulation provide an extra layer of security (Aye/Nay) ?
Answer : AyeThe TCP/IP Model
Question : Which model was introduced first, OSI or TCP/IP ?
Answer : TCP/IPQuestion : Which layer of the TCP/IP model covers the functionality of the Transport layer of the OSI model (Full Name) ?
Answer : TransportQuestion : Which layer of the TCP/IP model covers the functionality of the Session layer of the OSI model (Full Name) ?
Answer : ApplicationQuestion : The Network Interface layer of the TCP/IP model covers the functionality of two layers in the OSI model. These layers are Data Link, and?.. (Full Name) ?
Answer : PhysicalQuestion : Which layer of the TCP/IP model handles the functionality of the OSI network layer ?
Answer : InternetQuestion : What kind of protocol is TCP ?
Answer : Connection-basedQuestion : What is SYN short for ?
Answer : SynchroniseQuestion : What is the second step of the three way handshake ?
Answer : SYN/ACKQuestion : What is the short name for the “Acknowledgement” segment in the three-way handshake ?
Answer : ACKNetworking Tools
Ping


Question : What command would you use to ping the bbc.co.uk website ?
Answer : ping bbc.co.ukQuestion : What is the IPv4 address ?
Answer : 217.160.0.152Question : What switch lets you change the interval of sent ping requests ?
Answer : -iQuestion : What switch would allow you to restrict requests to IPv4 ?
Answer : -4Question : What switch would give you a more verbose output ?
Answer : -vTraceroute

Question : Can you see the path your request has taken ?

Question : What switch would you use to specify an interface when using Traceroute ?
Answer : -iQuestion : What switch would you use if you wanted to use TCP SYN requests when tracing the route ?
Answer : -TQuestion : [Lateral Thinking] Which layer of the TCP/IP model will traceroute run on by default (Windows) ?
Answer : InternetWHOIS
Question : Perform a whois search on facebook.com


Question : What is the registrant postal code for facebook.com ?
Answer : 94025
Question : When was the facebook.com domain first registered (Format: DD/MM/YYYY) ?
Answer : 29/03/1997Question : Perform a whois search on microsoft.com

Question : Which city is the registrant based in ?
Answer : Redmond
Question : [OSINT] What is the name of the golf course that is near the registrant address for microsoft.com ?
Answer : Bellevue Golf Course
Question : What is the registered Tech Email for microsoft.com ?
Answer : msnhst@microsoft.comDig
Question : What is DNS short for ?
Answer : Domain Name SystemQuestion : What is the first type of DNS server your computer would query when you search for a domain?
Answer : RecursiveQuestion : What type of DNS server contains records specific to domain extensions (i.e. .com, .co.uk, etc) ?
Answer : Top-Level DoaminQuestion : Where is the very first place your computer would look to find the IP address of a domain ?
Answer : Local CacheQuestion : [Research] Google runs two public DNS servers. One of them can be queried with the IP 8.8.8.8, what is the IP address of the other one ?
Answer : 8.8.4.4Question : If a DNS query has a TTL of 24 hours, what number would the dig query show ?
Answer : 86400