WHOIS is a query and response protocol widely used for searching databases that store the registered users or assignees of an Internet resource, such as a domain name or an IP address block. It acts as a public directory that provides essential information about the ownership and technical management of a specific online asset. When an individual or organization registers a domain name, they are required by ICANN (Internet Corporation for Assigned Names and Numbers) to provide contact information, which is then made available through WHOIS lookups.
A standard WHOIS record typically contains:
Registrant Information: The name and organization of the person who owns the domain.
Administrative and Technical Contacts: Names and email addresses of the people responsible for the site's operation.
Registrar Information: The company where the domain was purchased and the date of registration/expiration.
Name Servers: The servers that direct traffic for the domain.
In ethical hacking, WHOIS is a primary tool forpassive reconnaissance. It allows a tester to map out the organizational structure of a target without ever sending a packet to the target’s network. For example, finding the technical contact’s email address might provide a lead for a social engineering attack, or identifying the name servers might reveal the cloud provider being used. While many owners now use "WHOIS Privacy" services to hide their personal details behind a proxy, WHOIS remains a critical first step in defining the "footprint" of a target and understanding its administrative boundaries.