TY5-51-EXP4
TY5-51-EXP4
Experiment No. – 04
Program Execution/
formation/ Timely
Viva Experiment Sign with
correction/ Submission
(03) Total (10) Date
ethical practices (01)
(06)
Experiment No 4
Aim: Network reconnaissance tools like WHOIS, dig, traceroute, nslookup to gather
information
Theory:
1. WHOIS
○ Purpose: WHOIS is a protocol designed to query databases that hold information
about the registered users or assignees of domain names and IP addresses.
○ How it Works: When a WHOIS query is performed, it retrieves details like the
domain owner's contact information, registration dates, and the domain registrar.
This helps identify the entity behind a website, providing valuable contact
information, which can be used for legitimate reasons (such as dispute resolution)
or malicious purposes (such as phishing).
○ Use Cases:
■ Domain Ownership Verification: Assists in confirming the ownership of a
domain.
■ Contacting Domain Owners: Useful for addressing trademark issues or
initiating collaborations.
2. Dig (Domain Information Groper)
○ Purpose: Dig is a command-line tool used for querying Domain Name System
(DNS) servers.
○ How it Works: It provides detailed DNS record information, such as A (IPv4),
AAAA (IPv6), MX (mail exchange), and NS (name server) records. Dig is more
versatile and powerful than the older nslookup tool.
○ Use Cases:
■ DNS Troubleshooting: Helps diagnose problems with domain resolution.
■ Information Gathering: Employed by security professionals to collect data
on target domains.
3. Traceroute
○ Purpose: Traceroute is a diagnostic tool used to track the path of packets as they
travel from one host to another across a network.
○ How it Works: Traceroute sends packets with incrementally increasing
Time-To-Live (TTL) values, revealing the route packets take to reach a specified
destination. Each router in the path sends back an ICMP "time exceeded"
message, enabling the tool to log the IP addresses of the hops.
○ Use Cases:
■ Network Performance Analysis: Helps identify network bottlenecks and
latency issues.
■ Network Mapping: Provides insights into the network structure between
two points.
4. Nslookup
○ Purpose: Nslookup is a command-line utility used to query DNS for domain name
or IP address mapping.
○ How it Works: Similar to dig, nslookup retrieves DNS records. It can operate in
two modes: interactive mode, where multiple queries can be executed within a
session, and non-interactive mode, which handles a single query at a time.
○ Use Cases:
■ DNS Querying: Used to check DNS records for a given domain.
■ Debugging: Useful for troubleshooting DNS-related issues.
Output:
1. WHOIS command Screenshot
2. DIG command screenshot
Conclusion:
Conclusion: Each tool provides unique insights that contribute to a comprehensive understanding
of a network's architecture and operation. The results can be analyzed to evaluate network
performance, security posture, or to identify potential vulnerabilities.