Reconnaissance is the activity of secretly discovering and gathering information about a system in the context of cybersecurity. Ethical hacking and penetration testing frequently employ this technique.