Penetration testing, also called pen testing and sometimes ethical hacking, is a simulated cyber attack against your computer system, applications, or network to discover vulnerabilities.