Diagnosis of hookworm infection is typically confirmed through microscopic examination of stool samples, where eggs of the parasite are identified. In some cases, serological tests or PCR (polymerase chain reaction) techniques may be employed for more precise detection.